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

returned solution is not optimal

回答済み

コメント

2件のコメント

  • Jaromił Najman
    • Gurobi Staff

    Hi Milan,

    You could use the gurobi_write() function to generate a human-readable LP file which you can then analyze by hand to check whether the model looks what it should like.

    You could try setting the MIPGap parameter to 0. This will force Gurobi to search for a true global optimum.

    Best regards, 
    Jaromił

    0
  • Milan Cisty
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Jaromil,

    I tried writing to lp already and didn't find the error, but your advice about the MIPGap parameter helped. Thanks for your help!

    Milan

    0

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