Model is infeasible or unbounded Using python Gurobi
回答済みModel is infeasible or unbounded
Best objective -, best bound -, gap -
Changed value of parameter DualReductions to 0
Prev: 1 Min: 0 Max: 1 Default: 1
Number of solutions found: 0
I feel that gurobi print this message without solve the model how can I check this issue the lp file is right. what procedure should I take so I can solve this problem .??
-
正式なコメント
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?. -
Hello Ziyad:
it is quite possible that Gurobi has determined the faulty model status in the presolve -- I presume this is what you have meant by saying "without solve", correct?
For a short explanation on what one may consider doing next, please see here,
https://support.gurobi.com/hc/en-us/articles/360029969391-Managing-Infeasibility
Hope this helps.
0 -
thank you
i found the infeasible constraints but i can't imagine the error
0 -
You should examine the constraints closely, the conflict should be there.
Another thing you can do to convince yourself there is an issue with the set of constraints is try to solve the model saved in ILP file (this format is identical to LP, you may rename it to *.lp if you wish to and pass this onto the solver).
Hope this helps.
0
投稿コメントは受け付けていません。
コメント
4件のコメント