Mathematical Optimization with GAMS and Pyomo (Python)

Learn how to mathematically formulate 16 business problems and find their optimal solutions with GAMS and Pyomo (Python)

Mathematical optimization

Linear programming

Integer programming

Nonlinear programming

Hands-on coding experience in GAMS

Hands-on coding experience in Pyomo (Python)

This introductory course to optimization in GAMS and Pyomo (Python) contains 4 modules, namely,

  • Linear programming
  • Nonlinear programming
  • Mixed Integer Linear Programming, and
  • Mixed-Integer Nonlinear Programming

In each module, we aim to teach you the basics of each type of optimization through 3 different illustrative examples and 1 assingment from different areas of science, engineering, and management. Using these examples, we aim to gently introduce you to coding in two environments commonly used for optimization, GAMS and Pyomo. GAMS is a licensed software, for which we use a demo license in this course. Pyomo is an open-source package in Python, which we use Google Colaboratory to run. As we proceed through the different examples in each module, we also introduce different functionalities in GAMS and Python, including data import and export.

At the end of this course, you will be able to,

  1. Read a problem statement and build an optimization model
    1. Be able to identify the objective function, decision variables, constraints, and parameters
  2. Code an optimization model in GAMS
    1. Define sets, variables, parameters, scalars, equations
    2. Use different solvers in GAMS
    3. Leverage the NEOS server for optimization
    4. Import data from text, gdx, and spreadsheet files
    5. Export data to text, gdx, and spreadsheet files
    6. Impose different variable ranges, and bounds
  3. Code an optimization model in Pyomo
    1. Define models, sets, variables, parameters, constraints, and objective function
    2. Use different solvers in Pyomo
    3. Leverage the NEOS server for optimization
    4. Import data from text, gdx, and spreadsheet files
    5. Export data to text, gdx, and spreadsheet files
    6. Impose different variable ranges, and bounds

Tutorial Bar
Logo