Professional Documents
Culture Documents
INSTALLATION
Solvers from the IDE. You can accept the existing
defaults if you wish, but most users will want to pick
1. Run setup.exe: In most cases, you will run the file default solvers for each model type. It is a good idea to
\systems\win\setup.exe directly from the GAMS review the solver defaults when installing a new GAMS
distribution CD. There are many ways to do this; for system or when updating a license file.
example, you can use the Windows Explorer to browse
the CD; open the \systems\win directory and double 5. Run a few models to test the GAMS system: The online
click setup.exe. If you are installing from diskettes, help for the IDE (Help Help Topics
Guided
you can run setup.exe from the first system diskette; Tour) describes how to copy a model from the GAMS
you will be prompted to insert the remaining diskettes model library, run it, and view the solution. To test
in turn. You can also copy all the diskette files to a your installation, run the following models from the
scratch directory on the hard disk and run setup.exe GAMS model library:
from there. Similarly, if you obtain the distribution via
LP: trnsport (objective value: 153.675)
ftp or any other means, put all the distribution files into NLP: chenery (objective value: 1058.9)
a scratch directory and run setup.exe. Except when MIP: bid (optimal solution: 15210109.512)
installing from diskettes, all distribution files should be MINLP: procsel (optimal solution: 1.9231)
MCP: scarfmcp (no objective function)
in the same directory when running setup.exe. The
MPSGE: scarfmge (no objective function)
setup program will first prompt you for the name of the
directory in which to install GAMS. We call this If there are any problems during these test runs, read
directory the ‘GAMS directory’. You may accept the the section on Troubleshooting.
default choice or pick another directory. Please
remember that if you want to install two different
versions of GAMS, they should be in separate COMMAND LINE INSTALLATION
directories (for example c:\gams and c:\gams old).
The GAMS software will be installed in the directory Users wishing to use GAMS from the command line (i.e. in
you choose. console mode) may want to perform the following steps
after they have installed the system as described above.
2. Copy the license file: If no license file is found in the These steps are not necessary to run GAMS via the IDE.
GAMS directory, you will be prompted for one during
the installation. If you are not sure if you have a license 1. Run the program gamsinst: gamsinst is a command
file, or do not have it yet, choose ‘No’ when asked if line program used to install and configure GAMS. It
you wish to copy a license file. You can always do this prompts the user for default solvers to be used for each
later. If no valid license file is found, GAMS will still model type. If possible choose solvers you have
function in demonstration mode and will only solve licensed since unlicensed solvers will only run in
small problems. For example, all demonstration and demonstration mode.These solver defaults can be
student systems are shipped without a license. If you changed by:
have a license file that you wish to copy to the GAMS
directory at this time, answer ‘Yes’ to the license file (a) rerunning gamsinst and resetting the default
prompt. You will now be given the opportunity to values
browse the file system and find the directory containing (b) setting a command line default, e.g. gams
the license file you wish to copy. For example, if your trsnport lp=bdmlp
—
In case of problems, please contact GAMS Development Corporation by email at support@gams.com, by telephone at (202) 342-0180, or
by fax at (202) 342-0181. Make sure that you have pen and paper available to make notes, and if possible, sit in front of the machine when
you call.
GAMS 2.50 Installation and System Notes for Windows
In the Value box, add the GAMS directory to the support staff directly.
path, as the following example illustrates:
c:\your\current\path\setting;C:\gams
Click Set.
NETWORK SUPPORT