The collection of all common GAMS enumerations. More...
#include <gamsenum.h>
| Static Public Member Functions | |
| static std::string | text (GAMSEnum::SymbolType type) | 
| Get a GAMSEnum::SymbolTypeas string. | |
| static std::string | text (GAMSEnum::EquType type) | 
| Get a GAMSEnum::EquTypeas string. | |
| static std::string | text (GAMSEnum::SetType type) | 
| Get a GAMSEnum::SetTypeas string. | |
| static std::string | text (GAMSEnum::VarType type) | 
| Get a GAMSEnum::VarTypeas string. | |
| static std::string | text (GAMSEnum::GAMSExitCode type) | 
| Get a GAMSEnum::GAMSExitCodeas text. | |
| static std::string | text (GAMSEnum::EAction type) | 
| Get a GAMSEnum::EActionas text. | |
| static std::string | code (GAMSEnum::EAction type) | 
| Get a GAMSEnum::EActionas code. | |
| static EAction | eActionFromCode (const std::string &str) | 
| Get a GAMSEnum::EActionfrom astd::string. | |
Detailed Description
The collection of all common GAMS enumerations.
Definition at line 38 of file gamsenum.h.
Member Enumeration Documentation
◆ DebugLevel
GAMS Debug Level.
Definition at line 197 of file gamsenum.h.
◆ EAction
GAMS processing requests.
Definition at line 218 of file gamsenum.h.
◆ EquType
Equation subtype.
| Enumerator | |
|---|---|
| E | Equality - =E=. | 
| G | Greater or equal than inequality - =G=. | 
| L | Less or equal than inequality - =L=. | 
| N | Non-binding equation - =N=. | 
| X | External equation - =X=. | 
| C | Cone equation - =C=. | 
Definition at line 57 of file gamsenum.h.
◆ GAMSExitCode
GAMS exit code.
Definition at line 142 of file gamsenum.h.
◆ ModelStat
Model Solution Status.
Definition at line 118 of file gamsenum.h.
◆ SetType
Set subtype.
| Enumerator | |
|---|---|
| Multi | Multi Set - default. | 
| Singleton | Singleton Set - Zero or one element. | 
Definition at line 72 of file gamsenum.h.
◆ SolveStat
Solver termination condition.
Definition at line 100 of file gamsenum.h.
◆ SymbolType
This enum defines the type of a symbol (The type Alias is not supported and shows as Set).
| Enumerator | |
|---|---|
| SymTypeSet | Symbol type is a Set (or an Alias) | 
| SymTypePar | Symbol type is a Parameter. | 
| SymTypeVar | Symbol type is a Variable. | 
| SymTypeEqu | Symbol type is a Equation. | 
Definition at line 43 of file gamsenum.h.
◆ SymbolUpdateAction
What field to update.
Definition at line 186 of file gamsenum.h.
◆ SymbolUpdateType
Symbol update type.
Definition at line 207 of file gamsenum.h.
◆ VarType
Variable subtype.
Definition at line 82 of file gamsenum.h.
Member Function Documentation
◆ code()
| 
 | static | 
Get a GAMSEnum::EAction as code. 
◆ eActionFromCode()
| 
 | static | 
Get a GAMSEnum::EAction from a std::string. 
◆ text() [1/6]
| 
 | static | 
Get a GAMSEnum::EAction as text. 
◆ text() [2/6]
| 
 | static | 
Get a GAMSEnum::EquType as string. 
◆ text() [3/6]
| 
 | static | 
Get a GAMSEnum::GAMSExitCode as text. 
◆ text() [4/6]
| 
 | static | 
Get a GAMSEnum::SetType as string. 
◆ text() [5/6]
| 
 | static | 
Get a GAMSEnum::SymbolType as string. 
◆ text() [6/6]
| 
 | static | 
Get a GAMSEnum::VarType as string.