Do you know that the cvx_expression you are squaring is always nonnegative? if so, you can use square_pos(cvx_expression))
. If not, have you proven the problem is convex?
Do you know that the cvx_expression you are squaring is always nonnegative? if so, you can use square_pos(cvx_expression))
. If not, have you proven the problem is convex?