MATLAB: Display the indices of constraints, which are satisfied with equality (Linprog)

indices of constraints satisfying equality

Hello together,
I'm trying to display the information, which indices of the constraints are satisfied with equality in a linear programm. I thought about to create this information by looking for the lambdas, because if there is a lambda for the equation, there is no equality. But the result isn't like expected. Do you know a good command to display this?
Thanks in advance, Pete

Best Answer

idx = find(A*x==b)
Related Question