how to store the intermediate result when using fmincon
古いコメントを表示
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
採用された回答
その他の回答 (3 件)
Alan Weiss
2013 年 2 月 5 日
0 投票
Alan Weiss
MATLAB mathematical toolbox documentation
Daniel Frisch
2020 年 10 月 7 日
0 投票
You can use my function outputFcn_global that saves all the intermediate results in a global variable, so you can inspect them later on.
カテゴリ
ヘルプ センター および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!