Obtaining intermediate iteration's design variables

20 views
Skip to first unread message

Ömer Toktaş

unread,
Oct 22, 2023, 4:55:43 PM10/22/23
to SNOPT
Hello,

I am using SNOPT in MATLAB. I want to see each design variable for each major iteration. However, the output file only provides the optimum design variable.

Normally in MATLAB while using fmincon or fminsearch, we can write an output function to save historical data, but I don't think we can do that in SNOPT. I have read about the 'options.stop' choice; it says it stops the optimization after each major iteration. Maybe I can write a function to obtain intermediate design variables, but I couldn't use it. Can you help me with that?

Best Regards,
Omer
Reply all
Reply to author
Forward
0 new messages