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  ECase
 Output case option for LST file. More...
 
enum  ECharSet
 Character set flag. More...
 
enum  EDFormat
 Date format. More...
 
enum  EDumpOpt
 Writes preprocessed input to the file input.dmp. More...
 
enum  EDumpParms
 GAMS parameter logging. 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 new file names (put, gdx, ref etc.) More...
 
enum  EForceWork
 Force GAMS systems to process save files for example with an execution error. 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  EInteractiveSolver
 Allow solver to interact via command line input. More...
 
enum  EIntVarUp
 Set default upper bound on integer variables. More...
 
enum  EKeep
 Controls keeping or deletion of process directory and scratch files. More...
 
enum  ELogLine
 Amount of line tracing to the log file. 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  EPyMultInst
 GAMS/Python Multiple Instance Interpreter. More...
 
enum  EPySetup
 GAMS/Python Setup. More...
 
enum  ESavePoint
 Save solver point in GDX file. 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  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...
 
String getOutput ()
 get Listing file name More...
 
void setOutput (String x)
 set Listing file name More...
 
String getSymbol ()
 get Symbol table file More...
 
void setSymbol (String x)
 set Symbol table file More...
 
String getExpand ()
 get Expanded (include) input file name More...
 
void setExpand (String x)
 set Expanded (include) input file name More...
 
int getPageWidth ()
 get Output file page width More...
 
void setPageWidth (int x)
 set Output file page width 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...
 
GAMSOptions.EPageContr getPageContr ()
 get Output file page control option More...
 
void setPageContr (GAMSOptions.EPageContr x)
 set Output file page control option More...
 
GAMSOptions.EAction getAction ()
 get GAMS processing request More...
 
void setAction (GAMSOptions.EAction x)
 set GAMS processing request More...
 
String getPutDir ()
 get Put file directory More...
 
void setPutDir (String x)
 set Put file directory More...
 
String getGridDir ()
 get Grid file directory More...
 
void setGridDir (String x)
 set Grid file directory 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...
 
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...
 
String getTrace ()
 get Trace file name More...
 
void setTrace (String x)
 set Trace file name More...
 
GAMSOptions.EAppendOut getAppendOut ()
 get Output file append option More...
 
void setAppendOut (GAMSOptions.EAppendOut x)
 set Output file append 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.ESuppress getSuppress ()
 get Compiler listing option More...
 
void setSuppress (GAMSOptions.ESuppress x)
 set Compiler listing option More...
 
GAMSOptions.EDFormat getDFormat ()
 get Date format More...
 
void setDFormat (GAMSOptions.EDFormat x)
 set Date format More...
 
GAMSOptions.ETFormat getTFormat ()
 get Time format More...
 
void setTFormat (GAMSOptions.ETFormat x)
 set Time format More...
 
int getTabIn ()
 get Tab spacing More...
 
void setTabIn (int x)
 set Tab spacing More...
 
GAMSOptions.EIntVarUp getIntVarUp ()
 get Set default upper bound on integer variables More...
 
void setIntVarUp (GAMSOptions.EIntVarUp x)
 set Set default upper bound on integer variables 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...
 
String getLicense ()
 get Use alternative license file More...
 
void setLicense (String x)
 set Use alternative license file More...
 
GAMSOptions.EDumpParms getDumpParms ()
 get GAMS parameter logging More...
 
void setDumpParms (GAMSOptions.EDumpParms x)
 set GAMS parameter logging More...
 
int getProfile ()
 get Execution profiling More...
 
void setProfile (int x)
 set Execution profiling More...
 
String getLibIncDir ()
 get LibInclude directory More...
 
void setLibIncDir (String x)
 set LibInclude directory More...
 
String getSysIncDir ()
 get SysInclude directory More...
 
void setSysIncDir (String x)
 set SysInclude directory 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...
 
GAMSOptions.EForceWork getForceWork ()
 get Force GAMS systems to process save files for example with an execution error More...
 
void setForceWork (GAMSOptions.EForceWork x)
 set Force GAMS systems to process save files for example with an execution error More...
 
int getCErr ()
 get Compile time error limit More...
 
void setCErr (int x)
 set Compile time error limit More...
 
String getFErr ()
 get Alternative error message file More...
 
void setFErr (String x)
 set Alternative error message file More...
 
int getOptFile ()
 get Default option file More...
 
void setOptFile (int x)
 set Default option file 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...
 
GAMSOptions.EErrMsg getErrMsg ()
 get Placing of compilation error messages More...
 
void setErrMsg (GAMSOptions.EErrMsg x)
 set Placing of compilation error messages More...
 
