Skip to main content

Pyomo: Python Optimization Modeling Objects

Project description

a COIN-OR project

Pyomo 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.

Pyomo is currently tested with the following Python implementations:

  • CPython: 3.8, 3.9, 3.10, 3.11, 3.12
  • PyPy: 3.9

Testing and support policy:

At the time of the first Pyomo release after the end-of-life of a minor Python version, we will remove testing for that Python version.

Installation

PyPI PyPI version PyPI downloads

pip install pyomo

Anaconda Anaconda version Anaconda downloads

conda install -c conda-forge pyomo

Tutorials and Examples

Getting Help

To get help from the Pyomo community ask a question on one of the following:

Developers

Pyomo development moved to this repository in June 2016 from Sandia National Laboratories. Developer discussions are hosted by Google Groups.

The Pyomo Development team holds weekly coordination meetings on Tuesdays 12:30 - 14:00 (MT). Please contact wg-pyomo@sandia.gov to request call-in information.

By contributing to this software project, you are agreeing to the following terms and conditions for your contributions:

  1. You agree your contributions are submitted under the BSD license.
  2. You represent you are authorized to make the contributions and grant the license. If your employer has rights to intellectual property that includes your contributions, you represent that you have received permission to make contributions and grant the required license on behalf of that employer.

Related Packages

See https://pyomo.readthedocs.io/en/latest/related_packages.html.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Pyomo-6.7.3.tar.gz (2.7 MB view hashes)

Uploaded Source

Built Distributions

Pyomo-6.7.3-cp312-cp312-win_arm64.whl (4.6 MB view hashes)

Uploaded CPython 3.12 Windows ARM64

Pyomo-6.7.3-cp312-cp312-win_amd64.whl (4.8 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

Pyomo-6.7.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

Pyomo-6.7.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.6 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

Pyomo-6.7.3-cp312-cp312-macosx_11_0_arm64.whl (5.2 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

Pyomo-6.7.3-cp311-cp311-win_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.11 Windows ARM64

Pyomo-6.7.3-cp311-cp311-win_amd64.whl (4.9 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

Pyomo-6.7.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

Pyomo-6.7.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.9 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

Pyomo-6.7.3-cp311-cp311-macosx_11_0_arm64.whl (5.3 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

Pyomo-6.7.3-cp310-cp310-win_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.10 Windows ARM64

Pyomo-6.7.3-cp310-cp310-win_amd64.whl (4.9 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

Pyomo-6.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

Pyomo-6.7.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (12.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

Pyomo-6.7.3-cp310-cp310-macosx_11_0_arm64.whl (5.3 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

Pyomo-6.7.3-cp39-cp39-win_arm64.whl (4.7 MB view hashes)

Uploaded CPython 3.9 Windows ARM64

Pyomo-6.7.3-cp39-cp39-win_amd64.whl (4.9 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

Pyomo-6.7.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

Pyomo-6.7.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (12.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

Pyomo-6.7.3-cp39-cp39-macosx_11_0_arm64.whl (5.3 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Pyomo-6.7.3-cp38-cp38-win_amd64.whl (5.0 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

Pyomo-6.7.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Pyomo-6.7.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

Pyomo-6.7.3-cp38-cp38-macosx_11_0_arm64.whl (5.3 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page