How can I stop Fmincon?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all,
How can I stop the fmincon if the cost function tracks a certian value?
댓글 수: 0
답변 (1개)
Walter Roberson
2025년 3월 22일
Use an OutputFcn and set the "stop" output according to whether you want to stop or not. https://www.mathworks.com/help/optim/ug/output-function.html#f11675
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!