our job as an industrial engineer is to come up with the location of the distribution center (to the nearest mile) that minimizes the cost for your company. The weekly cost is given by the formula cost = 0.5 * distance * quantity. Assume a dense network of roads such that the distance between your new distribution center and the customer is a straight line. When done plot the location of the customers (using one color) and the optimal location for the distribution center (using a different color). Make sure that your program outputs the total weekly shipping cost from that location onto the command window.
Suppose that you are an engineer tasked with finding a new location for your distribution center (let's say you work as an industrial engineer at a cosmetics company). You have a good idea of who your customers are and how many tons of cosmetics you must ship per week. Using your company headquarters as the origin, you plot out the following table:
Customer x-location (miles) y-location (miles) Quantity (tons/week)
JC Penney 10 280 3
BB&B 70 180 7
Target 80 160 4
Bath&Body Works 170 20 5
Walmart 220 100 2
Macy's 270 80 6
Your job as an industrial engineer is to come up with the location of the distribution center (to the nearest mile) that minimizes the cost for your company. The weekly cost is given by the formula cost = 0.5 * distance * quantity. Assume a dense network of roads such that the distance between your new distribution center and the customer is a straight line.
When done plot the location of the customers (using one color) and the optimal location for the distribution center (using a different color). Make sure that your program outputs the total weekly shipping cost from that location onto the command window.
MINIMUM WEEKLY COST = 0.5*DISTANCE*QUANTITY
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 5 images