Initializing help system before first use

# XKTR_PARAM_GRADOPT, KNITRO_PARAM_GRADOPT

Description | Specifies how to compute the gradients of the objective and constraint functions.
Type | Integer
Topic areas | Knitro, Derivatives
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.
Category | Control

Parent Topic Integer control parameters

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.