Logistics planning problem
You are consulting for kitchen oven manufacturer helping to plan their logistics for next month. There are two warehouse locations (New York, and Atlanta), and four regional customer locations (East, South, Midwest, West). The expected demand next month for East it is 1,800, for South it is 1,200, for the Midwest it is 1,100, and for West it is 1000. The cost for shipping each of the warehouse locations to the regional customer's is listed in the table below. Your goal is to fulfill the regional demand at the lowest price.
Customer | New York | Atlanta |
---|---|---|
East | $211 | $232 |
South | $232 | $212 |
Midwest | $240 | $230 |
West | $300 | $280 |
Two Python dictionaries costs
and var_dict
have been created for you containing the costs and decision variables of the model. You can explore them in the console.
This exercise is part of the course
Supply Chain Analytics in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
from pulp import *
# Initialize Model
model = LpProblem("Minimize Transportation Costs", ____)