com.gams.api.GAMSOptions.EPreviousWork Enum Reference

Indicator for writing workfile with previous workfile version. More...

Public Member Functions

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

Static Public Member Functions

static EPreviousWork lookup (int val)
 Lookup all previousWorks. More...
 

Public Attributes

 Off =(0)
 Write workfile using the current version. More...
 
 On =(1)
 Write workfile using the previous workfile version. More...
 
 UndefinedPreviousWork =(2)
 Undefined PreviousWork. More...
 

Detailed Description

Indicator for writing workfile with previous workfile version.

Member Function Documentation

◆ lookup()

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

Lookup all previousWorks.

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

◆ value()

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

Get the int value of this enumerated PreviousWork.

Returns
the previousWork value

Member Data Documentation

◆ Off

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

Write workfile using the current version.

◆ On

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

Write workfile using the previous workfile version.

◆ UndefinedPreviousWork

com.gams.api.GAMSOptions.EPreviousWork.UndefinedPreviousWork =(2)

Undefined PreviousWork.