How do I acces inactive constraints in Gurobi?

Answered

Comments

1 comment

  • Jaromił Najman

    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
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk