Skip to main content

Gurobi cuts option

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?.
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Parisa,

    The Cuts parameter controls how many cutting planes are generated and are added to strengthen the LP relaxation. More cuts (Cuts=2 or 3) in the problem also means that solving every single node LP is more expensive. Additionally, adding lots of cuts can also lead to numerical difficulties.

    Restricting the number of cuts (Cuts=1 or 0) on the other hand can weaken the LP relaxation and may lead to a higher number of nodes until optimality.

    You should also try experimenting with the CutPasses parameter to further tune the performance of your models.

    You might also want to check out our numerics guide if you haven't done so already.

    Please understand that we cannot fully disclose how these parameters work in detail. The solver behavior is also determined by properties of the model and many of those internal filters and decisions might change in future versions of Gurobi.

    Cheers,
    Matthias

    0

Post is closed for comments.