GAMSGlobals defines constants that are used by com.gams.api package. More...
Classes | |
enum | ArchType |
GAMS enumerated type of architecture. More... | |
enum | AttributeValue |
Atttribute Values as enumerated integer. More... | |
enum | DataType |
GAMS Data Types. More... | |
enum | DebugLevel |
Define GAMS Debug Level of different values and string representations. More... | |
enum | EquType |
Equation SubType. More... | |
enum | ExitCodeMessage |
The possible return codes of the GAMS compiler and execution system (cmexRC). More... | |
enum | ModelStat |
Model Solution Status. More... | |
enum | OSType |
GAMS enumerated type of operating system. More... | |
enum | SetType |
Set SubType. More... | |
enum | SolveStat |
Solver termination condition. More... | |
enum | SpecialValues |
Special GAMS Values used by GAMS Java API. More... | |
enum | SpecialValues_int |
Special GAMS Value as enumerated integer. More... | |
enum | UpdateAction |
What field to update. More... | |
enum | VarType |
Variable SubType. More... | |
Static Public Member Functions | |
static OSType | getOSType () |
Get the enumerated type of operating system. | |
static ArchType | getArchType () |
Get the enumerated type of architecture. | |
static void | setScratchFilePrefix (String str) |
Set a file prefix name. | |
static void | setWorkingDirectory (String str) |
Set a file prefix name. | |
static void | setWorkingDirectoryPrefix (String str) |
Set a working directory prefix name. | |
Static Public Attributes | |
static final int | MAXDIM = 20 |
Maximum dimension allowed, currently 20. | |
static final int | STR_LEN = 256 |
Maximum length of String allowed, currently 256. | |
static final int | MAX_NO_IDIR = 40 |
Maximum input directories allowed, currently 40. | |
static final String | EMPTY_STRING = new String() |
Immutable Java object represented an empty String. | |
static final String | GAMS_CALLSTR = "gams" |
GAMS Call string ("gams") | |
static final String | CHECKPOINT_FILE_EXTENSION = ".g00" |
GAMS Checkpoint file extension (".g00") | |
static final String | GAMS_FILE_EXTENSION = ".gms" |
GAMS file extension (".gms") | |
static final String | GDX_FILE_EXTENSION = ".gdx" |
GDX file extension (".gdx") | |
static final String | LOG_FILE_EXTENSION = ".log" |
GAMS default log file extension (".log") | |
static final String | OPT_FILE_EXTENSION = ".opt" |
OPT file extension (".opt") | |
static final String | OUTPUT_FILE_EXTENSION = ".lst" |
GAMS default listing file extension (".lst") | |
static final String | PARAMETER_FILE_EXTENSION = ".pf" |
GAMS parameter file extension (".pf") | |
static final String | JOB_NAME_PREFIX = "gjo" |
Prefix file name for a GAMSJob ("gjo") | |
static final String | DB_NAME_PREFIX = "gdb" |
Prefix file name for a GAMSDatabase ("gdb") | |
static final String | CP_NAME_PREFIX = "gcp" |
Prefix file name for a GAMSCheckpoint ("gcp") | |
static final String | MI_NAME_PREFIX = "gmi" |
Prefix file name for a GAMSModelInstance ("gmi") | |
static final String | WINDOW_EXEC_EXTENSION = ".exe" |
Default windows execution file extension (".exe") | |
static final String | FILE_SEPARATOR = System.getProperty("file.separator") |
Platform dependent file separator ("\" on windows and "/" on UNIX) | |
static final String | PATH_SEPARATOR = System.getProperty("path.separator") |
Platform dependent path separator (";" on windows and ":" on UNIX) | |
static final String | LINE_SEPARATOR = System.getProperty("line.separator") |
Platform dependent line separator (e.g. | |
static final String | OS_NAME = System.getProperty("os.name").toLowerCase() |
Operating system name. | |
static String | scratchFilePrefix = "_gams_java_" |
A (modifiable) file prefix used for automatically generating files. | |
static String | workingDirectory = System.getProperty("java.io.tmpdir") |
A (modifiable) working directory, default value: java io's temporary directory, System.getProperty("java.io.tmpdir"). | |
static String | workingDirectoryPrefix = "gams_" |
A (modifiable) directory prefix used for creating temporary directory. | |
Detailed Description
GAMSGlobals defines constants that are used by com.gams.api package.
These constants include equation subtype, variable subtype, solver termination conditions, model solution status, and update action.
Member Function Documentation
◆ getArchType()
|
static |
Get the enumerated type of architecture.
- See also
- GAMSGlobals.ArchType
◆ getOSType()
|
static |
Get the enumerated type of operating system.
- See also
- GAMSGlobals.OSType
◆ setScratchFilePrefix()
|
static |
Set a file prefix name.
◆ setWorkingDirectory()
|
static |
Set a file prefix name.
◆ setWorkingDirectoryPrefix()
|
static |
Set a working directory prefix name.
Member Data Documentation
◆ CHECKPOINT_FILE_EXTENSION
|
static |
GAMS Checkpoint file extension (".g00")
◆ CP_NAME_PREFIX
|
static |
Prefix file name for a GAMSCheckpoint ("gcp")
◆ DB_NAME_PREFIX
|
static |
Prefix file name for a GAMSDatabase ("gdb")
◆ EMPTY_STRING
|
static |
Immutable Java object represented an empty String.
◆ FILE_SEPARATOR
|
static |
Platform dependent file separator ("\" on windows and "/" on UNIX)
◆ GAMS_CALLSTR
|
static |
GAMS Call string ("gams")
◆ GAMS_FILE_EXTENSION
|
static |
GAMS file extension (".gms")
◆ GDX_FILE_EXTENSION
|
static |
GDX file extension (".gdx")
◆ JOB_NAME_PREFIX
|
static |
Prefix file name for a GAMSJob ("gjo")
◆ LINE_SEPARATOR
|
static |
Platform dependent line separator (e.g.
"\n" on UNIX)
◆ LOG_FILE_EXTENSION
|
static |
GAMS default log file extension (".log")
◆ MAX_NO_IDIR
|
static |
Maximum input directories allowed, currently 40.
◆ MAXDIM
|
static |
Maximum dimension allowed, currently 20.
◆ MI_NAME_PREFIX
|
static |
Prefix file name for a GAMSModelInstance ("gmi")
◆ OPT_FILE_EXTENSION
|
static |
OPT file extension (".opt")
◆ OS_NAME
|
static |
Operating system name.
◆ OUTPUT_FILE_EXTENSION
|
static |
GAMS default listing file extension (".lst")
◆ PARAMETER_FILE_EXTENSION
|
static |
GAMS parameter file extension (".pf")
◆ PATH_SEPARATOR
|
static |
Platform dependent path separator (";" on windows and ":" on UNIX)
◆ scratchFilePrefix
|
static |
A (modifiable) file prefix used for automatically generating files.
◆ STR_LEN
|
static |
Maximum length of String allowed, currently 256.
◆ WINDOW_EXEC_EXTENSION
|
static |
Default windows execution file extension (".exe")
◆ workingDirectory
|
static |
A (modifiable) working directory, default value: java io's temporary directory, System.getProperty("java.io.tmpdir").
It will be used as parent directory of GAMSWorkspace's working directory in case the working directory is not specified by user.
- See also
- GAMSWorkspace
- GAMSWorkspaceInfo
◆ workingDirectoryPrefix
|
static |
A (modifiable) directory prefix used for creating temporary directory.