how to store the intermediate result when using fmincon
Ältere Kommentare anzeigen
Dear fellows, I am using fmincon to do optmization. Could you tell me how to look at and store the intermediate result when fmincon is trying different value? Well, I need to give an initial value for fmincon to start, and after that, it will try different value to find the optimized one. I want to check all those values that it tried and the corresponding results. Cheers
Akzeptierte Antwort
Weitere Antworten (3)
xueqi
am 5 Feb. 2013
0 Stimmen
Alan Weiss
am 5 Feb. 2013
0 Stimmen
Alan Weiss
MATLAB mathematical toolbox documentation
Daniel Frisch
am 7 Okt. 2020
0 Stimmen
You can use my function outputFcn_global that saves all the intermediate results in a global variable, so you can inspect them later on.
Kategorien
Mehr zu Data Import from MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!