Loading...
Searching...
No Matches

Inherits IDisposable.

Public Types

enum  EAction {
  RestartAfterSolve , CompileOnly , ExecuteOnly , CompileAndExecute ,
  GlueCodeGeneration , TraceReport
}
 GAMS processing request. More...
 
enum  EAppendExpand { Reset , Append }
 Expand file append option. More...
 
enum  EAppendOut { Reset , Append }
 Output file append option. More...
 
enum  EAsyncSolLst { Off , On }
 Print solution listing when asynchronous solve (Grid or Threads) is used. More...
 
enum  ECaptureModelInstance { Off , On }
 Switch to capture all model instances within a run. More...
 
enum  ECase { MixedCase , UpperCase }
 Output case option for LST file. More...
 
enum  ECharSet { LimitedGAMSCharSet , AnyChar }
 Character set flag. More...
 
enum  ECheckErrorLevel { Off , On }
 Check errorLevel automatically after executing external program. More...
 
enum  EDFormat { Slash , Dot , Dash }
 Date format. More...
 
enum  EDigit { OffDigit , OnDigit }
 Switch default for "$on/offDigit". More...
 
enum  EDumpOpt {
  No , RefDataOriginalSetElementNames , RefDataNewSetElementNames , RefDataNewSetElementNamesDropSymbolText ,
  RefSymbol , Deprecated_10 , InputFileWOComments , Deprecated_12 ,
  Deprecated_19 , Deprecated_20 , InputFileWithComments , SplitBlocksDumpWithComments
}
 Writes preprocessed input to the file input.dmp. More...
 
enum  EDumpParms { No , AcceptedParameters , FileOperationsAcceptedParameters }
 GAMS parameter logging. More...
 
enum  EECImplicitLoad { OffECImplicitLoad , OnECImplicitLoad }
 Allow implicit loading of symbols from embedded code or not. More...
 
enum  EEmpty { OffEmpty , OnEmpty }
 Switch default for "$on/offEmpty". More...
 
enum  EErrMsg { EndOfCompilerListing , FollowingError , Suppress }
 Placing of compilation error messages. More...
 
enum  EExecMode {
  EverythingAllowed , InteractiveShellsProhibited , CallAndExecuteProhibited , EchoAndPutOnlyToWorkdir ,
  EchoAndPutProhibited
}
 Limits on external programs that are allowed to be executed. More...
 
enum  EFDOpt {
  GHAnalyticHNumericGradScale , GHAnalyticHNumericFuncScale , GAnalyticFHNumericGradScale , GAnalyticFHNumericFuncScale ,
  FGHNumericScale , GHAnalyticHNumericGradNoScale , GHAnalyticHNumericFuncNoScale , GAnalyticFHNumericGradNoScale ,
  GAnalyticFHNumericFuncNoScale , FGHNumericNoScale
}
 Options for finite differences. More...
 
enum  EFileCase {
  DefaultCase , UpperCase , LowerCase , UpperCaseFileOnly ,
  LowerCaseFileOnly
}
 Casing of file names and paths (put, gdx, ref, $include, etc.) More...
 
enum  EFiltered { OffFiltered , OnFiltered }
 Switch between filtered and domain-checked read from GDX. More...
 
enum  EForceWork { NoTranslation , TryTranslation }
 Force GAMS to process a save file created with a newer GAMS version or with execution errors. More...
 
enum  EFreeEmbeddedPython { Off , On }
 Free external resources at the end of each embedded Python code blocks. More...
 
enum  EgdxCompress { DoNotCompressGDX , CompressGDX }
 Compression of generated GDX file. More...
 
enum  EgdxConvert { Version5 , Version6 , Version7 }
 Version of GDX files generated (for backward compatibility) More...
 
enum  EgdxUels { squeezed , full }
 Unload labels or UELs to GDX either squeezed or full. More...
 
enum  EHoldFixed { FixedVarsNotTreatedAsConstants , FixedVarsTreatedAsConstants }
 Treat fixed variables as constants. More...
 
enum  EHoldFixedAsync { Off , On }
 Allow HoldFixed for models solved asynchronously as well. More...
 
enum  EImplicitAssign { OffImplicitAssign , OnImplicitAssign }
 Switch default for "$on/offImplicitAssign". More...
 
enum  EInteractiveSolver { NoInteraction , AllowInteraction }
 Allow solver to interact via command line input. More...
 
enum  EIntVarUp { INF , Pass100ToSolver , INFandLog , Pass100ToSolverAndError }
 Set mode for default upper bounds on integer variables. More...
 
enum  EKeep { DeleteProcDir , KeepProcDir }
 Controls keeping or deletion of process directory and scratch files. More...
 
enum  EListing { OffListing , OnListing }
 Switch default for "$on/offListing". More...
 
enum  ELogLine { NoTracing , MinimumTracing , Automatic }
 Amount of line tracing to the log file. More...
 
enum  ELstTitleLeftAligned { Off , On }
 Write title of LST file all left aligned. More...
 
enum  EMIIMode { Off , SingleMI , MultiMI }
 Model Instance Mode. More...
 
enum  ENoNewVarEqu { AllowNewVarEqu , DoNotAllowNewVarEqu }
 Triggers a compilation error when new equations or variable symbols are introduced. More...
 
enum  EOn115 { NoMessages , IssueMessages }
 Generate errors for unknown unique element in an equation. More...
 
enum  EPageContr { NoPageContrWithPadding , FortranStyle , NoPageContrNoPadding , FormfeedCharNewPage }
 Output file page control option. More...
 
enum  EPrefixLoadPath { Off , On }
 Prepend GAMS system directory to library load path. More...
 
enum  EPreviousWork { Off , On }
 Indicator for writing workfile with previous workfile version. More...
 
enum  EProcTreeMemMonitor { Off , On }
 Monitor the memory used by the GAMS process tree. More...
 
enum  EPutNR {
  ForE , Rounded , Scientific , RoundedFloatingDec ,
  ForEFloatingDec
}
 Numeric round format for put files. More...
 
enum  EReferenceLineNo { ActualLineNumber , StatementStart }
 Controls the line numbers written to a reference file. More...
 
enum  EReplace { Merge , Replace }
 Switch between merge and replace when reading from GDX into non-empty symbol. More...
 
enum  ESavePoint {
  NoPointFile , LastSolvePointFile , EverySolvePointFile , LastSolvePointFileScrDir ,
  EverySolvePointFileScrDir
}
 Save solver point in GDX file. More...
 
enum  EShowOSMemory { InternalAccounting , RSS , VSS }
 Show the memory usage reported by the Operating System instead of the internal counting. More...
 
enum  ESolPrint { RemoveSolLstFollowingSolves , IncludeSolLstFollowingSolves , SuppressAllSolInfo }
 Solution report print option. More...
 
enum  ESolveLink {
  ChainScript , CallScript , CallModule , AsyncGrid ,
  AsyncSimulate , LoadLibrary , LoadLibraryAsync , LoadLibraryAsyncSimulate
}
 Solver link option. More...
 
enum  ESolveOpt { Merge , Replace , Clear }
 Multiple solve management. More...
 
enum  EStepSum { NoStepSummmary , StepSummary }
 Summary of computing resources used by job steps. More...
 
