IIS Variable boundsii
AnsweredHello people, how can we use the IIS variable bounds to determine infeasibility (if we can)? Should they be the same as what we set in our code in order not to cause any problems?
Kind regards
Iason
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Iason,
I am a bit confused on what you mean by "IIS variable bounds". Can you please elaborate more on what you mean?
You need to define the variable bounds when building your model. In case the model is declared to be infeasible, you can then call the method Model.computeIIS() to find an irreducible inconsistent system including a subset of constraints and variable bounds which is infeasible and becomes feasible if one of the constraints or variable bounds is removed.
Best regards,
Maliheh
0 -
Hi Iason,
Just to add to what Maliheh explained about the irreducible inconsistent system (IIS) in her comment: If you set bounds for a variable in the model, but it appears as free in the IIS, it indicates that the variable's bound does not play a role in making the IIS infeasible.
Best regards,
Simran
0 -
Thank you both!
0
Post is closed for comments.
Comments
4 comments