com.gams.api.GAMSOptions.ECaptureModelInstance Enum Reference

Switch to capture all model instances within a run. More...

Public Member Functions

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

Static Public Member Functions

static ECaptureModelInstance lookup (int val)
 Lookup all captureModelInstances. More...
 

Public Attributes

 Off =(0)
 Do not capture model instances. More...
 
 On =(1)
 Capture model instances. More...
 
 UndefinedCaptureModelInstance =(2)
 Undefined CaptureModelInstance. More...
 

Detailed Description

Switch to capture all model instances within a run.

Member Function Documentation

◆ lookup()

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

Lookup all captureModelInstances.

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

◆ value()

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

Get the int value of this enumerated CaptureModelInstance.

Returns
the captureModelInstance value

Member Data Documentation

◆ Off

com.gams.api.GAMSOptions.ECaptureModelInstance.Off =(0)

Do not capture model instances.

◆ On

com.gams.api.GAMSOptions.ECaptureModelInstance.On =(1)

Capture model instances.

◆ UndefinedCaptureModelInstance

com.gams.api.GAMSOptions.ECaptureModelInstance.UndefinedCaptureModelInstance =(2)

Undefined CaptureModelInstance.