This repository contains many examples to show how to model mathematical optimization problems by using GAMSPy. The example models are distributed as either Python script files (under models) or Jupyter Notebooks (under notebooks).
git clone [email protected]:GAMS-dev/gamspy-examples.git
pip install -r requirements.txt
cd <model_directory>
python <model_name>.py
GAMSPy pip package includes a demo license. For most of the notebooks, this demo license is sufficient. For others, you may need a different license (See Licensing). In case you already have a GAMSPy license, see GAMSPy License Installation guideline.
List of models under models
directory is listed below. Most models have a GAMS implementation as well for comparison.
All models under notebooks can be run with the demo license.