enum  EstrictSingleton { FirstRecord , Error }
 Error if assignment to singleton set has multiple elements. More...
 
enum  EStringChk { NoError , Error , NoErrorRemoveSymbol }
 String substitution options. More...
 
enum  ESuffixDLVars { OffSuffixDLVars , OnSuffixDLVars }
 Switch default for "$on/offSuffixDLVars". More...
 
enum  ESuffixAlgebraVars { OffSuffixAlgebraVars , OnSuffixAlgebraVars }
 Switch default for "$on/offSuffixAlgebraVars". More...
 
enum  ESuppress { StandardCompilerListing , SuppressCompilerListing }
 Compiler listing option. More...
 
enum  ESys10 { Disable , Enable }
 Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer. More...
 
enum  ESys11 { AutomaticOptimization , NoOptimization , AlwaysOptimize }
 Dynamic resorting if indices in assignment/data statements are not in natural order. More...
 
enum  ESysOut { SuppressAdditionalSolverOutput , IncludeAdditionalSolverOutput }
 Solver Status file reporting option. More...
 
enum  ETFormat { Colon , Dot }
 Time format. More...
 
enum  ETraceOpt {
  SolverAndGAMSStepTraceWOHeaders , SolverAndGAMSStepTrace , SolverStepTraceOnly , TraceFileFormatGAMSPerformanceWorld ,
  TraceFileFormatSupportingNLPEC , TraceFileWithAllAvailableTraceFields
}
 Trace file format option. More...
 
enum  EZeroResRep { NoWarning , IssueWarning }
 Report underflow as a warning when abs(results) LE ZeroRes and result set to zero. More...
 

Public Member Functions

void Export (string filePath)
 Write GAMSOptions into a parameter file.
 
void Dispose ()
 Free unmanaged ressources.
 
void ResetToDefault ()
 Reset all GAMS options to default.
 

Public Attributes

List< string > IDir
 Input file directories (up to 40 are allowed)
 
Dictionary< string, string > Defines
 GAMS Dash Options.
 

Properties

string GDX [get, set]
 Gams data exchange file name.
 
EAction Action [get, set]
 GAMS processing request.
 
EAppendExpand AppendExpand [get, set]
 Expand file append option.
 
EAppendOut AppendOut [get, set]
 Output file append option.
 
EAsyncSolLst AsyncSolLst [get, set]
 Print solution listing when asynchronous solve (Grid or Threads) is used.
 
double Bratio [get, set]
 Basis detection threshold.
 
ECaptureModelInstance CaptureModelInstance [get, set]
 Switch to capture all model instances within a run.
 
ECase Case [get, set]
 Output case option for LST file.
 
int CErr [get, set]
 Compile time error limit.
 
ECharSet CharSet [get, set]
 Character set flag.
 
ECheckErrorLevel CheckErrorLevel [get, set]
 Check errorLevel automatically after executing external program.
 
string DecryptKey [get, set]
 Key to decrypt a text file that was encrypted via $encrypt.
 
EDFormat DFormat [get, set]
 Date format.
 
EDigit Digit [get, set]
 Switch default for "$on/offDigit".
 
int DomLim [get, set]
 Domain violation limit solver default.
 
EDumpOpt DumpOpt [get, set]
 Writes preprocessed input to the file input.dmp.
 
string DumpOptGDX [get, set]
 Defines a GDX file name stem created when using DumpOpt.
 
EDumpParms DumpParms [get, set]
 GAMS parameter logging.
 
string DumpParmsLogPrefix [get, set]
 Prefix of lines triggered by DumpParms>1.
 
EECImplicitLoad ECImplicitLoad [get, set]
 Allow implicit loading of symbols from embedded code or not.
 
EEmpty Empty [get, set]
 Switch default for "$on/offEmpty".
 
string EncryptKey [get, set]
 Key to encrypt a text file using $encrypt.
 
string EolCom [get, set]
 Switch default for "$on/offEolCom" and "$eolCom".
 
EErrMsg ErrMsg [get, set]
 Placing of compilation error messages.
 
int ErrorLog [get, set]
 Max error message lines written to the log for each error.
 
double ETLim [get, set]
 Elapsed time limit in seconds.
 
EExecMode ExecMode [get, set]
 Limits on external programs that are allowed to be executed.
 
string Expand [get, set]
 Expanded (include) input file name.
 
double FDDelta [get, set]
 Step size for finite differences.
 
EFDOpt FDOpt [get, set]
 Options for finite differences.
 
string FErr [get, set]
 Alternative error message file.
 
EFileCase FileCase [get, set]
 Casing of file names and paths (put, gdx, ref, $include, etc.)
 
string FileStem [get, set]
 Sets the file stem for output files which use the input file name as stem by default.
 
string FileStemApFromEnv [get, set]
 Append a string read from an environment variable to the "FileStem".
 
EFiltered Filtered [get, set]
 Switch between filtered and domain-checked read from GDX.
 
int ForceOptFile [get, set]
 Overwrites other option file section mechanism.
 
EForceWork ForceWork [get, set]
 Force GAMS to process a save file created with a newer GAMS version or with execution errors.
 
int ForLim [get, set]
 GAMS looping limit.
 
EFreeEmbeddedPython FreeEmbeddedPython [get, set]
 Free external resources at the end of each embedded Python code blocks.
 
EgdxCompress gdxCompress [get, set]
 Compression of generated GDX file.
 
EgdxConvert gdxConvert [get, set]
 Version of GDX files generated (for backward compatibility)
 
EgdxUels gdxUels [get, set]
 Unload labels or UELs to GDX either squeezed or full.
 
string GridDir [get, set]
 Grid file directory.
 
string GridScript [get, set]
 Grid submission script.
 
double HeapLimit [get, set]
 Maximum Heap size allowed in MB.
 
EHoldFixed HoldFixed [get, set]
 Treat fixed variables as constants.
 
EHoldFixedAsync HoldFixedAsync [get, set]
 Allow HoldFixed for models solved asynchronously as well.
 
string IDCGDXInput [get, set]
 GDX file name with data for implicit input.
 
string IDCGDXOutput [get, set]
 GDX file name for data for implicit output.
 
EImplicitAssign ImplicitAssign [get, set]
 Switch default for "$on/offImplicitAssign".
 
string InlineCom [get, set]
 Switch default for "$on/offInline" and "$inlineCom".
 
int Integer1 [get, set]
 Integer communication cell N.
 
int Integer2 [get, set]
 Integer communication cell N.
 
int Integer3 [get, set]
 Integer communication cell N.
 
int Integer4 [get, set]
 Integer communication cell N.
 
int Integer5 [get, set]
 Integer communication cell N.
 
EInteractiveSolver InteractiveSolver [get, set]
 Allow solver to interact via command line input.
 
EIntVarUp IntVarUp [get, set]
 Set mode for default upper bounds on integer variables.
 
int IterLim [get, set]
 Iteration limit of solver.
 
string JobTrace [get, set]
 Job trace string to be written to the trace file at the end of a GAMS job.
 
EKeep Keep [get, set]
 Controls keeping or deletion of process directory and scratch files.
 
string LibIncDir [get, set]
 LibInclude directory.
 
