i am using simulated annealing optimization toolbox matlab and i want to display current function value,best function value and best iteration so far at each iteration of my program.
조회 수: 1 (최근 30일)
이전 댓글 표시
I want all these parameter to display on command window.
댓글 수: 0
답변 (1개)
Alan Weiss
2017년 6월 14일
Write an output function that returns optimvalues.bestfval (the best function value found so far), optimvalues.fval (the current function value), and you will have to create a persistent variable bestiter that maintains the value of the best iteration. See, for example,
edit saplotbestf
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulated Annealing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!