Question in gurobi
AnsweredI am a beginner, my model has this problem, I visit IIS is like this, but I do not know what this represents, can you explain to me?
0
-
Hi Kewei,
It looks like you are calling Model.optimize() after computing the IIS, is this correct? This results in Status code 3 (infeasible) because the IIS is by definition an infeasible set of constraints. The IIS feature is meant to be used to write the IIS into a file using
model.write('iismodel.ilp')
after computing it, and then inspecting the ILP file manually to understand why your model is infeasible.
You may find the article How do I use 'compute IIS' to find a subset of constraints that are causing model infeasibility? helpful.
Best regards,
Elisabeth
0 -
Thank you very much for your answer
0
Please sign in to leave a comment.
Comments
2 comments