Member-only story
Linear Programming using Python
A step by step introduction to formulating and solving a linear optimization problem using PuLP library in Python.
Objective of the Article
The main objective of this article is to introduce the reader to one of the easiest and one of the most used tools to code up a linear optimization problem in Python using the PuLP library. It also gives a quick introduction about optimization and linear programming so that even those readers who have little or no prior knowledge about Optimization, Prescriptive Analytics or Operations Research can easily understand the context of the article and what it will be talking about. We also are touching upon how to formulate a LP using mathematical notations.
Prerequisites
The given prerequisites are good to have and not necessary.
- Basic coding knowledge in Python.
- Basic understanding of linear programming, objective function, constraints and decision variables.










