Question: I need the code written out for Matlab(copy/ paste) and please double check because I don't have much time to submit it. Thanks A company

 I need the code written out for Matlab(copy/ paste) and please

I need the code written out for Matlab(copy/ paste) and please double check because I don't have much time to submit it. Thanks

double check because I don't have much time to submit it. Thanks

A company wants to locate a distribution center that will serve six of its major customers in a 3030 mile area. The locations of the customers relative to the southwest cor (the x direction is east, the y direction is north). Also given is the volume in tons per week that must be delivered from the distribution center to each customer. The weekly d from the distribution center. For simplicity we will assume that this distance is the straight line distance between the customer and the distribution center. The weekly cos Find the location of the distribution center (to the nearest mile) that minimizes the total weekly cost to service all six customers and the minimum weekly cost. Store the x and y location as x min and ymin respectively. Store the minimum cost as Mincost It may be helpful to use nested loops to loop through all of the possible x and y positions. In a 3030 mile area. The locations of the customers relative to the southwest corner of the area are given in the following table in terms of ( x, y ) coordinates ek that must be delivered from the distribution center to each customer. The weekly delivery cost c for each customer depends on the volume and the distance ight line distance between the customer and the distribution center. The weekly cost for each customer is given by c=0.5d+V weekly cost to service all six customers and the minimum weekly cost. Mincost

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!