When I am running a fmincon function, I am getting this following result. After checking, I was able to find out that there are 10 cg iterations taking place at every iteration of fmincon. Is it possible for us to view the cg iteration values?
1 view (last 30 days)
Show older comments
Parikshith Savanth
on 11 Sep 2015
Answered: Tim Jackman
on 15 Sep 2015
Iter F-count f(x) Feasibility optimality step
0 31 4.497242e+02 0.000e+00 1.588e+08
User objective function returned NaN; trying a new point...
1 75 4.024738e+02 0.000e+00 2.585e+06 1.070e-02
Can we view the cg iteration values for each iteration either in a graphical way or tablular form?
0 Comments
Accepted Answer
Tim Jackman
on 15 Sep 2015
There is no documented way that I am aware of in fmincon or optimoptions to view the CG iterations.
0 Comments
More Answers (0)
See Also
Categories
Find more on Nonlinear Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!