Stopping pattern search when a target value is reached
Afficher commentaires plus anciens
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?
Réponses (1)
Alan Weiss
le 7 Mai 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
Catégories
En savoir plus sur Direct Search dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!