Jump to content

Pyomo

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 70.57.240.209 (talk) at 05:12, 1 September 2016 (New stable release). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Pyomo
Designed byWilliam E. Hart
Carl Laird
John Siirola
Jean-Paul Watson
David Woodruff
First appeared2008; 16 years ago (2008)
Stable release
4.4.1 / August 22, 2016; 8 years ago (2016-08-22)
OSCross-platform: Linux, Mac OS X and Windows
LicenseBSD license
Filename extensions.py
Websitewww.pyomo.org
Influenced by
Python, AMPL, General Algebraic Modeling System

Pyomo is a collection of Python software packages for formulating optimization models.[1][2]

Pyomo was developed by William Hart and Jean-Paul Watson at Sandia National Laboratories and David Woodruff at University of California, Davis. Significant extensions to Pyomo were developed by John Siirola at Sandia National Laboratories and Carl Laird at Purdue University. Pyomo is an open-source project that is freely available, and it is licensed with the BSD license. Pyomo is developed as part of the COIN-OR project. Pyomo is a popular open-source software package that is used by a variety of government agencies and academic institutions.

Features

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: sets, scalar and multidimensional parameters, decision variables, objectives, constraints, equations, disjunctions and more. Optimization models can be initialized with python data, and external data sources can be defined using spreadsheets, databases, various formats of text files. Pyomo supports both abstract models, which are defined without data, and concrete models, which are defined with data. In both cases, Pyomo allows for the separation of model and data.

Pyomo supports dozens of solvers, both open source and commercial, including many solvers supported by AMPL, PICO, CBC, CPLEX, IPOPT, Gurobi and GLPK. Pyomo can either invoke the solver directly or asynchronous with a solver manager. Solver managers support remote, asynchronous execution of solvers, which supports parallel execution of Pyomo scripts. Solver interaction is performed with a variety of solver interfaces, depending on the solver being used. A very generic solver interface is supported with AMPL's nl (format).

The following software packages integrate Pyomo as a library to support optimization modeling and analysis:

  • SolverStudio lets you use Excel to edit, save and solve optimisation models built using a variety of modeling languages, including Pyomo.[3] Pyomo is bundled with the SolverStudio software.
  • TEMOA (Tools for Energy Model Optimization and Assessment) is an open source modeling framework for conducting energy system analysis.[4] The core component of TEMOA is an energy economy optimization model. This model is formulated and optimized using Pyomo.
  • MinPower is an open source toolkit for students and researchers in power systems. It is designed to make working with standard power system models simple and intuitive.[5] MinPower uses Pyomo to formulate and optimize these power system models.

See also

References

  1. ^ Hart, William; Carl Laird; Jean-Paul Watson; David L. Woodruff (2012). Pyomo: Optimization Modeling in Python. Springer.
  2. ^ Hart, William; Jean-Paul Watson; David L. Woodruff (2011). "Pyomo: modeling and solving mathematical programs in python". Mathematical Programming Computation. Vol. 3, no. 3.
  3. ^ Mason, Andrew (2013). "SolverStudio: A New Tool for Better Optimisation and Simulation Modelling in Excel". INFORMS Transactions on Education. Vol. 14, no. 1. pp. 45–52.
  4. ^ DeCarolis, Joseph; Kevin Hunter; Sarat Sreepathi (2010). "The TEMOA Project: Tools for Energy Model Optimization and Analysis". Stockholm, Sweden. {{cite news}}: Unknown parameter |conference= ignored (help)
  5. ^ Greenhall, Adam; Rich Christie; Jean-Paul Watson (2012). "Minpower: A power systems optimization toolkit". {{cite news}}: Unknown parameter |conference= ignored (help)