Added reserve_shortfall variable

pull/16/head
Aleksandr Kazachkov 4 years ago
parent 209c3a72e9
commit 97b8611fcc

@ -51,6 +51,9 @@ function _add_reserve_vars!(model::JuMP.Model, g::Unit)::Nothing
else else
reserve[g.name, t] = 0.0 reserve[g.name, t] = 0.0
end end
reserve_shortfall[t] =
(model[:instance].shortfall_penalty[t] >= 0) ?
@variable(model, lower_bound = 0) : 0.0
end end
return return
end end

Loading…
Cancel
Save