GAMSOptions.EStringChk getStringChk ()
 get String substitution options More...
 
void setStringChk (GAMSOptions.EStringChk x)
 set String substitution options More...
 
String getReference ()
 get Symbol reference file More...
 
void setReference (String x)
 set Symbol reference file More...
 
String getOptDir ()
 get Option file directory More...
 
void setOptDir (String x)
 set Option file directory More...
 
int getExecErr ()
 get Execution time error limit More...
 
void setExecErr (int x)
 set Execution time error limit 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...
 
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...
 
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...
 
GAMSOptions.ECharSet getCharSet ()
 get Character set flag More...
 
void setCharSet (GAMSOptions.ECharSet x)
 set Character set flag 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...
 
GAMSOptions.ETraceOpt getTraceOpt ()
 get Trace file format option More...
 
void setTraceOpt (GAMSOptions.ETraceOpt x)
 set Trace file format option More...
 
int getIterLim ()
 get Iteration limit of solver More...
 
void setIterLim (int x)
 set Iteration limit of solver More...
 
int getDomLim ()
 get Domain violation limit solver default More...
 
void setDomLim (int x)
 set Domain violation limit solver default More...
 
double getResLim ()
 get Wall-clock time limit for solver More...
 
void setResLim (double x)
 set Wall-clock time limit for solver More...
 
double getOptCR ()
 get Relative Optimality criterion solver default More...
 
void setOptCR (double x)
 set Relative Optimality criterion solver default More...
 
double getOptCA ()
 get Absolute Optimality criterion solver default More...
 
void setOptCA (double x)
 set Absolute Optimality criterion solver default More...
 
GAMSOptions.ESysOut getSysOut ()
 get Solver Status file reporting option More...
 
void setSysOut (GAMSOptions.ESysOut x)
 set Solver Status file reporting option More...
 
GAMSOptions.ESolPrint getSolPrint ()
 get Solution report print option More...
 
void setSolPrint (GAMSOptions.ESolPrint x)
 set Solution report print option More...
 
double getBratio ()
 get Basis acceptance threshold More...
 
void setBratio (double x)
 set Basis acceptance threshold More...
 
GAMSOptions.EHoldFixed getHoldFixed ()
 get Treat fixed variables as constants More...
 
void setHoldFixed (GAMSOptions.EHoldFixed x)
 set Treat fixed variables as constants 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...
 
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...
 
int getForLim ()
 get GAMS looping limit More...
 
void setForLim (int x)
 set GAMS looping limit More...
 
int getSeed ()
 get Random number seed More...
 
void setSeed (int x)
 set Random number seed 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...
 
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...
 
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...
 
String getPLicense ()
 get Privacy license file name More...
 
void setPLicense (String x)
 set Privacy license file name 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...
 
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...
 
int getTraceLevel ()
 get Solvestat threshold used in conjunction with action=GT More...
 
void setTraceLevel (int x)
 set Solvestat threshold used in conjunction with action=GT More...
 
int getTimer ()
 get Instruction timer threshold in milli seconds More...
 
void setTimer (int x)
 set Instruction timer threshold in milli seconds More...
 
GAMSOptions.EFileCase getFileCase ()
 get Casing of new file names (put, gdx, ref etc.) More...
 
void setFileCase (GAMSOptions.EFileCase x)
 set Casing of new file names (put, gdx, ref etc.) 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...
 
GAMSOptions.ESolveLink getSolveLink ()
 get Solver link option More...
 
void setSolveLink (GAMSOptions.ESolveLink x)
 set Solver link option 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...
 
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...
 
double getHeapLimit ()
 get Maximum Heap size allowed in MB More...
 
void setHeapLimit (double x)
 set Maximum Heap size allowed in MB 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.EAppendExpand getAppendExpand ()
 get Expand file append option More...
 
void setAppendExpand (GAMSOptions.EAppendExpand x)
 set Expand file append option More...
 
double getETLim ()
 get Elapsed time limit in seconds More...
 
void setETLim (double x)
 set Elapsed time limit in seconds 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 getProfileFile ()
 get Write profile information to this file More...
 
void setProfileFile (String x)
 set Write profile information to this file More...
 
int getMaxProcDir ()
 get Maximum number of 225* process directories More...
 
void setMaxProcDir (int x)
 set Maximum number of 225* process directories 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...
 
String getGridScript ()
 get Grid submission script More...
 
void setGridScript (String x)
 set Grid submission script 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...
 
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...
 
int getForceOptFile ()
 get Overwrites other option file section mechanism More...
 
