Classes | |
enum | EAction |
GAMS processing request. More... | |
enum | EAppendExpand |
Expand file append option. More... | |
enum | EAppendOut |
Output file append option. More... | |
enum | EAsyncSolLst |
Print solution listing when asynchronous solve (Grid or Threads) is used. More... | |
enum | ECaptureModelInstance |
Switch to capture all model instances within a run. More... | |
enum | ECase |
Output case option for LST file. More... | |
enum | ECharSet |
Character set flag. More... | |
enum | ECheckErrorLevel |
Check errorLevel automatically after executing external program. More... | |
enum | EDFormat |
Date format. More... | |
enum | EDigit |
Switch default for "$on/offDigit". More... | |
enum | EDumpOpt |
Writes preprocessed input to the file input.dmp. More... | |
enum | EDumpParms |
GAMS parameter logging. More... | |
enum | EECImplicitLoad |
Allow implicit loading of symbols from embedded code or not. More... | |
enum | EEmpty |
Switch default for "$on/offEmpty". More... | |
enum | EErrMsg |
Placing of compilation error messages. More... | |
enum | EExecMode |
Limits on external programs that are allowed to be executed. More... | |
enum | EFDOpt |
Options for finite differences. More... | |
enum | EFileCase |
Casing of file names and paths (put, gdx, ref, $include, etc.) More... | |
enum | EFiltered |
Switch default for "$on/offFiltered". More... | |
enum | EForceWork |
Force GAMS to process a save file created with a newer GAMS version or with execution errors. More... | |
enum | EFreeEmbeddedPython |
Free external resources at the end of each embedded Python code blocks. More... | |
enum | EgdxCompress |
Compression of generated GDX file. More... | |
enum | EgdxConvert |
Version of GDX files generated (for backward compatibility) More... | |
enum | EgdxUels |
Unload labels or UELs to GDX either squeezed or full. More... | |
enum | EHoldFixed |
Treat fixed variables as constants. More... | |
enum | EHoldFixedAsync |
Allow HoldFixed for models solved asynchronously as well. More... | |
enum | EInteractiveSolver |
Allow solver to interact via command line input. More... | |
enum | EIntVarUp |
Set mode for default upper bounds on integer variables. More... | |
enum | EKeep |
Controls keeping or deletion of process directory and scratch files. More... | |
enum | EListing |
Switch default for "$on/offListing". More... | |
enum | ELogLine |
Amount of line tracing to the log file. More... | |
enum | ELstTitleLeftAligned |
Write title of LST file all left aligned. More... | |
enum | ENoNewVarEqu |
Triggers a compilation error when new equations or variable symbols are introduced. More... | |
enum | EOn115 |
Generate errors for unknown unique element in an equation. More... | |
enum | EPageContr |
Output file page control option. More... | |
enum | EPrefixLoadPath |
Prepend GAMS system directory to library load path. More... | |
enum | EPreviousWork |
Indicator for writing workfile with previous workfile version. More... | |
enum | EProcTreeMemMonitor |
Monitor the memory used by the GAMS process tree. More... | |
enum | EPutNR |
Numeric round format for put files. More... | |
enum | EPyMultInst |
GAMS/Python Multiple Instance Interpreter. More... | |
enum | EReferenceLineNo |
Controls the line numbers written to a reference file. More... | |
enum | ESavePoint |
Save solver point in GDX file. More... | |
enum | EShowOSMemory |
Show the memory usage reported by the Operating System instead of the internal counting. More... | |
enum | ESolPrint |
Solution report print option. More... | |
enum | ESolveLink |
Solver link option. More... | |
enum | EStepSum |
Summary of computing resources used by job steps. More... | |
enum | EstrictSingleton |
Error if assignment to singleton set has multiple elements. More... | |
enum | EStringChk |
String substitution options. More... | |
enum | ESuffixAlgebraVars |
Switch default for "$on/offSuffixAlgebraVars". More... | |
enum | ESuffixDLVars |
Switch default for "$on/offSuffixDLVars". More... | |
enum | ESuppress |
Compiler listing option. More... | |
enum | ESys10 |
Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer. More... | |
enum | ESys11 |
Dynamic resorting if indices in assignment/data statements are not in natural order. More... | |
enum | ESysOut |
Solver Status file reporting option. More... | |
enum | ETFormat |
Time format. More... | |
enum | ETraceOpt |
Trace file format option. More... | |
enum | EZeroResRep |
Report underflow as a warning when abs(results) LE ZeroRes and result set to zero. More... | |
Public Member Functions | |
void | export (String filePath) throws IOException |
Write GAMSOptions into a parameter file. More... | |
List< String > | getInputDirectories () |
get input file directories More... | |
String | getSelectedSolvers (int index) |
get selected solvers More... | |
List< String > | getAllSelectedSolvers () |
get all selected solvers More... | |
void | setAllSelectedSolvers (List< String > solvers) |
set all selected solvers More... | |
List< String > | getAllSolversOptions () |
get all selected solvers More... | |
void | setSolversOptions (List< String > solvers) |
set all selected solvers More... | |
List< String > | getIDir () |
get input file directories More... | |
boolean | isIDirEmpty () |
check if the list of input file directories is empty More... | |
String | getIDir (int index) |
get an input file directory of specified index More... | |
Map< String, String > | getDefinitions () |
get all definitions of GAMS Dash options More... | |
boolean | isDefinitionEmpty () |
check if the list of GAMS Dash options dictionaries is empty More... | |
String | getDefinitionOf (String str) |
get the definition of GAMS Dash options More... | |
void | defines (String defStr, String asStr) |
set the definition of GAMS Dash options More... | |
void | readFromStr (String str) |
read from string More... | |
int | writeParameterFile (String fileName) |
write parameter file More... | |
String | getGDX () |
get Gams data exchange file name More... | |
void | setGDX (String gdxFileName) |
set Gams data exchange file name More... | |
GAMSOptions.EAction | getAction () |
get GAMS processing request More... | |
void | setAction (GAMSOptions.EAction x) |
set GAMS processing request More... | |
GAMSOptions.EAppendExpand | getAppendExpand () |
get Expand file append option More... | |
void | setAppendExpand (GAMSOptions.EAppendExpand x) |
set Expand file append option More... | |
GAMSOptions.EAppendOut | getAppendOut () |
get Output file append option More... | |
void | setAppendOut (GAMSOptions.EAppendOut x) |
set Output file append option More... | |
GAMSOptions.EAsyncSolLst | getAsyncSolLst () |
get Print solution listing when asynchronous solve (Grid or Threads) is used More... | |
void | setAsyncSolLst (GAMSOptions.EAsyncSolLst x) |
set Print solution listing when asynchronous solve (Grid or Threads) is used More... | |
double | getBratio () |
get Basis detection threshold More... | |
void | setBratio (double x) |
set Basis detection threshold More... | |
GAMSOptions.ECaptureModelInstance | getCaptureModelInstance () |
get Switch to capture all model instances within a run More... | |
void | setCaptureModelInstance (GAMSOptions.ECaptureModelInstance x) |
set Switch to capture all model instances within a run More... | |
GAMSOptions.ECase | getCase () |
get Output case option for LST file More... | |
void | setCase (GAMSOptions.ECase x) |
set Output case option for LST file More... | |
int | getCErr () |
get Compile time error limit More... | |
void | setCErr (int x) |
set Compile time error limit More... | |
GAMSOptions.ECharSet | getCharSet () |
get Character set flag More... | |
void | setCharSet (GAMSOptions.ECharSet x) |
set Character set flag More... | |
GAMSOptions.ECheckErrorLevel | getCheckErrorLevel () |
get Check errorLevel automatically after executing external program More... | |
void | setCheckErrorLevel (GAMSOptions.ECheckErrorLevel x) |
set Check errorLevel automatically after executing external program More... | |
String | getDecryptKey () |
get Key to decrypt a text file that was encrypted via $encrypt More... | |
void | setDecryptKey (String x) |
set Key to decrypt a text file that was encrypted via $encrypt More... | |
GAMSOptions.EDFormat | getDFormat () |
get Date format More... | |
void | setDFormat (GAMSOptions.EDFormat x) |
set Date format More... | |
GAMSOptions.EDigit | getDigit () |
get Switch default for "$on/offDigit" More... | |
void | setDigit (GAMSOptions.EDigit x) |
set Switch default for "$on/offDigit" More... | |
int | getDomLim () |
get Domain violation limit solver default More... | |
void | setDomLim (int x) |
set Domain violation limit solver default More... | |
GAMSOptions.EDumpOpt | getDumpOpt () |
get Writes preprocessed input to the file input.dmp More... | |
void | setDumpOpt (GAMSOptions.EDumpOpt x) |
set Writes preprocessed input to the file input.dmp More... | |
String | getDumpOptGDX () |
get Defines a GDX file name stem created when using DumpOpt More... | |
void | setDumpOptGDX (String x) |
set Defines a GDX file name stem created when using DumpOpt More... | |
GAMSOptions.EDumpParms | getDumpParms () |
get GAMS parameter logging More... | |
void | setDumpParms (GAMSOptions.EDumpParms x) |
set GAMS parameter logging More... | |
String | getDumpParmsLogPrefix () |
get Prefix of lines triggered by DumpParms>1 More... | |
void | setDumpParmsLogPrefix (String x) |
set Prefix of lines triggered by DumpParms>1 More... | |
GAMSOptions.EECImplicitLoad | getECImplicitLoad () |
get Allow implicit loading of symbols from embedded code or not More... | |
void | setECImplicitLoad (GAMSOptions.EECImplicitLoad x) |
set Allow implicit loading of symbols from embedded code or not More... | |
GAMSOptions.EEmpty | getEmpty () |
get Switch default for "$on/offEmpty" More... | |
void | setEmpty (GAMSOptions.EEmpty x) |
set Switch default for "$on/offEmpty" More... | |
String | getEncryptKey () |
get Key to encrypt a text file using $encrypt More... | |
void | setEncryptKey (String x) |
set Key to encrypt a text file using $encrypt More... | |
String | getEolCom () |
get Switch default for "$on/offEolCom" and "$eolCom" More... | |
void | setEolCom (String x) |
set Switch default for "$on/offEolCom" and "$eolCom" More... | |
GAMSOptions.EErrMsg | getErrMsg () |
get Placing of compilation error messages More... | |
void | setErrMsg (GAMSOptions.EErrMsg x) |
set Placing of compilation error messages More... | |
int | getErrorLog () |
get Max error message lines written to the log for each error More... | |
void | setErrorLog (int x) |
set Max error message lines written to the log for each error More... | |
double | getETLim () |
get Elapsed time limit in seconds More... | |
void | setETLim (double x) |
set Elapsed time limit in seconds More... | |
GAMSOptions.EExecMode | getExecMode () |
get Limits on external programs that are allowed to be executed More... | |
void | setExecMode (GAMSOptions.EExecMode x) |
set Limits on external programs that are allowed to be executed More... | |
String | getExpand () |
get Expanded (include) input file name More... | |
void | setExpand (String x) |
set Expanded (include) input file name More... | |
double | getFDDelta () |
get Step size for finite differences More... | |
void | setFDDelta (double x) |
set Step size for finite differences More... | |
GAMSOptions.EFDOpt | getFDOpt () |
get Options for finite differences More... | |
void | setFDOpt (GAMSOptions.EFDOpt x) |
set Options for finite differences More... | |
String | getFErr () |
get Alternative error message file More... | |
void | setFErr (String x) |
set Alternative error message file More... | |
GAMSOptions.EFileCase | getFileCase () |
get Casing of file names and paths (put, gdx, ref, $include, etc.) More... | |
void | setFileCase (GAMSOptions.EFileCase x) |
set Casing of file names and paths (put, gdx, ref, $include, etc.) More... | |
String | getFileStem () |
get Sets the file stem for output files which use the input file name as stem by default More... | |
void | setFileStem (String x) |
set Sets the file stem for output files which use the input file name as stem by default More... | |
String | getFileStemApFromEnv () |
get Append a string read from an environment variable to the "FileStem" More... | |
void | setFileStemApFromEnv (String x) |
set Append a string read from an environment variable to the "FileStem" More... | |
GAMSOptions.EFiltered | getFiltered () |
get Switch default for "$on/offFiltered" More... | |
void | setFiltered (GAMSOptions.EFiltered x) |
set Switch default for "$on/offFiltered" More... | |
int | getForceOptFile () |
get Overwrites other option file section mechanism More... | |
void | setForceOptFile (int x) |
set Overwrites other option file section mechanism More... | |
GAMSOptions.EForceWork | getForceWork () |
get Force GAMS to process a save file created with a newer GAMS version or with execution errors More... | |
void | setForceWork (GAMSOptions.EForceWork x) |
set Force GAMS to process a save file created with a newer GAMS version or with execution errors More... | |
int | getForLim () |
get GAMS looping limit More... | |
void | setForLim (int x) |
set GAMS looping limit More... | |
GAMSOptions.EFreeEmbeddedPython | getFreeEmbeddedPython () |
get Free external resources at the end of each embedded Python code blocks More... | |
void | setFreeEmbeddedPython (GAMSOptions.EFreeEmbeddedPython x) |
set Free external resources at the end of each embedded Python code blocks More... | |
GAMSOptions.EgdxCompress | getgdxCompress () |
get Compression of generated GDX file More... | |
void | setgdxCompress (GAMSOptions.EgdxCompress x) |
set Compression of generated GDX file More... | |
GAMSOptions.EgdxConvert | getgdxConvert () |
get Version of GDX files generated (for backward compatibility) More... | |
void | setgdxConvert (GAMSOptions.EgdxConvert x) |
set Version of GDX files generated (for backward compatibility) More... | |
GAMSOptions.EgdxUels | getgdxUels () |
get Unload labels or UELs to GDX either squeezed or full More... | |
void | setgdxUels (GAMSOptions.EgdxUels x) |
set Unload labels or UELs to GDX either squeezed or full More... | |
String | getGridDir () |
get Grid file directory More... | |
void | setGridDir (String x) |
set Grid file directory More... | |
String | getGridScript () |
get Grid submission script More... | |
void | setGridScript (String x) |
set Grid submission script More... | |
double | getHeapLimit () |
get Maximum Heap size allowed in MB More... | |
void | setHeapLimit (double x) |
set Maximum Heap size allowed in MB More... | |
GAMSOptions.EHoldFixed | getHoldFixed () |
get Treat fixed variables as constants More... | |
void | setHoldFixed (GAMSOptions.EHoldFixed x) |
set Treat fixed variables as constants More... | |
GAMSOptions.EHoldFixedAsync | getHoldFixedAsync () |
get Allow HoldFixed for models solved asynchronously as well More... | |
void | setHoldFixedAsync (GAMSOptions.EHoldFixedAsync x) |
set Allow HoldFixed for models solved asynchronously as well More... | |
String | getIDCGDXInput () |
get GDX file name with data for implicit input More... | |
void | setIDCGDXInput (String x) |
set GDX file name with data for implicit input More... | |
String | getIDCGDXOutput () |
get GDX file name for data for implicit output More... | |
void | setIDCGDXOutput (String x) |
set GDX file name for data for implicit output More... | |
String | getInlineCom () |
get Switch default for "$on/offInline" and "$inlineCom" More... | |
void | setInlineCom (String x) |
set Switch default for "$on/offInline" and "$inlineCom" More... | |
int | getInteger1 () |
get Integer communication cell N More... | |
void | setInteger1 (int x) |
set Integer communication cell N More... | |
int | getInteger2 () |
get Integer communication cell N More... | |
void | setInteger2 (int x) |
set Integer communication cell N More... | |
int | getInteger3 () |
get Integer communication cell N More... | |
void | setInteger3 (int x) |
set Integer communication cell N More... | |
int | getInteger4 () |
get Integer communication cell N More... | |
void | setInteger4 (int x) |
set Integer communication cell N More... | |
int | getInteger5 () |
get Integer communication cell N More... | |
void | setInteger5 (int x) |
set Integer communication cell N More... | |
GAMSOptions.EInteractiveSolver | getInteractiveSolver () |
get Allow solver to interact via command line input More... | |
void | setInteractiveSolver (GAMSOptions.EInteractiveSolver x) |
set Allow solver to interact via command line input More... | |
GAMSOptions.EIntVarUp | getIntVarUp () |
get Set mode for default upper bounds on integer variables More... | |
void | setIntVarUp (GAMSOptions.EIntVarUp x) |
set Set mode for default upper bounds on integer variables More... | |
int | getIterLim () |
get Iteration limit of solver More... | |
void | setIterLim (int x) |
set Iteration limit of solver More... | |
String | getJobTrace () |
get Job trace string to be written to the trace file at the end of a GAMS job More... | |
void | setJobTrace (String x) |
set Job trace string to be written to the trace file at the end of a GAMS job More... | |
GAMSOptions.EKeep | getKeep () |
get Controls keeping or deletion of process directory and scratch files More... | |
void | setKeep (GAMSOptions.EKeep x) |
set Controls keeping or deletion of process directory and scratch files More... | |
String | getLibIncDir () |
get LibInclude directory More... | |
void | setLibIncDir (String x) |
set LibInclude directory More... | |
String | getLicense () |
get Use alternative license file More... | |
void | setLicense (String x) |
set Use alternative license file More... | |
int | getLimCol () |
get Maximum number of columns listed in one variable block More... | |
void | setLimCol (int x) |
set Maximum number of columns listed in one variable block More... | |
int | getLimRow () |
get Maximum number of rows listed in one equation block More... | |
void | setLimRow (int x) |
set Maximum number of rows listed in one equation block More... | |
GAMSOptions.EListing | getListing () |
get Switch default for "$on/offListing" More... | |
void | setListing (GAMSOptions.EListing x) |
set Switch default for "$on/offListing" More... | |
GAMSOptions.ELogLine | getLogLine () |
get Amount of line tracing to the log file More... | |
void | setLogLine (GAMSOptions.ELogLine x) |
set Amount of line tracing to the log file More... | |
GAMSOptions.ELstTitleLeftAligned | getLstTitleLeftAligned () |
get Write title of LST file all left aligned More... | |
void | setLstTitleLeftAligned (GAMSOptions.ELstTitleLeftAligned x) |
set Write title of LST file all left aligned More... | |
int | getMaxExecError () |
get Execution time error limit More... | |
void | setMaxExecError (int x) |
set Execution time error limit More... | |
int | getMaxProcDir () |
get Maximum number of 225* process directories More... | |
void | setMaxProcDir (int x) |
set Maximum number of 225* process directories More... | |
String | getMulti () |
get Switch default for "$on/offMulti[R]" More... | |
void | setMulti (String x) |
set Switch default for "$on/offMulti[R]" More... | |
int | getNodLim () |
get Node limit in branch and bound tree More... | |
void | setNodLim (int x) |
set Node limit in branch and bound tree More... | |
GAMSOptions.ENoNewVarEqu | getNoNewVarEqu () |
get Triggers a compilation error when new equations or variable symbols are introduced More... | |
void | setNoNewVarEqu (GAMSOptions.ENoNewVarEqu x) |
set Triggers a compilation error when new equations or variable symbols are introduced More... | |
GAMSOptions.EOn115 | getOn115 () |
get Generate errors for unknown unique element in an equation More... | |
void | setOn115 (GAMSOptions.EOn115 x) |
set Generate errors for unknown unique element in an equation More... | |
double | getOptCA () |
get Absolute Optimality criterion solver default More... | |
void | setOptCA (double x) |
set Absolute Optimality criterion solver default More... | |
double | getOptCR () |
get Relative Optimality criterion solver default More... | |
void | setOptCR (double x) |
set Relative Optimality criterion solver default More... | |
String | getOptDir () |
get Option file directory More... | |
void | setOptDir (String x) |
set Option file directory More... | |
int | getOptFile () |
get Default option file More... | |
void | setOptFile (int x) |
set Default option file More... | |
String | getOutput () |
get Listing file name More... | |
void | setOutput (String x) |
set Listing file name More... | |
GAMSOptions.EPageContr | getPageContr () |
get Output file page control option More... | |
void | setPageContr (GAMSOptions.EPageContr x) |
set Output file page control option More... | |
int | getPageSize () |
get Output file page size (=0 no paging) More... | |
void | setPageSize (int x) |
set Output file page size (=0 no paging) More... | |
int | getPageWidth () |
get Output file page width More... | |
void | setPageWidth (int x) |
set Output file page width More... | |
String | getPLicense () |
get Privacy license file name More... | |
void | setPLicense (String x) |
set Privacy license file name More... | |
GAMSOptions.EPrefixLoadPath | getPrefixLoadPath () |
get Prepend GAMS system directory to library load path More... | |
void | setPrefixLoadPath (GAMSOptions.EPrefixLoadPath x) |
set Prepend GAMS system directory to library load path More... | |
GAMSOptions.EPreviousWork | getPreviousWork () |
get Indicator for writing workfile with previous workfile version More... | |
void | setPreviousWork (GAMSOptions.EPreviousWork x) |
set Indicator for writing workfile with previous workfile version More... | |
GAMSOptions.EProcTreeMemMonitor | getProcTreeMemMonitor () |
get Monitor the memory used by the GAMS process tree More... | |
void | setProcTreeMemMonitor (GAMSOptions.EProcTreeMemMonitor x) |
set Monitor the memory used by the GAMS process tree More... | |
int | getProcTreeMemTicks () |
get Set wait interval between memory monitor checks: ticks = milliseconds More... | |
void | setProcTreeMemTicks (int x) |
set Set wait interval between memory monitor checks: ticks = milliseconds More... | |
int | getProfile () |
get Execution profiling More... | |
void | setProfile (int x) |
set Execution profiling More... | |
String | getProfileFile () |
get Write profile information to this file More... | |
void | setProfileFile (String x) |
set Write profile information to this file More... | |
double | getProfileTol () |
get Minimum time a statement must use to appear in profile generated output More... | |
void | setProfileTol (double x) |
set Minimum time a statement must use to appear in profile generated output More... | |
String | getPutDir () |
get Put file directory More... | |
void | setPutDir (String x) |
set Put file directory More... | |
int | getPutND () |
get Number of decimals for put files More... | |
void | setPutND (int x) |
set Number of decimals for put files More... | |
GAMSOptions.EPutNR | getPutNR () |
get Numeric round format for put files More... | |
void | setPutNR (GAMSOptions.EPutNR x) |
set Numeric round format for put files More... | |
int | getPutPS () |
get Page size for put files More... | |
void | setPutPS (int x) |
set Page size for put files More... | |
int | getPutPW () |
get Page width for put files More... | |
void | setPutPW (int x) |
set Page width for put files More... | |
GAMSOptions.EPyMultInst | getPyMultInst () |
get GAMS/Python Multiple Instance Interpreter More... | |
void | setPyMultInst (GAMSOptions.EPyMultInst x) |
set GAMS/Python Multiple Instance Interpreter More... | |
String | getReference () |
get Symbol reference file More... | |
void | setReference (String x) |
set Symbol reference file More... | |
GAMSOptions.EReferenceLineNo | getReferenceLineNo () |
get Controls the line numbers written to a reference file More... | |
void | setReferenceLineNo (GAMSOptions.EReferenceLineNo x) |
set Controls the line numbers written to a reference file More... | |
double | getResLim () |
get Wall-clock time limit for solver More... | |
void | setResLim (double x) |
set Wall-clock time limit for solver More... | |
GAMSOptions.ESavePoint | getSavePoint () |
get Save solver point in GDX file More... | |
void | setSavePoint (GAMSOptions.ESavePoint x) |
set Save solver point in GDX file More... | |
String | getScriptExit () |
get Program or script to be executed at the end of a GAMS run More... | |
void | setScriptExit (String x) |
set Program or script to be executed at the end of a GAMS run More... | |
int | getSeed () |
get Random number seed More... | |
void | setSeed (int x) |
set Random number seed More... | |
GAMSOptions.EShowOSMemory | getShowOSMemory () |
get Show the memory usage reported by the Operating System instead of the internal counting More... | |
void | setShowOSMemory (GAMSOptions.EShowOSMemory x) |
set Show the memory usage reported by the Operating System instead of the internal counting More... | |
GAMSOptions.ESolPrint | getSolPrint () |
get Solution report print option More... | |
void | setSolPrint (GAMSOptions.ESolPrint x) |
set Solution report print option More... | |
GAMSOptions.ESolveLink | getSolveLink () |
get Solver link option More... | |
void | setSolveLink (GAMSOptions.ESolveLink x) |
set Solver link option More... | |
GAMSOptions.EStepSum | getStepSum () |
get Summary of computing resources used by job steps More... | |
void | setStepSum (GAMSOptions.EStepSum x) |
set Summary of computing resources used by job steps More... | |
GAMSOptions.EstrictSingleton | getstrictSingleton () |
get Error if assignment to singleton set has multiple elements More... | |
void | setstrictSingleton (GAMSOptions.EstrictSingleton x) |
set Error if assignment to singleton set has multiple elements More... | |
GAMSOptions.EStringChk | getStringChk () |
get String substitution options More... | |
void | setStringChk (GAMSOptions.EStringChk x) |
set String substitution options More... | |
GAMSOptions.ESuffixDLVars | getSuffixDLVars () |
get Switch default for "$on/offSuffixDLVars" More... | |
void | setSuffixDLVars (GAMSOptions.ESuffixDLVars x) |
set Switch default for "$on/offSuffixDLVars" More... | |
GAMSOptions.ESuffixAlgebraVars | getSuffixAlgebraVars () |
get Switch default for "$on/offSuffixAlgebraVars" More... | |
void | setSuffixAlgebraVars (GAMSOptions.ESuffixAlgebraVars x) |
set Switch default for "$on/offSuffixAlgebraVars" More... | |
GAMSOptions.ESuppress | getSuppress () |
get Compiler listing option More... | |
void | setSuppress (GAMSOptions.ESuppress x) |
set Compiler listing option More... | |
String | getSymbol () |
get Symbol table file More... | |
void | setSymbol (String x) |
set Symbol table file More... | |
String | getSymPrefix () |
get Prefix all symbols encountered during compilation by the specified string in work file More... | |
void | setSymPrefix (String x) |
set Prefix all symbols encountered during compilation by the specified string in work file More... | |
GAMSOptions.ESys10 | getSys10 () |
get Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer More... | |
void | setSys10 (GAMSOptions.ESys10 x) |
set Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer More... | |
GAMSOptions.ESys11 | getSys11 () |
get Dynamic resorting if indices in assignment/data statements are not in natural order More... | |
void | setSys11 (GAMSOptions.ESys11 x) |
set Dynamic resorting if indices in assignment/data statements are not in natural order More... | |
int | getSys12 () |
get Pass model with generation errors to solver More... | |
void | setSys12 (int x) |
set Pass model with generation errors to solver More... | |
String | getSysIncDir () |
get SysInclude directory More... | |
void | setSysIncDir (String x) |
set SysInclude directory More... | |
GAMSOptions.ESysOut | getSysOut () |
get Solver Status file reporting option More... | |
void | setSysOut (GAMSOptions.ESysOut x) |
set Solver Status file reporting option More... | |
int | getTabIn () |
get Tab spacing More... | |
void | setTabIn (int x) |
set Tab spacing More... | |
GAMSOptions.ETFormat | getTFormat () |
get Time format More... | |
void | setTFormat (GAMSOptions.ETFormat x) |
set Time format More... | |
int | getThreads () |
get Number of threads to be used by a solver More... | |
void | setThreads (int x) |
set Number of threads to be used by a solver More... | |
int | getThreadsAsync () |
get Limit on number of threads to be used for asynchronous solves (solveLink=6) More... | |
void | setThreadsAsync (int x) |
set Limit on number of threads to be used for asynchronous solves (solveLink=6) More... | |
int | getTimer () |
get Instruction timer threshold in milli seconds More... | |
void | setTimer (int x) |
set Instruction timer threshold in milli seconds More... | |
String | getTrace () |
get Trace file name More... | |
void | setTrace (String x) |
set Trace file name More... | |
int | getTraceLevel () |
get Modelstat/Solvestat threshold used in conjunction with action=GT More... | |
void | setTraceLevel (int x) |
set Modelstat/Solvestat threshold used in conjunction with action=GT More... | |
GAMSOptions.ETraceOpt | getTraceOpt () |
get Trace file format option More... | |
void | setTraceOpt (GAMSOptions.ETraceOpt x) |
set Trace file format option More... | |
String | getUser1 () |
get User string N More... | |
void | setUser1 (String x) |
set User string N More... | |
String | getUser2 () |
get User string N More... | |
void | setUser2 (String x) |
set User string N More... | |
String | getUser3 () |
get User string N More... | |
void | setUser3 (String x) |
set User string N More... | |
String | getUser4 () |
get User string N More... | |
void | setUser4 (String x) |
set User string N More... | |
String | getUser5 () |
get User string N More... | |
void | setUser5 (String x) |
set User string N More... | |
int | getWarnings () |
get Number of warnings permitted before a run terminates More... | |
void | setWarnings (int x) |
set Number of warnings permitted before a run terminates More... | |
double | getWorkFactor () |
get Memory Estimate multiplier for some solvers More... | |
void | setWorkFactor (double x) |
set Memory Estimate multiplier for some solvers More... | |
double | getWorkSpace () |
get Work space for some solvers in MB More... | |
void | setWorkSpace (double x) |
set Work space for some solvers in MB More... | |
double | getZeroRes () |
get The results of certain operations will be set to zero if abs(result) LE ZeroRes More... | |
void | setZeroRes (double x) |
set The results of certain operations will be set to zero if abs(result) LE ZeroRes More... | |
GAMSOptions.EZeroResRep | getZeroResRep () |
get Report underflow as a warning when abs(results) LE ZeroRes and result set to zero More... | |
void | setZeroResRep (GAMSOptions.EZeroResRep x) |
set Report underflow as a warning when abs(results) LE ZeroRes and result set to zero More... | |
String | getLP () |
get default LP solver More... | |
void | setLP (String x) |
set default LP solver More... | |
String | getMIP () |
get default MIP solver More... | |
void | setMIP (String x) |
set default MIP solver More... | |
String | getRMIP () |
get default RMIP solver More... | |
void | setRMIP (String x) |
set default RMIP solver More... | |
String | getNLP () |
get default NLP solver More... | |
void | setNLP (String x) |
set default NLP solver More... | |
String | getMCP () |
get default MCP solver More... | |
void | setMCP (String x) |
set default MCP solver More... | |
String | getMPEC () |
get default MPEC solver More... | |
void | setMPEC (String x) |
set default MPEC solver More... | |
String | getRMPEC () |
get default RMPEC solver More... | |
void | setRMPEC (String x) |
set default RMPEC solver More... | |
String | getCNS () |
get default CNS solver More... | |
void | setCNS (String x) |
set default CNS solver More... | |
String | getDNLP () |
get default DNLP solver More... | |
void | setDNLP (String x) |
set default DNLP solver More... | |
String | getRMINLP () |
get default RMINLP solver More... | |
void | setRMINLP (String x) |
set default RMINLP solver More... | |
String | getMINLP () |
get default MINLP solver More... | |
void | setMINLP (String x) |
set default MINLP solver More... | |
String | getQCP () |
get default QCP solver More... | |
void | setQCP (String x) |
set default QCP solver More... | |
String | getMIQCP () |
get default MIQCP solver More... | |
void | setMIQCP (String x) |
set default MIQCP solver More... | |
String | getRMIQCP () |
get default RMIQCP solver More... | |
void | setRMIQCP (String x) |
set default RMIQCP solver More... | |
String | getEMP () |
get default EMP solver More... | |
void | setEMP (String x) |
set default EMP solver More... | |
void | setAllModelTypes (String value) |
Set default solver for all model types which the solver can handle. More... | |
void | setModelTypesForSolvers () |
Set default solver for all model types which the solver can handle. More... | |
void | ResetToDefault () |
Reset all GAMS options to default. More... | |
void | dispose () |
Release external resources hold by non-java library. More... | |
Public Attributes | |
Map< String, String > | definitions = null |
Dictionaries for GAMS Dash options. More... | |
List< String > | IDir = null |
Input file directories (up to 40 are allowed) More... | |
Protected Member Functions | |
void | finalize () throws Throwable |
Release resources used by non-java library, called by Garbage collector. More... | |
Detailed Description
The GAMSOptions class manages GAMS options (sometimes also called GAMSParameter, 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 Java 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).
- See also
- GAMSWorkspace
- GAMSWorkspace.addOptions()
Member Function Documentation
◆ defines()
void com.gams.api.GAMSOptions.defines | ( | String | defStr, |
String | asStr | ||
) |
set the definition of GAMS Dash options
- Parameters
-
defStr string asStr definition string
◆ dispose()
void com.gams.api.GAMSOptions.dispose | ( | ) |
Release external resources hold by non-java library.
A subsequent call on the object after disposed potentially causes an unexpected error or exception.
Call this method either when the object is no longer needed and/or when resource management is a critical issue in the application.
◆ export()
void com.gams.api.GAMSOptions.export | ( | String | filePath | ) | throws IOException |
Write GAMSOptions into a parameter file.
- Parameters
-
filePath The file path used to write the parameter file. A relative path is relative to the GAMS working directory.
- Exceptions
-
IOException If the file could not be read successfully
◆ finalize()
|
protected |
Release resources used by non-java library, called by Garbage collector.
- Exceptions
-
exception or error raised by calling finalize().
◆ getAction()
GAMSOptions.EAction com.gams.api.GAMSOptions.getAction | ( | ) |
get GAMS processing request
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getAllSelectedSolvers()
List<String> com.gams.api.GAMSOptions.getAllSelectedSolvers | ( | ) |
get all selected solvers
◆ getAllSolversOptions()
List<String> com.gams.api.GAMSOptions.getAllSolversOptions | ( | ) |
get all selected solvers
◆ getAppendExpand()
GAMSOptions.EAppendExpand com.gams.api.GAMSOptions.getAppendExpand | ( | ) |
get Expand file append option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getAppendOut()
GAMSOptions.EAppendOut com.gams.api.GAMSOptions.getAppendOut | ( | ) |
get Output file append option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getAsyncSolLst()
GAMSOptions.EAsyncSolLst com.gams.api.GAMSOptions.getAsyncSolLst | ( | ) |
get Print solution listing when asynchronous solve (Grid or Threads) is used
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getBratio()
double com.gams.api.GAMSOptions.getBratio | ( | ) |
get Basis detection threshold
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getCaptureModelInstance()
GAMSOptions.ECaptureModelInstance com.gams.api.GAMSOptions.getCaptureModelInstance | ( | ) |
get Switch to capture all model instances within a run
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getCase()
GAMSOptions.ECase com.gams.api.GAMSOptions.getCase | ( | ) |
get Output case option for LST file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getCErr()
int com.gams.api.GAMSOptions.getCErr | ( | ) |
get Compile time error limit
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getCharSet()
GAMSOptions.ECharSet com.gams.api.GAMSOptions.getCharSet | ( | ) |
get Character set flag
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getCheckErrorLevel()
GAMSOptions.ECheckErrorLevel com.gams.api.GAMSOptions.getCheckErrorLevel | ( | ) |
get Check errorLevel automatically after executing external program
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getCNS()
String com.gams.api.GAMSOptions.getCNS | ( | ) |
get default CNS solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDecryptKey()
String com.gams.api.GAMSOptions.getDecryptKey | ( | ) |
get Key to decrypt a text file that was encrypted via $encrypt
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDefinitionOf()
String com.gams.api.GAMSOptions.getDefinitionOf | ( | String | str | ) |
get the definition of GAMS Dash options
- Parameters
-
str string
- Returns
- the definition that matches string
◆ getDefinitions()
Map<String, String> com.gams.api.GAMSOptions.getDefinitions | ( | ) |
get all definitions of GAMS Dash options
◆ getDFormat()
GAMSOptions.EDFormat com.gams.api.GAMSOptions.getDFormat | ( | ) |
get Date format
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDigit()
GAMSOptions.EDigit com.gams.api.GAMSOptions.getDigit | ( | ) |
get Switch default for "$on/offDigit"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDNLP()
String com.gams.api.GAMSOptions.getDNLP | ( | ) |
get default DNLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDomLim()
int com.gams.api.GAMSOptions.getDomLim | ( | ) |
get Domain violation limit solver default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDumpOpt()
GAMSOptions.EDumpOpt com.gams.api.GAMSOptions.getDumpOpt | ( | ) |
get Writes preprocessed input to the file input.dmp
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDumpOptGDX()
String com.gams.api.GAMSOptions.getDumpOptGDX | ( | ) |
get Defines a GDX file name stem created when using DumpOpt
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDumpParms()
GAMSOptions.EDumpParms com.gams.api.GAMSOptions.getDumpParms | ( | ) |
get GAMS parameter logging
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getDumpParmsLogPrefix()
String com.gams.api.GAMSOptions.getDumpParmsLogPrefix | ( | ) |
get Prefix of lines triggered by DumpParms>1
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getECImplicitLoad()
GAMSOptions.EECImplicitLoad com.gams.api.GAMSOptions.getECImplicitLoad | ( | ) |
get Allow implicit loading of symbols from embedded code or not
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getEMP()
String com.gams.api.GAMSOptions.getEMP | ( | ) |
get default EMP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getEmpty()
GAMSOptions.EEmpty com.gams.api.GAMSOptions.getEmpty | ( | ) |
get Switch default for "$on/offEmpty"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getEncryptKey()
String com.gams.api.GAMSOptions.getEncryptKey | ( | ) |
get Key to encrypt a text file using $encrypt
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getEolCom()
String com.gams.api.GAMSOptions.getEolCom | ( | ) |
get Switch default for "$on/offEolCom" and "$eolCom"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getErrMsg()
GAMSOptions.EErrMsg com.gams.api.GAMSOptions.getErrMsg | ( | ) |
get Placing of compilation error messages
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getErrorLog()
int com.gams.api.GAMSOptions.getErrorLog | ( | ) |
get Max error message lines written to the log for each error
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getETLim()
double com.gams.api.GAMSOptions.getETLim | ( | ) |
get Elapsed time limit in seconds
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getExecMode()
GAMSOptions.EExecMode com.gams.api.GAMSOptions.getExecMode | ( | ) |
get Limits on external programs that are allowed to be executed
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getExpand()
String com.gams.api.GAMSOptions.getExpand | ( | ) |
get Expanded (include) input file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFDDelta()
double com.gams.api.GAMSOptions.getFDDelta | ( | ) |
get Step size for finite differences
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFDOpt()
GAMSOptions.EFDOpt com.gams.api.GAMSOptions.getFDOpt | ( | ) |
get Options for finite differences
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFErr()
String com.gams.api.GAMSOptions.getFErr | ( | ) |
get Alternative error message file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFileCase()
GAMSOptions.EFileCase com.gams.api.GAMSOptions.getFileCase | ( | ) |
get Casing of file names and paths (put, gdx, ref, $include, etc.)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFileStem()
String com.gams.api.GAMSOptions.getFileStem | ( | ) |
get Sets the file stem for output files which use the input file name as stem by default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFileStemApFromEnv()
String com.gams.api.GAMSOptions.getFileStemApFromEnv | ( | ) |
get Append a string read from an environment variable to the "FileStem"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFiltered()
GAMSOptions.EFiltered com.gams.api.GAMSOptions.getFiltered | ( | ) |
get Switch default for "$on/offFiltered"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getForceOptFile()
int com.gams.api.GAMSOptions.getForceOptFile | ( | ) |
get Overwrites other option file section mechanism
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getForceWork()
GAMSOptions.EForceWork com.gams.api.GAMSOptions.getForceWork | ( | ) |
get Force GAMS to process a save file created with a newer GAMS version or with execution errors
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getForLim()
int com.gams.api.GAMSOptions.getForLim | ( | ) |
get GAMS looping limit
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getFreeEmbeddedPython()
GAMSOptions.EFreeEmbeddedPython com.gams.api.GAMSOptions.getFreeEmbeddedPython | ( | ) |
get Free external resources at the end of each embedded Python code blocks
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getGDX()
String com.gams.api.GAMSOptions.getGDX | ( | ) |
get Gams data exchange file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available..
◆ getgdxCompress()
GAMSOptions.EgdxCompress com.gams.api.GAMSOptions.getgdxCompress | ( | ) |
get Compression of generated GDX file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getgdxConvert()
GAMSOptions.EgdxConvert com.gams.api.GAMSOptions.getgdxConvert | ( | ) |
get Version of GDX files generated (for backward compatibility)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getgdxUels()
GAMSOptions.EgdxUels com.gams.api.GAMSOptions.getgdxUels | ( | ) |
get Unload labels or UELs to GDX either squeezed or full
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getGridDir()
String com.gams.api.GAMSOptions.getGridDir | ( | ) |
get Grid file directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getGridScript()
String com.gams.api.GAMSOptions.getGridScript | ( | ) |
get Grid submission script
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getHeapLimit()
double com.gams.api.GAMSOptions.getHeapLimit | ( | ) |
get Maximum Heap size allowed in MB
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getHoldFixed()
GAMSOptions.EHoldFixed com.gams.api.GAMSOptions.getHoldFixed | ( | ) |
get Treat fixed variables as constants
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getHoldFixedAsync()
GAMSOptions.EHoldFixedAsync com.gams.api.GAMSOptions.getHoldFixedAsync | ( | ) |
get Allow HoldFixed for models solved asynchronously as well
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getIDCGDXInput()
String com.gams.api.GAMSOptions.getIDCGDXInput | ( | ) |
get GDX file name with data for implicit input
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getIDCGDXOutput()
String com.gams.api.GAMSOptions.getIDCGDXOutput | ( | ) |
get GDX file name for data for implicit output
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getIDir() [1/2]
List<String> com.gams.api.GAMSOptions.getIDir | ( | ) |
get input file directories
◆ getIDir() [2/2]
String com.gams.api.GAMSOptions.getIDir | ( | int | index | ) |
get an input file directory of specified index
◆ getInlineCom()
String com.gams.api.GAMSOptions.getInlineCom | ( | ) |
get Switch default for "$on/offInline" and "$inlineCom"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getInputDirectories()
List<String> com.gams.api.GAMSOptions.getInputDirectories | ( | ) |
get input file directories
◆ getInteger1()
int com.gams.api.GAMSOptions.getInteger1 | ( | ) |
get Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getInteger2()
int com.gams.api.GAMSOptions.getInteger2 | ( | ) |
get Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getInteger3()
int com.gams.api.GAMSOptions.getInteger3 | ( | ) |
get Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getInteger4()
int com.gams.api.GAMSOptions.getInteger4 | ( | ) |
get Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getInteger5()
int com.gams.api.GAMSOptions.getInteger5 | ( | ) |
get Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getInteractiveSolver()
GAMSOptions.EInteractiveSolver com.gams.api.GAMSOptions.getInteractiveSolver | ( | ) |
get Allow solver to interact via command line input
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getIntVarUp()
GAMSOptions.EIntVarUp com.gams.api.GAMSOptions.getIntVarUp | ( | ) |
get Set mode for default upper bounds on integer variables
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getIterLim()
int com.gams.api.GAMSOptions.getIterLim | ( | ) |
get Iteration limit of solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getJobTrace()
String com.gams.api.GAMSOptions.getJobTrace | ( | ) |
get Job trace string to be written to the trace file at the end of a GAMS job
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getKeep()
GAMSOptions.EKeep com.gams.api.GAMSOptions.getKeep | ( | ) |
get Controls keeping or deletion of process directory and scratch files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLibIncDir()
String com.gams.api.GAMSOptions.getLibIncDir | ( | ) |
get LibInclude directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLicense()
String com.gams.api.GAMSOptions.getLicense | ( | ) |
get Use alternative license file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLimCol()
int com.gams.api.GAMSOptions.getLimCol | ( | ) |
get Maximum number of columns listed in one variable block
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLimRow()
int com.gams.api.GAMSOptions.getLimRow | ( | ) |
get Maximum number of rows listed in one equation block
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getListing()
GAMSOptions.EListing com.gams.api.GAMSOptions.getListing | ( | ) |
get Switch default for "$on/offListing"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLogLine()
GAMSOptions.ELogLine com.gams.api.GAMSOptions.getLogLine | ( | ) |
get Amount of line tracing to the log file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLP()
String com.gams.api.GAMSOptions.getLP | ( | ) |
get default LP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getLstTitleLeftAligned()
GAMSOptions.ELstTitleLeftAligned com.gams.api.GAMSOptions.getLstTitleLeftAligned | ( | ) |
get Write title of LST file all left aligned
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMaxExecError()
int com.gams.api.GAMSOptions.getMaxExecError | ( | ) |
get Execution time error limit
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMaxProcDir()
int com.gams.api.GAMSOptions.getMaxProcDir | ( | ) |
get Maximum number of 225* process directories
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMCP()
String com.gams.api.GAMSOptions.getMCP | ( | ) |
get default MCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMINLP()
String com.gams.api.GAMSOptions.getMINLP | ( | ) |
get default MINLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMIP()
String com.gams.api.GAMSOptions.getMIP | ( | ) |
get default MIP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMIQCP()
String com.gams.api.GAMSOptions.getMIQCP | ( | ) |
get default MIQCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMPEC()
String com.gams.api.GAMSOptions.getMPEC | ( | ) |
get default MPEC solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getMulti()
String com.gams.api.GAMSOptions.getMulti | ( | ) |
get Switch default for "$on/offMulti[R]"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getNLP()
String com.gams.api.GAMSOptions.getNLP | ( | ) |
get default NLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getNodLim()
int com.gams.api.GAMSOptions.getNodLim | ( | ) |
get Node limit in branch and bound tree
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getNoNewVarEqu()
GAMSOptions.ENoNewVarEqu com.gams.api.GAMSOptions.getNoNewVarEqu | ( | ) |
get Triggers a compilation error when new equations or variable symbols are introduced
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getOn115()
GAMSOptions.EOn115 com.gams.api.GAMSOptions.getOn115 | ( | ) |
get Generate errors for unknown unique element in an equation
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getOptCA()
double com.gams.api.GAMSOptions.getOptCA | ( | ) |
get Absolute Optimality criterion solver default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getOptCR()
double com.gams.api.GAMSOptions.getOptCR | ( | ) |
get Relative Optimality criterion solver default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getOptDir()
String com.gams.api.GAMSOptions.getOptDir | ( | ) |
get Option file directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getOptFile()
int com.gams.api.GAMSOptions.getOptFile | ( | ) |
get Default option file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getOutput()
String com.gams.api.GAMSOptions.getOutput | ( | ) |
get Listing file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPageContr()
GAMSOptions.EPageContr com.gams.api.GAMSOptions.getPageContr | ( | ) |
get Output file page control option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPageSize()
int com.gams.api.GAMSOptions.getPageSize | ( | ) |
get Output file page size (=0 no paging)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPageWidth()
int com.gams.api.GAMSOptions.getPageWidth | ( | ) |
get Output file page width
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPLicense()
String com.gams.api.GAMSOptions.getPLicense | ( | ) |
get Privacy license file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPrefixLoadPath()
GAMSOptions.EPrefixLoadPath com.gams.api.GAMSOptions.getPrefixLoadPath | ( | ) |
get Prepend GAMS system directory to library load path
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPreviousWork()
GAMSOptions.EPreviousWork com.gams.api.GAMSOptions.getPreviousWork | ( | ) |
get Indicator for writing workfile with previous workfile version
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getProcTreeMemMonitor()
GAMSOptions.EProcTreeMemMonitor com.gams.api.GAMSOptions.getProcTreeMemMonitor | ( | ) |
get Monitor the memory used by the GAMS process tree
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getProcTreeMemTicks()
int com.gams.api.GAMSOptions.getProcTreeMemTicks | ( | ) |
get Set wait interval between memory monitor checks: ticks = milliseconds
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getProfile()
int com.gams.api.GAMSOptions.getProfile | ( | ) |
get Execution profiling
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getProfileFile()
String com.gams.api.GAMSOptions.getProfileFile | ( | ) |
get Write profile information to this file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getProfileTol()
double com.gams.api.GAMSOptions.getProfileTol | ( | ) |
get Minimum time a statement must use to appear in profile generated output
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPutDir()
String com.gams.api.GAMSOptions.getPutDir | ( | ) |
get Put file directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPutND()
int com.gams.api.GAMSOptions.getPutND | ( | ) |
get Number of decimals for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPutNR()
GAMSOptions.EPutNR com.gams.api.GAMSOptions.getPutNR | ( | ) |
get Numeric round format for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPutPS()
int com.gams.api.GAMSOptions.getPutPS | ( | ) |
get Page size for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPutPW()
int com.gams.api.GAMSOptions.getPutPW | ( | ) |
get Page width for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getPyMultInst()
GAMSOptions.EPyMultInst com.gams.api.GAMSOptions.getPyMultInst | ( | ) |
get GAMS/Python Multiple Instance Interpreter
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getQCP()
String com.gams.api.GAMSOptions.getQCP | ( | ) |
get default QCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getReference()
String com.gams.api.GAMSOptions.getReference | ( | ) |
get Symbol reference file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getReferenceLineNo()
GAMSOptions.EReferenceLineNo com.gams.api.GAMSOptions.getReferenceLineNo | ( | ) |
get Controls the line numbers written to a reference file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getResLim()
double com.gams.api.GAMSOptions.getResLim | ( | ) |
get Wall-clock time limit for solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getRMINLP()
String com.gams.api.GAMSOptions.getRMINLP | ( | ) |
get default RMINLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getRMIP()
String com.gams.api.GAMSOptions.getRMIP | ( | ) |
get default RMIP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getRMIQCP()
String com.gams.api.GAMSOptions.getRMIQCP | ( | ) |
get default RMIQCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getRMPEC()
String com.gams.api.GAMSOptions.getRMPEC | ( | ) |
get default RMPEC solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSavePoint()
GAMSOptions.ESavePoint com.gams.api.GAMSOptions.getSavePoint | ( | ) |
get Save solver point in GDX file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getScriptExit()
String com.gams.api.GAMSOptions.getScriptExit | ( | ) |
get Program or script to be executed at the end of a GAMS run
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSeed()
int com.gams.api.GAMSOptions.getSeed | ( | ) |
get Random number seed
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSelectedSolvers()
String com.gams.api.GAMSOptions.getSelectedSolvers | ( | int | index | ) |
get selected solvers
◆ getShowOSMemory()
GAMSOptions.EShowOSMemory com.gams.api.GAMSOptions.getShowOSMemory | ( | ) |
get Show the memory usage reported by the Operating System instead of the internal counting
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSolPrint()
GAMSOptions.ESolPrint com.gams.api.GAMSOptions.getSolPrint | ( | ) |
get Solution report print option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSolveLink()
GAMSOptions.ESolveLink com.gams.api.GAMSOptions.getSolveLink | ( | ) |
get Solver link option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getStepSum()
GAMSOptions.EStepSum com.gams.api.GAMSOptions.getStepSum | ( | ) |
get Summary of computing resources used by job steps
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getstrictSingleton()
GAMSOptions.EstrictSingleton com.gams.api.GAMSOptions.getstrictSingleton | ( | ) |
get Error if assignment to singleton set has multiple elements
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getStringChk()
GAMSOptions.EStringChk com.gams.api.GAMSOptions.getStringChk | ( | ) |
get String substitution options
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSuffixAlgebraVars()
GAMSOptions.ESuffixAlgebraVars com.gams.api.GAMSOptions.getSuffixAlgebraVars | ( | ) |
get Switch default for "$on/offSuffixAlgebraVars"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSuffixDLVars()
GAMSOptions.ESuffixDLVars com.gams.api.GAMSOptions.getSuffixDLVars | ( | ) |
get Switch default for "$on/offSuffixDLVars"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSuppress()
GAMSOptions.ESuppress com.gams.api.GAMSOptions.getSuppress | ( | ) |
get Compiler listing option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSymbol()
String com.gams.api.GAMSOptions.getSymbol | ( | ) |
get Symbol table file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSymPrefix()
String com.gams.api.GAMSOptions.getSymPrefix | ( | ) |
get Prefix all symbols encountered during compilation by the specified string in work file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSys10()
GAMSOptions.ESys10 com.gams.api.GAMSOptions.getSys10 | ( | ) |
get Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSys11()
GAMSOptions.ESys11 com.gams.api.GAMSOptions.getSys11 | ( | ) |
get Dynamic resorting if indices in assignment/data statements are not in natural order
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSys12()
int com.gams.api.GAMSOptions.getSys12 | ( | ) |
get Pass model with generation errors to solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSysIncDir()
String com.gams.api.GAMSOptions.getSysIncDir | ( | ) |
get SysInclude directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getSysOut()
GAMSOptions.ESysOut com.gams.api.GAMSOptions.getSysOut | ( | ) |
get Solver Status file reporting option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getTabIn()
int com.gams.api.GAMSOptions.getTabIn | ( | ) |
get Tab spacing
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getTFormat()
GAMSOptions.ETFormat com.gams.api.GAMSOptions.getTFormat | ( | ) |
get Time format
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getThreads()
int com.gams.api.GAMSOptions.getThreads | ( | ) |
get Number of threads to be used by a solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getThreadsAsync()
int com.gams.api.GAMSOptions.getThreadsAsync | ( | ) |
get Limit on number of threads to be used for asynchronous solves (solveLink=6)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getTimer()
int com.gams.api.GAMSOptions.getTimer | ( | ) |
get Instruction timer threshold in milli seconds
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getTrace()
String com.gams.api.GAMSOptions.getTrace | ( | ) |
get Trace file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getTraceLevel()
int com.gams.api.GAMSOptions.getTraceLevel | ( | ) |
get Modelstat/Solvestat threshold used in conjunction with action=GT
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getTraceOpt()
GAMSOptions.ETraceOpt com.gams.api.GAMSOptions.getTraceOpt | ( | ) |
get Trace file format option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getUser1()
String com.gams.api.GAMSOptions.getUser1 | ( | ) |
get User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getUser2()
String com.gams.api.GAMSOptions.getUser2 | ( | ) |
get User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getUser3()
String com.gams.api.GAMSOptions.getUser3 | ( | ) |
get User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getUser4()
String com.gams.api.GAMSOptions.getUser4 | ( | ) |
get User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getUser5()
String com.gams.api.GAMSOptions.getUser5 | ( | ) |
get User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getWarnings()
int com.gams.api.GAMSOptions.getWarnings | ( | ) |
get Number of warnings permitted before a run terminates
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getWorkFactor()
double com.gams.api.GAMSOptions.getWorkFactor | ( | ) |
get Memory Estimate multiplier for some solvers
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getWorkSpace()
double com.gams.api.GAMSOptions.getWorkSpace | ( | ) |
get Work space for some solvers in MB
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getZeroRes()
double com.gams.api.GAMSOptions.getZeroRes | ( | ) |
get The results of certain operations will be set to zero if abs(result) LE ZeroRes
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ getZeroResRep()
GAMSOptions.EZeroResRep com.gams.api.GAMSOptions.getZeroResRep | ( | ) |
get Report underflow as a warning when abs(results) LE ZeroRes and result set to zero
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ isDefinitionEmpty()
boolean com.gams.api.GAMSOptions.isDefinitionEmpty | ( | ) |
check if the list of GAMS Dash options dictionaries is empty
◆ isIDirEmpty()
boolean com.gams.api.GAMSOptions.isIDirEmpty | ( | ) |
check if the list of input file directories is empty
◆ readFromStr()
void com.gams.api.GAMSOptions.readFromStr | ( | String | str | ) |
read from string
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed,, therefore resources are no longer available..
◆ ResetToDefault()
void com.gams.api.GAMSOptions.ResetToDefault | ( | ) |
Reset all GAMS options to default.
◆ setAction()
void com.gams.api.GAMSOptions.setAction | ( | GAMSOptions.EAction | x | ) |
set GAMS processing request
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setAllModelTypes()
void com.gams.api.GAMSOptions.setAllModelTypes | ( | String | value | ) |
Set default solver for all model types which the solver can handle.
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setAllSelectedSolvers()
void com.gams.api.GAMSOptions.setAllSelectedSolvers | ( | List< String > | solvers | ) |
set all selected solvers
◆ setAppendExpand()
void com.gams.api.GAMSOptions.setAppendExpand | ( | GAMSOptions.EAppendExpand | x | ) |
set Expand file append option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setAppendOut()
void com.gams.api.GAMSOptions.setAppendOut | ( | GAMSOptions.EAppendOut | x | ) |
set Output file append option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setAsyncSolLst()
void com.gams.api.GAMSOptions.setAsyncSolLst | ( | GAMSOptions.EAsyncSolLst | x | ) |
set Print solution listing when asynchronous solve (Grid or Threads) is used
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setBratio()
void com.gams.api.GAMSOptions.setBratio | ( | double | x | ) |
set Basis detection threshold
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setCaptureModelInstance()
void com.gams.api.GAMSOptions.setCaptureModelInstance | ( | GAMSOptions.ECaptureModelInstance | x | ) |
set Switch to capture all model instances within a run
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setCase()
void com.gams.api.GAMSOptions.setCase | ( | GAMSOptions.ECase | x | ) |
set Output case option for LST file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setCErr()
void com.gams.api.GAMSOptions.setCErr | ( | int | x | ) |
set Compile time error limit
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setCharSet()
void com.gams.api.GAMSOptions.setCharSet | ( | GAMSOptions.ECharSet | x | ) |
set Character set flag
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setCheckErrorLevel()
void com.gams.api.GAMSOptions.setCheckErrorLevel | ( | GAMSOptions.ECheckErrorLevel | x | ) |
set Check errorLevel automatically after executing external program
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setCNS()
void com.gams.api.GAMSOptions.setCNS | ( | String | x | ) |
set default CNS solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDecryptKey()
void com.gams.api.GAMSOptions.setDecryptKey | ( | String | x | ) |
set Key to decrypt a text file that was encrypted via $encrypt
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDFormat()
void com.gams.api.GAMSOptions.setDFormat | ( | GAMSOptions.EDFormat | x | ) |
set Date format
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDigit()
void com.gams.api.GAMSOptions.setDigit | ( | GAMSOptions.EDigit | x | ) |
set Switch default for "$on/offDigit"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDNLP()
void com.gams.api.GAMSOptions.setDNLP | ( | String | x | ) |
set default DNLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDomLim()
void com.gams.api.GAMSOptions.setDomLim | ( | int | x | ) |
set Domain violation limit solver default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDumpOpt()
void com.gams.api.GAMSOptions.setDumpOpt | ( | GAMSOptions.EDumpOpt | x | ) |
set Writes preprocessed input to the file input.dmp
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDumpOptGDX()
void com.gams.api.GAMSOptions.setDumpOptGDX | ( | String | x | ) |
set Defines a GDX file name stem created when using DumpOpt
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDumpParms()
void com.gams.api.GAMSOptions.setDumpParms | ( | GAMSOptions.EDumpParms | x | ) |
set GAMS parameter logging
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setDumpParmsLogPrefix()
void com.gams.api.GAMSOptions.setDumpParmsLogPrefix | ( | String | x | ) |
set Prefix of lines triggered by DumpParms>1
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setECImplicitLoad()
void com.gams.api.GAMSOptions.setECImplicitLoad | ( | GAMSOptions.EECImplicitLoad | x | ) |
set Allow implicit loading of symbols from embedded code or not
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setEMP()
void com.gams.api.GAMSOptions.setEMP | ( | String | x | ) |
set default EMP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setEmpty()
void com.gams.api.GAMSOptions.setEmpty | ( | GAMSOptions.EEmpty | x | ) |
set Switch default for "$on/offEmpty"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setEncryptKey()
void com.gams.api.GAMSOptions.setEncryptKey | ( | String | x | ) |
set Key to encrypt a text file using $encrypt
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setEolCom()
void com.gams.api.GAMSOptions.setEolCom | ( | String | x | ) |
set Switch default for "$on/offEolCom" and "$eolCom"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setErrMsg()
void com.gams.api.GAMSOptions.setErrMsg | ( | GAMSOptions.EErrMsg | x | ) |
set Placing of compilation error messages
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setErrorLog()
void com.gams.api.GAMSOptions.setErrorLog | ( | int | x | ) |
set Max error message lines written to the log for each error
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setETLim()
void com.gams.api.GAMSOptions.setETLim | ( | double | x | ) |
set Elapsed time limit in seconds
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setExecMode()
void com.gams.api.GAMSOptions.setExecMode | ( | GAMSOptions.EExecMode | x | ) |
set Limits on external programs that are allowed to be executed
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setExpand()
void com.gams.api.GAMSOptions.setExpand | ( | String | x | ) |
set Expanded (include) input file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFDDelta()
void com.gams.api.GAMSOptions.setFDDelta | ( | double | x | ) |
set Step size for finite differences
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFDOpt()
void com.gams.api.GAMSOptions.setFDOpt | ( | GAMSOptions.EFDOpt | x | ) |
set Options for finite differences
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFErr()
void com.gams.api.GAMSOptions.setFErr | ( | String | x | ) |
set Alternative error message file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFileCase()
void com.gams.api.GAMSOptions.setFileCase | ( | GAMSOptions.EFileCase | x | ) |
set Casing of file names and paths (put, gdx, ref, $include, etc.)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFileStem()
void com.gams.api.GAMSOptions.setFileStem | ( | String | x | ) |
set Sets the file stem for output files which use the input file name as stem by default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFileStemApFromEnv()
void com.gams.api.GAMSOptions.setFileStemApFromEnv | ( | String | x | ) |
set Append a string read from an environment variable to the "FileStem"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFiltered()
void com.gams.api.GAMSOptions.setFiltered | ( | GAMSOptions.EFiltered | x | ) |
set Switch default for "$on/offFiltered"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setForceOptFile()
void com.gams.api.GAMSOptions.setForceOptFile | ( | int | x | ) |
set Overwrites other option file section mechanism
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setForceWork()
void com.gams.api.GAMSOptions.setForceWork | ( | GAMSOptions.EForceWork | x | ) |
set Force GAMS to process a save file created with a newer GAMS version or with execution errors
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setForLim()
void com.gams.api.GAMSOptions.setForLim | ( | int | x | ) |
set GAMS looping limit
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setFreeEmbeddedPython()
void com.gams.api.GAMSOptions.setFreeEmbeddedPython | ( | GAMSOptions.EFreeEmbeddedPython | x | ) |
set Free external resources at the end of each embedded Python code blocks
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setGDX()
void com.gams.api.GAMSOptions.setGDX | ( | String | gdxFileName | ) |
set Gams data exchange file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setgdxCompress()
void com.gams.api.GAMSOptions.setgdxCompress | ( | GAMSOptions.EgdxCompress | x | ) |
set Compression of generated GDX file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setgdxConvert()
void com.gams.api.GAMSOptions.setgdxConvert | ( | GAMSOptions.EgdxConvert | x | ) |
set Version of GDX files generated (for backward compatibility)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setgdxUels()
void com.gams.api.GAMSOptions.setgdxUels | ( | GAMSOptions.EgdxUels | x | ) |
set Unload labels or UELs to GDX either squeezed or full
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setGridDir()
void com.gams.api.GAMSOptions.setGridDir | ( | String | x | ) |
set Grid file directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setGridScript()
void com.gams.api.GAMSOptions.setGridScript | ( | String | x | ) |
set Grid submission script
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setHeapLimit()
void com.gams.api.GAMSOptions.setHeapLimit | ( | double | x | ) |
set Maximum Heap size allowed in MB
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setHoldFixed()
void com.gams.api.GAMSOptions.setHoldFixed | ( | GAMSOptions.EHoldFixed | x | ) |
set Treat fixed variables as constants
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setHoldFixedAsync()
void com.gams.api.GAMSOptions.setHoldFixedAsync | ( | GAMSOptions.EHoldFixedAsync | x | ) |
set Allow HoldFixed for models solved asynchronously as well
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setIDCGDXInput()
void com.gams.api.GAMSOptions.setIDCGDXInput | ( | String | x | ) |
set GDX file name with data for implicit input
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setIDCGDXOutput()
void com.gams.api.GAMSOptions.setIDCGDXOutput | ( | String | x | ) |
set GDX file name for data for implicit output
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInlineCom()
void com.gams.api.GAMSOptions.setInlineCom | ( | String | x | ) |
set Switch default for "$on/offInline" and "$inlineCom"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInteger1()
void com.gams.api.GAMSOptions.setInteger1 | ( | int | x | ) |
set Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInteger2()
void com.gams.api.GAMSOptions.setInteger2 | ( | int | x | ) |
set Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInteger3()
void com.gams.api.GAMSOptions.setInteger3 | ( | int | x | ) |
set Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInteger4()
void com.gams.api.GAMSOptions.setInteger4 | ( | int | x | ) |
set Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInteger5()
void com.gams.api.GAMSOptions.setInteger5 | ( | int | x | ) |
set Integer communication cell N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setInteractiveSolver()
void com.gams.api.GAMSOptions.setInteractiveSolver | ( | GAMSOptions.EInteractiveSolver | x | ) |
set Allow solver to interact via command line input
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setIntVarUp()
void com.gams.api.GAMSOptions.setIntVarUp | ( | GAMSOptions.EIntVarUp | x | ) |
set Set mode for default upper bounds on integer variables
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setIterLim()
void com.gams.api.GAMSOptions.setIterLim | ( | int | x | ) |
set Iteration limit of solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setJobTrace()
void com.gams.api.GAMSOptions.setJobTrace | ( | String | x | ) |
set Job trace string to be written to the trace file at the end of a GAMS job
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setKeep()
void com.gams.api.GAMSOptions.setKeep | ( | GAMSOptions.EKeep | x | ) |
set Controls keeping or deletion of process directory and scratch files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLibIncDir()
void com.gams.api.GAMSOptions.setLibIncDir | ( | String | x | ) |
set LibInclude directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLicense()
void com.gams.api.GAMSOptions.setLicense | ( | String | x | ) |
set Use alternative license file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLimCol()
void com.gams.api.GAMSOptions.setLimCol | ( | int | x | ) |
set Maximum number of columns listed in one variable block
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLimRow()
void com.gams.api.GAMSOptions.setLimRow | ( | int | x | ) |
set Maximum number of rows listed in one equation block
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setListing()
void com.gams.api.GAMSOptions.setListing | ( | GAMSOptions.EListing | x | ) |
set Switch default for "$on/offListing"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLogLine()
void com.gams.api.GAMSOptions.setLogLine | ( | GAMSOptions.ELogLine | x | ) |
set Amount of line tracing to the log file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLP()
void com.gams.api.GAMSOptions.setLP | ( | String | x | ) |
set default LP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setLstTitleLeftAligned()
void com.gams.api.GAMSOptions.setLstTitleLeftAligned | ( | GAMSOptions.ELstTitleLeftAligned | x | ) |
set Write title of LST file all left aligned
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMaxExecError()
void com.gams.api.GAMSOptions.setMaxExecError | ( | int | x | ) |
set Execution time error limit
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMaxProcDir()
void com.gams.api.GAMSOptions.setMaxProcDir | ( | int | x | ) |
set Maximum number of 225* process directories
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMCP()
void com.gams.api.GAMSOptions.setMCP | ( | String | x | ) |
set default MCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMINLP()
void com.gams.api.GAMSOptions.setMINLP | ( | String | x | ) |
set default MINLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMIP()
void com.gams.api.GAMSOptions.setMIP | ( | String | x | ) |
set default MIP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMIQCP()
void com.gams.api.GAMSOptions.setMIQCP | ( | String | x | ) |
set default MIQCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setModelTypesForSolvers()
void com.gams.api.GAMSOptions.setModelTypesForSolvers | ( | ) |
Set default solver for all model types which the solver can handle.
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMPEC()
void com.gams.api.GAMSOptions.setMPEC | ( | String | x | ) |
set default MPEC solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setMulti()
void com.gams.api.GAMSOptions.setMulti | ( | String | x | ) |
set Switch default for "$on/offMulti[R]"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setNLP()
void com.gams.api.GAMSOptions.setNLP | ( | String | x | ) |
set default NLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setNodLim()
void com.gams.api.GAMSOptions.setNodLim | ( | int | x | ) |
set Node limit in branch and bound tree
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setNoNewVarEqu()
void com.gams.api.GAMSOptions.setNoNewVarEqu | ( | GAMSOptions.ENoNewVarEqu | x | ) |
set Triggers a compilation error when new equations or variable symbols are introduced
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setOn115()
void com.gams.api.GAMSOptions.setOn115 | ( | GAMSOptions.EOn115 | x | ) |
set Generate errors for unknown unique element in an equation
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setOptCA()
void com.gams.api.GAMSOptions.setOptCA | ( | double | x | ) |
set Absolute Optimality criterion solver default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setOptCR()
void com.gams.api.GAMSOptions.setOptCR | ( | double | x | ) |
set Relative Optimality criterion solver default
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setOptDir()
void com.gams.api.GAMSOptions.setOptDir | ( | String | x | ) |
set Option file directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setOptFile()
void com.gams.api.GAMSOptions.setOptFile | ( | int | x | ) |
set Default option file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setOutput()
void com.gams.api.GAMSOptions.setOutput | ( | String | x | ) |
set Listing file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPageContr()
void com.gams.api.GAMSOptions.setPageContr | ( | GAMSOptions.EPageContr | x | ) |
set Output file page control option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPageSize()
void com.gams.api.GAMSOptions.setPageSize | ( | int | x | ) |
set Output file page size (=0 no paging)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPageWidth()
void com.gams.api.GAMSOptions.setPageWidth | ( | int | x | ) |
set Output file page width
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPLicense()
void com.gams.api.GAMSOptions.setPLicense | ( | String | x | ) |
set Privacy license file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPrefixLoadPath()
void com.gams.api.GAMSOptions.setPrefixLoadPath | ( | GAMSOptions.EPrefixLoadPath | x | ) |
set Prepend GAMS system directory to library load path
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPreviousWork()
void com.gams.api.GAMSOptions.setPreviousWork | ( | GAMSOptions.EPreviousWork | x | ) |
set Indicator for writing workfile with previous workfile version
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setProcTreeMemMonitor()
void com.gams.api.GAMSOptions.setProcTreeMemMonitor | ( | GAMSOptions.EProcTreeMemMonitor | x | ) |
set Monitor the memory used by the GAMS process tree
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setProcTreeMemTicks()
void com.gams.api.GAMSOptions.setProcTreeMemTicks | ( | int | x | ) |
set Set wait interval between memory monitor checks: ticks = milliseconds
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setProfile()
void com.gams.api.GAMSOptions.setProfile | ( | int | x | ) |
set Execution profiling
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setProfileFile()
void com.gams.api.GAMSOptions.setProfileFile | ( | String | x | ) |
set Write profile information to this file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setProfileTol()
void com.gams.api.GAMSOptions.setProfileTol | ( | double | x | ) |
set Minimum time a statement must use to appear in profile generated output
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPutDir()
void com.gams.api.GAMSOptions.setPutDir | ( | String | x | ) |
set Put file directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPutND()
void com.gams.api.GAMSOptions.setPutND | ( | int | x | ) |
set Number of decimals for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPutNR()
void com.gams.api.GAMSOptions.setPutNR | ( | GAMSOptions.EPutNR | x | ) |
set Numeric round format for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPutPS()
void com.gams.api.GAMSOptions.setPutPS | ( | int | x | ) |
set Page size for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPutPW()
void com.gams.api.GAMSOptions.setPutPW | ( | int | x | ) |
set Page width for put files
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setPyMultInst()
void com.gams.api.GAMSOptions.setPyMultInst | ( | GAMSOptions.EPyMultInst | x | ) |
set GAMS/Python Multiple Instance Interpreter
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setQCP()
void com.gams.api.GAMSOptions.setQCP | ( | String | x | ) |
set default QCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setReference()
void com.gams.api.GAMSOptions.setReference | ( | String | x | ) |
set Symbol reference file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setReferenceLineNo()
void com.gams.api.GAMSOptions.setReferenceLineNo | ( | GAMSOptions.EReferenceLineNo | x | ) |
set Controls the line numbers written to a reference file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setResLim()
void com.gams.api.GAMSOptions.setResLim | ( | double | x | ) |
set Wall-clock time limit for solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setRMINLP()
void com.gams.api.GAMSOptions.setRMINLP | ( | String | x | ) |
set default RMINLP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setRMIP()
void com.gams.api.GAMSOptions.setRMIP | ( | String | x | ) |
set default RMIP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setRMIQCP()
void com.gams.api.GAMSOptions.setRMIQCP | ( | String | x | ) |
set default RMIQCP solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setRMPEC()
void com.gams.api.GAMSOptions.setRMPEC | ( | String | x | ) |
set default RMPEC solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSavePoint()
void com.gams.api.GAMSOptions.setSavePoint | ( | GAMSOptions.ESavePoint | x | ) |
set Save solver point in GDX file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setScriptExit()
void com.gams.api.GAMSOptions.setScriptExit | ( | String | x | ) |
set Program or script to be executed at the end of a GAMS run
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSeed()
void com.gams.api.GAMSOptions.setSeed | ( | int | x | ) |
set Random number seed
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setShowOSMemory()
void com.gams.api.GAMSOptions.setShowOSMemory | ( | GAMSOptions.EShowOSMemory | x | ) |
set Show the memory usage reported by the Operating System instead of the internal counting
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSolPrint()
void com.gams.api.GAMSOptions.setSolPrint | ( | GAMSOptions.ESolPrint | x | ) |
set Solution report print option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSolveLink()
void com.gams.api.GAMSOptions.setSolveLink | ( | GAMSOptions.ESolveLink | x | ) |
set Solver link option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSolversOptions()
void com.gams.api.GAMSOptions.setSolversOptions | ( | List< String > | solvers | ) |
set all selected solvers
◆ setStepSum()
void com.gams.api.GAMSOptions.setStepSum | ( | GAMSOptions.EStepSum | x | ) |
set Summary of computing resources used by job steps
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setstrictSingleton()
void com.gams.api.GAMSOptions.setstrictSingleton | ( | GAMSOptions.EstrictSingleton | x | ) |
set Error if assignment to singleton set has multiple elements
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setStringChk()
void com.gams.api.GAMSOptions.setStringChk | ( | GAMSOptions.EStringChk | x | ) |
set String substitution options
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSuffixAlgebraVars()
void com.gams.api.GAMSOptions.setSuffixAlgebraVars | ( | GAMSOptions.ESuffixAlgebraVars | x | ) |
set Switch default for "$on/offSuffixAlgebraVars"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSuffixDLVars()
void com.gams.api.GAMSOptions.setSuffixDLVars | ( | GAMSOptions.ESuffixDLVars | x | ) |
set Switch default for "$on/offSuffixDLVars"
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSuppress()
void com.gams.api.GAMSOptions.setSuppress | ( | GAMSOptions.ESuppress | x | ) |
set Compiler listing option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSymbol()
void com.gams.api.GAMSOptions.setSymbol | ( | String | x | ) |
set Symbol table file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSymPrefix()
void com.gams.api.GAMSOptions.setSymPrefix | ( | String | x | ) |
set Prefix all symbols encountered during compilation by the specified string in work file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSys10()
void com.gams.api.GAMSOptions.setSys10 | ( | GAMSOptions.ESys10 | x | ) |
set Changes rpower to ipower when the exponent is constant and within 1e-12 of an integer
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSys11()
void com.gams.api.GAMSOptions.setSys11 | ( | GAMSOptions.ESys11 | x | ) |
set Dynamic resorting if indices in assignment/data statements are not in natural order
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSys12()
void com.gams.api.GAMSOptions.setSys12 | ( | int | x | ) |
set Pass model with generation errors to solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSysIncDir()
void com.gams.api.GAMSOptions.setSysIncDir | ( | String | x | ) |
set SysInclude directory
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setSysOut()
void com.gams.api.GAMSOptions.setSysOut | ( | GAMSOptions.ESysOut | x | ) |
set Solver Status file reporting option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setTabIn()
void com.gams.api.GAMSOptions.setTabIn | ( | int | x | ) |
set Tab spacing
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setTFormat()
void com.gams.api.GAMSOptions.setTFormat | ( | GAMSOptions.ETFormat | x | ) |
set Time format
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setThreads()
void com.gams.api.GAMSOptions.setThreads | ( | int | x | ) |
set Number of threads to be used by a solver
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setThreadsAsync()
void com.gams.api.GAMSOptions.setThreadsAsync | ( | int | x | ) |
set Limit on number of threads to be used for asynchronous solves (solveLink=6)
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setTimer()
void com.gams.api.GAMSOptions.setTimer | ( | int | x | ) |
set Instruction timer threshold in milli seconds
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setTrace()
void com.gams.api.GAMSOptions.setTrace | ( | String | x | ) |
set Trace file name
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setTraceLevel()
void com.gams.api.GAMSOptions.setTraceLevel | ( | int | x | ) |
set Modelstat/Solvestat threshold used in conjunction with action=GT
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setTraceOpt()
void com.gams.api.GAMSOptions.setTraceOpt | ( | GAMSOptions.ETraceOpt | x | ) |
set Trace file format option
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setUser1()
void com.gams.api.GAMSOptions.setUser1 | ( | String | x | ) |
set User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setUser2()
void com.gams.api.GAMSOptions.setUser2 | ( | String | x | ) |
set User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setUser3()
void com.gams.api.GAMSOptions.setUser3 | ( | String | x | ) |
set User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setUser4()
void com.gams.api.GAMSOptions.setUser4 | ( | String | x | ) |
set User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setUser5()
void com.gams.api.GAMSOptions.setUser5 | ( | String | x | ) |
set User string N
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setWarnings()
void com.gams.api.GAMSOptions.setWarnings | ( | int | x | ) |
set Number of warnings permitted before a run terminates
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setWorkFactor()
void com.gams.api.GAMSOptions.setWorkFactor | ( | double | x | ) |
set Memory Estimate multiplier for some solvers
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setWorkSpace()
void com.gams.api.GAMSOptions.setWorkSpace | ( | double | x | ) |
set Work space for some solvers in MB
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setZeroRes()
void com.gams.api.GAMSOptions.setZeroRes | ( | double | x | ) |
set The results of certain operations will be set to zero if abs(result) LE ZeroRes
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ setZeroResRep()
void com.gams.api.GAMSOptions.setZeroResRep | ( | GAMSOptions.EZeroResRep | x | ) |
set Report underflow as a warning when abs(results) LE ZeroRes and result set to zero
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available.
◆ writeParameterFile()
int com.gams.api.GAMSOptions.writeParameterFile | ( | String | fileName | ) |
write parameter file
- Exceptions
-
GAMSException If this GAMSOptions instance has already been disposed, therefore resources are no longer available..
Member Data Documentation
◆ definitions
Map<String, String> com.gams.api.GAMSOptions.definitions = null |
Dictionaries for GAMS Dash options.
◆ IDir
List<String> com.gams.api.GAMSOptions.IDir = null |
Input file directories (up to 40 are allowed)