How can I stop Fmincon?

조회 수: 3 (최근 30일)
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI 2025년 3월 22일
답변: Walter Roberson 2025년 3월 22일
Hi all,
How can I stop the fmincon if the cost function tracks a certian value?

답변 (1개)

Walter Roberson
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

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by