Tools › Operations Research › Networks and Routing › Facility Location › Example

One warehouse for ten customers: the least-distance point sits on the heaviest customer, and the center of gravity costs 9 % more

ToolFacility Location
SourceOriginal illustrative data (invented places and tonnages). Method: Weiszfeld, E. (1937). "Sur le point pour lequel la somme des distances de n points donnés est minimum." Tôhoku Mathematical Journal, Vol. 43, pp. 355–386; Beck, A., and Sabach, S. (2015). "Weiszfeld's Method: Old and New Results." Journal of Optimization Theory and Applications, Vol. 164, No. 1, pp. 1–40 (the test of a demand point, section 7.1).
LevelUndergraduate

Problem

Ten customers receive 2,180 tons a week in all; one of them, Ridgeport Mill at (14, 46), takes 1,000 tons. Coordinates are in miles. Find the center of gravity, the point of least weighted distance (the Weber point), and the difference between the two in ton-miles.

Inputs to Enter

  • Ridgeport Mill (14, 46) 1,000 tons; Alder Bay (6, 12) 120; Birch Point (22, 62) 90; Cobalt Springs (55, 60) 180; Dunmore (70, 25) 160
  • Eagle Pass (48, 8) 140; Fairhaven (30, 24) 150; Granite Falls (62, 45) 130; Harlow (40, 38) 110; Iron Gate (76, 52) 100
  • One facility, straight-line distance, circuity factor 1
Open the Facility Location tool (loaded with this example)

Answers

  • Center of gravity: x = 69,080 ÷ 2,180 = 31.69, y = 87,770 ÷ 2,180 = 40.26; weighted distance from it 54,451 tons × mi
  • Test of Ridgeport Mill: the pulls of the nine other customers on it sum to a vector of length 895.8, which is not larger than its own 1,000 tons, so the mill is the least-distance point
  • Weiszfeld's iteration from the center of gravity moves to (27.76, 41.25) and (24.91, 42.15) and then stops on the mill when it becomes the nearest demand point and passes the test
  • Least weighted distance: 49,851 tons × mi at (14, 46); the center of gravity, 18.6 mi away, costs 9.23 % more
  • Two facilities: 25,951 tons × mi (the global optimum over every split of the ten customers into two groups)

Notes

The tool's default inputs are this case; press Submit, or open /analysis-tools/operations-research/networks/facility-location/?try=heavy-customer. Illustrative data; the figures are checked against an independent scipy computation (test_facility_location.php). Straight-line distances; not a site recommendation.

More Examples for This Tool