EquationType Class Reference
GAMS Equation Type. More...
GAMS Equation Type.
This class holds the possible GAMS equation types similar to an enumeration class. Note that it is not an enumeration class due to compatibility (e.g. for Octave).
- See also
- Equation, symbol.Equation
Public Member Functions | |
function | EquationType (in value) |
Constructs a Equation Type. | |
Static Public Member Functions | |
static function | eq () |
Constructs a Equation Type as EQ. | |
static function | leq () |
Constructs a Equation Type as LEQ. | |
static function | geq () |
Constructs a Equation Type as GEQ. | |
static function | nonBinding () |
Constructs a Equation Type as NONBINDING. | |
static function | external () |
Constructs a Equation Type as EXTERNAL. | |
static function | cone () |
Constructs a Equation Type as CONE. | |
static function | boolean () |
Constructs a Equation Type as BOOLEAN. | |
static function | values (in input) |
Converts input to Equation Type enumeration values. | |
static function | selects (in input) |
Converts input to Equation Type enumeration labels (selections) | |
Constructor & Destructor Documentation
◆ EquationType()
function EquationType | ( | in | value | ) |
Constructs a Equation Type.
Optional Arguments:
- value (
numeric
orstring
) Enumeration value or label. Default: 3 (NONBINDING).
Member Function Documentation
◆ selects()
|
static |
Converts input to Equation Type enumeration labels (selections)
Required Arguments:
- input (
numeric
,cell
orstring
) Enumeration values or labels.
◆ values()
|
static |
Converts input to Equation Type enumeration values.
Required Arguments:
- input (
numeric
,cell
orstring
) Enumeration values or labels.