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

How to properly implement constraints with more than two "equal"-operators in Python

回答済み

コメント

1件のコメント

  • Jaromił Najman
    • Gurobi Staff

    Hi An,

    Usually debugging such an issue can be done by writing out the model to a human-readable LP file.

    model.write("myModel.lp")

    You can open the generated file with any standard text editor. There you should check, whether the constraints of interest actually look as expected. This should be a good start to find the source of the issue.

    Best regards, 
    Jaromił

    0

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