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

Optimal solution violates constraint

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

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    Hi Laetitia,

    Please try writing your model to a human-readable LP file via the write method

    model.write("myModel.lp")

    You can open the file \(\texttt{myModel.lp}\) in any standard text editor. This way you can analyze whether the constraints you have constructed actually look as they should.

    Best regards, 
    Jaromił

    0
  • Gwyneth Butera
    • Gurobi Staff

    In addition to Jaromil's suggestion, please have a look at our KB article How do I diagnose a wrong result? for more suggestions.

    0

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