Stopping pattern search when a target value is reached
古いコメントを表示
This may be a feature request, rather than a question. I'd like to run pattern search until a particular target value is reached (not using a relative x or f criterion. I don't see an obvious way to do this --- does one exist?
回答 (1 件)
Alan Weiss
2018 年 5 月 7 日
0 投票
Use an output function, and have the function set the stop value to true when the solver reaches the condition you want.
Alan Weiss
MATLAB mathematical toolbox documentation
カテゴリ
ヘルプ センター および File Exchange で Direct Search についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!