Global Optimization Toolbox - 'TimeLimit' ignored

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!

답변 (1개)

Alan Weiss
Alan Weiss 2016년 6월 14일
편집: Alan Weiss 2016년 6월 14일

1 개 추천

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

Hello Alan,
thank you for your quick response and the workaround mentionned in the other thread!
Felix

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

질문:

2016년 6월 13일

댓글:

2016년 6월 15일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by