In geometry, the Weber problem, named after Alfred Weber, is one of the most famous problems in location theory. It requires finding a point in the plane that minimizes the sum of the transportation costs from this point to n destination points, where different destination points are associated with different costs per unit distance. The Weber problem generalizes the geometric median, which assumes transportation costs per unit distance are the same for all destination points, and the problem of computing the Fermat point, the geometric median of three points. For this reason it is sometimes called the Fermat–Weber problem, although the same name has also been used for the unweighted geometric median problem. The Weber problem is in turn generalized by the attraction–repulsion problem, which allows some of the costs to be negative, so that greater distance from some points is better.
Definition and history of the Fermat, Weber, and attraction-repulsion problems
In the triangle case, the Fermat problem consists in locating a point D with respect to three points A, B, C in such a way that the sum of the distances between D and each of the three other points is minimized. It was formulated by the famous French mathematician Pierre de Fermat before 1640, and it can be seen as the true beginning of both location theory, and space-economy. Torricelli found a geometrical solution to this problem around 1645, but it still had no direct numerical solution more than 325 years later. E. Weiszfeld published a paper in 1937 with an algorithm for the Fermat-Weber problem. As the paper was published in Tohoku Mathematical journal, and Weiszfeld immigrated to USA and changed his name to Vaszoni, his work was not widely known. Kuhn and Kuenne independently found a similar iterative solution for the general Fermat problem in 1962, and, in 1972, Tellier found a direct numerical solution to the Fermat triangle problem, which is trigonometric. Kuhn and Kuenne's solution applies to the case of polygons having more than three sides, which is not the case with Tellier's solution for reasons explained further on. The Weber problem consists, in the triangle case, in locating a point D with respect to three points A, B, C in such a way that the sum of the transportation costs between D and each of the three other points is minimized. The Weber problem is a generalization of the Fermat problem since it involves both equal and unequal attractive forces (see below), while the Fermat problem only deals with equal attractive forces. It was first formulated, and solved geometrically in the triangle case, by Thomas Simpson in 1750. It was later popularized by Alfred Weber in 1909. Kuhn and Kuenne's iterative solution found in 1962, and Tellier's solution found in 1972 apply to the Weber triangle problem as well as to the Fermat one. Kuhn and Kuenne's solution applies also to the case of polygons having more than three sides. In its simplest version, the attraction-repulsion problem consists in locating a point D with respect to three points A1, A2 and R in such a way that the attractive forces exerted by points A1, A2, and the repulsive force exerted by point R cancel each other out as it must do at the optimum. It constitutes a generalization of both the Fermat and Weber problems. It was first formulated and solved, in the triangle case, in 1985 by Luc-Normand Tellier. In 1992, Chen, Hansen, Jaumard and Tuy found a solution to the Tellier problem for the case of polygons having more than three sides.
Torricelli’s geometrical solution of the Fermat triangle problem
Evangelista Torricelli’s geometrical solution of the Fermat triangle problem stems from two observations:
Point D is at its optimal location when any significant move out of that location induces a net increase of the total distance to reference points A, B, C, which means that the optimal point is the only point where an infinitesimal movement towards one of the three reference points induces a reduction of the distance to that point that is equal to the sum of the induced changes in the distances to the two other points; in fact, in the Fermat problem, the advantage to reduce the distance from A by one kilometer is equal to the advantage to reduce the distance from B by one kilometer or the distance from C by the same length; in other words, the activity to be located at D is equally attracted by A, B, C; According to an important theorem of Euclidean geometry, in a convex quadrilateral inscribed in a circle, the opposite angles are supplementary (that is their sum is equal to 180°); that theorem can also take the following form: if we cut a circle with a chord AB, we get two circle arcs, let us say AiB, AjB; on arc AiB, any ∠AiB angle is the same for any chosen point i, and, on arc AjB, all the ∠AjB angles are also equal for any chosen point j; moreover, the ∠AiB, ∠AjB angles are supplementary. It can be proved that the first observation implies that, at the optimum, the angles between the AD, BD, CD straight lines must be equal to 360° / 3 = 120°. Torricelli deduced from that conclusion that:
If any triangle △ABD, whose ∠ADB angle is equal to 120°, generates an ABDE convex quadrilateral inscribed in a circle, the ∠ABE angle of the △ABE triangle must be equal to (180° − 120°) = 60°; One way to determine the set of locations of D for which the ∠ADB angle is equal to 120° is to draw an equilateral △ABE triangle (because each angle of an equilateral triangle is equal to 60°), where E is located outside the △ABC triangle, and draw a circle round that triangle; then all the D' points of the circumference of that circle that lie within the △ABC circle are such that the ∠AD'B angle is equal to 120°; The same reasoning can be made with respect to triangles △ACD, △BCD; This leads to draw two other equilateral triangles △ACF, △BCG, where F, G are located outside the △ABC triangle, as well as two other circles round these equilateral triangles, and to determine the location where the three circles intersect; at that location, the angles between the AD, BD, CD straight lines is necessarily equal to 120°, which proves that it is the optimal location.
Simpson’s geometrical solution of the Weber triangle problem
… excerpt ends here. Continue reading the full article.





