Loading...
Searching...
No Matches
com.gams.api.GAMSOptions.EPyMultInst Enum Reference

GAMS/Python Multiple Instance Interpreter. More...

Public Member Functions

int value ()
 Get the int value of this enumerated PyMultInst.
 

Static Public Member Functions

static EPyMultInst lookup (int val)
 Lookup all pyMultInsts.
 

Public Attributes

 Single =(0)
 Use a single-session Python interpreter.
 
 Multi =(1)
 Use a multi-session Python interpreter.
 
 UndefinedPyMultInst =(2)
 Undefined PyMultInst.
 

Detailed Description

GAMS/Python Multiple Instance Interpreter.

Member Function Documentation

◆ lookup()

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

Lookup all pyMultInsts.

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

◆ value()

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

Get the int value of this enumerated PyMultInst.

Returns
the pyMultInst value

Member Data Documentation

◆ Multi

com.gams.api.GAMSOptions.EPyMultInst.Multi =(1)

Use a multi-session Python interpreter.

◆ Single

com.gams.api.GAMSOptions.EPyMultInst.Single =(0)

Use a single-session Python interpreter.

◆ UndefinedPyMultInst

com.gams.api.GAMSOptions.EPyMultInst.UndefinedPyMultInst =(2)

Undefined PyMultInst.