Skip to main content
Ctrl+K
GAMSPy  documentation - Home GAMSPy  documentation - Home
  • User Guide
  • API Reference
  • CLI Reference
  • Release Notes
  • GitHub
  • X
  • GAMS
  • User Guide
  • API Reference
  • CLI Reference
  • Release Notes
  • GitHub
  • X
  • GAMS

Section Navigation

Getting Started

  • What is GAMSPy?
  • Installation and Licensing
  • Quick Start Guide
  • Examples
    • Transportation Problem
    • Nurses Assignment Problem
    • Blending Problem
    • Lumber Transportation Problem
    • Pickstock
    • Capacitated Lot-Sizing Problem
    • Traveling Salesman Problem
  • Model Library

Fundamentals and Usage

  • Basics
    • Container
    • Set
    • Alias: Multiple Names for a Set
    • Parameter
    • Variable
    • Equation
    • Model
    • Expression and Indexing
    • Conditions and Assignments
    • Card and Ord
    • Lag and Lead
    • Number
  • Advanced
    • Debugging
    • Performance
    • Special Features for Mathematical Programs
    • GAMS MIRO
    • Frozen Models
    • External Equations
    • Extrinsic Functions
    • Formulations
    • Control Flow Structures

Machine Learning

  • GAMSPy and Machine Learning
    • Matrix Operations
    • NN Formulations (ReLU, Conv2d…)
    • Classic ML Formulations
    • Embedding a Trained Neural Network in GAMSPy
  • Examples
    • Regression Example
    • Binary Classification Example
    • Neural Network Example
    • Auto-Thermal Reformer Example

Extras

  • Frequently Asked Questions
  • GAMSPy for GAMS Users
  • Developer Guide
  • User Guide
  • Basics

Basics#

These documents clarify concepts, design decisions, and technical constraints in GAMSPy. This is a great place to understand the fundamental GAMSPy ideas and philosophy.

  • Container
  • Set
  • Alias: Multiple Names for a Set
  • Parameter
  • Variable
  • Equation
  • Model
  • Expression and Indexing
  • Conditions and Assignments
  • Card and Ord
  • Lag and Lead
  • Number

previous

Traveling Salesman Problem

next

Container

© Copyright 2026, GAMS Development Corporation.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.1.