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 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.
See
Section 3.1 in the
E04 Chapter Introduction for more details about the NAG optimization modelling suite.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
None.