Loading...
Searching...
No Matches
GAMSWorkspaceInfo () Constructs a new GAMSWorkspaceInfo instance.The GAMSWorkspaceInfo
can be used as input parameter for the GAMSWorkspace
constructor. The GAMSWorkspaceInfo
contains essential information for initializing GAMSWorkspace
; GAMS working directory, GAMS System directory, and GAMS debug level.
GAMS system directory is the directory where GAMS has been installed. The default value of the working directory is NULL.
GAMS working directory anchors for all file-based operations, whereas GAMS system directory is the directory where GAMS has been installed. The default value of the working directory is NULL.
GAMS debug level indicates how GAMS produces debug messages during the execution. The default value of the debug level is GAMSGlobals.DebugLevel.KEEP_FILES_ON_ERROR
, no debug information available.
GAMSWorkspace
has been constructed using information from GAMSWorkspaceInfo
object, changing an attribute value of the GAMSWorkspaceInfo
object will not change the attribute value of GAMSWorkspace
object.
For example:
GAMSWorkspaceInfo wsInfo = new GAMSWorkspaceInfo(); String workingDirectory = System.getProperty("user.dir"); wsInfo.workingDirectory( workingDirectory ); wsInfo.setDebug(DebugLevel.SHOW_LOG); GAMSWorkspace workspace = new GAMSWorkspace(wsInfo);
Constructs a new GAMSWorkspaceInfo instance.
The default value of GAMS working directory and GAMS System directory are NULL, and the default value of the debug level is GAMSGlobals.DebugLevel.KEEP_FILES_ON_ERROR
, no debug information available.
Constructs a new GAMSWorkspaceInfo instance.
Get GAMS debug mode from this GAMSWorkspaceInfo instance.
GAMSGlobals.DebugLevel
Get GAMS system directory from this GAMSWorkspaceInfo instance.
Get GAMS working directory from this GAMSWorkspaceInfo instance.
Set GAMS debug mode.
The debug mode will be verified later when a GAMSWorkspace instance is created from the information specified by this GAMSWorkspaceInfo instance.
Set GAMS system directory.
The specified directory will be verified later when a GAMSWorkspace instance is created from the information specified by this GAMSWorkspaceInfo instance.
Set GAMS working directory.
The specified directory will be verified later when a GAMSWorkspace instance is created from the information specified by this GAMSWorkspaceInfo instance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4