void setForceOptFile (int x)
 set Overwrites other option file section mechanism 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.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 getDumpParmsLogPrefix ()
 get Prefix of lines triggered by DumpParms>1 More...
 
void setDumpParmsLogPrefix (String x)
 set Prefix of lines triggered by DumpParms>1 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...
 
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...
 
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...
 
int getThreadsAsync ()
 get Number of threads to be used for asynchronous solve (solveLink=6) More...
 
void setThreadsAsync (int x)
 set Number of threads to be used for asynchronous solve (solveLink=6) 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...
 
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...
 
GAMSOptions.EPySetup getPySetup ()
 get GAMS/Python Setup More...
 
void setPySetup (GAMSOptions.EPySetup x)
 set GAMS/Python Setup More...
 
GAMSOptions.EPyMultInst getPyMultInst ()
 get GAMS/Python Multiple Instance Interpreter More...
 
void setPyMultInst (GAMSOptions.EPyMultInst x)
 set GAMS/Python Multiple Instance Interpreter 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 resources used 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
defStrstring
asStrdefinition string

◆ dispose()

void com.gams.api.GAMSOptions.dispose ( )

Release resources used by non-java library.

Advanced Used only.

◆ export()

void com.gams.api.GAMSOptions.export ( String  filePath) throws IOException

Write GAMSOptions into a parameter file.

Parameters
filePathThe file path used to write the parameter file. A relative path is relative to the GAMS working directory.
Exceptions
IOExceptionIf the file could not be read successfully

◆ finalize()

void com.gams.api.GAMSOptions.finalize ( ) throws Throwable
protected

Release resources used by non-java library, called by Garbage collector.

Exceptions
exceptionor error raised by calling finalize().

◆ getAction()

GAMSOptions.EAction com.gams.api.GAMSOptions.getAction ( )

get GAMS processing request

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getBratio()

double com.gams.api.GAMSOptions.getBratio ( )

get Basis acceptance threshold

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
strstring
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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getExecErr()

int com.gams.api.GAMSOptions.getExecErr ( )

get Execution time error limit

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getFileCase()

GAMSOptions.EFileCase com.gams.api.GAMSOptions.getFileCase ( )

get Casing of new file names (put, gdx, ref etc.)

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getForceWork()

GAMSOptions.EForceWork com.gams.api.GAMSOptions.getForceWork ( )

get Force GAMS systems to process save files for example with an execution error

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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

◆ 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getIntVarUp()

GAMSOptions.EIntVarUp com.gams.api.GAMSOptions.getIntVarUp ( )

get Set default upper bound on integer variables

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getLibIncDir()

String com.gams.api.GAMSOptions.getLibIncDir ( )

get LibInclude directory

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getProfile()

int com.gams.api.GAMSOptions.getProfile ( )

get Execution profiling

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getPySetup()

GAMSOptions.EPySetup com.gams.api.GAMSOptions.getPySetup ( )

get GAMS/Python Setup

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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

◆ getSolPrint()

GAMSOptions.ESolPrint com.gams.api.GAMSOptions.getSolPrint ( )

get Solution report print option

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getSysIncDir()

String com.gams.api.GAMSOptions.getSysIncDir ( )

get SysInclude directory

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getTabIn()

int com.gams.api.GAMSOptions.getTabIn ( )

get Tab spacing

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getThreadsAsync()

int com.gams.api.GAMSOptions.getThreadsAsync ( )

get Number of threads to be used for asynchronous solve (solveLink=6)

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ getTraceLevel()

int com.gams.api.GAMSOptions.getTraceLevel ( )

get Solvestat threshold used in conjunction with action=GT

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ setBratio()

void com.gams.api.GAMSOptions.setBratio ( double  x)

set Basis acceptance threshold

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ setExecErr()

void com.gams.api.GAMSOptions.setExecErr ( int  x)

set Execution time error limit

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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 new file names (put, gdx, ref etc.)

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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 systems to process save files for example with an execution error

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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 default upper bound on integer variables

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ setPySetup()

void com.gams.api.GAMSOptions.setPySetup ( GAMSOptions.EPySetup  x)

set GAMS/Python Setup

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ setThreadsAsync()

void com.gams.api.GAMSOptions.setThreadsAsync ( int  x)

set Number of threads to be used for asynchronous solve (solveLink=6)

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf this GAMSOptions instance has already been disposed, therefore resources are no longer available.

◆ setTraceLevel()

void com.gams.api.GAMSOptions.setTraceLevel ( int  x)

set Solvestat threshold used in conjunction with action=GT

Exceptions
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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
GAMSExceptionIf 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)