Bug fix. verbosity option was not honoured in simplex algorithm (8).

Thanks to Reuben for reporting.

(cherry picked from commit 108854a4)
parent 69deee2e
Pipeline #213 failed with stages
in 326 minutes and 32 seconds
......@@ -295,14 +295,14 @@ switch minimizer_algorithm
case 'InitialSimplexSize'
simplexOptions.delta_factor = options_list{i,2};
case 'verbosity'
simplexOptions.verbose = options_list{i,2};
simplexOptions.verbosity = options_list{i,2};
otherwise
warning(['simplex: Unknown option (' options_list{i,1} ')!'])
end
end
end
if options_.silent_optimizer
simplexOptions.verbose = options_list{i,2};
simplexOptions.verbosity = 0;
end
[opt_par_values,fval,exitflag] = simplex_optimization_routine(objective_function,start_par_value,simplexOptions,parameter_names,varargin{:});
case 9
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment