[loctol, ifail] = e05jl('Local Searches Tolerance', comm);will result in the value of the optional parameter Local Searches Tolerance being output in loctol.
None.
Open in the MATLAB editor: e05jl_example
function e05jl_example fprintf('e05jl example results\n\n'); [comm, ifail] = e05ja; % List the default values for some options nf = e05jk('Function Evaluations Limit', comm); infbnd = e05jl('Infinite Bound Size', comm); lcsrch = e05jj('Local Searches', comm); loclim = e05jk('Local Searches Limit', comm); loctol = e05jl('Local Searches Tolerance', comm); repeat = e05jj('Repeatability', comm); smax = e05jk('Splits Limit', comm); stclim = e05jk('Static Limit', comm); objerr = e05jl('Target Objective Error', comm); objsfg = e05jl('Target Objective Safeguard', comm); objval = e05jl('Target Objective Value', comm); fprintf('Function Evaluations Limit = %10d\n',nf); fprintf('Infinite Bound Size = %10.3e\n',infbnd); fprintf('Local Searches = %10s\n',lcsrch); fprintf('Local Searches Limit = %10d\n',loclim); fprintf('Local Searches Tolerance = %10.3e\n',loctol); fprintf('Repeatability = %10s\n',repeat); fprintf('Splits Limit = %10d\n',smax ); fprintf('Static Limit = %10d\n',stclim); fprintf('Target Objective Error = %10.3e\n',objerr); fprintf('Target Objective Safeguard = %10.3e\n',objsfg); fprintf('Target Objective Value = %10.3f\n',objval);
e05jl example results Function Evaluations Limit = 0 Infinite Bound Size = 1.158e+77 Local Searches = ON Local Searches Limit = 50 Local Searches Tolerance = 2.220e-16 Repeatability = OFF Splits Limit = 0 Static Limit = 0 Target Objective Error = 1.026e-04 Target Objective Safeguard = 1.054e-08 Target Objective Value = 0.000