Dear all,
I solved an LP problem using yalmip with cplex solver. I want to extract the binding constraints of an LP.
One way to do this is to get the slack variables of constraints.
Having googled around, I think learn that we can extract output of a solver via:
-- sdpsettings(savesolverout, '1 ')
-- sol = optimize(LP, options);
-- sol.solveroutput.lambda.ineqlin
My questions are:
-- what is the meaning of "lambda.ineqlin", are they representing slack variables of each constraint?
-- how to set the precision of the slack variables ?
-- How to display slack variables of a subset of constraints ?
Thanks in advance
Guanglei