string License [get, set]
 Use alternative license file.
 
int LimCol [get, set]
 Maximum number of columns listed in one variable block.
 
int LimRow [get, set]
 Maximum number of rows listed in one equation block.
 
EListing Listing [get, set]
 Switch default for "$on/offListing".
 
ELogLine LogLine [get, set]
 Amount of line tracing to the log file.
 
ELstTitleLeftAligned LstTitleLeftAligned [get, set]
 Write title of LST file all left aligned.
 
int MaxExecError [get, set]
 Execution time error limit.
 
int MaxProcDir [get, set]
 Maximum number of 225* process directories.
 
EMIIMode MIIMode [get, set]
 Model Instance Mode.
 
string Multi [get, set]
 Switch default for "$on/offMulti[R]".
 
int NodLim [get, set]
 Node limit in branch and bound tree.
 
ENoNewVarEqu NoNewVarEqu [get, set]
 Triggers a compilation error when new equations or variable symbols are introduced.
 
EOn115 On115 [get, set]
 Generate errors for unknown unique element in an equation.
 
double OptCA [get, set]
 Absolute Optimality criterion solver default.
 
double OptCR [get, set]
 Relative Optimality criterion solver default.
 
string OptDir [get, set]
 Option file directory.
 
int OptFile [get, set]
 Default option file.
 
string Output [get, set]
 Listing file name.
 
EPageContr PageContr [get, set]
 Output file page control option.
 
int PageSize [get, set]
 Output file page size (=0 no paging)
 
int PageWidth [get, set]
 Output file page width.
 
string PLicense [get, set]
 Privacy license file name.
 
EPrefixLoadPath PrefixLoadPath [get, set]
 Prepend GAMS system directory to library load path.
 
EPreviousWork PreviousWork [get, set]
 Indicator for writing workfile with previous workfile version.
 
EProcTreeMemMonitor ProcTreeMemMonitor [get, set]
 Monitor the memory used by the GAMS process tree.
 
int ProcTreeMemTicks [get, set]
 Set wait interval between memory monitor checks: ticks = milliseconds.
 
int Profile [get, set]
 Execution profiling.
 
string ProfileFile [get, set]
 Write profile information to this file.
 
double ProfileTol [get, set]
 Minimum time a statement must use to appear in profile generated output.
 
string PutDir [get, set]
 Put file directory.
 
int PutND [get, set]
 Number of decimals for put files.
 
EPutNR PutNR [get, set]
 Numeric round format for put files.
 
int PutPS [get, set]
 Page size for put files.
 
int PutPW [get, set]
 Page width for put files.
 
string Reference [get, set]
 Symbol reference file.
 
EReferenceLineNo ReferenceLineNo [get, set]
 Controls the line numbers written to a reference file.
 
EReplace Replace [get, set]
 Switch between merge and replace when reading from GDX into non-empty symbol.
 
double ResLim [get, set]
 Wall-clock time limit for solver.
 
ESavePoint SavePoint [get, set]
 Save solver point in GDX file.
 
string ScriptExit [get, set]
 Program or script to be executed at the end of a GAMS run.
 
int Seed [get, set]
 Random number seed.
 
EShowOSMemory ShowOSMemory [get, set]
 Show the memory usage reported by the Operating System instead of the internal counting.
 
ESolPrint SolPrint [get, set]
 Solution report print option.
 
ESolveLink SolveLink [get, set]
 Solver link option.
 
ESolveOpt SolveOpt [get, set]
 Multiple solve management.
 
EStepSum StepSum [get, set]
 Summary of computing resources used by job steps.
 
EstrictSingleton strictSingleton [get, set]
 Error if assignment to singleton set has multiple elements.
 
EStringChk StringChk [get, set]
 String substitution options.
 
ESuffixDLVars SuffixDLVars [get, set]
 Switch default for "$on/offSuffixDLVars".
 
ESuffixAlgebraVars SuffixAlgebraVars [get, set]
 Switch default for "$on/offSuffixAlgebraVars".
 
ESuppress Suppress [get, set]
 Compiler listing option.
 
string Symbol [get, set]
 Symbol table file.
 
string SymPrefix [get, set]
 Prefix all symbols encountered during compilation by the specified string in work file.
 
ESys10 Sys10 [get, set]
 Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.
 
ESys11 Sys11 [get, set]
 Dynamic resorting if indices in assignment/data statements are not in natural order.
 
int Sys12 [get, set]
 Pass model with generation errors to solver.
 
string SysIncDir [get, set]
 SysInclude directory.
 
ESysOut SysOut [get, set]
 Solver Status file reporting option.
 
int TabIn [get, set]
 Tab spacing.
 
ETFormat TFormat [get, set]
 Time format.
 
int Threads [get, set]
 Number of processors to be used by a solver.
 
int ThreadsAsync [get, set]
 Limit on number of threads to be used for asynchronous solves (solveLink=6)
 
int Timer [get, set]
 Instruction timer threshold in milli seconds.
 
string Trace [get, set]
 Trace file name.
 
int TraceLevel [get, set]
 Modelstat/Solvestat threshold used in conjunction with action=GT.
 
ETraceOpt TraceOpt [get, set]
 Trace file format option.
 
string User1 [get, set]
 User string N.
 
string User2 [get, set]
 User string N.
 
string User3 [get, set]
 User string N.
 
string User4 [get, set]
 User string N.
 
string User5 [get, set]
 User string N.
 
int Warnings [get, set]
 Number of warnings permitted before a run terminates.
 
double WorkFactor [get, set]
 Memory Estimate multiplier for some solvers.
 
double WorkSpace [get, set]
 Work space for some solvers in MB.
 
double ZeroRes [get, set]
 The results of certain operations will be set to zero if abs(result) LE ZeroRes.
 
EZeroResRep ZeroResRep [get, set]
 Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.
 
string LP [get, set]
 Default LP solver.
 
string MIP [get, set]
 Default MIP solver.
 
string RMIP [get, set]
 Default RMIP solver.
 
string NLP [get, set]
 Default NLP solver.
 
string MCP [get, set]
 Default MCP solver.
 
string MPEC [get, set]
 Default MPEC solver.
 
string RMPEC [get, set]
 Default RMPEC solver.
 
string CNS [get, set]
 Default CNS solver.
 
string DNLP [get, set]
 Default DNLP solver.
 
string RMINLP [get, set]
 Default RMINLP solver.
 
string MINLP [get, set]
 Default MINLP solver.
 
string QCP [get, set]
 Default QCP solver.
 
string MIQCP [get, set]
 Default MIQCP solver.
 
string RMIQCP [get, set]
 Default RMIQCP solver.
 
string EMP [get, set]
 Default EMP solver.
 
string AllModelTypes [set]
 Set default solver for all model types which the solver can handle.
 

Detailed Description

The GAMSOptions class manages GAMS options (sometimes also called GAMS parameters since they correspond to the command line parameters of the GAMS executable) for a GAMSJob and GAMSModelInstance. There are integer (e.g. NodLim), double (e.g. ResLim), and string (e.g. PutDir) valued options. There are also a few list options (Defines to set string macros inside GAMS and IDir provide multiple search paths for include files) and a power option to set a solver for all suitable model types (AllModelTypes).

