Global Optimization Toolbox - 'TimeLimit' ignored
Ältere Kommentare anzeigen
Hello,
in some simulation studies the Pattern Search was used and within the psoptimset 'TimeLimit' was used as stopping criteria. Unfortunately this criteria was ignored, so the runs go on and dont break after having consumed a defined amount of time. Do you have an answer for this behaviour?
I will try another criteria now ('MaxFunEvals' -> the algorithm finishes after a certain amount of function evaluations). This behaviour only occured within the Pattern Search algorithm.
Thank you in advance for your help!
Antworten (1)
Alan Weiss
am 14 Jun. 2016
Bearbeitet: Alan Weiss
am 14 Jun. 2016
1 Stimme
As I explained in this Answer, there is a bug in patternsearch when run in parallel that causes the time limit not to be honored. I think that you are doing the right thing by using MaxFunEvals instead.
Sorry about the bug.
Alan Weiss
MATLAB mathematical toolbox documentation
1 Kommentar
Felix Kamhuber
am 15 Jun. 2016
Kategorien
Mehr zu File Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!