fbpx
Wikipedia

Quadratic assignment problem

The quadratic assignment problem (QAP) is one of the fundamental combinatorial optimization problems in the branch of optimization or operations research in mathematics, from the category of the facilities location problems first introduced by Koopmans and Beckmann.[1]

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 facilities with high flows between each other to be placed close together.

The problem statement resembles that of the assignment problem, except that the cost function is expressed in terms of quadratic inequalities, hence the name.

Formal mathematical definition edit

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 × PR and a distance function d : L × LR. Find the bijection f : PL ("assignment") such that the cost function:
 
is minimized.

Usually weight and distance functions are viewed as square real-valued matrices, so that the cost function is written down as:

 

In matrix notation:

 

where   is the set of   permutation matrices,   is the weight matrix and   is the distance matrix.

Computational complexity edit

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. It was also proven that the problem does not have an approximation algorithm running in polynomial time for any (constant) factor, unless P = NP.[2] The travelling salesman problem (TSP) 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 and all distances are equal to the respective distances of the TSP instance. Many other problems of standard combinatorial optimization problems may be written in this form.

Applications edit

In addition to the original plant location formulation, QAP is a mathematical model for the problem of placement of interconnected electronic components onto a printed circuit board or on a microchip, which is part of the place and route stage of computer aided design in the electronics industry.

See also edit

References edit

Notes
  1. ^ Koopmans TC, Beckmann M (1957). Assignment problems and the location of economic activities. Econometrica 25(1):53-76
  2. ^ Sahni, Sartaj; Gonzalez, Teofilo (July 1976). "P-Complete Approximation Problems". Journal of the ACM. 23 (3): 555–565. doi:10.1145/321958.321975. hdl:10338.dmlcz/103883.
Sources

External links edit

quadratic, assignment, problem, quadratic, assignment, problem, fundamental, combinatorial, optimization, problems, branch, optimization, operations, research, mathematics, from, category, facilities, location, problems, first, introduced, koopmans, beckmann, . The quadratic assignment problem QAP is one of the fundamental combinatorial optimization problems in the branch of optimization or operations research in mathematics from the category of the facilities location problems first introduced by Koopmans and Beckmann 1 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 facilities with high flows between each other to be placed close together The problem statement resembles that of the assignment problem except that the cost function is expressed in terms of quadratic inequalities hence the name Contents 1 Formal mathematical definition 2 Computational complexity 3 Applications 4 See also 5 References 6 External linksFormal mathematical definition editThis section does not cite any sources Please help improve this section by adding citations to reliable sources Unsourced material may be challenged and removed April 2024 Learn how and when to remove this template message 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 R and a distance function d L L R Find the bijection f P L assignment such that the cost function a b Pw a b d f a f b displaystyle sum a b in P w a b cdot d f a f b nbsp dd is minimized Usually weight and distance functions are viewed as square real valued matrices so that the cost function is written down as a b Pwa bdf a f b displaystyle sum a b in P w a b d f a f b nbsp In matrix notation minX Pntrace WXDTXT displaystyle min X in Pi n operatorname trace WXD T X T nbsp where Pn displaystyle Pi n nbsp is the set of n n displaystyle n times n nbsp permutation matrices W displaystyle W nbsp is the weight matrix and D displaystyle D nbsp is the distance matrix Computational complexity editThe 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 It was also proven that the problem does not have an approximation algorithm running in polynomial time for any constant factor unless P NP 2 The travelling salesman problem TSP 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 and all distances are equal to the respective distances of the TSP instance Many other problems of standard combinatorial optimization problems may be written in this form Applications editIn addition to the original plant location formulation QAP is a mathematical model for the problem of placement of interconnected electronic components onto a printed circuit board or on a microchip which is part of the place and route stage of computer aided design in the electronics industry See also editQuadratic bottleneck assignment problemReferences editNotes Koopmans TC Beckmann M 1957 Assignment problems and the location of economic activities Econometrica 25 1 53 76 Sahni Sartaj Gonzalez Teofilo July 1976 P Complete Approximation Problems Journal of the ACM 23 3 555 565 doi 10 1145 321958 321975 hdl 10338 dmlcz 103883 SourcesMichael R Garey and David S Johnson 1979 Computers and Intractability A Guide to the Theory of NP Completeness W H Freeman ISBN 0 7167 1045 5 A2 5 ND43 pg 218 External links edithttps doi org 10 7488 ds 3428 QAPLIB A Quadratic Assignment Problem Library http www wiomax com team xie maos qap quadratic assignment problem project portal MAOS QAP Java based Quadratic Assignment Problem Solver https CRAN R project org package qap R package qap Heuristics for the Quadratic Assignment Problem https apps microsoft com store detail qapsolver 9N7WMCFB6NZZ Metaheuristic QAP solver for Windows 10 11 Retrieved from https en wikipedia org w index php title Quadratic assignment problem amp oldid 1216889645, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.