Varignon frame explained

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 destribution 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

x1,...xn

, 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

v

. It can be shown (see below), that point

v

is the optimal location which minimizes the weighted sum of distances

(1):

n
D(x)=\sum
i=1

mi\|xi-x\|

.The optimization problem is called Weber problem.[1]

Mechanical Problem - Optimization Problem

If the holes have locations

x1,...,xn

and the masses of the weights are

m1,...,mn

then the force acting at the i-th string has the magnitude

mig

(

g=9.81m/sec

: constant of gravity) and direction

\tfrac{xi-v}{\|xi-v\|}

(unitvector). Summing up all forces and cancelling the common term

g

one gets the equation

(2):

n
F(v)=\sum
i=1
m
ixi-v
\|xi-v\|

=0

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

This is a non-linear system for the coordinates of point

v

which can be solved iteratively by the Weiszfeld-algorithm (see below)[2]

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

(3):

F(x)=\nablaD(x)=\begin{bmatrix}

\partialD
\partialx

\\

\partialD
\partialy

\end{bmatrix}.

Hence Function

D

has at point

v

a local extremum and the Varignon frame provides the optimal location experimentally.

Example

For the following example the points are

x1=(0,0),x2=(40,0),x3=(50,40),

x4=(10,50),x5=(-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(x)-c=0,c>Lop

(see equation (1)).

Special cases n=1 und n=2

n=1

one gets

v=x1

.

n=2

and

m2>m1

one gets

v=x2

.

n=2

and

m2=m1

point

v

can be any point of the line section

\overline{X1X2}

(see diagram). In this case the level curves (points with the same not-optimal sum) are confocal ellipses with the points

x1,x2

as common foci.

Weiszfeld-algorithm and a fixpoint problem

Replacing in formula (2) vector

v

in the nominator by

vk+1

and in the denominator by

vk

and solving the equation for

vk+1

one gets:[3]

(4):

vk+1

n
=\sum
i=1
mixi
\|xi-vk\|

/

n
\sum
i=1
mi
\|xi-vk\|
which describes an iteration. A suitable starting point is the center of mass with mass

mi

in point

xi

:

v0=

n
\summixi
i=1
n
\summi
i=1
.This algorithm is called Weiszfeld-algorithm.[4]

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

(5)

n
G(x)=\sum
i=1
mixi
\|xi-x\|

/

n
\sum
i=1
mi
\|xi-x\|
with fixpoint equation

x=G(x)

(see fixed point)

Remark on numerical problems:
The iteration algorithm described here may have numerical problems if point

vk

is close to one of the points

x1,...xn

.

See also

n=3,m1=m2=m3=1

)

External links

References

  1. Z. Drezner, H.W. Hamacher: Facility Location, Springer, 2004,, p. 7
  2. Horst W. Hamacher: Mathematische Lösungsverfahren für planare Standortprobleme, Vieweg+Teubner-Verlag, 2019,, p. 31
  3. Karl-Werner Hansmann :Industrielles Management, De Gruyter Verlag, 2014,, S. 115
  4. see Facility location, p. 9