Varignon frame: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation - Link equal to linktext)
m WP:ISBN, ISBN: → ISBN (3)
Line 2: Line 2:
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 <math>\mathbf x_1, ...\mathbf x_n</math>, 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 <math>\mathbf v</math>. It can be shown (see below), that point <math>\mathbf v</math> is the optimal location which minimizes the weighted sum of distances
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 <math>\mathbf x_1, ...\mathbf x_n</math>, 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 <math>\mathbf v</math>. It can be shown (see below), that point <math>\mathbf v</math> is the optimal location which minimizes the weighted sum of distances
:'''(1):''' <math>\ D(\mathbf x)=\sum_{i=1}^n m_i\|\mathbf x_i-\mathbf x\|</math>.
:'''(1):''' <math>\ D(\mathbf x)=\sum_{i=1}^n m_i\|\mathbf x_i-\mathbf x\|</math>.
The optimization problem is called [[Weber problem]].<ref>Z. Drezner, H.W. Hamacher: ''Facility Location'', Springer, 2004, ISBN 3-540-21345-7, p. 7</ref>
The optimization problem is called [[Weber problem]].<ref>Z. Drezner, H.W. Hamacher: ''Facility Location'', Springer, 2004, {{ISBN|3-540-21345-7}}, p. 7</ref>

== Mechanical Problem - Optimization Problem ==
== Mechanical Problem - Optimization Problem ==
[[File:Varignon-ex-5-f.svg|thumb|upright=1|At point <math>\mathbf v</math> the sum of all forces is 0]]
[[File:Varignon-ex-5-f.svg|thumb|upright=1|At point <math>\mathbf v</math> the sum of all forces is 0]]
Line 10: Line 10:
(At the point of ''equilibrium'' the sum of all forces is zero !)
(At the point of ''equilibrium'' the sum of all forces is zero !)


This is a [[non-linear system]] for the coordinates of point <math>\mathbf v</math> which can be solved iteratively by the ''Weiszfeld-algorithm'' (see below)<ref>Horst W. Hamacher: ''Mathematische Lösungsverfahren für planare Standortprobleme'', Vieweg+Teubner-Verlag, 2019, ISBN 978-3-663-01968-8, p. 31</ref>
This is a [[non-linear system]] for the coordinates of point <math>\mathbf v</math> which can be solved iteratively by the ''Weiszfeld-algorithm'' (see below)<ref>Horst W. Hamacher: ''Mathematische Lösungsverfahren für planare Standortprobleme'', Vieweg+Teubner-Verlag, 2019, {{ISBN|978-3-663-01968-8}}, p. 31</ref>


The connection between equation '''(1)''' and equation '''(2)''' is:
The connection between equation '''(1)''' and equation '''(2)''' is:
Line 20: Line 20:
[[File:Varignon-ex-5.svg|thumb|upright=1|Varignon frame: example]]
[[File:Varignon-ex-5.svg|thumb|upright=1|Varignon frame: example]]
[[File:Varignon-ex-5-niv-c.svg|thumb|upright=1|Level curves]]
[[File:Varignon-ex-5-niv-c.svg|thumb|upright=1|Level curves]]

== Example ==
== Example ==


Line 27: Line 28:
and the weights
and the weights
:<math>m_1=10,\; m_2=10,\; m_3=20,\; m_4=10,\; m_5=5</math>.
:<math>m_1=10,\; m_2=10,\; m_3=20,\; m_4=10,\; m_5=5</math>.
The coordinates of the optimal solution (red) are <math>(32.5, 30.1)</math> and the optimal weighted sum of lenghts is <math>L_\text{op} = 1679</math>. The second picture shows [[Level set|level curves]] which consist of points of equal but not optimal sums. Level curves can be used for assigning areas, where the wheighted sums do not exceed a fixed level. Geometrically they are [[implicit curve|implicit curves]] with equations
The coordinates of the optimal solution (red) are <math>(32.5, 30.1)</math> and the optimal weighted sum of lenghts is <math>L_\text{op} = 1679</math>. The second picture shows [[Level set|level curves]] which consist of points of equal but not optimal sums. Level curves can be used for assigning areas, where the wheighted sums do not exceed a fixed level. Geometrically they are [[implicit curve]]s with equations
:<math>\; D(\mathbf x)-c=0, \; c>L_\text{op}\;</math> (see equation '''(1)''').
:<math>\; D(\mathbf x)-c=0, \; c>L_\text{op}\;</math> (see equation '''(1)''').


Line 40: Line 41:
[[File:Varignon-fixp.svg|thumb|upright=1|Iteration as fixpoint determination for the example: starting point <math>\mathbf v_0=(25,15)</math> (green), starting point <math>\mathbf v_m</math> (blue) is the [[center of mass]] ]]
[[File:Varignon-fixp.svg|thumb|upright=1|Iteration as fixpoint determination for the example: starting point <math>\mathbf v_0=(25,15)</math> (green), starting point <math>\mathbf v_m</math> (blue) is the [[center of mass]] ]]


