Check set constraints

Hey,

I am trying to solve a problem with CVX and I got a bit confused about the number of equality constraints that SDPT shows while solving the problem. Is there any way to have a look at all constraints I actually provided to CVX ?

Thanks

Not exactly, no. You can type cvx_problem at any time within a model to see a breakdown of what has been accumulated so far. But the number of constraints fed to the solver will almost always be different than the number you entered! That’s because functions are represented by combinations of equations, inequalities, and possibly hidden variables that are created automatically. See the papers at http://cvxr.com/dcp/ on “graph implementations” for details on how this works.