Model is infeasible or unbounded Using python Gurobi

Comments

3 comments

  • Yuriy Zinchenko

    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
    Comment actions Permalink
  • Ziyad Mohamed

    thank you 

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

    0
    Comment actions Permalink
  • Yuriy Zinchenko

    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
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk