How to terminate once barrier solves problem
AnsweredThe log shows:
"Barrier solved model in 57 iterations and 5505.27 seconds
Optimal objective 4.36903012e+00
Root crossover log..."
I want gurobi to terminate after barrier finds an optimal objective without moving over to root crossover.
Is there an easy knob to do this? Below is the current command:
"gurobi_cl Method=2 BarConvTol=1e-2 Crossover=0 ResultFile=result.sol lp_input.lp"
Thanks in anticipation!
1
-
If you have an LP, those options should do the trick, but for a MIP, Crossover is unavoidable. Note that SOS constraints and General Constraints (usually) make the model a MIP.
0
Please sign in to leave a comment.
Comments
1 comment