Varignon frame

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
File:Varignon-app.svg
Varignon frame

The Varignon frame, named after Pierre Varignon, is a mechanical device which can be used to determine an optimal location of a warehouse for the distribution of goods to a set of shops. Optimal means that the sum of the weighted distances of the shops to the warehouse should be minimal. The frame consists of a board with n holes corresponding to the n shops at the locations 𝐱1,...𝐱n, n strings are tied together in a knot at one end, the loose ends are passed, one each, through the holes and are attached to weights below the board (see diagram). If the influence of friction and other odds of the real world are neglected, the knot will take a position of equilibrium 𝐯. It can be shown (see below), that point 𝐯 is the optimal location which minimizes the weighted sum of distances

(1):  D(𝐱)=∑i=1nmi‖𝐱i−𝐱‖.

The optimization problem is called Weber problem.[1]

Mechanical Problem - Optimization Problem

File:Varignon-ex-5-f.svg
At point 𝐯 the sum of all forces is 0

If the holes have locations 𝐱1,…,𝐱n and the masses of the weights are m1,...,mn then the force acting at the i-th string has the magnitude mi⋅g (g=9.81m/sec: constant of gravity) and direction 𝐱i−𝐯‖𝐱i−𝐯‖ (unitvector). Summing up all forces and cancelling the common term g one gets the equation

(2): 𝐅(𝐯)=∑i=1nmi𝐱i−𝐯‖𝐱i−𝐯‖=𝟎.

(At the point of equilibrium the sum of all forces is zero !)

This is a non-linear system for the coordinates of point 𝐯 which can be solved iteratively by the Weiszfeld-algorithm (see below)[2]

The connection between equation (1) and equation (2) is:

(3):  𝐅(𝐱)=∇D(𝐱)=[∂D∂x∂D∂y].

Hence Function D has at point 𝐯 a local extremum and the Varignon frame provides the optimal location experimentally.

File:Varignon-ex-5.svg
Varignon frame: example
File:Varignon-ex-5-niv-c.svg
Level curves

Example

For the following example the points are

𝐱1=(0,0), 𝐱2=(40,0), 𝐱3=(50,40),
𝐱4=(10,50), 𝐱5=(−10,30)

and the weights

m1=10,m2=10,m3=20,m4=10,m5=5.

The coordinates of the optimal solution (red) are (32.5,30.1) and the optimal weighted sum of lengths is Lop=1679. The second picture shows level curves which consist of points of equal but not optimal sums. Level curves can be used for assigning areas, where the weighted sums do not exceed a fixed level. Geometrically they are implicit curves with equations

D(𝐱)−c=0,c>Lop (see equation (1)).
File:Varignon-n2-niv-c.svg
Case n=2,m1=m2=1, the level curves are confocal ellipses

Special cases n=1 und n=2

  • In case of n=1 one gets 𝐯=𝐱1.
  • In case of n=2 and m2>m1 one gets 𝐯=𝐱2.
  • In case of n=2 and m2=m1 point 𝐯 can be any point of the line section X1X2‾ (see diagram). In this case the level curves (points with the same not-optimal sum) are confocal ellipses with the points 𝐱1,𝐱2 as common foci.

Weiszfeld-algorithm and a fixpoint problem

File:Varignon-fixp.svg
Iteration as fixpoint determination for the example: starting point 𝐯0=(25,15) (green), starting point 𝐯m (blue) is the center of mass

Replacing in formula (2) vector 𝐯 in the nominator by 𝐯k+1 and in the denominator by 𝐯k and solving the equation for 𝐯k+1 one gets:[3]

(4):𝐯k+1=∑i=1nmi𝐱i‖𝐱i−𝐯k‖/∑i=1nmi‖𝐱i−𝐯k‖

which describes an iteration. A suitable starting point is the center of mass with mass mi in point 𝐱i:

𝐯0=∑i=1nmi𝐱i∑i=1nmi.

This algorithm is called Weiszfeld-algorithm.[4]

Formula (4) can be seen as the iteration formula for determining the fixed point of function

(5)𝐆(𝐱)=∑i=1nmi𝐱i‖𝐱i−𝐱‖/∑i=1nmi‖𝐱i−𝐱‖

with fixpoint equation

𝐱=G(𝐱)

(see fixed point)

Remark on numerical problems:
The iteration algorithm described here may have numerical problems if point 𝐯k is close to one of the points 𝐱1,...𝐱n.

See also

External links

References

  1. ↑ Z. Drezner, H.W. Hamacher: Facility Location, Springer, 2004, Template:ISBN, p. 7
  2. ↑ Horst W. Hamacher: Mathematische Lösungsverfahren für planare Standortprobleme, Vieweg+Teubner-Verlag, 2019, Template:ISBN, p. 31
  3. ↑ Karl-Werner Hansmann :Industrielles Management, De Gruyter Verlag, 2014, Template:ISBN, S. 115
  4. ↑ see Facility location, p. 9
  • Uwe Götze: Risikomanagement, Physica-Verlag HD, 2013, Template:ISBN, S. 268
  • Andrew Wood, Susan Roberts : Economic Geography, Taylor & Francis, 2012, Template:ISBN, p. 22
  • H. A. Eiselt, Carl-Louis Sandblom :Operations Research, Springer Berlin Heidelberg, 2010, Template:ISBN, p. 239
  • Robert E. Kuenne: General Equilibrium Economics, Palgrave Macmillan UK, 1992, Template:ISBN, p. 226