In a semi-definite programming, the requirement is that the matrix variable is positively definite and how it should be defined, please give a specific code representation, thank you very much
There are multiple ways of doing this in CVX. Please read the CVX Users’ Guide In particular, semidefinite programming is addressed in Semidefinite programming mode — CVX Users' Guide