SDP and its dual in cvx

You can combine the two equality constraints into one bigger equality constraint, and work with ttat if that fits within your comfort zone for taking duals.

When you solve both the primal and dual problems, you should get the same optimal objective value.

1 Like