General Algebraic Modeling System

The General Algebraic Modeling System (GAMS) is a high-level modeling system for mathematical programming and optimization. It consists of a language compiler and a stable of integrated high-performance solvers.

Launch Tool

You must login before you can run this tool.

Version 0.6 - published on 14 Jul 2014

This tool is closed source.

View All Supporting Documents



Published on


The General Algebraic Modeling System (GAMS) is specifically designed for modeling linear, nonlinear and mixed integer optimization problems. The system is especially useful with large, complex problems.

GAMS is especially useful for handling large, complex, one-of-a-kind problems which may require many revisions to establish an accurate model. The system models problems in a highly compact and natural way. The user can change the formulation quickly and easily, can change from one solver to another, and can even convert from linear to nonlinear with little trouble.

GAMS lets the user concentrate on modeling. By eliminating the need to think about purely technical machine-specific problems such as address calculations, storage assignments, subroutine linkage, and input-output and flow control, GAMS increases the time available for conceptualizing and running the model, and analyzing the results. GAMS structures good modeling habits itself by requiring concise and exact specification of entities and relationships. The GAMS language is formally similar to commonly used programming languages. It is therefore familiar to anyone with programming experience.

Using GAMS, data are entered only once in familiar list and table form. Models are described in concise algebraic statements which are easy for both humans and machines to read. Whole sets of closely related constraints are entered in one statement. GAMS automatically generates each constraint equation, and lets the user make exceptions in cases where generality is not desired. Statements in models can be reused without having to change the algebra when other instances of the same or related problems arise. The location and type of errors are pinpointed before a solution is attempted. GAMS handles dynamic models involving time sequences, lags and leads and treatment of temporal endpoints.

Cite this work

Researchers should cite this work as follows:

  • (2014), "General Algebraic Modeling System,"

    BibTex | EndNote