Problems when doing SDP program

I wrote a SDP program with CVX.
but the result shows it violates the constrain W(1,1)==1

Is it a bug? How can I fix it?

Please explain “violates” a little closer. What is the value of W(1,1) ? Can you show the log output with solution summary?


It shows the problem status is Unbounded, and W(1,1)=1.256175755991799e-24

When CVX reports the problem in unbounded, it does not necessarily return a feasible solution.

Follow the advice in .