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

Gurobi does not optimize result (always the same result)

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Matthias Miltenberger
    • Gurobi Staff Gurobi Staff

    Hi Kanan!

    You could write an LP file of your model to better see whether it actually represents what you are trying to model:

        model.write('model.lp')

    Your code is, unfortunately, a bit hard to read/run because the indention is lost.

    Cheers,
    Matthias

    0
  • Kanan Allahyarli
    • Gurobi-versary
    • First Comment
    • First Question

    Yeah...  I did not know the command for the code to be represented in the right way. 

    0

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