How Can I Locate the Constraints that Causing Infeasibility
回答済みI have a large-scale model with 1.7 million rows. My initial test gives me the result that the model is infeasible. I am wondering if there is any function I can use to locate which constraints cause the infeasibility? Can I print the constraint name using the computerIIS() function?
-
正式なコメント
This post is more than three 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 why not try our AI Gurobot?. -
Hi,
I am wondering if there is any function I can use to locate which constraints cause the infeasibility?
Did you have a look at the Knowledge Base article How do I determine why my model is infeasible?
In addition to the computeIIS() function, you can use the feasRelax() function to create a feasibility relaxation and see which changes you have to make in order to achieve feasibility.Can I print the constraint name using the computerIIS() function?
Yes, once an IIS is computed, you can access the IIS constraints and its attributes as explained in the documentation of the computeIIS() function.
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント