Skip to content Skip to sidebar Skip to footer

Dual Variable Returns Nothing In Pyomo

I have a question regarding to pyomo dual variable retrieval. I'm trying to retrieve the dual variable from the constraint 'model.market_clearing_const'. However, after running the

Solution 1:

Duals only exist for pure continuous LP models. You have binary variables, making the model a MIP. MIP models don't have duals.


Post a Comment for "Dual Variable Returns Nothing In Pyomo"