I want to know how to obtain and process intermediate results of each iteration of a CVX program

(Md Afaque Azam) #1

How can I get the objective value and decision variable values for each iteration of a CVX program? Also, can I plot those values for each iteration as the code progress?

(Mark L. Stone) #2

You can not. You will have to content yourself with the final values.

You can look at the solver output displayed at each iteration, but the solver may be solving a different problem than what you entered,due to transformations by CVX.

(Md Afaque Azam) #3

Hmm. OK. Thanks Mark.