Some options known from other interfaces to GAMS that are of limited use or could even create problematic situations in the .NET environment are not settable through the GAMSOptions class.

For some options (e.g. Case) other GAMS interfaces use numeric values (e.g. 0,1) while the GAMSOptions class has enumerated types with proper names (e.g. MixedCase, UpperCase).

A GAMSOptions instance is connected to external resources and needs to be properly disposed before the .NET garbage collector can claim the instance.

Member Enumeration Documentation

◆ EAction

GAMS processing request.

Enumerator
RestartAfterSolve 

Restart After Solve.

CompileOnly 

CompileOnly.

ExecuteOnly 

ExecuteOnly.

CompileAndExecute 

Compile and Execute.

GlueCodeGeneration 

Glue Code Generation.

TraceReport 

Trace Report.

◆ EAppendExpand

Expand file append option.

Enumerator
Reset 

Reset expand file.

Append 

Append to expand file.

◆ EAppendOut

Output file append option.

Enumerator
Reset 

Reset listing file.

Append 

Append to listing file.

◆ EAsyncSolLst

Print solution listing when asynchronous solve (Grid or Threads) is used.

Enumerator
Off 

Do not print solution listing into lst file for asynchronous solves.

On 

Print solution listing into lst file for asynchronous solves.

◆ ECaptureModelInstance

Switch to capture all model instances within a run.

Enumerator
Off 

Do not capture model instances.

On 

Capture model instances.

◆ ECase

Output case option for LST file.

Enumerator
MixedCase 

Write listing file in mixed case.

UpperCase 

Write listing file in upper case only.

◆ ECharSet

Character set flag.

Enumerator
LimitedGAMSCharSet 

Use limited GAMS characters set.

AnyChar 

Accept any character in comments and text items (foreign language characters)

◆ ECheckErrorLevel

Check errorLevel automatically after executing external program.

Enumerator
Off 

Do not check errorLevel automatically after execution of external program.

On 

Check errorLevel automatically after execution of external program.

◆ EDFormat

Date format.

Enumerator
Slash 

Date as mm/dd/yy.

Dot 

Date as dd.mm.yy.

Dash 

Date as yy-mm-dy.

◆ EDigit

Switch default for "$on/offDigit".

Enumerator
OffDigit 

Activate $offDigit.

OnDigit 

Activate $onDigit.

◆ EDumpOpt

Writes preprocessed input to the file input.dmp.

Enumerator
No 

No dumpfile.

RefDataOriginalSetElementNames 

Extract referenced data from the restart file using original set element names.

RefDataNewSetElementNames 

Extract referenced data from the restart file using new set element names.

RefDataNewSetElementNamesDropSymbolText 

Extract referenced data from the restart file using new set element names and drop symbol text.

RefSymbol 

Extract referenced symbol declarations from the restart file.

Deprecated_10 

(Same as 11 and therefore hidden)

InputFileWOComments 

Write processed input file without comments.

Deprecated_12 

(Same as 11 and therefore hidden)

Deprecated_19 

(Same as 21 and therefore hidden)

Deprecated_20 

(Same as 21 and therefore hidden)

InputFileWithComments 

Write processed input file with all comments.

SplitBlocksDumpWithComments 

Write processed input with all comments into a separate dump file for each block.

◆ EDumpParms

GAMS parameter logging.

Enumerator
No 

No logging.

AcceptedParameters 

Lists accepted/set parameters.

FileOperationsAcceptedParameters 

Log of file operations plus list of accepted/set parameters.

◆ EECImplicitLoad

Allow implicit loading of symbols from embedded code or not.

Enumerator
OffECImplicitLoad 

Do not allow implicit loading from embedded code.

OnECImplicitLoad 

Allow implicit loading from embedded code.

◆ EEmpty

Switch default for "$on/offEmpty".

Enumerator
OffEmpty 

Activate $offEmpty.

OnEmpty 

Activate $onEmpty.

◆ EErrMsg

Placing of compilation error messages.

Enumerator
EndOfCompilerListing 

Place error messages at the end of compiler listing.

FollowingError 

Place error messages immediately following the line with the error.

Suppress 

Suppress error messages.

◆ EExecMode

Limits on external programs that are allowed to be executed.

Enumerator
EverythingAllowed 

Everything allowed.

InteractiveShellsProhibited 

Interactive shells in $call and execute commands are prohibited.

CallAndExecuteProhibited 

Embedded Code and all $call and execute commands are prohibited.

EchoAndPutOnlyToWorkdir 

$echo or put commands can only write to directories in or below the working or scratchdir

EchoAndPutProhibited 

$echo and put commands are not allowed

◆ EFDOpt

Options for finite differences.

Enumerator
GHAnalyticHNumericGradScale 

All derivatives analytically, for numerical Hessian use gradient values, scale delta.

GHAnalyticHNumericFuncScale 

All derivatives analytically, for numerical Hessian use function values, scale delta.

GAnalyticFHNumericGradScale 

Gradient analytically, force Hessian numerically using gradient values, scale delta.

GAnalyticFHNumericFuncScale 

Gradient analytically, force Hessian numerically using function values, scale delta.

FGHNumericScale 

Force gradient and Hessian numerically, scale delta.

GHAnalyticHNumericGradNoScale 

Same as 0, but no scale of delta.

GHAnalyticHNumericFuncNoScale 

Same as 1, but no scale of delta.

GAnalyticFHNumericGradNoScale 

Same as 2, but no scale of delta.

GAnalyticFHNumericFuncNoScale 

Same as 3, but no scale of delta.

FGHNumericNoScale 

Same as 4, but no scale of delta.

◆ EFileCase

Casing of file names and paths (put, gdx, ref, $include, etc.)

Enumerator
DefaultCase 

Causes GAMS to use default casing.

UpperCase 

Causes GAMS to upper case file names including path of the file.

LowerCase 

Causes GAMS to lower case file names including path of the file.

UpperCaseFileOnly 

Causes GAMS to upper case file names only (leave the path alone)

LowerCaseFileOnly 

Causes GAMS to lower case file names only (leave the path alone)

◆ EFiltered

Switch between filtered and domain-checked read from GDX.

Enumerator
OffFiltered 

Load domain checked.

OnFiltered 

Load filtered.

◆ EForceWork

Force GAMS to process a save file created with a newer GAMS version or with execution errors.

Enumerator
NoTranslation 

No translation.

TryTranslation 

Try translation.

◆ EFreeEmbeddedPython

Free external resources at the end of each embedded Python code blocks.

Enumerator
Off 

Keep resources to reuse them potentially.

On 

Free resources.

◆ EgdxCompress

Compression of generated GDX file.

Enumerator
DoNotCompressGDX 

Do not compress GDX files.

CompressGDX 

Compress GDX files.

◆ EgdxConvert

Version of GDX files generated (for backward compatibility)

Enumerator
Version5 

Version 5 GDX file, does not support compression.

Version6 

Version 6 GDX file.

Version7 

Version 7 GDX file.

◆ EgdxUels

Unload labels or UELs to GDX either squeezed or full.

Enumerator
squeezed 

Write only the UELs to Universe, that are used by the exported symbols.

full 

Write all UELs to Universe.

◆ EHoldFixed

Treat fixed variables as constants.

