GAMSGlobals defines constants that are used by com.gams.api package.
More...
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.
◆ getArchType()
static ArchType com.gams.api.GAMSGlobals.getArchType |
( |
| ) |
|
|
static |
Get the enumerated type of architecture.
- See also
- GAMSGlobals.ArchType
◆ getOSType()
static OSType com.gams.api.GAMSGlobals.getOSType |
( |
| ) |
|
|
static |
Get the enumerated type of operating system.
- See also
- GAMSGlobals.OSType
◆ setScratchFilePrefix()
static void com.gams.api.GAMSGlobals.setScratchFilePrefix |
( |
String |
str | ) |
|
|
static |
◆ setWorkingDirectory()
static void com.gams.api.GAMSGlobals.setWorkingDirectory |
( |
String |
str | ) |
|
|
static |
◆ setWorkingDirectoryPrefix()
static void com.gams.api.GAMSGlobals.setWorkingDirectoryPrefix |
( |
String |
str | ) |
|
|
static |
Set a working directory prefix name.
◆ CHECKPOINT_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.CHECKPOINT_FILE_EXTENSION = ".g00" |
|
static |
GAMS Checkpoint file extension (".g00")
◆ CP_NAME_PREFIX
final String com.gams.api.GAMSGlobals.CP_NAME_PREFIX = "gcp" |
|
static |
Prefix file name for a GAMSCheckpoint ("gcp")
◆ DB_NAME_PREFIX
final String com.gams.api.GAMSGlobals.DB_NAME_PREFIX = "gdb" |
|
static |
Prefix file name for a GAMSDatabase ("gdb")
◆ EMPTY_STRING
final String com.gams.api.GAMSGlobals.EMPTY_STRING = new String() |
|
static |
Immutable Java object represented an empty String.
◆ FILE_SEPARATOR
final String com.gams.api.GAMSGlobals.FILE_SEPARATOR = System.getProperty("file.separator") |
|
static |
Platform dependent file separator ("\" on windows and "/" on UNIX)
◆ GAMS_CALLSTR
final String com.gams.api.GAMSGlobals.GAMS_CALLSTR = "gams" |
|
static |
GAMS Call string ("gams")
◆ GAMS_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.GAMS_FILE_EXTENSION = ".gms" |
|
static |
GAMS file extension (".gms")
◆ GDX_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.GDX_FILE_EXTENSION = ".gdx" |
|
static |
GDX file extension (".gdx")
◆ JOB_NAME_PREFIX
final String com.gams.api.GAMSGlobals.JOB_NAME_PREFIX = "gjo" |
|
static |
Prefix file name for a GAMSJob ("gjo")
◆ LINE_SEPARATOR
final String com.gams.api.GAMSGlobals.LINE_SEPARATOR = System.getProperty("line.separator") |
|
static |
Platform dependent line separator (e.g.
"\n" on UNIX)
◆ LOG_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.LOG_FILE_EXTENSION = ".log" |
|
static |
GAMS default log file extension (".log")
◆ MAX_NO_IDIR
final int com.gams.api.GAMSGlobals.MAX_NO_IDIR = 40 |
|
static |
Maximum input directories allowed, currently 40.
◆ MAXDIM
final int com.gams.api.GAMSGlobals.MAXDIM = 20 |
|
static |
Maximum dimension allowed, currently 20.
◆ MI_NAME_PREFIX
final String com.gams.api.GAMSGlobals.MI_NAME_PREFIX = "gmi" |
|
static |
Prefix file name for a GAMSModelInstance ("gmi")
◆ OPT_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.OPT_FILE_EXTENSION = ".opt" |
|
static |
OPT file extension (".opt")
◆ OS_NAME
final String com.gams.api.GAMSGlobals.OS_NAME = System.getProperty("os.name").toLowerCase() |
|
static |
◆ OUTPUT_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.OUTPUT_FILE_EXTENSION = ".lst" |
|
static |
GAMS default listing file extension (".lst")
◆ PARAMETER_FILE_EXTENSION
final String com.gams.api.GAMSGlobals.PARAMETER_FILE_EXTENSION = ".pf" |
|
static |
GAMS parameter file extension (".pf")
◆ PATH_SEPARATOR
final String com.gams.api.GAMSGlobals.PATH_SEPARATOR = System.getProperty("path.separator") |
|
static |
Platform dependent path separator (";" on windows and ":" on UNIX)
◆ scratchFilePrefix
String com.gams.api.GAMSGlobals.scratchFilePrefix = "_gams_java_" |
|
static |
A (modifiable) file prefix used for automatically generating files.
◆ STR_LEN
final int com.gams.api.GAMSGlobals.STR_LEN = 256 |
|
static |
Maximum length of String allowed, currently 256.
◆ WINDOW_EXEC_EXTENSION
final String com.gams.api.GAMSGlobals.WINDOW_EXEC_EXTENSION = ".exe" |
|
static |
Default windows execution file extension (".exe")
◆ workingDirectory
String com.gams.api.GAMSGlobals.workingDirectory = System.getProperty("java.io.tmpdir") |
|
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
String com.gams.api.GAMSGlobals.workingDirectoryPrefix = "gams_" |
|
static |
A (modifiable) directory prefix used for creating temporary directory.