# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

3  Setting NLPQL Options

All NLPQL control parameters are possible to set from Matlab.

3.1  Setting options using the Prob.NLPQL structure

The parameters can be set as subfields in the Prob.NLPQL structure. The following example shows how to set a limit on the maximum number of iterations.
Prob = conAssign(...)     % Setup problem, see help conAssign for more information

Prob.NLPQL.maxit = 2000; % Setting maximum number of iterations

The maximum number of iterations can also be done through the TOMLAB parameter MaxIter:
Prob.optParam.MaxIter = 200;
In the cases where a solver specific parameter has a corresponding TOMLAB general parameter, the latter is used only if the user has not given the solver specific parameter.

A complete description of the available NLPQL parameters can be found in Section 4.1.



« Previous « Start » Next »