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

Terminate once barrier solves problem

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff

    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.

  • Simranjit Kaur
    • Gurobi Staff

    Hi Raphael,

    For an LP model, you can simply set the parameter Crossover=0 to disable the crossover phase.

    For a MIP model, please set the parameters Method=2, Crossover=0, and NodeMethod=2. With this setting, the solver will use Barrier to solve the root LP relaxation and perform no crossover step. Since without crossover, we don't get a basic solution, we have to set NodeMethod=2 so that the node LPs in the Branch-and-Bound tree search are also solved with Barrier (which does not require a basic solution).

    Best regards,
    Simran

    0

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