Stopping pattern search when a target value is reached
Show older comments
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?
Answers (1)
Alan Weiss
on 7 May 2018
0 votes
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
Categories
Find more on Direct Search in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!