メインコンテンツへスキップ

Model is infeasible or unbounded Using python Gurobi

回答済み

コメント

4件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    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?.
  • Yuriy Zinchenko
    • Gurobi Staff

    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
  • Ziyad Mohamed
    • Gurobi-versary
    • First Question
    • First Comment

    thank you 

    i found the infeasible constraints but i can't imagine the error  

    0
  • Yuriy Zinchenko
    • Gurobi Staff

    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

投稿コメントは受け付けていません。