nag_opt_qpconvex2_sparse_option_integer_set (e04nt) may be used to supply individual integer optional parameters to
nag_opt_qpconvex2_sparse_solve (e04nq). The initialization function
nag_opt_qpconvex2_sparse_init (e04np) must have been called before calling
nag_opt_qpconvex2_sparse_option_integer_set (e04nt).
nag_opt_qpconvex2_sparse_option_integer_set (e04nt) may be used to supply values for integer optional parameters to
nag_opt_qpconvex2_sparse_solve (e04nq). It is only necessary to call
nag_opt_qpconvex2_sparse_option_integer_set (e04nt) for those arguments whose values are to be different from their default values. One call to
nag_opt_qpconvex2_sparse_option_integer_set (e04nt) sets one argument value.
Each integer optional parameter is defined by a single character string in
string and the corresponding value in
ivalue. For example, the following allows the iteration limit to be defined:
itnlim = 1000;
if (m > 500)
itnlim = 500;
end
[cw, iw, rw, ifail] = e04nt('Iterations', itnlim, cw, iw, rw);
Optional parameter settings are preserved following a call to
nag_opt_qpconvex2_sparse_solve (e04nq) and so the keyword
Defaults is provided to allow you to reset all the optional parameters to their default values before a subsequent call to
nag_opt_qpconvex2_sparse_solve (e04nq).
A complete list of optional parameters, their abbreviations, synonyms and default values is given in
Optional Parameters in
nag_opt_qpconvex2_sparse_solve (e04nq).
None.
None.
Not applicable.
function e04nt_example
fprintf('e04nt example results\n\n');
[cw, iw, rw, ifail] = e04np;
string = 'Print file';
ivalue = int64(6);
[cw, iw, rw, ifail] = e04nt( ...
string, ivalue, cw, iw, rw);
[ivalue, cw, iw, rw, ifail] = ...
e04nx(string, cw, iw, rw);
fprintf('The value of option ''Print file'' is %3d\n', ivalue);