I don’t see any log
in P4. Why is there `log in your program? Are some of the things in P4 actually log of some function of the optimization variables?
Bad numerical scaling is a likely contributor to why you got Inaccurate/solved… You should check the input data.
If you have Mosek, use that as solver, otherwise, follow the advice at CVXQUAD: How to use CVXQUAD's Pade Approximant instead of CVX's unreliable Successive Approximation for GP mode, log, exp, entr, rel_entr, kl_div, log_det, det_rootn, exponential cone. CVXQUAD's Quantum (Matrix) Entropy & Matrix Log related functions . That may help.
And don’t use quiet
mode until everything is working well.