|
Evaluate a nonlinear row and calculate the Jacobian.
Parameters |
Description |
_LONG_T row_no |
The row number. |
double point[] |
Double-valued array containing the point of evaluation. The length of the array should match the total number of columns. |
int new_point |
The new point indicator. If this argument is set to 0, then AIMMS ignores the point argument and uses the same point as in the previous call to the method. If set to 1, then AIMMS will use the point information passed to point. |
double jac[] |
Double-valued array containing the Jacobian values on output. The length of the array should match the total number of columns. |
double * val |
A pointer to the location where the function value is returned. |
The EvaluateDiffRow method returns the number of domain (evaluation) errors that occurred while calculating the function value and the Jacobian.
The EvaluateDiffRow method is used to let AIMMS evaluate a nonlinear row and calculate the Jacobian values of that row. AIMMS will also calculate the linear part of the row if the capability flag SolverCapability::CAPAB_EVAL_LIN_PART is set in the GetInitialInfo method, else AIMMS will only calculate the nonlinear part. This method should be used only for nonlinear models.