help!How can we draw the iterative process of some variables when solving problems with CVX?

Uncategorized
Jul 1, 2023
S

help! help!
How can we draw the iterative process of some variables when solving problems with CVX?
How to see and save the iteration process of certain variables?

M

You can’t do that with CVX. You can use the MATLAB diary command to write the solver output log to a file, but that will not provide variable values.

If you are solving a series of CVX problems in an “outer” iterative process, you can save the optimal variable values after each cvx_end into an array.