Enumerator
FixedVarsNotTreatedAsConstants 

Fixed variables are not treated as constants.

FixedVarsTreatedAsConstants 

Fixed variables are treated as constants.

◆ EHoldFixedAsync

Allow HoldFixed for models solved asynchronously as well.

Enumerator
Off 

Ignore HoldFixed setting for async solves.

On 

Allow HoldFixed for async solves.

◆ EImplicitAssign

Switch default for "$on/offImplicitAssign".

Enumerator
OffImplicitAssign 

Activate $offImplicitAssign.

OnImplicitAssign 

Activate $onImplicitAssign.

◆ EInteractiveSolver

Allow solver to interact via command line input.

Enumerator
NoInteraction 

Interaction with solvelink 0 is not supported.

AllowInteraction 

Interaction with solvelink 0 is supported.

◆ EIntVarUp

Set mode for default upper bounds on integer variables.

Enumerator
INF 

Set default upper bound for integer variables to +INF.

Pass100ToSolver 

Pass a value of 100 instead of +INF to the solver as upper bound for integer variables.

INFandLog 

Same as 0 but writes a message to the log if the level of an integer variable is greater than 100.

Pass100ToSolverAndError 

Same as 2 but issues an execution error if the level of an integer variable is greater than 100.

◆ EKeep

Controls keeping or deletion of process directory and scratch files.

Enumerator
DeleteProcDir 

Delete process directory.

KeepProcDir 

Keep process directory.

◆ EListing

Switch default for "$on/offListing".

Enumerator
OffListing 

Activate $offListing.

OnListing 

Activate $onListing.

◆ ELogLine

Amount of line tracing to the log file.

Enumerator
NoTracing 

No line tracing.

MinimumTracing 

Minimum line tracing.

Automatic 

Automatic and visually pleasing.

◆ ELstTitleLeftAligned

Write title of LST file all left aligned.

Enumerator
Off 

Split LST title into left and right aligned part.

On 

Write LST title completely left aligned.

◆ EMIIMode

Model Instance Mode.

Enumerator
Off 

Default behavior.

SingleMI 

Setup to inspect a single model instance.

MultiMI 

Setup to inspect multiple model instances from one model.

◆ ENoNewVarEqu

Triggers a compilation error when new equations or variable symbols are introduced.

Enumerator
AllowNewVarEqu 

AllowNewVarEqu.

DoNotAllowNewVarEqu 

DoNotAllowNewVarEqu.

◆ EOn115

Generate errors for unknown unique element in an equation.

Enumerator
NoMessages 

No error messages.

IssueMessages 

Issue error messages.

◆ EPageContr

Output file page control option.

Enumerator
NoPageContrWithPadding 

No page control, with padding.

FortranStyle 

FORTRAN style line printer format.

NoPageContrNoPadding 

No page control, no padding.

FormfeedCharNewPage 

Formfeed character for new page.

◆ EPrefixLoadPath

Prepend GAMS system directory to library load path.

Enumerator
Off 

Do not set GAMS system directory at beginning of library load path.

On 

Set GAMS system directory at beginning of library load path.

◆ EPreviousWork

Indicator for writing workfile with previous workfile version.

Enumerator
Off 

Write workfile using the current version.

On 

Write workfile using the previous workfile version.

◆ EProcTreeMemMonitor

Monitor the memory used by the GAMS process tree.

Enumerator
Off 

Do not monitor memory usage for the GAMS process tree.

On 

Start a thread to monitor memory usage for the GAMS process tree.

◆ EPutNR

Numeric round format for put files.

Enumerator
ForE 

Item is displayed in F or E format.

Rounded 

Item is rounded to fit given width and decimals.

Scientific 

Item is displayed in scientific notation.

RoundedFloatingDec 

Item is rounded to fit given width.

ForEFloatingDec 

Item is displayed in F or E format ignoring given decimals.

◆ EReferenceLineNo

Controls the line numbers written to a reference file.

Enumerator
ActualLineNumber 

Actual line number of symbol reference.

StatementStart 

Line number where the statement with the reference starts.

◆ EReplace

Switch between merge and replace when reading from GDX into non-empty symbol.

Enumerator
Merge 

Merge into existing data when loading.

Replace 

Replace existing data when loading.

◆ ESavePoint

Save solver point in GDX file.

Enumerator
NoPointFile 

No point GDX file is to be saved.

LastSolvePointFile 

A point GDX file from the last solve is to be saved.

EverySolvePointFile 

A point GDX file from every solve is to be saved.

LastSolvePointFileScrDir 

A point GDX file from the last solve is to be saved in the scratch directory.

EverySolvePointFileScrDir 

A point GDX file from every solve is to be saved in the scratch directory.

◆ EShowOSMemory

Show the memory usage reported by the Operating System instead of the internal counting.

Enumerator
InternalAccounting 

Show memory reported by internal accounting.

RSS 

Show resident set size reported by operating system.

VSS 

Show virtual set size reported by operating system.

◆ ESolPrint

Solution report print option.

Enumerator
RemoveSolLstFollowingSolves 

Remove solution listings following solves.

IncludeSolLstFollowingSolves 

Include solution listings following solves.

SuppressAllSolInfo 

Suppress all solution information.

◆ ESolveLink

Solver link option.

Enumerator
ChainScript 

Model instance and entire GAMS state saved to scratch directory, GAMS exits (and vacates memory), and the solver script is called. After the solver terminates, GAMS restarts from the saved state and continues to executing.

CallScript 

Model instance saved to scratch directory, the solver is called from a shell while GAMS remains open.

CallModule 

Model instance saved to scratch directory, the solver is called with a spawn (if possible) or a shell (if spawn is not possible) while GAMS remains open - If this is not supported by the selected solver, it gets reset to 1 automatically.

AsyncGrid 

Model instance saved to scratch directory, the solver starts the solution and GAMS continues.

AsyncSimulate 

Model instance saved to scratch directory, the solver starts the solution and GAMS waits for the solver to come back but uses same submission process as 3 (test mode)

LoadLibrary 

The model instance is passed to the solver in-memory - If this is not supported by the selected solver, it gets reset to 2 automatically.

LoadLibraryAsync 

The model instance is passed to the solver in-memory, the solver starts the solution and GAMS continues.

LoadLibraryAsyncSimulate 

The model instance is passed to the solver in-memory, the solver starts the solution and GAMS waits for the solver to come back but uses same submission process as 6 (test mode)

◆ ESolveOpt

Multiple solve management.

Enumerator
Merge 

The solution information for all equations appearing in the model is completely replaced by the new model results; variables are only replaced if they appear in the final model.

Replace 

The solution information for all equations and variables is merged into the existing solution information.

Clear 

The solution information for all equations appearing in the model is completely replaced; in addition, variables appearing in the symbolic equations but removed by conditionals will be removed.

◆ EStepSum

Summary of computing resources used by job steps.

Enumerator
NoStepSummmary 

No step summary.

StepSummary 

Step summary printed.

◆ EstrictSingleton

Error if assignment to singleton set has multiple elements.

Enumerator
FirstRecord 

Take first record if assignment to singleton set has multiple elements.

Error 

Error if assignment to singleton set has multiple elements.

◆ EStringChk

