Skip to main content

How do I acces inactive constraints in Gurobi?

Answered

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Simion,

    The Slack attribute is what you are looking for. If it is \(>0\), then the constraint is not active in the given solution point. Please note that all values are computed with a tolerance so it is better to check for \(>\epsilon>0\).

    Best regards,
    Jaromił

    0

Please sign in to leave a comment.