The Pyomo optimization modeling framework
Actively maintained. Last release 11 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyomoPyomo Overview
Pyomo is a Python-based open-source software package that supports a diverse set of optimization capabilities for formulating and analyzing optimization models. Pyomo can be used to define symbolic problems, create concrete problem instances, and solve these instances with standard solvers. Pyomo supports a wide range of problem types, including:
- Linear programming
- Quadratic programming
- Nonlinear programming
- Mixed-integer linear programming
- Mixed-integer quadratic programming
- Mixed-integer nonlinear programming
- Mixed-integer stochastic programming
- Generalized disjunctive programming
- Differential algebraic equations
- Mathematical programming with equilibrium constraints
- Constraint programming
Pyomo supports analysis and scripting within a full-featured programming
language. Further, Pyomo has also proven an effective framework for
developing high-level optimization and analysis tools. For example, the
mpi-sppy package provides generic
solvers for stochastic programming. mpi-sppy leverages the fact that
Pyomo's modeling objects are embedded within a full-featured high-level
programming language, which allows for transparent parallelization of
subproblems using Python parallel communication libraries.
Pyomo was formerly released as the Coopr software library.
Pyomo is available under the BSD License - see the
LICENSE.md file.
Some modules contain software derived from other projects; see the
THIRD_PARTY_NOTICES.md
file for their licenses.
Pyomo is currently tested with the following Python implementations:
