ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

Supply Chain Analytics in Python

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

from pulp import *

# Initialize Model
model = LpProblem("Minimize Transportation Costs", ____)
Editar y ejecutar código