GAMS Software : GAMS is a high level modeling system for mathematical programming and optimization. It consists of a language compiler and a range of associated solvers.
The GAMS modeling language allows modelers to quickly translate real world optimization problems into computer code. The gams language compiler then translates this code into a format the solvers can understand and solve. This architecture provides great flexibility, by allowing changing the solvers used without changing the model formulation.

Modeling System) products.
- Preface
- Release Notes – 34.2.0 Minor release (February 06, 2021)
- User’s Guide
- Installation and Licensing – Guides on installing GAMS for various platforms and using a GAMS license
- Tutorials and Examples – Step-by-step guides including a number of examples
- GAMS Language and Environment – Guide through components of GAMS Language and the environment for executing a GAMS model
- Solver Manuals – Manuals of solvers available in the distribution
- Tools Manuals – Manuals of tools available in the distribution
- Application Programming Interfaces – Manuals of Application Programming Interfaces
- Glossary – An alphabetical list of GAMS terms.
- Bibliography
The GAMS Documentation is also available as PDF. However, note that the documentation is meant for consumption via an HTML viewer and only very limited effort has been spend in the PDF version. Further, the PDF version does not include detailed documention on the APIs or the GAMS IDE.
Model Libraries
From the early stages of the development of GAMS we have collected models to be used in libraries of examples. Many of these are standard textbook examples and can be used in classes on problem formulation or to illustrate points about GAMS. Others are models that have been used in policy or sector analysis and are interesting for both the methods and the data they use. These model libraries are included with all GAMS systems and are also available online.
The following model libraries are available:
- GAMS Model Library – includes GAMS models representing interesting and sometimes classic problems, ranged from production and shipment by firms, investment planning, cropping patterns in agriculture, operation of oil refineries and petrochemical plants, macroeconomics stabilization, applied general equilibrium, international trade in aluminum and in copper, water distribution networks, and many more.
- GAMS Test Library – includes GAMS models developed for testing and quality control, both for the GAMS base module and the many solvers distributed with the GAMS system.
- GAMS Data Library – includes GAMS models demonstrating various utilities to interface GAMS with other tools and applications such as spreadsheets and database interface.
- GAMS EMP Library – includes GAMS Extended Mathematical Programming (EMP) models that illustrate and test the capabilities of GAMS/EMP.
- GAMS API Library – includes GAMS Models used as scripts to compile and execute application programs in various programming languages interfacing to GAMS.
- FIN Library – includes GAMS practical financial optimization models described in the book Practical Financial Optimization: Decision Making for Financial Engineers
by Consiglio, Nielsen and Zenios, - NOA Library – includes GAMS nonlinear optimization applications models based on the book Nonlinear Optimization Applications Using the GAMS Technology by Neculai Andrei.
- PSOPT Library – includes GAMS optimization models based on the book Power System Optimization Modelling in GAMS by by Alireza Soroudi.
See Accessing Model Libraries on how to access a GAMS model from the model libraries.
For large parts of the documentation, references to models from the model libraries are enclosed in square parenthesis (for example, [TRNSPORT]).
Further Help
If you have a further question which is not answered by the documentation above, you can get further help from our GAMS-FAQ which contains materials collected from various support activities or post your question to GAMS World Forum. You can also sign up to our Newsletters to get the latest information from GAMS. There is also GAMS Lessons, a YouTube Video Channel providing you with some tutorials on how to use our system.
There are a number of contributed documentations that have been contributed by GAMS users as well as presentations, books, posters, and advertisements contributed by people working with GAMS. The McCarl GAMS User Guide are available in various formats (PDF and HTML) and can also be found in the GAMS distribution under mccarl/ subdirectory with an incremental installer (ZIP) available for download.
You can also visit our upcoming courses and workshops or contact one of solution specialists who have wide experience in GAMS modeling.
If you experience a problem using GAMS please contact our Technical Support. If you have a confidential model that you cannot share as is, please read the information on conversion of models before submitting your models to our technical support.
The GAMS/BASE Module
The GAMS/BASE module includes:
- Language Compiler and Execution System
- GAMS IDE(Integrated Development Environment) (Windows only)
- Project Management
- Editor, Syntax coloring, Spell checking
- Launching and monitoring of (multiple) GAMS processes
- Listing file / Tree view / Syntax-error navigation
- Solver selection / option selection
- GDX Viewer: Data cube and export (e.g. to MS Excel), charting facilities
- GAMS Studio (platform independent, Beta version)
- Editor, Syntax coloring
- Launching and monitoring of (multiple) GAMS processes
- Listing file / Tree view / Syntax-error navigation
- GDX Viewer
- GAMS Free Solvers and Links
- Open Source (COIN-OR): Bonmin, CBC, Ipopt, SHOT
- CONVERT, JAMS and LOGMIP, NLPEC
- MILES
- EXAMINER, GAMSCHK
- Academic licenses only: ODHeuristic (requires a GAMS/CPLEX or GAMS/CPLEX-Link license), SCIP, Soplex
- OSI Solver Links
- GAMS/KESTREL for using the NEOS Server with a local GAMS system
- Most other solvers in limited versions for demonstration and evaluation, but no commercial use: 2000 constraints and variables for linear models, and 1000 constraints and variables for other model types. For licensed academic users the size limits are increased: 5000 constraints and variables for linear models, and 2500 constraints and variables for other model types. The solvers might enforce additional limits.
- EMP (Extended Mathematical Programming Framework)
- Posix Utilities
- Academic licenses only: MIRO Connector for using external input and output symbols.
- GDX (GAMSData eXchange) and related GDX Utilities
- Binary data exchange between application, GAMS, and the solver (fast, saves disk space, tailored for large sparse matrices, platform independent, direct GDX interfaces, API support for high-level programming languages)
- GDX Utilities: GDX Viewer, GDXRANK, GDX2HAR, HAR2GDX, GDXMERGE, GDXDUMP, GDXCOPY, GDXDIFF, MDB2GMS, GDXMRW, GDXRRW, GDXXRW, GDX2XLS, XLSDump, XLSTalk, INVERT, CHOLESKY, EIGENVALUE, EIGENVECTOR
- Various other tools
- GAMS APIs
- Expert-Level GAMS APIs
- GAMS
- GDX
- Option
- Supported Languages: C, C++, C#, Delphi, Fortran, Java, Python, VBA, VB.Net
- Object-Oriented GAMS APIs
- Supported Languages: C++, C#, Java, Python, VB.Net
- Expert-Level GAMS APIs
- Documentation
- Model Libraries
Download GAMS
Please consult the release notes before downloading a system. Here are the detailed platform descriptions and installation notes. The GAMS distribution includes the documentation in electronic form.