Skip to main content

Rounding LB with callbacks



1 comment

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Daniel,

    You could add the cut "objective \(\geq\) rounded value" in a callback. However, this is not always a good idea, cf. How do I pass an objective bound to Gurobi?

    What would be the benefit in your particular case? Rounding 5999.999 to 6000 does not sound like it would do much unless you are trying to reach a very tight MIPGap.

    Best regards, 


Please sign in to leave a comment.