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

How to not stop my code if model is infeasible

ユーザーの入力を待っています。

コメント

2件のコメント

  • 正式なコメント
    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

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