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

Why is Gurobi taking so much time after finding the optimal solution?

回答済み

コメント

3件のコメント

  • 正式なコメント
    Greg Glockner
    • Gurobi Staff

    By default, after solving a MIP, AMPL fixes the integer variables and solves the LP relaxation. This is known as the fixed LP. To prevent this, set the AMPL parameter basis=1.

  • 正式なコメント
    Simranjit Kaur
    • 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?.
  • Hur Butun
    • Gurobi-versary
    • First Question
    • First Comment

    Thank you for your reply! Sorry I didn't know that it was related to AMPL rather than Gurobi. Adding basis=0 in AMPL's gurobi_options does the trick.

    0

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