Inherits IDisposable.
|
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...
|
|
|
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.
|
|
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.