A Gentle Introduction to Linear Programming in Python
summary
Uses Python 2.7 and the PuLP library to build and solve integer and continuous linear programs; first model maximizes profit for cupcakes and cream puffs with 800 baking hours / 350 frosting hours, profits $2.85 and $3.15 each, and returns an optimal solution (coded as integers). A second model minimizes ingredient cost for 275 premium and 450 standard granola pouches using oats, cashews, honey, raisins and list comprehensions, yields an optimal feasible solution and prints total cost ($1,346).
AI-written summary · about
chapters (5)
- 0:00Start
- 12:37Constraints - limiting factors
- 15:44Objective function & Constraints Equations
- 23:19Manual Solution Interpretation
- 23:36Setting Up Environment
related talks
37mImplementing Reinforcement Learning for Marketing Channel Optimization with Python
55mDerivatives Analytics with Python & Numpy
44mPython for Economists: An overview of Python tools for Economists
29mDecision sciences in Python
37mAccelerating Scientific Computing in Python with Numba: A Real-World Example
35mCustomer Segmentation in Python
45mFrom Ancient Greeks to Modern Geeks - Basic Machine Learning Algorithms
44mScalable Algorithmic Primitives for Data Science
