Options for finite differences. More...

Public Member Functions

int value ()
 Get the int value of this enumerated FDOpt. More...
 

Static Public Member Functions

static EFDOpt lookup (int val)
 Lookup all fDOpts. More...
 

Public Attributes

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

Detailed Description

Options for finite differences.

Member Function Documentation

◆ lookup()

static EFDOpt com.gams.api.GAMSOptions.EFDOpt.lookup ( int  val)
static

Lookup all fDOpts.

Parameters
valan int value to lookup
Returns
the enumerated FDOpt that has the specified value, or UndefinedFDOpt if the specified value is not found.

◆ value()

int com.gams.api.GAMSOptions.EFDOpt.value ( )

Get the int value of this enumerated FDOpt.

Returns
the fDOpt value

Member Data Documentation

◆ FGHNumericNoScale

com.gams.api.GAMSOptions.EFDOpt.FGHNumericNoScale =(14)

Same as 4, but no scale of delta.

◆ FGHNumericScale

com.gams.api.GAMSOptions.EFDOpt.FGHNumericScale =(4)

Force gradient and Hessian numerically, scale delta.

◆ GAnalyticFHNumericFuncNoScale

com.gams.api.GAMSOptions.EFDOpt.GAnalyticFHNumericFuncNoScale =(13)

Same as 3, but no scale of delta.

◆ GAnalyticFHNumericFuncScale

com.gams.api.GAMSOptions.EFDOpt.GAnalyticFHNumericFuncScale =(3)

Gradient analytically, force Hessian numerically using function values, scale delta.

◆ GAnalyticFHNumericGradNoScale

com.gams.api.GAMSOptions.EFDOpt.GAnalyticFHNumericGradNoScale =(12)

Same as 2, but no scale of delta.

◆ GAnalyticFHNumericGradScale

com.gams.api.GAMSOptions.EFDOpt.GAnalyticFHNumericGradScale =(2)

Gradient analytically, force Hessian numerically using gradient values, scale delta.

◆ GHAnalyticHNumericFuncNoScale

com.gams.api.GAMSOptions.EFDOpt.GHAnalyticHNumericFuncNoScale =(11)

Same as 1, but no scale of delta.

◆ GHAnalyticHNumericFuncScale

com.gams.api.GAMSOptions.EFDOpt.GHAnalyticHNumericFuncScale =(1)

All derivatives analytically, for numerical Hessian use function values, scale delta.

◆ GHAnalyticHNumericGradNoScale

com.gams.api.GAMSOptions.EFDOpt.GHAnalyticHNumericGradNoScale =(10)

Same as 0, but no scale of delta.

◆ GHAnalyticHNumericGradScale

com.gams.api.GAMSOptions.EFDOpt.GHAnalyticHNumericGradScale =(0)

All derivatives analytically, for numerical Hessian use gradient values, scale delta.

◆ UndefinedFDOpt

com.gams.api.GAMSOptions.EFDOpt.UndefinedFDOpt =(15)

Undefined FDOpt.