I’ll give you one helpful tip, because it will also help people using CVX.
Don’t use CVX functions, such as quad_form
on YALMIP expressions.
Don’t use YALMIP functions, such as cpower
on CVX expressions.
This does not apply to functions which are overloaded for both CVX and YALMIP expressions, although you need to observe the syntax and restrictions applicable to what you do apply it to.
A month ago, there was a post on this forum of someone applying a CVX function, inv_pos
to a YALMIP expression How to deal with the SDP problem with nonlinear constraint? . That didn’t go well.