Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Pyomo

Infos

Plus points

  • Probably one of the most powerful and best options, besides Google OR-Tools.
  • Higher-level and more Pythonic API than Google OR-Tools?

Minus points

  • Old codebase and API with some quirks - e.g. "Set" is 1-indexed and seems to be an array.
  • Old design with some limitations (see e.g. GH issue) - created before Numpy, and way before e.g. Tensorflow or PyTorch
  • Documentation in multiple places, examples/tutorials separate (updated?); most examples use * imports
  • Doesn't interface to Google OR-Tools solvers, and doesn't support some of the features there, like routing. (Probably true the other way around as well, Pyomo has features that OR-Tools doesn't have?)

Installation

Installation is very simple, since Pyomo and the open-source solvers have been packaged at conda-forge:

conda config --add channels conda-forge
conda install pyomo pyomo.extras coincbc ipopt glpk

Examples