GAMS and how to use it from MATLAB

Maintainer:Johannes Dorfner, <jdorfner@gmail.com>
Date:June 28, 2021
Copyright:The corresponding code is licensed under the GNU General Public License 3.0. This documentation is licensed under a Creative Commons Attribution 4.0 International license.

Introduction

This manual consists of two major sections:

The first section is a short GAMS introduction with a motivation for an external data handling component. The basic language elements sets, parameters, variables and equations are briefly explained, so that readers with experience in mathematical modelling should be able to write new models.

The second section then introduces GAMS.m, a class written for MATLAB that provides static functions that allow creating GAMS data structures, reading and writing GDX files. Finally, the concepts entities and timeseries are introduced and how they can be used for rapid model development.

Download

Get GAMS.m and the usage examples from its GitHub repository.