Skip to main content

Terminate once barrier solves problem

Answered

Comments

1 comment

  • Simranjit Kaur
    Gurobi Staff 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

Please sign in to leave a comment.