Skip to main content

How to not stop my code if model is infeasible

Awaiting user input

Comments

2 comments

  • Official comment
    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?.
  • Jaromił Najman
    • Gurobi Staff

    Could you provide more details on what exactly you mean by not stop my code? You can check the Model.Status attribute whether it equals \(\texttt{GRB.INFEASIBLE}\).

    Best regards,
    Jaromił

    0

Post is closed for comments.