fmincon save each iteration information
이전 댓글 표시
I am using the fmincon, and I want to save the fitting value for each iteration automatically. What I can do is to display the fmincon information when the process is done using the optimset('display','iter'). But I could not find a way to save the value of obj function input in each iteration. Could anyone help to solve this problem?
답변 (1개)
Alan Weiss
2015년 5월 13일
편집: Alan Weiss
2015년 5월 13일
0 개 추천
Use an output function to record whatever you like. This example records the history of the locations and the objective function value; modify it as you like.
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!