I need to model sqrt(x^T C x) for a singular positive semidefinite matrix C. Here, it is proposed to use norm(Q*x) where Q is obtained from the Cholesky decomposition of C.
How to take the square root of quad_form output in CVXPY?
But, np./scipy.linalg.cholskey does not work for singular matrices.
PS, using SVD or eigenvalue decomposition is too slow for my application.
PS2, this post Numpy Cholesky decomposition LinAlgError does not help as it does not offer a solution. Also, the matrix in the question seems to have negative eigenvalues (rather than being singular).