|
Get the sparsity pattern of the Hessian.
virtual _LONG_T GetHessianSparsityPattern( int nhess, int rowno[], int colno[] ) = 0;
Parameters |
Description |
int nhess |
The number of Hessian elements. |
int rowno[] |
An integer array of length nhess with the row numbers of the lower triangular part of the Hessian on output. |
int colno[] |
An integer array of length nhess with the columns numbers of the lower triangular part of the Hessian on output. |
The GetHessianSparsityPattern method returns AOSI_FAILURE in case of an error, else AOSI_SUCCESS.
The GetHessianSparsityPattern method provides the sparsity pattern of the lower triangualar part of the Hessian of the Lagrangian, including the diagonal. This method should be used only for nonlinear models.