Log( {complex affine} )

Nonconvex
Apr 30, 2022
U
Replying to #20

It is solved, thanks for pointing out this abs.

M
Replying to #6

Dear Mark
I am in trouble with this constraint:
-log(trace(A))>=s
in which A is an optimization variable and is also n*n and s is also an affine optimizing variable. Could you help me how can i reformulate this so that cvx accepts it.
Thanks in advance.

M

That inequality is going the wrong direction to be convex.

log(trace(A))>=s is a convex constraint and would be accepted by CVX.

Negating the LHS makes this non-convex, because it is convex >= affine, which is non-convex.