grid-parity-exchange / Egret

Tools for building power systems optimization problems
Other
133 stars 54 forks source link

Using dual suffix on top-level model in _save_uc_results #192

Closed bknueven closed 3 years ago

bknueven commented 3 years ago

The Pyomo dual suffix will always be on the top-level model. When the relaxed flag is True, this PR ensures we use the dual attribute on the top-level model, in case m is not the top-level model.