how to stop optimization when the function value reach 0?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Geoff Hayes
2016-8-13
Filip - are you using an algorithm from a MATLAB toolbox or something that you have written? Please provide a reference to that code.
采纳的回答
Alan Weiss
2016-8-15
Alan Weiss
MATLAB mathematical toolbox documentation
1 个评论
Nachiketa Chauhan
2019-7-5
@alan
can you provide a more elaborate answer. what do you mean by set stop = true?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surrogate Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!