Options | Execute

Top  Previous  Next

Specify the execution environment for a GAMS run.

 

The following options are available:

 

GAMS system directory

This is the directory where GAMSIDE.EXE is located and is assumed to be the directory where the GAMS system has been installed. This field is read-only.

 

Use alternate GAMS system directory

When enabled, the GAMS system directory specified below will be used instead of the default directory.

 

Alternate GAMS system directory

A directory with a complete GAMS system which will be used as the GAMS system directory when the Use alternate GAMS system directory checkbox is enabled.

 

Update button

Checks if there are any .zip or .pck files in the GAMS system directory and runs GAMSINST.EXE if any of these files can be found. The system cannot be updated when a GAMS run is still active or when the GAMS system directory is located on a network drive. Note that the directory searched for .zip and .pck files depends on the setting of Use alternate GAMS system directory checkbox.

 

DOS Window

The GAMS system executes in a DOS window; this window can be completely hidden, be minimized on the task bar or shown while GAMS executes. The latter is intended for debugging purpose.

 

Max Processes

The maximum number of tabs used in the process window.

 

Max lines in process window

Specifies the maximum number of lines in the process window. When the number of lines in the process window exceeds this number, the lines will be written to the log file. After the job has finished, the log file can be opened in the editor for further inspection.

 

Update Process Window

When enabled, the status information shown in the process window will be updated continuously and the text will scroll up, so the last line is always visible. When disabled, the text will not scroll.

 

Open listing file after model completion

When enabled, the listing file (.LST) will be opened in the editor as soon as the model execution has finished. When disabled, the listing file can be opened using the file open command or by double clicking a line of text in the process window.

 

Process window part of edit window

When enabled, the process window acts like one of the edit window, and can move within the boundaries of the mainform. When disabled, the process window can float around anywhere on the desktop.

 

Check file date and time when opening a file automatically

Some files can be opened automatically, like the LST file when a GAMS run has finished, or by a double-click on the name of a PUT file shown in the process window. When this option is enabled, a warning message will be given when the time on the file precedes the start time of the GAMS run.

 

Warn if file for the run is not in the project directory

Running a file that is not in the current project directory can lead to unexpected errors, like include files that cannot be found etc. It can also be used to run a model with different data sets without changing the model source code. When the option is enabled, trying to run a file that is not in the project directory will result in a warning.

 

Run GAMS with low priority

When enabled, a new GAMS run will be started at a low priority.

 

Use Following Additional Parameters

When enabled, the parameters following will be added to the parameters passed to GAMS.EXE

The parameters shown will be used when the option is enabled. Use the down arrow key, or click on the down arrow, to see and re-use previous parameters. The use of additional parameters and the text for the parameters are project specific options.

 

Additional parameters can be specified which are specific for a file; see GAMS parameters.