String substitution options.

Enumerator
NoError 

No substitution if symbol undefined and no error.

Error 

Error if symbol undefined.

NoErrorRemoveSymbol 

Remove entire symbol reference if undefined and no error.

◆ ESuffixAlgebraVars

Switch default for "$on/offSuffixAlgebraVars".

Enumerator
OffSuffixAlgebraVars 

Activate $offSuffixAlgebraVars.

OnSuffixAlgebraVars 

Activate $onSuffixAlgebraVars.

◆ ESuffixDLVars

Switch default for "$on/offSuffixDLVars".

Enumerator
OffSuffixDLVars 

Activate $offSuffixDLVars.

OnSuffixDLVars 

Activate $onSuffixDLVars.

◆ ESuppress

Compiler listing option.

Enumerator
StandardCompilerListing 

Standard compiler listing.

SuppressCompilerListing 

Suppress compiler listing.

◆ ESys10

Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.

Enumerator
Disable 

Disable conversion.

Enable 

Enable conversion.

◆ ESys11

Dynamic resorting if indices in assignment/data statements are not in natural order.

Enumerator
AutomaticOptimization 

Automatic optimization/restructuring of data.

NoOptimization 

No optimization.

AlwaysOptimize 

Always optimize/restructure.

◆ ESysOut

Solver Status file reporting option.

Enumerator
SuppressAdditionalSolverOutput 

Suppress additional solver generated output.

IncludeAdditionalSolverOutput 

Include additional solver generated output.

◆ ETFormat

Time format.

Enumerator
Colon 

Time as hh:mm:ss.

Dot 

Time as hh.mm.ss.

◆ ETraceOpt

Trace file format option.

Enumerator
SolverAndGAMSStepTraceWOHeaders 

Solver and GAMS step trace.

SolverAndGAMSStepTrace 

Solver and GAMS exit trace.

SolverStepTraceOnly 

Solver trace only.

TraceFileFormatGAMSPerformanceWorld 

Solver trace only in format used for GAMS performance world.

TraceFileFormatSupportingNLPEC 

Trace file format supporting NLPEC.

TraceFileWithAllAvailableTraceFields 

Gams exit trace with all available trace fields.

◆ EZeroResRep

Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.

Enumerator
NoWarning 

No warning when a rounding occurs because of ZeroRes.

IssueWarning 

Issue warnings whenever a rounding occurs because of ZeroRes.

Member Function Documentation

◆ Dispose()

void GAMS.GAMSOptions.Dispose ( )
inline

Free unmanaged ressources.

◆ Export()

void GAMS.GAMSOptions.Export ( string  filePath)
inline

Write GAMSOptions into a parameter file.

Parameters
filePathThe path used to write the parameter file. A relative path is relative to the GAMS working directory.

◆ ResetToDefault()

void GAMS.GAMSOptions.ResetToDefault ( )
inline

Reset all GAMS options to default.

Member Data Documentation

◆ Defines

Dictionary<string, string> GAMS.GAMSOptions.Defines

GAMS Dash Options.

◆ IDir

List<string> GAMS.GAMSOptions.IDir

Input file directories (up to 40 are allowed)

Property Documentation

◆ Action

EAction GAMS.GAMSOptions.Action
getset

GAMS processing request.

◆ AllModelTypes

string GAMS.GAMSOptions.AllModelTypes
set

Set default solver for all model types which the solver can handle.

◆ AppendExpand

EAppendExpand GAMS.GAMSOptions.AppendExpand
getset

Expand file append option.

◆ AppendOut

EAppendOut GAMS.GAMSOptions.AppendOut
getset

Output file append option.

◆ AsyncSolLst

EAsyncSolLst GAMS.GAMSOptions.AsyncSolLst
getset

Print solution listing when asynchronous solve (Grid or Threads) is used.

◆ Bratio

double GAMS.GAMSOptions.Bratio
getset

Basis detection threshold.

◆ CaptureModelInstance

ECaptureModelInstance GAMS.GAMSOptions.CaptureModelInstance
getset

Switch to capture all model instances within a run.

◆ Case

ECase GAMS.GAMSOptions.Case
getset

Output case option for LST file.

◆ CErr

int GAMS.GAMSOptions.CErr
getset

Compile time error limit.

◆ CharSet

ECharSet GAMS.GAMSOptions.CharSet
getset

Character set flag.

◆ CheckErrorLevel

ECheckErrorLevel GAMS.GAMSOptions.CheckErrorLevel
getset

Check errorLevel automatically after executing external program.

◆ CNS

string GAMS.GAMSOptions.CNS
getset

Default CNS solver.

◆ DecryptKey

string GAMS.GAMSOptions.DecryptKey
getset

Key to decrypt a text file that was encrypted via $encrypt.

◆ DFormat

EDFormat GAMS.GAMSOptions.DFormat
getset

Date format.

◆ Digit

EDigit GAMS.GAMSOptions.Digit
getset

Switch default for "$on/offDigit".

◆ DNLP

string GAMS.GAMSOptions.DNLP
getset

Default DNLP solver.

◆ DomLim

int GAMS.GAMSOptions.DomLim
getset

Domain violation limit solver default.

◆ DumpOpt

EDumpOpt GAMS.GAMSOptions.DumpOpt
getset

Writes preprocessed input to the file input.dmp.

◆ DumpOptGDX

string GAMS.GAMSOptions.DumpOptGDX
getset

Defines a GDX file name stem created when using DumpOpt.

◆ DumpParms

EDumpParms GAMS.GAMSOptions.DumpParms
getset

GAMS parameter logging.

◆ DumpParmsLogPrefix

string GAMS.GAMSOptions.DumpParmsLogPrefix
getset

Prefix of lines triggered by DumpParms>1.

◆ ECImplicitLoad

EECImplicitLoad GAMS.GAMSOptions.ECImplicitLoad
getset

Allow implicit loading of symbols from embedded code or not.

◆ EMP

string GAMS.GAMSOptions.EMP
getset

Default EMP solver.

◆ Empty

EEmpty GAMS.GAMSOptions.Empty
getset

Switch default for "$on/offEmpty".

◆ EncryptKey

string GAMS.GAMSOptions.EncryptKey
getset

Key to encrypt a text file using $encrypt.

◆ EolCom

string GAMS.GAMSOptions.EolCom
getset

Switch default for "$on/offEolCom" and "$eolCom".

◆ ErrMsg

EErrMsg GAMS.GAMSOptions.ErrMsg
getset

Placing of compilation error messages.

◆ ErrorLog

int GAMS.GAMSOptions.ErrorLog
getset

Max error message lines written to the log for each error.

◆ ETLim

double GAMS.GAMSOptions.ETLim
getset

Elapsed time limit in seconds.

◆ ExecMode

EExecMode GAMS.GAMSOptions.ExecMode
getset

Limits on external programs that are allowed to be executed.

◆ Expand

string GAMS.GAMSOptions.Expand
getset

Expanded (include) input file name.

◆ FDDelta

double GAMS.GAMSOptions.FDDelta
getset

Step size for finite differences.

◆ FDOpt

EFDOpt GAMS.GAMSOptions.FDOpt
getset

Options for finite differences.

◆ FErr

