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
-
Official comment
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?. -
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
Post is closed for comments.
Comments
2 comments