Initializing help system before first use

XKTR_PARAM_GRADOPT

Description
Specifies how to compute the gradients of the objective and constraint functions.
Type
Integer
Values
1 
(exact) User provides a routine for computing the exact gradients.
2 
(forward) Knitro computes gradients by forward finite-differences.
3 
(central) Knitro computes gradients by central finite differences.
Default value
1
Note
It is highly recommended to provide exact gradients if at all possible as this greatly impacts the performance of the code.