How to conveniently plot iteration progress during a 2D optimization?
Show older comments
Hello,
I am curious whether there is a convenient and ready-to-use option to get a 3D plot (probably, a surface plot) that would show every point that a solver took on during optimization over two variables?
I know one can write an output function to store a set of the trial points along with their corresponding function values used by the optimizer throughout the solution process. However, for a special case with only two optimization parameters (which means easy visualization in a 3D plot), maybe there is an option/function that can be called without additional programming? I would like to have something similar to what is shown in the webinar "Tips and Tricks: Getting Started Using Optimization with MATLAB" (like a plot of iterates shown around 27:00 on the timeline).
Thank you all for any help!
Igor.
Accepted Answer
More Answers (1)
Categories
Find more on 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!