The General Algebraic Modeling System (GAMS) is a high-level modeling system for mathematical optimization.