[loclim, ifail] = e05jk('Local Searches Limit', comm);will result in the value of the optional parameter Local Searches Limit being output in loclim.
None.
Open in the MATLAB editor: e05jk_example
function e05jk_example fprintf('e05jk example results\n\n'); % Initialize comm array [comm, ifail] = e05ja; % See what the default values are for the various 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); disp('The default values are for various options are:'); fprintf('%-26s : %8d\n','Function Evaluations Limit', nf); fprintf('%-26s : %8.2e\n','Infinite Bound Size', infbnd); fprintf('%-26s : %8s\n','Local Searches', lcsrch); fprintf('%-26s : %8d\n','Local Searches Limit', loclim); fprintf('%-26s : %8.2e\n','Local Searches Tolerance', loctol); fprintf('%-26s : %8s\n','Repeatability', repeat); fprintf('%-26s : %8d\n','Splits Limit', smax); fprintf('%-26s : %8d\n','Static Limit', stclim); fprintf('%-26s : %8.2e\n','Target Objective Error', objerr); fprintf('%-26s : %8.2e\n','Target Objective Safeguard', objsfg); fprintf('%-26s : %8.2e\n','Target Objective Value', objval);
e05jk example results The default values are for various options are: Function Evaluations Limit : 0 Infinite Bound Size : 1.16e+77 Local Searches : ON Local Searches Limit : 50 Local Searches Tolerance : 2.22e-16 Repeatability : OFF Splits Limit : 0 Static Limit : 0 Target Objective Error : 1.03e-04 Target Objective Safeguard : 1.05e-08 Target Objective Value : 0.00e+00