|
|
Line 1: |
Line 1: |
| The '''quadratic assignment problem''' ('''QAP''') is one of fundamental [[combinatorial optimization]] problems in the branch of [[Optimization (mathematics)|optimization]] or [[operations research]] in [[mathematics]], from the category of the [[facilities location]] problems.
| | Not much to tell about me at all.<br>Hurrey Im here and a part of wmflabs.org.<br>I just hope I am useful at all<br><br>Here is my web site; [http://wiki.Prishtinahackerspace.org/index.php?title=User:CasieMkldhuk How To Get Free Fifa 15 Coins] |
| | |
| The problem models the following real-life problem:
| |
| | |
| :There are a set of ''n'' facilities and a set of ''n'' locations. For each pair of locations, a ''distance'' is specified and for each pair of facilities a ''weight'' or ''flow'' is specified (e.g., the amount of supplies transported between the two facilities). The problem is to assign all facilities to different locations with the goal of minimizing the sum of the distances multiplied by the corresponding flows.
| |
| | |
| Intuitively, the cost function encourages factories with high flows between each other to be placed close together.
| |
| | |
| The problem statement resembles that of the [[assignment problem]], except that the [[Loss function|cost function]] is expressed in terms of quadratic inequalities, hence the name.
| |
| | |
| ==Formal mathematical definition==
| |
| | |
| The formal definition of the quadratic assignment problem is as follows:
| |
| | |
| :Given two sets, ''P'' ("facilities") and ''L'' ("locations"), of equal size, together with a [[weight function]] ''w'' : ''P'' × ''P'' → '''[[real number|R]]''' and a distance function ''d'' : ''L'' × ''L'' → '''[[real number|R]]'''. Find the [[bijection]] ''f'' : ''P'' → ''L'' ("assignment") such that the cost function:
| |
| | |
| ::<math>\sum_{a,b\in P}w(a,b)\cdot d(f(a), f(b))</math>
| |
| :is minimized.
| |
| | |
| Usually weight and distance functions are viewed as square real-valued [[matrix (mathematics)|matrices]], so that the cost function is written down as:
| |
| | |
| :<math>\sum_{a,b\in P}w_{a,b}d_{f(a),f(b)}</math>
| |
| | |
| In matrix notation:
| |
| | |
| :<math>min_{X\in\Pi_n} trace(WXDX^T)</math> where <math>\Pi_n</math> are the permutation matrices, "W" is the weight matrix and "D" is the distance matrix.
| |
| | |
| == Computational complexity ==
| |
| | |
| The problem is [[NP-hard]], so there is no known [[algorithm]] for solving this problem in polynomial time, and even small instances may require long computation time. The [[travelling salesman problem]] may be seen as a special case of QAP if one assumes that the flows connect all facilities only along a single ring, all flows have the same non-zero (constant) value. Many other problems of standard [[combinatorial optimization]] problems may be written in this form.
| |
| | |
| == Applications ==
| |
| | |
| In addition to the original plant location formulation, QAP is a mathematical model for the problem of placement of interconnected [[electronic component]]s onto a [[printed circuit board]] or on a [[integrated circuit|microchip]], which is part of the [[place and route]] stage of [[computer aided design]] in the electronics industry.
| |
| | |
| ==See also==
| |
| *[[Quadratic bottleneck assignment problem]]
| |
| | |
| == References ==
| |
| * {{cite book|author = [[Michael R. Garey]] and [[David S. Johnson]] | year = 1979 | title = [[Computers and Intractability: A Guide to the Theory of NP-Completeness]] | publisher = W.H. Freeman | isbn = 0-7167-1045-5}} A2.5: ND43, pg.218.
| |
| | |
| ==External links==
| |
| * http://www.seas.upenn.edu/qaplib/ QAPLIB - A Quadratic Assignment Problem Library
| |
| * http://issuu.com/spconguy/docs/ant-algorithm-applied-to-the-quadratic-assignment- - A QAP sample application
| |
| [[Category:NP-hard problems]]
| |
| [[Category:Combinatorial optimization]]
| |
Not much to tell about me at all.
Hurrey Im here and a part of wmflabs.org.
I just hope I am useful at all
Here is my web site; How To Get Free Fifa 15 Coins