I have a MILP model which is solved to optimality by Gurobi. I would now like to know which constraints are active at optimization termination i.e. constraints that are limiting.
I found on the forum a possible answer which mentions about looking at constraint Slack (image below). It appears reasonable to me, however I have a simple question: Can someone explain the condition below i.e. Slack >1e-6 to me incase I am lacking to grasp it. If the slack is 100, is the constraint still active then? In my simple understanding, there should be a range for it.
Also, I have equality constraints in the model, in that case do I also need to exclude the equality constraints but filtering them based on the Sense?
Please sign in to leave a comment.