How to Solve Optimization Problems with Python

How to use the PuLP library to solve Linear Programming problems with a few lines of code

Kevin Babitz
Towards Data Science
6 min readJan 31, 2021

--

Photo by Charles Deluvio on Unsplash

Linear programming (or linear optimization) is the process of solving for the best outcome in mathematical problems with constraints. PuLP is a powerful library that helps Python users solve these types of problems with just a few lines…

--

--

Data Scientist | MSE in Data Science at University of Pennsylvania (May 2021)