Options for finite differences. More...

Public Member Functions

integer value ()
 Returns alternative value of enum option. More...
 

Static Public Member Functions

static FDOpt lookup (integer value)
 Find enum option from alternative value. More...
 

Public Attributes

 FGHNumericNoScale =(14)
 Same as 4, but no scale of delta.
 
 FGHNumericScale =(4)
 Force gradient and Hessian numerically, scale delta.
 
 GAnalyticFHNumericFuncNoScale =(13)
 Same as 3, but no scale of delta.
 
 GAnalyticFHNumericFuncScale =(3)
 Gradient analytically, force Hessian numerically using function values, scale delta.
 
 GAnalyticFHNumericGradNoScale =(12)
 Same as 2, but no scale of delta.
 
 GAnalyticFHNumericGradScale =(2)
 Gradient analytically, force Hessian numerically using gradient values, scale delta.
 
 GHAnalyticHNumericFuncNoScale =(11)
 Same as 1, but no scale of delta.
 
 GHAnalyticHNumericFuncScale =(1)
 All derivatives analytically, for numerical Hessian use function values, scale delta.
 
 GHAnalyticHNumericGradNoScale =(10)
 Same as 0, but no scale of delta.
 
 GHAnalyticHNumericGradScale =(0)
 All derivatives analytically, for numerical Hessian use gradient values, scale delta.
 
 UndefinedFDOpt =(15)
 Undefined option.
 

Detailed Description

Options for finite differences.

See also
GAMSOptions

Member Function Documentation

◆ lookup()

static FDOpt Matlab.GAMS.FDOpt.lookup ( integer  value)
static

Find enum option from alternative value.

Arguments:

  • value: Alternative value

Return: enum option

◆ value()

integer Matlab.GAMS.FDOpt.value ( )

Returns alternative value of enum option.

Return: Alternative value of enum option