Optimization problems in Python using Pyomo: An introduction
summary
Covers building Pyomo models end to end with a concrete vs abstract model workflow and runnable notebooks, modeling a warehouse location problem with 5 countries, 4 candidate warehouses and a hard limit of 2 warehouses that minimizes transport cost to $420 using x fraction and y binary variables and the glpk and CBC solvers, plus a Sudoku-as-binary-cube feasibility model that enumerates 2 solutions; shows how to pass data, instantiate models, add exclusion constraints to get new solutions, and where code lives.
AI-written summary · about
chapters (11)
- 0:00Introduction to optimization
- 2:35What is Pyomo
- 5:00Warehouse problem setup
- 8:08Concrete vs abstract models
- 16:52Solving warehouse problem
- 17:12Abstract model approach
- 21:27Sudoku problem setup
- 23:57Modeling Sudoku in Pyomo
- 26:48Solving Sudoku with Pyomo
- 29:13Recap and Pyomo capabilities
- 31:18Closing and resources