string GAMS.GAMSOptions.FErr
getset

Alternative error message file.

◆ FileCase

EFileCase GAMS.GAMSOptions.FileCase
getset

Casing of file names and paths (put, gdx, ref, $include, etc.)

◆ FileStem

string GAMS.GAMSOptions.FileStem
getset

Sets the file stem for output files which use the input file name as stem by default.

◆ FileStemApFromEnv

string GAMS.GAMSOptions.FileStemApFromEnv
getset

Append a string read from an environment variable to the "FileStem".

◆ Filtered

EFiltered GAMS.GAMSOptions.Filtered
getset

Switch between filtered and domain-checked read from GDX.

◆ ForceOptFile

int GAMS.GAMSOptions.ForceOptFile
getset

Overwrites other option file section mechanism.

◆ ForceWork

EForceWork GAMS.GAMSOptions.ForceWork
getset

Force GAMS to process a save file created with a newer GAMS version or with execution errors.

◆ ForLim

int GAMS.GAMSOptions.ForLim
getset

GAMS looping limit.

◆ FreeEmbeddedPython

EFreeEmbeddedPython GAMS.GAMSOptions.FreeEmbeddedPython
getset

Free external resources at the end of each embedded Python code blocks.

◆ GDX

string GAMS.GAMSOptions.GDX
getset

Gams data exchange file name.

◆ gdxCompress

EgdxCompress GAMS.GAMSOptions.gdxCompress
getset

Compression of generated GDX file.

◆ gdxConvert

EgdxConvert GAMS.GAMSOptions.gdxConvert
getset

Version of GDX files generated (for backward compatibility)

◆ gdxUels

EgdxUels GAMS.GAMSOptions.gdxUels
getset

Unload labels or UELs to GDX either squeezed or full.

◆ GridDir

string GAMS.GAMSOptions.GridDir
getset

Grid file directory.

◆ GridScript

string GAMS.GAMSOptions.GridScript
getset

Grid submission script.

◆ HeapLimit

double GAMS.GAMSOptions.HeapLimit
getset

Maximum Heap size allowed in MB.

◆ HoldFixed

EHoldFixed GAMS.GAMSOptions.HoldFixed
getset

Treat fixed variables as constants.

◆ HoldFixedAsync

EHoldFixedAsync GAMS.GAMSOptions.HoldFixedAsync
getset

Allow HoldFixed for models solved asynchronously as well.

◆ IDCGDXInput

string GAMS.GAMSOptions.IDCGDXInput
getset

GDX file name with data for implicit input.

◆ IDCGDXOutput

string GAMS.GAMSOptions.IDCGDXOutput
getset

GDX file name for data for implicit output.

◆ ImplicitAssign

EImplicitAssign GAMS.GAMSOptions.ImplicitAssign
getset

Switch default for "$on/offImplicitAssign".

◆ InlineCom

string GAMS.GAMSOptions.InlineCom
getset

Switch default for "$on/offInline" and "$inlineCom".

◆ Integer1

int GAMS.GAMSOptions.Integer1
getset

Integer communication cell N.

◆ Integer2

int GAMS.GAMSOptions.Integer2
getset

Integer communication cell N.

◆ Integer3

int GAMS.GAMSOptions.Integer3
getset

Integer communication cell N.

◆ Integer4

int GAMS.GAMSOptions.Integer4
getset

Integer communication cell N.

◆ Integer5

int GAMS.GAMSOptions.Integer5
getset

Integer communication cell N.

◆ InteractiveSolver

EInteractiveSolver GAMS.GAMSOptions.InteractiveSolver
getset

Allow solver to interact via command line input.

◆ IntVarUp

EIntVarUp GAMS.GAMSOptions.IntVarUp
getset

Set mode for default upper bounds on integer variables.

◆ IterLim

int GAMS.GAMSOptions.IterLim
getset

Iteration limit of solver.

◆ JobTrace

string GAMS.GAMSOptions.JobTrace
getset

Job trace string to be written to the trace file at the end of a GAMS job.

◆ Keep

EKeep GAMS.GAMSOptions.Keep
getset

Controls keeping or deletion of process directory and scratch files.

◆ LibIncDir

string GAMS.GAMSOptions.LibIncDir
getset

LibInclude directory.

◆ License

string GAMS.GAMSOptions.License
getset

Use alternative license file.

◆ LimCol

int GAMS.GAMSOptions.LimCol
getset

Maximum number of columns listed in one variable block.

◆ LimRow

int GAMS.GAMSOptions.LimRow
getset

Maximum number of rows listed in one equation block.

◆ Listing

EListing GAMS.GAMSOptions.Listing
getset

Switch default for "$on/offListing".

◆ LogLine

ELogLine GAMS.GAMSOptions.LogLine
getset

Amount of line tracing to the log file.

◆ LP

string GAMS.GAMSOptions.LP
getset

Default LP solver.

◆ LstTitleLeftAligned

ELstTitleLeftAligned GAMS.GAMSOptions.LstTitleLeftAligned
getset

Write title of LST file all left aligned.

◆ MaxExecError

int GAMS.GAMSOptions.MaxExecError
getset

Execution time error limit.

◆ MaxProcDir

int GAMS.GAMSOptions.MaxProcDir
getset

Maximum number of 225* process directories.

◆ MCP

string GAMS.GAMSOptions.MCP
getset

Default MCP solver.

◆ MIIMode

EMIIMode GAMS.GAMSOptions.MIIMode
getset

Model Instance Mode.

◆ MINLP

string GAMS.GAMSOptions.MINLP
getset

Default MINLP solver.

◆ MIP

string GAMS.GAMSOptions.MIP
getset

Default MIP solver.

◆ MIQCP

string GAMS.GAMSOptions.MIQCP
getset

Default MIQCP solver.

◆ MPEC

string GAMS.GAMSOptions.MPEC
getset

Default MPEC solver.

◆ Multi

string GAMS.GAMSOptions.Multi
getset

Switch default for "$on/offMulti[R]".

◆ NLP

string GAMS.GAMSOptions.NLP
getset

Default NLP solver.

◆ NodLim

int GAMS.GAMSOptions.NodLim
getset

Node limit in branch and bound tree.

◆ NoNewVarEqu

ENoNewVarEqu GAMS.GAMSOptions.NoNewVarEqu
getset

Triggers a compilation error when new equations or variable symbols are introduced.

◆ On115

EOn115 GAMS.GAMSOptions.On115
getset

Generate errors for unknown unique element in an equation.

◆ OptCA

double GAMS.GAMSOptions.OptCA
getset

Absolute Optimality criterion solver default.

◆ OptCR

double GAMS.GAMSOptions.OptCR
getset

Relative Optimality criterion solver default.

◆ OptDir

string GAMS.GAMSOptions.OptDir
getset

Option file directory.

◆ OptFile

int GAMS.GAMSOptions.OptFile
getset

Default option file.

◆ Output

string GAMS.GAMSOptions.Output
getset

Listing file name.

◆ PageContr

EPageContr GAMS.GAMSOptions.PageContr
getset

Output file page control option.

◆ PageSize

int GAMS.GAMSOptions.PageSize
getset

Output file page size (=0 no paging)

◆ PageWidth

int GAMS.GAMSOptions.PageWidth
getset

