How to express negative semidefinite constraints of matrices in CVX

Uncategorized
Apr 18, 2024
M

for example, A is a variable in the problem, then how to express A+B(B is a constant)is a negative semidefinite matrice (A+B<=0,mean negative semidefinite)

M

-(A+B) == semidefinite(n)

or if in sdp mode
A + B <= 0

M

Thank you very much for your prompt reply, with your suggestion, the problem has been resolved!