
In which A is a Hermitian matrix.
The error occurs as: Disciplined convex programming error:
Only scalar quadratic forms can be specified in CVX
I was wondering if it is possible to solve it via CVX ?
How do I solve a problem with the Trace of quadratic form
Apply the same transformation as in this answer you “liked” Help me for this objective function .
maximize(-square_pos(norm(sqrtm(A)*X,'fro')))
The argmax is preserved if instead you use maximize(-norm(sqrtm(A)*X,'fro')) which avoids unnecessary squarng, and might be better behaved numerically.