how to stop optimization when the function value reach 0?
1 view (last 30 days)
Show older comments
Filip Hanzely
on 13 Aug 2016
Commented: Nachiketa Chauhan
on 5 Jul 2019
I am using patternsearch algorithm to find minimum of a function (area of intersection of some objects). I know that the minimum cannot be less than 0, thus I want to stop when the function value is 0. How to do it?
1 Comment
Geoff Hayes
on 13 Aug 2016
Filip - are you using an algorithm from a MATLAB toolbox or something that you have written? Please provide a reference to that code.
Accepted Answer
Alan Weiss
on 15 Aug 2016
Alan Weiss
MATLAB mathematical toolbox documentation
1 Comment
Nachiketa Chauhan
on 5 Jul 2019
@alan
can you provide a more elaborate answer. what do you mean by set stop = true?
More Answers (0)
See Also
Categories
Find more on Surrogate Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!