Thank you. I have another question. Since my convex problem includes inequality constraints, after the problem is solved, I want to know which constraints are tight. I want to obtain the signal that the constraint is tight and change the constraint to equality constraints.
For example, my convex problem has an inequality constraint, say,
x<=1. After the problem is solved, the value of x is 1, which means the inequality constraint x<=1 is tight. Then, I change the equality constraint to "x==1" and resolve the problem. I think the result remains the same.
I don't want to do this manually because the real problem may have many constraints and many constraints are tight. Is there any method to achieve this procedure?