Hi Lisa,
Unfortunately, this functionality is not currently available in Knitro. I agree it could be useful and we will consider adding it in a future release.
There are 2 related functionalities that may or may not be useful to you.
1) There is an API function in Knitro to set a custom finite-difference steplength for each variable:
2) The callable library API in Knitro allows computing/approximating gradients for different groups of constraints in different ways. For example you could use forward differences for some group of constraints and central differences for another group
of constraints, by creating separate callback structures for these 2 groups. In the Knitro distribution, the "C" example
knitro-12.3.0-z-*64/examples/C/exampleMultipleCB.c
shows how to use exact gradients for some constraints and forward finite-differencing for others. Something similar could be done to compute some constraints with forward differencing and others with central differencing.
Best regards,
-Richard
Richard WALTZ
Senior Scientist
Artelys USA