GAMS Engine is currently only supported on x86_64 Linux distributions that are supported by Docker!
You can download the latest GAMS Engine installation scripts here. The general installation instructions are given below. However, keep in mind that the installation is highly dependent on your setup. Since GAMS Engine is a server application, the concepts of ports, SSL, certificates, etc. are omnipresent. Setting up such a system is a common task for a server administrator. If you have problems with the installation of GAMS Engine, please do not hesitate to contact us by mail at support@gams.com.
For more information about the third-party software included in GAMS Engine and their licenses, see here.
GAMS Engine is currently only supported on x86_64 Linux distributions that are supported by Docker!
Note that when using the encrypted setup, port 80 and port 443 must be available!
The script downloads and initializes all required Engine files. This may take a moment.
This will open the Engine UI. Login with the default credentials username: admin and password: admin (in case you set the command line switch -a, the password will be different). Make sure you change the default admin password after installation.
To start a stopped instance of GAMS Engine, navigate to the directory where you installed GAMS Engine and execute
where <number_workers> is the number of workers you want to run in parallel.
StopTo stop a running instance of GAMS Engine, navigate to the directory where you installed GAMS Engine and execute
To update GAMS Engine to the latest version, simply execute the ./up.sh script from the same directory where you originally installed Engine, with the same arguments you used when you installed GAMS Engine.
UninstallTo remove GAMS Engine including all its data (this data will be lost if you did not make backups!) from your server, navigate to the directory where you installed GAMS Engine and execute
Additionally, you can remove the directory where you extracted the GAMS Engine configuration files.
For a GAMS Engine setup, both a tailored GAMS license and an Engine license are required. The license keys can be entered directly in the Engine UI in the Administration section by clicking on the corresponding buttons.
installation. An Engine installation is identified by a so-called Unique System Identifier (USI). You can find the USI by clicking on the Update Engine license button. A new dialog for updating your Engine license opens. The USI is located at the top of the dialog (1). Please send this identifier to sales@gams.com to receive your license key (this step is not required for normal licenses). As a last step, paste the license key you received into the field (2) and click on the Update button (3).
A GAMS license can be specified system-wide or user-specific.
If you want to use the Gurobi solver, you must provide Engine with the Gurobi license. This license must be either a Web License Service (WLS) license, a license for a Gurobi Compute Server, a Gurobi Cloud license, or a license from a Gurobi Token Server. Standard Gurobi license types (NODE, Academic) do not work with Engine.
To use Gurobi with Engine, you must first generate a Gurobi client license file (gurobi.lic) and place it in your Engine directory. You also need to generate a short gamsconfig.yamlfile with the following content:
environmentVariables:
- GRB_LICENSE_FILE:
value: /etc/gurobi.lic
This file should also be located in your Engine directory.
As a final step, open the docker-compose.yml file with a text editor and modify it as follows:
worker:
image: gams/engine-worker:latest
restart: unless-stopped
[...]
+ volumes:
+ - ./gurobi.lic:/etc/gurobi.lic
+ - ./gamsconfig.yaml:/etc/xdg/GAMS/gamsconfig.yaml
networks:
- worker-network
+ - worker-ext-network
Note that we have added the worker-ext-network network to the worker containers. This causes the worker containers to be able to access the external network, which is required for Gurobi to contact the license server.
For these changes to take effect, restart the GAMS Engine.