Tools › Operations Research › Networks and Routing › Facility Location › Example
Choosing two of six candidate warehouse sites by enumeration (p-median with fixed costs)
| Tool | Facility Location |
| Source | Original illustrative data (invented places, tonnages, rate and fixed costs). Method: Hakimi, S. L. (1964). "Optimum Locations of Switching Centers and the Absolute Centers and Medians of a Graph." Operations Research, Vol. 12, pp. 450–459. |
| Level | Undergraduate |
Problem
Twelve customers take 26,000 tons a year at a rate of 0.25 dollars per ton-mile. Six candidate sites have yearly fixed costs of 36,000 to 61,000 dollars. Which two sites give the lowest total of transport and fixed cost, and how does the total change with the number of sites?
Inputs to Enter
- Customers (x, y in miles; tons per year): Abbot Wells (12, 58) 2,400; Barrow (25, 70) 1,800; Calder (38, 52) 3,100; Drayton (20, 36) 2,600; Esk Bridge (44, 30) 2,200; Fenwick (58, 62) 1,900; Glenmoor (70, 44) 2,800; Haddon (64, 20) 1,700; Inver (82, 66) 1,500; Jarrow (88, 30) 2,100; Kelso (34, 12) 1,600; Lorne (52, 44) 2,300
- Sites (x, y; fixed cost): North Yard (30, 62) 52,000; Mill Lot (22, 40) 38,000; Crossroads (48, 42) 61,000; East Park (74, 50) 45,000; South Siding (56, 22) 36,000; Airfield (84, 34) 41,000
- Two sites, straight-line distance, rate 0.25 per ton-mile
Answers
- Of the 15 pairs, Mill Lot and East Park have the lowest total: transport 130,430.12 + fixed 83,000 = 213,430.12 dollars
- Mill Lot serves 13,700 tons at a mean 20.4 mi, East Park 12,300 tons at 19.7 mi
- One site: Crossroads, 167,464.54 + 61,000 = 228,464.54; three sites: 112,362.52 + 119,000 = 231,362.52; the total is lowest at two sites
- Calder, the largest line: 3,100 × 0.25 × 20.00 = 15,500.00 dollars
- Two facilities at free locations would reach 118,840 dollars of transport (heuristic)
Notes
Open this case in the tool: /analysis-tools/operations-research/networks/facility-location/?try=two-of-six (Advanced inputs). Illustrative data; sets and totals equal an independent search over every combination (test_facility_location.php). Not a site recommendation.
More Examples for This Tool
- One warehouse for ten customers: the least-distance point sits on the heaviest customer, and the center of gravity costs 9 % more
- Center of gravity against the Weber point: one far depot drags the weighted average 15.6 miles and adds 22 % to the haul
- Two groups of towns: a second facility cuts the weighted distance by 76 % (location-allocation)
- Two facilities for ten places given by latitude and longitude, with great-circle distances in kilometers