From e3e34e1c7d9091f2293297acb9c63fde4bd520ab Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sun, 11 Oct 2015 18:50:05 +0200 Subject: [PATCH] Reduce default accuracy criterion in cmaes.m --- matlab/optimization/cmaes.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/optimization/cmaes.m b/matlab/optimization/cmaes.m index 2fc15726f..833dbe9b2 100644 --- a/matlab/optimization/cmaes.m +++ b/matlab/optimization/cmaes.m @@ -191,10 +191,10 @@ defopts.MaxFunEvals = 'Inf % maximal number of fevals'; defopts.MaxIter = '1e3*(N+5)^2/sqrt(popsize) % maximal number of iterations'; defopts.StopFunEvals = 'Inf % stop after resp. evaluation, possibly resume later'; defopts.StopIter = 'Inf % stop after resp. iteration, possibly resume later'; -defopts.TolX = '1e-11*max(insigma) % stop if x-change smaller TolX'; +defopts.TolX = '1e-9*max(insigma) % stop if x-change smaller TolX'; defopts.TolUpX = '1e3*max(insigma) % stop if x-changes larger TolUpX'; -defopts.TolFun = '1e-12 % stop if fun-changes smaller TolFun'; -defopts.TolHistFun = '1e-13 % stop if back fun-changes smaller TolHistFun'; +defopts.TolFun = '1e-10 % stop if fun-changes smaller TolFun'; +defopts.TolHistFun = '1e-11 % stop if back fun-changes smaller TolHistFun'; defopts.StopOnStagnation = 'on % stop when fitness stagnates for a long time'; defopts.StopOnWarnings = 'yes % ''no''==''off''==0, ''on''==''yes''==1 '; defopts.StopOnEqualFunctionValues = '2 + N/3 % number of iterations';