Skip to main content

Manually set a best bound

Answered

Comments

2 comments

  • 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

Please sign in to leave a comment.