Skip to main content

Manually set a best bound

Answered

Comments

3 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?.
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Anthony,

    One way would be to add a constraint to bound your objective, e.g., \(obj \geq myBound\). Note that this is not guaranteed to accelerate the optimization process.

    You could also try using callbacks to add user cuts in the case that you can somehow recompute better bounds than the ones provided by the solver.

    Best regards,
    Jaromił

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Anthony,

    Please also have a look at our Knowledge Base article How do I pass a lower bound to Gurobi?

    Best regards,
    Jaromił

    0

Post is closed for comments.