Instructions

Every day a widget supplier supplies widgets from the warehouse (W) to four locations - Ahmednagar (A), Bikrampore (B), Chitrachak (C), and Deccan Park (D). The daily demand for widgets in each location is uncertain and independent of each other. Demands and corresponding probability values (in parenthesis) are given against each location (A, B, C, and D) in the figure below. For example, there is a 40% chance that the demand in Ahmednagar will be 50 units and a 60% chance that the demand will be 70 units. The lines in the figure connecting the locations and warehouse represent two-way roads connecting those places with the distances (in km) shown beside the line. The distances in both the directions along a road are equal. For example, the road from Ahmednagar to Bikrampore and the road from Bikrampore to Ahmednagar are both 6 km long.

Every day the supplier gets the information about the demand values of the four locations and creates the travel route that starts from the warehouse and ends at a location after visiting all the locations exactly once. While making the route plan, the supplier goes to the locations in decreasing order of demand. If there is a tie for the choice of the next location, the supplier will go to the location closest to the current location. Also, while creating the route, the supplier can either follow the direct path (if available) from one location to another or can take the path via the warehouse. If both paths are available (direct and via warehouse), the supplier will choose the path with minimum distance.

Question 7

If the total number of widgets delivered in a day is 250 units, then what is the total distance covered in the route (in km)?

** Correct Answer:** 38

Solution

Points to be noted:

1. Starts from the warehouse and ends at a location after visiting all the locations exactly once.

2. While making the route plan, the supplier goes to the locations in decreasing order of demand. If equal demand, goes to the nearest ones first.

3. While creating the route, the supplier can either follow the direct path (if available) from one location to another or can take the path via the warehouse(supplier prefers minimum distance).

In the question, it is given that total number of units delivered is 250 units.

Maximum number of widgets that can be delivered is 70 units(A) + 50 units(D) + 60 units(B) + 100 units(C) = 280 units

From this 30 units should be decreased. 30 units can be decreased only when C's demand decreases to 70 units(because the difference for remaining locations is 20 units)

Therefore, the only possibility is 70 units(A) + 50 units(D) + 60 units(B) + 70 units(C)

From statement 1, the order should be A - C - B - D(as A is nearer to warehouse than C)

Distance from Warehouse to A is 5 km

Distance from A to C is 17 km

Distance from C to B is 4 km

Distance from B to D is 12 km

Total distance covered = 5 + 17 + 4 + 12 = 38 km

Comments