For questions related to the Python optimization modeling package Pyomo.

Pyomo is a Python-based open-source software package that supports a diverse set of optimization capabilities for formulating, solving, and analyzing optimization models.

Pyomo allows users to formulate optimization problems in Python in a manner that is similar to the notation commonly used in mathematical optimization. Pyomo supports an object-oriented style of formulating optimization models, which are defined with a variety of modeling components, including:

  • sets
  • scalars
  • multidimensional parameters
  • decision variables
  • objectives
  • constraints
  • equations
  • disjunctions

Optimization models can be initialized with Python data or external data, and external data sources can be defined using spreadsheets, databases and various formats of text files. Pyomo supports dozens of solvers, both open source and commercial. Pyomo is available for download here.

Code Language (used for syntax highlighting): lang-py