Replacing in formula '''(2)''' vector <math>\mathbf v</math> in the nominator by <math>\mathbf v_{k+1}</math> and in the denominator by <math>\mathbf v_k</math> and solving the equation for <math>\mathbf v_{k+1}</math> one gets:<ref> Karl-Werner Hansmann :''Industrielles Management'', De Gruyter Verlag, 2014, ISBN 9783486840827, 3486840827, S. 115</ref>
Replacing in formula '''(2)''' vector <math>\mathbf v</math> in the nominator by <math>\mathbf v_{k+1}</math> and in the denominator by <math>\mathbf v_k</math> and solving the equation for <math>\mathbf v_{k+1}</math> one gets:<ref>Karl-Werner Hansmann :''Industrielles Management'', De Gruyter Verlag, 2014, {{ISBN|9783486840827}}, S. 115</ref>
:'''(4):'''<math>\quad \mathbf v_{k+1}=\sum_{i=1}^n \frac{m_i\mathbf x_i}{\|\mathbf x_i-\mathbf v_k\|}\big/ \sum_{i=1}^n \frac{m_i}{\|\mathbf x_i-\mathbf v_k\|}</math>
:'''(4):'''<math>\quad \mathbf v_{k+1}=\sum_{i=1}^n \frac{m_i\mathbf x_i}{\|\mathbf x_i-\mathbf v_k\|}\big/ \sum_{i=1}^n \frac{m_i}{\|\mathbf x_i-\mathbf v_k\|}</math>
which describes an iteration. A suitable starting point is the center of mass with mass <math>m_i</math> in point <math>\mathbf x_i</math>:
which describes an iteration. A suitable starting point is the center of mass with mass <math>m_i</math> in point <math>\mathbf x_i</math>:
Line 63: Line 64:
== References ==
== References ==
<references/>
<references/>
* Uwe Götze: ''Risikomanagement'', Physica-Verlag HD, 2013, ISBN 978-3-642-57587-7, S. 268
* Uwe Götze: ''Risikomanagement'', Physica-Verlag HD, 2013, {{ISBN|978-3-642-57587-7}}, S. 268
* Andrew Wood, Susan Roberts : ''Economic Geography'', Taylor & Francis, 2012, ISBN: 9781136899478, 1136899472, p. 22
* Andrew Wood, Susan Roberts : ''Economic Geography'', Taylor & Francis, 2012, {{ISBN|9781136899478}}, p.&nbsp;22
* H. A. Eiselt, Carl-Louis Sandblom :''Operations Research'', Springer Berlin Heidelberg, 2010, ISBN: 9783642103261, 364210326X, p. 239
* H. A. Eiselt, Carl-Louis Sandblom :''Operations Research'', Springer Berlin Heidelberg, 2010, {{ISBN|9783642103261}}, p.&nbsp;239
* Robert E. Kuenne: ''General Equilibrium Economics'', Palgrave Macmillan UK, 1992, ISBN: 9781349127528, 1349127523, p.226
* Robert E. Kuenne: ''General Equilibrium Economics'', Palgrave Macmillan UK, 1992, {{ISBN|9781349127528}}, p.&nbsp;226


[[Category:Cartography]]
[[Category:Cartography]]

Revision as of 12:46, 15 October 2022

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 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 , 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): .

The optimization problem is called Weber problem.[1]

Mechanical Problem - Optimization Problem

At point the sum of all forces is 0

If the holes have locations and the masses of the weights are then the force acting at the i-th string has the magnitude (: constant of gravity) and direction (unitvector). Summing up all forces and cancelling the common term one gets the equation

(2):.

(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):

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

Varignon frame: example
Level curves

Example

For the following example the points are

and the weights

.

The coordinates of the optimal solution (red) are and the optimal weighted sum of lenghts is . 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 wheighted sums do not exceed a fixed level. Geometrically they are implicit curves with equations

(see equation (1)).
Case , the level curves are confocal ellipses

Special cases n=1 und n=2

  • In case of one gets .
  • In case of and one gets .
  • In case of and point can be any point of the line section (see diagram). In this case the level curves (points with the same not-optimal sum) are confocal ellipses with the points as common foci.

Weiszfeld-algorithm and a fixpoint problem

Iteration as fixpoint determination for the example: starting point (green), starting point (blue) is the center of mass

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

(4):

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

.

This algorithm is called Weiszfeld-algorithm.[4]

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

(5)

with fixpoint equation

(see fixed point)

Remark on numerical problems:
The iteration algorithm described here may have numerical problems if point is close to one of the points .

See also

  • Fermat point (case )

External links

References

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