|
Evaluate the Hessian.
virtual _LONG_T EvaluateHessian( double point[], double weights[], int nhess, double value[], double obj_weight ) = 0;
Parameters |
Description |
double point[] |
Double-valued array containing the point of evaluation. The length of the array should match the total number of columns. |
double weights[] |
Double-valued array of weights on the individual rows. |
int nhess |
The number of Hessian elements. |
double value[] |
Double-valued array of length nhess with the coefficient values of the Hessian elements on output. The individual elements will be defined in the same order as they are returned by the GetHessianSparsityPattern method. |
double obj_weight |
The Lagrangian coefficient (weight) of the objective row. This value is only used by AIMMS in case the solver can handle objective row reduction. |
The EvaluateHessian method returns the number of domain (evaluation) errors that occurred while calculating the Hessian of the Lagrangian.
The EvaluateHessian method is used to let AIMMS evaluate the Hessian of the Lagrangian. This method should be used only for nonlinear models.