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

Optimal solution violates constraint

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

コメント

2件のコメント

  • Jaromił Najman
    Gurobi Staff 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 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

サインインしてコメントを残してください。