Added missing reference to objective.

pull/16/head
Aleksandr Kazachkov 4 years ago
parent 3d252c55a3
commit 56c9e28495

@ -46,7 +46,7 @@ function _add_reserve_eqs!(model::JuMP.Model)::Nothing
# Account for shortfall contribution to objective # Account for shortfall contribution to objective
if shortfall_penalty >= 0 if shortfall_penalty >= 0
add_to_expression!( add_to_expression!(
model.obj, model[:obj],
shortfall_penalty, shortfall_penalty,
model[:reserve_shortfall][t], model[:reserve_shortfall][t],
) )

Loading…
Cancel
Save