Skip to main content

Dealing with 'Sub-optimal termination' in Barrier Method

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Silke Horn
    • Gurobi Staff Gurobi Staff

    You could try tightening the barrier convergence tolerance (BarConvTol). There is a trade-off between the effort spent in barrier and that spent in crossover. If barrier is performing well (and from what I can see, the last iteration takes pretty much average time), tightening this tolerance can sometimes reduce the time spent in crossover.

    You might also want to take a look at the numerical properties of your model. Your matrix range is rather big [2e-04, 8e+03]. Maybe our Numerics Guidelines can be helpful.

    0

Post is closed for comments.