Variable SubType. More...

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

 BINARY =(1)
 Binary variable.
 
 FREE =(5)
 Free variable.
 
 INTEGER =(2)
 Integer Variable.
 
 NEGATIVE =(4)
 Negative variable.
 
 POSITIVE =(3)
 Positive variable.
 
 SEMICONT =(8)
 Semi-continuous variable.
 
 SEMIINT =(9)
 Semi-integer variable.
 
 SOS1 =(6)
 Special Ordered Set 1.
 
 SOS2 =(7)
 Special Ordered Set 2.
 
 UNDEFINED_TYPE =(10)
 Undefined option.
 
 UNKNOWN =(0)
 Unknown variable type.
 

Detailed Description

Variable SubType.

See also
GAMSVariable

Member Function Documentation

◆ lookup()

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

Find enum option from alternative value.

Arguments:

  • value: Alternative value

Return: enum option

◆ value()

integer Matlab.GAMS.VarType.value ( )

Returns alternative value of enum option.

Return: Alternative value of enum option