Skip to main content

How do I acces inactive constraints in Gurobi?

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Jaromił Najman
    • 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

Post is closed for comments.