Skip to main content

Meaning of "Lazy constraints" in the optimization log

Answered

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Tomas,

    The output means that there are 6 active lazy constraint at the optimal solution point.

    Or is it 6 because some of "missing" 4 constraints are already satisfied when pulling in some of the other 6, and as explained in the documentation, "With a value of 1, the constraint can be used to cut off a feasible solution, but it won’t necessarily be pulled in if another lazy constraint also cuts off the solution"?

    Correct, this is why you see 6 instead of 10.

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.