Added missing reference to objective

add_formulations
Aleksandr Kazachkov 4 years ago
parent d7ce18eac8
commit baf6d33221

@ -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],
) )

Loading…
Cancel
Save