From e6920a60a18b3ef4e631bfd558975950ab94ec1b Mon Sep 17 00:00:00 2001 From: Willi Mutschler Date: Wed, 21 Jun 2023 21:53:14 +0200 Subject: [PATCH] Default option: don't save files for csminwel and cmaes Usually these files are not needed (if then user can turn this option on manually) and only clutter the folder. Moreover, the testsuite crashes on rare occasions if several mod files are run in the same folder and the optimizers write the files simultaneously. --- matlab/default_option_values.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/default_option_values.m b/matlab/default_option_values.m index c0a0bf67e..0c3616b91 100644 --- a/matlab/default_option_values.m +++ b/matlab/default_option_values.m @@ -556,7 +556,7 @@ options_.hessian = hessian; csminwel.tolerance.f=1e-7; csminwel.maxiter=1000; csminwel.verbosity=1; -csminwel.Save_files=1; +csminwel.Save_files=false; options_.csminwel=csminwel; @@ -581,7 +581,7 @@ simplex.delta_factor=0.05; options_.simplex = simplex; % CMAES optimization routine. -cmaes.SaveVariables='on'; +cmaes.SaveVariables='off'; cmaes.DispFinal='on'; cmaes.WarnOnEqualFunctionValues='no'; cmaes.DispModulo='10';