Output file page width.

◆ PLicense

string GAMS.GAMSOptions.PLicense
getset

Privacy license file name.

◆ PrefixLoadPath

EPrefixLoadPath GAMS.GAMSOptions.PrefixLoadPath
getset

Prepend GAMS system directory to library load path.

◆ PreviousWork

EPreviousWork GAMS.GAMSOptions.PreviousWork
getset

Indicator for writing workfile with previous workfile version.

◆ ProcTreeMemMonitor

EProcTreeMemMonitor GAMS.GAMSOptions.ProcTreeMemMonitor
getset

Monitor the memory used by the GAMS process tree.

◆ ProcTreeMemTicks

int GAMS.GAMSOptions.ProcTreeMemTicks
getset

Set wait interval between memory monitor checks: ticks = milliseconds.

◆ Profile

int GAMS.GAMSOptions.Profile
getset

Execution profiling.

◆ ProfileFile

string GAMS.GAMSOptions.ProfileFile
getset

Write profile information to this file.

◆ ProfileTol

double GAMS.GAMSOptions.ProfileTol
getset

Minimum time a statement must use to appear in profile generated output.

◆ PutDir

string GAMS.GAMSOptions.PutDir
getset

Put file directory.

◆ PutND

int GAMS.GAMSOptions.PutND
getset

Number of decimals for put files.

◆ PutNR

EPutNR GAMS.GAMSOptions.PutNR
getset

Numeric round format for put files.

◆ PutPS

int GAMS.GAMSOptions.PutPS
getset

Page size for put files.

◆ PutPW

int GAMS.GAMSOptions.PutPW
getset

Page width for put files.

◆ QCP

string GAMS.GAMSOptions.QCP
getset

Default QCP solver.

◆ Reference

string GAMS.GAMSOptions.Reference
getset

Symbol reference file.

◆ ReferenceLineNo

EReferenceLineNo GAMS.GAMSOptions.ReferenceLineNo
getset

Controls the line numbers written to a reference file.

◆ Replace

EReplace GAMS.GAMSOptions.Replace
getset

Switch between merge and replace when reading from GDX into non-empty symbol.

◆ ResLim

double GAMS.GAMSOptions.ResLim
getset

Wall-clock time limit for solver.

◆ RMINLP

string GAMS.GAMSOptions.RMINLP
getset

Default RMINLP solver.

◆ RMIP

string GAMS.GAMSOptions.RMIP
getset

Default RMIP solver.

◆ RMIQCP

string GAMS.GAMSOptions.RMIQCP
getset

Default RMIQCP solver.

◆ RMPEC

string GAMS.GAMSOptions.RMPEC
getset

Default RMPEC solver.

◆ SavePoint

ESavePoint GAMS.GAMSOptions.SavePoint
getset

Save solver point in GDX file.

◆ ScriptExit

string GAMS.GAMSOptions.ScriptExit
getset

Program or script to be executed at the end of a GAMS run.

◆ Seed

int GAMS.GAMSOptions.Seed
getset

Random number seed.

◆ ShowOSMemory

EShowOSMemory GAMS.GAMSOptions.ShowOSMemory
getset

Show the memory usage reported by the Operating System instead of the internal counting.

◆ SolPrint

ESolPrint GAMS.GAMSOptions.SolPrint
getset

Solution report print option.

◆ SolveLink

ESolveLink GAMS.GAMSOptions.SolveLink
getset

Solver link option.

◆ SolveOpt

ESolveOpt GAMS.GAMSOptions.SolveOpt
getset

Multiple solve management.

◆ StepSum

EStepSum GAMS.GAMSOptions.StepSum
getset

Summary of computing resources used by job steps.

◆ strictSingleton

EstrictSingleton GAMS.GAMSOptions.strictSingleton
getset

Error if assignment to singleton set has multiple elements.

◆ StringChk

EStringChk GAMS.GAMSOptions.StringChk
getset

String substitution options.

◆ SuffixAlgebraVars

ESuffixAlgebraVars GAMS.GAMSOptions.SuffixAlgebraVars
getset

Switch default for "$on/offSuffixAlgebraVars".

◆ SuffixDLVars

ESuffixDLVars GAMS.GAMSOptions.SuffixDLVars
getset

Switch default for "$on/offSuffixDLVars".

◆ Suppress

ESuppress GAMS.GAMSOptions.Suppress
getset

Compiler listing option.

◆ Symbol

string GAMS.GAMSOptions.Symbol
getset

Symbol table file.

◆ SymPrefix

string GAMS.GAMSOptions.SymPrefix
getset

Prefix all symbols encountered during compilation by the specified string in work file.

◆ Sys10

ESys10 GAMS.GAMSOptions.Sys10
getset

Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer.

◆ Sys11

ESys11 GAMS.GAMSOptions.Sys11
getset

Dynamic resorting if indices in assignment/data statements are not in natural order.

◆ Sys12

int GAMS.GAMSOptions.Sys12
getset

Pass model with generation errors to solver.

◆ SysIncDir

string GAMS.GAMSOptions.SysIncDir
getset

SysInclude directory.

◆ SysOut

ESysOut GAMS.GAMSOptions.SysOut
getset

Solver Status file reporting option.

◆ TabIn

int GAMS.GAMSOptions.TabIn
getset

Tab spacing.

◆ TFormat

ETFormat GAMS.GAMSOptions.TFormat
getset

Time format.

◆ Threads

int GAMS.GAMSOptions.Threads
getset

Number of processors to be used by a solver.

◆ ThreadsAsync

int GAMS.GAMSOptions.ThreadsAsync
getset

Limit on number of threads to be used for asynchronous solves (solveLink=6)

◆ Timer

int GAMS.GAMSOptions.Timer
getset

Instruction timer threshold in milli seconds.

◆ Trace

string GAMS.GAMSOptions.Trace
getset

Trace file name.

◆ TraceLevel

int GAMS.GAMSOptions.TraceLevel
getset

Modelstat/Solvestat threshold used in conjunction with action=GT.

◆ TraceOpt

ETraceOpt GAMS.GAMSOptions.TraceOpt
getset

Trace file format option.

◆ User1

string GAMS.GAMSOptions.User1
getset

User string N.

◆ User2

string GAMS.GAMSOptions.User2
getset

User string N.

◆ User3

string GAMS.GAMSOptions.User3
getset

User string N.

◆ User4

string GAMS.GAMSOptions.User4
getset

User string N.

◆ User5

string GAMS.GAMSOptions.User5
getset

User string N.

◆ Warnings

int GAMS.GAMSOptions.Warnings
getset

Number of warnings permitted before a run terminates.

◆ WorkFactor

double GAMS.GAMSOptions.WorkFactor
getset

Memory Estimate multiplier for some solvers.

◆ WorkSpace

double GAMS.GAMSOptions.WorkSpace
getset

Work space for some solvers in MB.

◆ ZeroRes

double GAMS.GAMSOptions.ZeroRes
getset

The results of certain operations will be set to zero if abs(result) LE ZeroRes.

◆ ZeroResRep

EZeroResRep GAMS.GAMSOptions.ZeroResRep
getset

Report underflow as a warning when abs(results) LE ZeroRes and result set to zero.