byADIT Free software for engineers and students
EngiFree
Pyomo — The Complete Guide: A Free Optimisation Modelling Language in Python

Pyomo — The Complete Guide: A Free Optimisation Modelling Language in Python

Pyomo is an algebraic modelling language for optimisation, written in Python and developed at Sandia National Laboratories with other contributors. You define variables, constraints and the objective in a form close to mathematical notation, and Pyomo passes the problem to a suitable solver.

What you get

What to know

Pyomo does not include solvers — you install a free or commercial solver separately, depending on the problem type. Start with a small linear problem and build up from there. It is licensed under BSD-3-Clause, commercial use included.

Related tools

For chemical process modelling on top of Pyomo — IDAES. For energy system models — oemof.solph and PyPSA. For multidisciplinary optimisation of engineering systems — OpenMDAO.

The bottom line

Pyomo is a natural choice for an engineer who wants to formulate an optimisation problem in Python — free, flexible and not tied to one solver.

Further reading

מדריכי AI למהנדסים ולמשרד, ב-5 שפות: adit-ai.com ←