Loading...
Searching...
No Matches
gamsenum.h
28// TODO(jm) generator-change-request: #pragma once in some cases behaves differently to standard IFDEF guard
45 SymTypeSet = 0,
49 };
59 E = 0,
60 G = 1,
61 L = 2,
62 N = 3,
63 X = 4,
64 C = 5,
76 };
94 };
102 Normal = 1,
115 };
120 OptimalGlobal = 1,
139 };
144 NormalReturn = 0,
156 CouldNotCreateScratchDir = 109,
157 TooManyScratchDirs = 110,
158 CouldNotDeleteScratchDir = 112,
159 CouldNotWriteGamsNext = 113,
160 CouldNotWriteParamFile = 114,
161 CouldNotReadEnvVar = 115,
162 CouldNotSpawnGAMScmex = 400,
163 CurDirNotFound = 401,
164 CurDirNotSet = 402,
165 BlankInSysDir = 404,
166 BlankInCurDir = 405,
167 BlankInScrExt = 406,
168 UnexpectedCmexRC = 407,
169 ProcDirNotFound = 408,
170 CmexLibNotFound = 409,
171 CmexLibEPNotFound = 410,
172 BlankInProcDir = 411,
173 BlankInScrDir = 412,
174 CannotAddPath = 909,
175 MissingCommandLineParameter = 1000,
176 CannotInstallInterrupt = 2000,
177 CouldNotGetCurrentDir = 3000,
178 CmexNotFound = 4000,
180 };
188 Param = 0,
189 Upper = 1,
190 Lower = 2,
191 Fixed = 3,
192 Primal = 4,
194 };
199 Off = 0,
204 };
209 Default = 0,
210 BaseCase = 1,
211 Accumulate = 2,
215 };
220 RestartAfterSolve = 0,
226 };
@ KeepFilesOnError
Keep temporary files only if GamsExceptionExecution was raised in GamsJob.run() or GamsJob....
Definition: gamsenum.h:200
static EAction eActionFromCode(std::string str)
Get a GAMSEnum::EAction from a std::string.
static std::string text(GAMSEnum::SetType type)
Get a GAMSEnum::SetType as string.
static std::string text(GAMSEnum::SymbolType type)
Get a GAMSEnum::SymbolType as string.
static std::string text(GAMSEnum::EquType type)
Get a GAMSEnum::EquType as string.
@ SolverToBeCalled
Solver is to be called, the system should never return this number.
Definition: gamsenum.h:145
@ InfeasibleIntermed
Solver terminated early and model was still infeasible.
Definition: gamsenum.h:125
@ NonIntegerIntermed
Solver terminated early with a non integer solution found.
Definition: gamsenum.h:128
SymbolType
This enum defines the type of a symbol (The type Alias is not supported and shows as Set).
Definition: gamsenum.h:44
static std::string text(GAMSEnum::VarType type)
Get a GAMSEnum::VarType as string.
@ Capability
Solver terminated because the model is beyond the solvers capabilities.
Definition: gamsenum.h:107
static std::string text(GAMSEnum::GAMSExitCode type)
Get a GAMSEnum::GAMSExitCode as text.