Hi all,
How can I stop the fmincon if the cost function tracks a certian value?

回答 (1 件)

Walter Roberson
Walter Roberson 2025 年 3 月 22 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeSimulink Design Optimization についてさらに検索

タグ

質問済み:

2025 年 3 月 22 日

回答済み:

2025 年 3 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by