mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 08:18:51 -06:00
Added missing reference to objective
This commit is contained in:
@@ -84,7 +84,7 @@ function _add_reserve_eqs!(model::JuMP.Model)::Nothing
|
|||||||
# Account for shortfall contribution to objective
|
# Account for shortfall contribution to objective
|
||||||
if shortfall_penalty > 1e-7
|
if shortfall_penalty > 1e-7
|
||||||
add_to_expression!(
|
add_to_expression!(
|
||||||
model.obj,
|
model[:obj],
|
||||||
shortfall_penalty,
|
shortfall_penalty,
|
||||||
model[:reserve_shortfall][t],
|
model[:reserve_shortfall][t],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user