gamsoptions.h
67 RestartAfterSolve = 0,
68 CompileOnly = 1,
69 ExecuteOnly = 2,
70 CompileAndExecute = 3,
71 GlueCodeGeneration = 4,
73 };
81 Reset = 0,
83 };
91 Reset = 0,
93 };
101 Off = 0,
103 };
111 Off = 0,
113 };
121 MixedCase = 0,
123 };
131 LimitedGAMSCharSet = 0,
133 };
141 Off = 0,
143 };
151 Slash = 0,
152 Dot = 1,
154 };
162 OffDigit = 0,
164 };
172 No = 0,
173 RefDataOriginalSetElementNames = 1,
174 RefDataNewSetElementNames = 2,
175 RefDataNewSetElementNamesDropSymbolText = 3,
176 RefSymbol = 4,
177 Deprecated_10 = 10,
178 InputFileWOComments = 11,
179 Deprecated_12 = 12,
180 Deprecated_19 = 19,
181 Deprecated_20 = 20,
183 };
191 No = 0,
192 AcceptedParameters = 1,
194 };
202 OffECImplicitLoad = 0,
204 };
212 OffEmpty = 0,
214 };
222 EndOfCompilerListing = 0,
223 FollowingError = 1,
225 };
233 EverythingAllowed = 0,
234 InteractiveShellsProhibited = 1,
235 CallAndExecuteProhibited = 2,
236 EchoAndPutOnlyToWorkdir = 3,
238 };
246 GHAnalyticHNumericGradScale = 0,
247 GHAnalyticHNumericFuncScale = 1,
248 GAnalyticFHNumericGradScale = 2,
249 GAnalyticFHNumericFuncScale = 3,
250 FGHNumericScale = 4,
251 GHAnalyticHNumericGradNoScale = 10,
252 GHAnalyticHNumericFuncNoScale = 11,
253 GAnalyticFHNumericGradNoScale = 12,
254 GAnalyticFHNumericFuncNoScale = 13,
256 };
264 DefaultCase = 0,
265 UpperCase = 1,
266 LowerCase = 2,
267 UpperCaseFileOnly = 3,
269 };
277 OffFiltered = 0,
279 };
287 NoTranslation = 0,
289 };
297 Off = 0,
299 };
307 DoNotCompressGDX = 0,
309 };
317 Version5 = 0,
318 Version6 = 1,
320 };
328 squeezed = 0,
330 };
338 FixedVarsNotTreatedAsConstants = 0,
340 };
348 Off = 0,
350 };
358 NoInteraction = 0,
360 };
368 INF = 0,
369 Pass100ToSolver = 1,
370 INFandLog = 2,
372 };
380 DeleteProcDir = 0,
382 };
390 OffListing = 0,
392 };
400 NoTracing = 0,
401 MinimumTracing = 1,
403 };
411 Off = 0,
413 };
421 AllowNewVarEqu = 0,
423 };
431 NoMessages = 0,
433 };
441 NoPageContrWithPadding = 0,
442 FortranStyle = 1,
443 NoPageContrNoPadding = 2,
445 };
453 Off = 0,
455 };
463 Off = 0,
465 };
473 Off = 0,
475 };
483 ForE = 0,
484 Rounded = 1,
485 Scientific = 2,
486 RoundedFloatingDec = 3,
488 };
496 Single = 0,
498 };
506 ActualLineNumber = 0,
508 };
516 NoPointFile = 0,
517 LastSolvePointFile = 1,
518 EverySolvePointFile = 2,
519 LastSolvePointFileScrDir = 3,
521 };
529 InternalAccounting = 0,
530 RSS = 1,
532 };
540 RemoveSolLstFollowingSolves = 0,
541 IncludeSolLstFollowingSolves = 1,
543 };
551 ChainScript = 0,
552 CallScript = 1,
553 CallModule = 2,
554 AsyncGrid = 3,
555 AsyncSimulate = 4,
556 LoadLibrary = 5,
557 LoadLibraryAsync = 6,
559 };
567 NoStepSummmary = 0,
569 };
577 FirstRecord = 0,
579 };
587 NoError = 0,
588 Error = 1,
590 };
598 OffSuffixDLVars = 0,
600 };
608 StandardCompilerListing = 0,
610 };
618 Disable = 0,
620 };
628 AutomaticOptimization = 0,
629 NoOptimization = 1,
631 };
639 SuppressAdditionalSolverOutput = 0,
641 };
649 Colon = 0,
651 };
659 SolverAndGAMSStepTraceWOHeaders = 0,
660 SolverAndGAMSStepTrace = 1,
661 SolverStepTraceOnly = 2,
662 TraceFileFormatGAMSPerformanceWorld = 3,
663 TraceFileFormatSupportingNLPEC = 4,
665 };
673 NoWarning = 0,
675 };
770 void setCaptureModelInstance(const GAMSOptions::ECaptureModelInstance::ECaptureModelInstanceEnum value);
998 void setFreeEmbeddedPython(const GAMSOptions::EFreeEmbeddedPython::EFreeEmbeddedPythonEnum value);
1118 void setInteractiveSolver(const GAMSOptions::EInteractiveSolver::EInteractiveSolverEnum value);
1193 void setLstTitleLeftAligned(const GAMSOptions::ELstTitleLeftAligned::ELstTitleLeftAlignedEnum value);
1301 void setProcTreeMemMonitor(const GAMSOptions::EProcTreeMemMonitor::EProcTreeMemMonitorEnum value);
1370 static std::string eReferenceLineNoText(GAMSOptions::EReferenceLineNo::EReferenceLineNoEnum type);
1373 static std::string eReferenceLineNoCode(GAMSOptions::EReferenceLineNo::EReferenceLineNoEnum type);
1376 static EReferenceLineNo::EReferenceLineNoEnum eReferenceLineNoFromCode(const std::string &str);
Allow solver to interact via command line input.
Definition: gamsoptions.h:354
void setProcTreeMemMonitor(const GAMSOptions::EProcTreeMemMonitor::EProcTreeMemMonitorEnum value)
Set Monitor the memory used by the GAMS process tree.
Definition: gamsworkspace.h:89
void setDFormat(const GAMSOptions::EDFormat::EDFormatEnum value)
Set Date format.
void setSolPrint(const GAMSOptions::ESolPrint::ESolPrintEnum value)
Set Solution report print option.
GAMSOptions::EPrefixLoadPath::EPrefixLoadPathEnum prefixLoadPath()
Get Prepend GAMS system directory to library load path.
void setFileCase(const GAMSOptions::EFileCase::EFileCaseEnum value)
Set Casing of file names and paths (put, gdx, ref, $include, etc.)
static EECImplicitLoad::EECImplicitLoadEnum eECImplicitLoadFromCode(const std::string &str)
Get Allow implicit loading of symbols from embedded code or not from std::string
void setProfileFile(const std::string &value)
Set Write profile information to this file.
std::string iDCGDXInput()
Get GDX file name with data for implicit input.
void setPutNR(const GAMSOptions::EPutNR::EPutNREnum value)
Set Numeric round format for put files.
void setGridScript(const std::string &value)
Set Grid submission script.
GAMSOptions::EIntVarUp::EIntVarUpEnum intVarUp()
Get Set mode for default upper bounds on integer variables.
std::string scriptExit()
Get Program or script to be executed at the end of a GAMS run.
std::string fileStemApFromEnv()
Get Append a string read from an environment variable to the "FileStem".
ENoNewVarEquEnum
Triggers a compilation error when new equations or variable symbols are introduced.
Definition: gamsoptions.h:420
Prepend GAMS system directory to library load path.
Definition: gamsoptions.h:449
ESys10Enum
Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.
Definition: gamsoptions.h:617
void setOn115(const GAMSOptions::EOn115::EOn115Enum value)
Set Generate errors for unknown unique element in an equation.
void setPreviousWork(const GAMSOptions::EPreviousWork::EPreviousWorkEnum value)
Set Indicator for writing workfile with previous workfile version.
void setSavePoint(const GAMSOptions::ESavePoint::ESavePointEnum value)
Set Save solver point in GDX file.
static std::string eDigitText(GAMSOptions::EDigit::EDigitEnum type)
Get Switch default for "$on/offDigit" as text.
GAMSOptions::EShowOSMemory::EShowOSMemoryEnum showOSMemory()
Get Show the memory usage reported by the Operating System instead of the internal counting.
void setAppendExpand(const GAMSOptions::EAppendExpand::EAppendExpandEnum value)
Set Expand file append option.
void setNoNewVarEqu(const GAMSOptions::ENoNewVarEqu::ENoNewVarEquEnum value)
Set Triggers a compilation error when new equations or variable symbols are introduced.
Indicator for writing workfile with previous workfile version.
Definition: gamsoptions.h:459
void writeOptionFile(const std::string &optFileName)
Export options to an option file.
LogId logID()
void setTFormat(const GAMSOptions::ETFormat::ETFormatEnum value)
Set Time format.
GAMSOptions::ESavePoint::ESavePointEnum savePoint()
Get Save solver point in GDX file.
Allow HoldFixed for models solved asynchronously as well.
Definition: gamsoptions.h:344
GAMSOptions::ETraceOpt::ETraceOptEnum traceOpt()
Get Trace file format option.
void setSymPrefix(const std::string &value)
Set Prefix all symbols encountered during compilation by the specified string in work file.
EExecModeEnum
Limits on external programs that are allowed to be executed.
Definition: gamsoptions.h:232
static EListing::EListingEnum eListingFromCode(const std::string &str)
Get Switch default for "$on/offListing" from std::string
bool removeDefine(const std::string &key)
Remove a double-dash option.
GAMSOptions::EDumpParms::EDumpParmsEnum dumpParms()
Get GAMS parameter logging.
EAsyncSolLstEnum
Print solution listing when asynchronous solve (Grid or Threads) is used.
Definition: gamsoptions.h:100
void setAllModelTypes(const std::string &solver)
Set the solver for all model types the solver can handle.
void setECImplicitLoad(const GAMSOptions::EECImplicitLoad::EECImplicitLoadEnum value)
Set Allow implicit loading of symbols from embedded code or not.
void setLicense(const std::string &value)
Set Use alternative license file.
EstrictSingletonEnum
Error if assignment to singleton set has multiple elements.
Definition: gamsoptions.h:576
static std::string eReferenceLineNoText(GAMSOptions::EReferenceLineNo::EReferenceLineNoEnum type)
Get Controls the line numbers written to a reference file as text.
void setReferenceLineNo(const GAMSOptions::EReferenceLineNo::EReferenceLineNoEnum value)
Set Controls the line numbers written to a reference file.
void setCaptureModelInstance(const GAMSOptions::ECaptureModelInstance::ECaptureModelInstanceEnum value)
Set Switch to capture all model instances within a run.
void setSuffixDLVars(const GAMSOptions::ESuffixDLVars::ESuffixDLVarsEnum value)
Set Switch default for "$on/offSuffixDLVars".
EECImplicitLoadEnum
Allow implicit loading of symbols from embedded code or not.
Definition: gamsoptions.h:201
EProcTreeMemMonitorEnum
Monitor the memory used by the GAMS process tree.
Definition: gamsoptions.h:472
void setDumpOptGDX(const std::string &value)
Set Defines a GDX file name stem created when using DumpOpt.
void setFileStemApFromEnv(const std::string &value)
Set Append a string read from an environment variable to the "FileStem".
void setKeep(const GAMSOptions::EKeep::EKeepEnum value)
Set Controls keeping or deletion of process directory and scratch files.
GAMS/Python Multiple Instance Interpreter.
Definition: gamsoptions.h:492
Switch default for "$on/offSuffixDLVars".
Definition: gamsoptions.h:594
void setMaxExecError(const int value)
Set Execution time error limit.
int procTreeMemTicks()
Get Set wait interval between memory monitor checks: ticks = milliseconds.
Triggers a compilation error when new equations or variable symbols are introduced.
Definition: gamsoptions.h:417
GAMSOptions::EstrictSingleton::EstrictSingletonEnum strictSingleton()
Get Error if assignment to singleton set has multiple elements.
static std::string egdxConvertText(GAMSOptions::EgdxConvert::EgdxConvertEnum type)
Get Version of GDX files generated (for backward compatibility) as text.
Unload labels or UELs to GDX either squeezed or full.
Definition: gamsoptions.h:324
EKeepEnum
Controls keeping or deletion of process directory and scratch files.
Definition: gamsoptions.h:379
static std::string eSuffixDLVarsCode(GAMSOptions::ESuffixDLVars::ESuffixDLVarsEnum type)
Get Switch default for "$on/offSuffixDLVars" as code.
GAMSOptions::EAppendExpand::EAppendExpandEnum appendExpand()
Get Expand file append option.
GAMSOptions::EEmpty::EEmptyEnum empty()
Get Switch default for "$on/offEmpty".
GAMSOptions::ESolPrint::ESolPrintEnum solPrint()
Get Solution report print option.
double zeroRes()
Get The results of certain operations will be set to zero if abs(result) LE ZeroRes.
void setCheckErrorLevel(const GAMSOptions::ECheckErrorLevel::ECheckErrorLevelEnum value)
Set Check errorLevel automatically after executing external program.
static std::string eECImplicitLoadCode(GAMSOptions::EECImplicitLoad::EECImplicitLoadEnum type)
Get Allow implicit loading of symbols from embedded code or not as code.
Free external resources at the end of each embedded Python code blocks.
Definition: gamsoptions.h:293
void setOptCA(const double value)
Set Absolute Optimality criterion solver default.
GAMSOptions::EExecMode::EExecModeEnum execMode()
Get Limits on external programs that are allowed to be executed.
void setInteractiveSolver(const GAMSOptions::EInteractiveSolver::EInteractiveSolverEnum value)
Set Allow solver to interact via command line input.
Switch to capture all model instances within a run.
Definition: gamsoptions.h:107
std::string jobTrace()
Get Job trace string to be written to the trace file at the end of a GAMS job.
GAMSOptions::EPyMultInst::EPyMultInstEnum pyMultInst()
Get GAMS/Python Multiple Instance Interpreter.
void setDumpOpt(const GAMSOptions::EDumpOpt::EDumpOptEnum value)
Set Writes preprocessed input to the file input.dmp.
GAMSOptions::EPreviousWork::EPreviousWorkEnum previousWork()
Get Indicator for writing workfile with previous workfile version.
void setFiltered(const GAMSOptions::EFiltered::EFilteredEnum value)
Set Switch default for "$on/offFiltered".
void setSys10(const GAMSOptions::ESys10::ESys10Enum value)
Set Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.
void setstrictSingleton(const GAMSOptions::EstrictSingleton::EstrictSingletonEnum value)
Set Error if assignment to singleton set has multiple elements.
void setCharSet(const GAMSOptions::ECharSet::ECharSetEnum value)
Set Character set flag.
static EFiltered::EFilteredEnum eFilteredFromCode(const std::string &str)
Get Switch default for "$on/offFiltered" from std::string
void setForceWork(const GAMSOptions::EForceWork::EForceWorkEnum value)
Set Force GAMS to process a save file created with a newer GAMS version or with execution errors.
ECaptureModelInstanceEnum
Switch to capture all model instances within a run.
Definition: gamsoptions.h:110
Write title of LST file all left aligned.
Definition: gamsoptions.h:407
GAMSOptions::EErrMsg::EErrMsgEnum errMsg()
Get Placing of compilation error messages.
void setZeroRes(const double value)
Set The results of certain operations will be set to zero if abs(result) LE ZeroRes.
void setDecryptKey(const std::string &value)
Set Key to decrypt a text file that was encrypted via $encrypt.
void setFreeEmbeddedPython(const GAMSOptions::EFreeEmbeddedPython::EFreeEmbeddedPythonEnum value)
Set Free external resources at the end of each embedded Python code blocks.
GAMSOptions::ESys10::ESys10Enum sys10()
Get Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.
void setSolver(const std::string &modelType, const std::string &solver)
Get solver by model type.
void setStepSum(const GAMSOptions::EStepSum::EStepSumEnum value)
Set Summary of computing resources used by job steps.
static std::string eEmptyCode(GAMSOptions::EEmpty::EEmptyEnum type)
Get Switch default for "$on/offEmpty" as code.
EHoldFixedAsyncEnum
Allow HoldFixed for models solved asynchronously as well.
Definition: gamsoptions.h:347
void setHeapLimit(const double value)
Set Maximum Heap size allowed in MB.
EZeroResRepEnum
Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.
Definition: gamsoptions.h:672
int threadsAsync()
Get Limit on number of threads to be used for asynchronous solves (solveLink=6)
GAMSOptions::EgdxUels::EgdxUelsEnum gdxUels()
Get Unload labels or UELs to GDX either squeezed or full.
void setWorkSpace(const double value)
Set Work space for some solvers in MB.
GAMSOptions::ELstTitleLeftAligned::ELstTitleLeftAlignedEnum lstTitleLeftAligned()
Get Write title of LST file all left aligned.
Print solution listing when asynchronous solve (Grid or Threads) is used.
Definition: gamsoptions.h:97
Writes preprocessed input to the file input.dmp.
Definition: gamsoptions.h:168
GAMSOptions::ESys11::ESys11Enum sys11()
Get Dynamic resorting if indices in assignment/data statements are not in natural order.
EReferenceLineNoEnum
Controls the line numbers written to a reference file.
Definition: gamsoptions.h:505
ESys11Enum
Dynamic resorting if indices in assignment/data statements are not in natural order.
Definition: gamsoptions.h:627
void setSuppress(const GAMSOptions::ESuppress::ESuppressEnum value)
Set Compiler listing option.
void setPLicense(const std::string &value)
Set Privacy license file name.
static std::string eFilteredText(GAMSOptions::EFiltered::EFilteredEnum type)
Get Switch default for "$on/offFiltered" as text.
void setHoldFixed(const GAMSOptions::EHoldFixed::EHoldFixedEnum value)
Set Treat fixed variables as constants.
GAMSOptions::EFiltered::EFilteredEnum filtered()
Get Switch default for "$on/offFiltered".
void setHoldFixedAsync(const GAMSOptions::EHoldFixedAsync::EHoldFixedAsyncEnum value)
Set Allow HoldFixed for models solved asynchronously as well.
static EAction::EActionEnum eActionFromCode(const std::string &str)
Get GAMS processing request from std::string
void setLimRow(const int value)
Set Maximum number of rows listed in one equation block.
void setProfileTol(const double value)
Set Minimum time a statement must use to appear in profile generated output.
void setSysOut(const GAMSOptions::ESysOut::ESysOutEnum value)
Set Solver Status file reporting option.
GAMSOptions::EPutNR::EPutNREnum putNR()
Get Numeric round format for put files.
static std::string egdxUelsText(GAMSOptions::EgdxUels::EgdxUelsEnum type)
Get Unload labels or UELs to GDX either squeezed or full as text.
std::string dumpParmsLogPrefix()
Get Prefix of lines triggered by DumpParms>1.
std::string inlineCom()
Get Switch default for "$on/offInline" and "$inlineCom".
void setListing(const GAMSOptions::EListing::EListingEnum value)
Set Switch default for "$on/offListing".
EFileCaseEnum
Casing of file names and paths (put, gdx, ref, $include, etc.)
Definition: gamsoptions.h:263
void setEncryptKey(const std::string &value)
Set Key to encrypt a text file using $encrypt.
GAMSOptions::EgdxConvert::EgdxConvertEnum gdxConvert()
Get Version of GDX files generated (for backward compatibility)
GAMSOptions::ESuffixDLVars::ESuffixDLVarsEnum suffixDLVars()
Get Switch default for "$on/offSuffixDLVars".
static std::string egdxUelsCode(GAMSOptions::EgdxUels::EgdxUelsEnum type)
Get Unload labels or UELs to GDX either squeezed or full as code.
GAMSOptions::EStringChk::EStringChkEnum stringChk()
Get String substitution options.
Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.
Definition: gamsoptions.h:614
void setPageContr(const GAMSOptions::EPageContr::EPageContrEnum value)
Set Output file page control option.
GAMSOptions::EStepSum::EStepSumEnum stepSum()
Get Summary of computing resources used by job steps.
GAMSOptions::EHoldFixed::EHoldFixedEnum holdFixed()
Get Treat fixed variables as constants.
static EDigit::EDigitEnum eDigitFromCode(const std::string &str)
Get Switch default for "$on/offDigit" from std::string
void setEmpty(const GAMSOptions::EEmpty::EEmptyEnum value)
Set Switch default for "$on/offEmpty".
void setFDOpt(const GAMSOptions::EFDOpt::EFDOptEnum value)
Set Options for finite differences.
void setMulti(const std::string &value)
Set Switch default for "$on/offMulti[R]".
GAMSOptions::EReferenceLineNo::EReferenceLineNoEnum referenceLineNo()
Get Controls the line numbers written to a reference file.
void setPageSize(const int value)
Set Output file page size (=0 no paging)
void setTraceOpt(const GAMSOptions::ETraceOpt::ETraceOptEnum value)
Set Trace file format option.
Controls the line numbers written to a reference file.
Definition: gamsoptions.h:502
GAMSOptions::EKeep::EKeepEnum keep()
Get Controls keeping or deletion of process directory and scratch files.
void addInputDir(const std::string value)
Add new inputdir at the end of the inputdir list.
GAMSOptions::EECImplicitLoad::EECImplicitLoadEnum eCImplicitLoad()
Get Allow implicit loading of symbols from embedded code or not.
void setShowOSMemory(const GAMSOptions::EShowOSMemory::EShowOSMemoryEnum value)
Set Show the memory usage reported by the Operating System instead of the internal counting.
Limits on external programs that are allowed to be executed.
Definition: gamsoptions.h:229
std::string getDefine(const std::string &key)
Get value of previously set double-dash –key-value option pair.
void setStringChk(const GAMSOptions::EStringChk::EStringChkEnum value)
Set String substitution options.
void setLimCol(const int value)
Set Maximum number of columns listed in one variable block.
static EEmpty::EEmptyEnum eEmptyFromCode(const std::string &str)
Get Switch default for "$on/offEmpty" from std::string
static std::string eReferenceLineNoCode(GAMSOptions::EReferenceLineNo::EReferenceLineNoEnum type)
Get Controls the line numbers written to a reference file as code.
void setDumpParms(const GAMSOptions::EDumpParms::EDumpParmsEnum value)
Set GAMS parameter logging.
std::string symPrefix()
Get Prefix all symbols encountered during compilation by the specified string in work file.
void setEolCom(const std::string &value)
Set Switch default for "$on/offEolCom" and "$eolCom".
Generate errors for unknown unique element in an equation.
Definition: gamsoptions.h:427
int traceLevel()
Get Modelstat/Solvestat threshold used in conjunction with action=GT.
static std::string eActionCode(GAMSOptions::EAction::EActionEnum type)
Get GAMS processing request as code.
static std::string eSuffixDLVarsText(GAMSOptions::ESuffixDLVars::ESuffixDLVarsEnum type)
Get Switch default for "$on/offSuffixDLVars" as text.
static std::string egdxConvertCode(GAMSOptions::EgdxConvert::EgdxConvertEnum type)
Get Version of GDX files generated (for backward compatibility) as code.
GAMSOptions::EProcTreeMemMonitor::EProcTreeMemMonitorEnum procTreeMemMonitor()
Get Monitor the memory used by the GAMS process tree.
Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.
Definition: gamsoptions.h:669
void setScriptExit(const std::string &value)
Set Program or script to be executed at the end of a GAMS run.
void setgdxUels(const GAMSOptions::EgdxUels::EgdxUelsEnum value)
Set Unload labels or UELs to GDX either squeezed or full.
GAMSOptions::ENoNewVarEqu::ENoNewVarEquEnum noNewVarEqu()
Get Triggers a compilation error when new equations or variable symbols are introduced.
GAMSOptions::EForceWork::EForceWorkEnum forceWork()
Get Force GAMS to process a save file created with a newer GAMS version or with execution errors.
GAMSOptions::EAppendOut::EAppendOutEnum appendOut()
Get Output file append option.
static EReferenceLineNo::EReferenceLineNoEnum eReferenceLineNoFromCode(const std::string &str)
Get Controls the line numbers written to a reference file from std::string
void setDigit(const GAMSOptions::EDigit::EDigitEnum value)
Set Switch default for "$on/offDigit".
void setPyMultInst(const GAMSOptions::EPyMultInst::EPyMultInstEnum value)
Set GAMS/Python Multiple Instance Interpreter.
GAMSOptions::EgdxCompress::EgdxCompressEnum gdxCompress()
Get Compression of generated GDX file.
ECheckErrorLevelEnum
Check errorLevel automatically after executing external program.
Definition: gamsoptions.h:140
void setWorkFactor(const double value)
Set Memory Estimate multiplier for some solvers.
EPreviousWorkEnum
Indicator for writing workfile with previous workfile version.
Definition: gamsoptions.h:462
EFreeEmbeddedPythonEnum
Free external resources at the end of each embedded Python code blocks.
Definition: gamsoptions.h:296
void setProcTreeMemTicks(const int value)
Set Set wait interval between memory monitor checks: ticks = milliseconds.
void setIDCGDXOutput(const std::string &value)
Set GDX file name for data for implicit output.
GAMSOptions::EFreeEmbeddedPython::EFreeEmbeddedPythonEnum freeEmbeddedPython()
Get Free external resources at the end of each embedded Python code blocks.
Dynamic resorting if indices in assignment/data statements are not in natural order.
Definition: gamsoptions.h:624
void setDumpParmsLogPrefix(const std::string &value)
Set Prefix of lines triggered by DumpParms>1.
GAMSOptions::ESolveLink::ESolveLinkEnum solveLink()
Get Solver link option.
static ESuffixDLVars::ESuffixDLVarsEnum eSuffixDLVarsFromCode(const std::string &str)
Get Switch default for "$on/offSuffixDLVars" from std::string
static std::string eListingText(GAMSOptions::EListing::EListingEnum type)
Get Switch default for "$on/offListing" as text.
GAMSOptions::EFileCase::EFileCaseEnum fileCase()
Get Casing of file names and paths (put, gdx, ref, $include, etc.)
Force GAMS to process a save file created with a newer GAMS version or with execution errors.
Definition: gamsoptions.h:283
Check errorLevel automatically after executing external program.
Definition: gamsoptions.h:137
void setSys12(const int value)
Set Pass model with generation errors to solver.
EForceWorkEnum
Force GAMS to process a save file created with a newer GAMS version or with execution errors.
Definition: gamsoptions.h:286
void setgdxCompress(const GAMSOptions::EgdxCompress::EgdxCompressEnum value)
Set Compression of generated GDX file.
void setZeroResRep(const GAMSOptions::EZeroResRep::EZeroResRepEnum value)
Set Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.
double profileTol()
Get Minimum time a statement must use to appear in profile generated output.
void setLogLine(const GAMSOptions::ELogLine::ELogLineEnum value)
Set Amount of line tracing to the log file.
void setFileStem(const std::string &value)
Set Sets the file stem for output files which use the input file name as stem by default.
Set mode for default upper bounds on integer variables.
Definition: gamsoptions.h:364
GAMSOptions::EHoldFixedAsync::EHoldFixedAsyncEnum holdFixedAsync()
Get Allow HoldFixed for models solved asynchronously as well.
GAMSOptions::EPageContr::EPageContrEnum pageContr()
Get Output file page control option.
int forceOptFile()
Get Overwrites other option file section mechanism.
void setExpand(const std::string &value)
Set Expanded (include) input file name.
GAMSOptions::ECaptureModelInstance::ECaptureModelInstanceEnum captureModelInstance()
Get Switch to capture all model instances within a run.
void setDefine(const std::string &key, const std::string &value)
Set double-dash –key=value option pair.
static EgdxConvert::EgdxConvertEnum egdxConvertFromCode(const std::string &str)
Get Version of GDX files generated (for backward compatibility) from std::string
std::string getSolver(const std::string &modelType)
Get solver by model type.
void setgdxConvert(const GAMSOptions::EgdxConvert::EgdxConvertEnum value)
Set Version of GDX files generated (for backward compatibility)
void setOptCR(const double value)
Set Relative Optimality criterion solver default.
static std::string eListingCode(GAMSOptions::EListing::EListingEnum type)
Get Switch default for "$on/offListing" as code.
static std::string eECImplicitLoadText(GAMSOptions::EECImplicitLoad::EECImplicitLoadEnum type)
Get Allow implicit loading of symbols from embedded code or not as text.
Monitor the memory used by the GAMS process tree.
Definition: gamsoptions.h:469
void setErrMsg(const GAMSOptions::EErrMsg::EErrMsgEnum value)
Set Placing of compilation error messages.
Summary of computing resources used by job steps.
Definition: gamsoptions.h:563
GAMSOptions::EAsyncSolLst::EAsyncSolLstEnum asyncSolLst()
Get Print solution listing when asynchronous solve (Grid or Threads) is used.
Casing of file names and paths (put, gdx, ref, $include, etc.)
Definition: gamsoptions.h:260
void setSys11(const GAMSOptions::ESys11::ESys11Enum value)
Set Dynamic resorting if indices in assignment/data statements are not in natural order.
void setPrefixLoadPath(const GAMSOptions::EPrefixLoadPath::EPrefixLoadPathEnum value)
Set Prepend GAMS system directory to library load path.
static std::string eFilteredCode(GAMSOptions::EFiltered::EFilteredEnum type)
Get Switch default for "$on/offFiltered" as code.
static EgdxUels::EgdxUelsEnum egdxUelsFromCode(const std::string &str)
Get Unload labels or UELs to GDX either squeezed or full from std::string
void setAction(const GAMSOptions::EAction::EActionEnum value)
Set GAMS processing request.
EgdxConvertEnum
Version of GDX files generated (for backward compatibility)
Definition: gamsoptions.h:316
void removeInputDir(const int index)
Remove an inputdir at position index of the inputdir list.
void setAppendOut(const GAMSOptions::EAppendOut::EAppendOutEnum value)
Set Output file append option.
std::string fileStem()
Get Sets the file stem for output files which use the input file name as stem by default.
GAMSOptions::ECheckErrorLevel::ECheckErrorLevelEnum checkErrorLevel()
Get Check errorLevel automatically after executing external program.
GAMSOptions::ESysOut::ESysOutEnum sysOut()
Get Solver Status file reporting option.
void setLstTitleLeftAligned(const GAMSOptions::ELstTitleLeftAligned::ELstTitleLeftAlignedEnum value)
Set Write title of LST file all left aligned.
void setErrorLog(const int value)
Set Max error message lines written to the log for each error.
void setForceOptFile(const int value)
Set Overwrites other option file section mechanism.
Error if assignment to singleton set has multiple elements.
Definition: gamsoptions.h:573
void setReference(const std::string &value)
Set Symbol reference file.
void setExecMode(const GAMSOptions::EExecMode::EExecModeEnum value)
Set Limits on external programs that are allowed to be executed.
void setJobTrace(const std::string &value)
Set Job trace string to be written to the trace file at the end of a GAMS job.
Show the memory usage reported by the Operating System instead of the internal counting.
Definition: gamsoptions.h:525
GAMSOptions::ELogLine::ELogLineEnum logLine()
Get Amount of line tracing to the log file.
void setTraceLevel(const int value)
Set Modelstat/Solvestat threshold used in conjunction with action=GT.
GAMSOptions::EZeroResRep::EZeroResRepEnum zeroResRep()
Get Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.
GAMSOptions::EDigit::EDigitEnum digit()
Get Switch default for "$on/offDigit".
GAMSOptions::EOn115::EOn115Enum on115()
Get Generate errors for unknown unique element in an equation.
void setDomLim(const int value)
Set Domain violation limit solver default.
GAMSOptions::EDumpOpt::EDumpOptEnum dumpOpt()
Get Writes preprocessed input to the file input.dmp.
void setWarnings(const int value)
Set Number of warnings permitted before a run terminates.
void setInlineCom(const std::string &value)
Set Switch default for "$on/offInline" and "$inlineCom".
GAMSOptions::EInteractiveSolver::EInteractiveSolverEnum interactiveSolver()
Get Allow solver to interact via command line input.
EShowOSMemoryEnum
Show the memory usage reported by the Operating System instead of the internal counting.
Definition: gamsoptions.h:528
void setAsyncSolLst(const GAMSOptions::EAsyncSolLst::EAsyncSolLstEnum value)
Set Print solution listing when asynchronous solve (Grid or Threads) is used.
Definition: gamsoptions.h:55
int errorLog()
Get Max error message lines written to the log for each error.
GAMSOptions::EListing::EListingEnum listing()
Get Switch default for "$on/offListing".
std::string iDCGDXOutput()
Get GDX file name for data for implicit output.
static std::string eActionText(GAMSOptions::EAction::EActionEnum type)
Get GAMS processing request as text.
std::string decryptKey()
Get Key to decrypt a text file that was encrypted via $encrypt.
void setFDDelta(const double value)
Set Step size for finite differences.
void setInputDir(const std::string value, const int index)
Replace inputdir at the specified index of the inputdir list.
static std::string eEmptyText(GAMSOptions::EEmpty::EEmptyEnum type)
Get Switch default for "$on/offEmpty" as text.
Allow implicit loading of symbols from embedded code or not.
Definition: gamsoptions.h:198
void setThreadsAsync(const int value)
Set Limit on number of threads to be used for asynchronous solves (solveLink=6)
void setMaxProcDir(const int value)
Set Maximum number of 225* process directories.
void setSolveLink(const GAMSOptions::ESolveLink::ESolveLinkEnum value)
Set Solver link option.
static std::string eDigitCode(GAMSOptions::EDigit::EDigitEnum type)
Get Switch default for "$on/offDigit" as code.
void setTimer(const int value)
Set Instruction timer threshold in milli seconds.
GAMSOptions::ESuppress::ESuppressEnum suppress()
Get Compiler listing option.
void setIntVarUp(const GAMSOptions::EIntVarUp::EIntVarUpEnum value)
Set Set mode for default upper bounds on integer variables.
std::string dumpOptGDX()
Get Defines a GDX file name stem created when using DumpOpt.
void setThreads(const int value)
Set Number of threads to be used by a solver.
Version of GDX files generated (for backward compatibility)
Definition: gamsoptions.h:313
Controls keeping or deletion of process directory and scratch files.
Definition: gamsoptions.h:376
void setIDCGDXInput(const std::string &value)
Set GDX file name with data for implicit input.
std::string getInputDir(const int index)
Get an inputdir at position index of the inputdir list.