Sca method ask for help

hi everyone,iam new on cvx,and i have some problems when i use cvx.


some of the status are Inaccurate/Solved,and the speed of each progress is very slow for about 10 s.

this is my code.i am using a sca method.

You are using SDPT3 . Try Mosek . It might be faster and more stable.
Using MOSEK with CVX

can you tell me something about my code? i want to konw why it happends

i have seen someone else use cvx with sca , and they do not have my probelm, so i am confused

It is ok to be inaccurate/solved. The result might be usable as well.

thank you,then why it so slow

I am not the developer of CVX or SDPT3. I do not know. Just try mosek.

OK,i will have a try . thank you very much !

Your code has log of cvx_expression, so CVX uses its unreliable Successive Approximation method. if you use CVX 2.2 with Mosek 9.x as solver, CVX will make use of Mosek’s native exponential cone capability to handle the log; that is more reliable and robust, and likely faster. if Mosek is not available to you, install CVXQUAD and follow the instructions 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