E04RLF is a part of the NAG optimization modelling suite and defines the structure of the Hessians of the nonlinear objective and constraints, on assumption that they are present in the problem. Alternatively, it may be used to define the Hessian of the Lagrangian.
After the initialization routine
E04RAF has been called and an objective function
or nonlinear constraint function
has been registered with
E04RGF and
E04RKF, E04RLF can be used to define the sparsity structure of the Hessians,
, of those functions (i.e., the second partial derivatives with respect to the decision variables) or a linear combination of them, called the Lagrangian.
- Defining
;
- the Hessian of the Lagrangian function ;
- the Hessian of the objective function ;
- the Hessian of the constraint functions .
The nonzero values of the Hessians at particular points in the decision variable space will be communicated to the NLP solver by user-supplied functions (e.g.,
HESS for
E04STF).
Some NLP solvers (e.g.,
E04STF) expect either all of the Hessians (for objective and nonlinear constraints) to be supplied by the user or none and they will terminate with an error indicator if only some but not all of the Hessians have been introduced by E04RLF.
Some NLP solvers (e.g.,
E04STF, again) will automatically switch to using internal approximations for the Hessians if none have been introduced by E04RLF. This usually results in a slower convergence (more iterations to the solution) and might even result in no solution being attainable within the ordinary tolerances.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
Not applicable.
E04RLF is not threaded in any implementation.
Parts of the code for
E04STF are distributed according to terms imposed by another licensor. Please refer to
Library Licensors for further details.