encyclopegia.org

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.[src] It was originally proposed by Tjalling Koopmans and Martin J.[src] Beckmann.[src] The problem models the following real-life problem: :There are a set of n facilities and a set of n locations.[src] 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).[src] 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.[src] The problem statement resembles that of the assignment problem, except that the cost function is expressed in terms of quadratic inequalities, hence the name.[src]

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.[src] It was originally proposed by Tjalling Koopmans and Martin J.[src] Beckmann.[src] The problem models the following real-life problem: There are a set of n facilities and a set of n locations.[src] 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).[src] 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.[src] The problem statement resembles that of the assignment problem, except that the cost function is expressed in terms of quadratic inequalities, hence the name.[src] ==Formal mathematical definition== The formal definition of the quadratic assignment problem is as follows.[src] Given a positive integer n and n^4 cost coefficients \{c_{i,j,p,q}\} , find the n \times n matrix [x_{ij}] that minimizes the objective function \sum_{i,j} \sum_{p,q} c_{i,j,p,q} x_{i,j} x_{p,q} subject to the constraints \sum_j x_{i,j} = \sum_i x_{i,j} = 1, x_{ij} \in \{0, 1\} ==Koopmans-Beckmann formulation== The quadratic assignment problem was originally posed by Tjalling Koopmans and Martin J.[src] Beckmann in the following form.[src] Given square matrices D and T, find the permutation matrix X that minimizes the double-dot product of T with A = X D X^\intercal .[src] In other words, given D and T, find \{x_{ij}\}_{1\leq i,j \leq n} so as to \begin{align} \text{minimize}\quad& \sum_{1\leq i,j\leq n} a_{ij} t_{ij} \\ \text{subject to}\quad& \sum_{1\leq k \leq n} x_{ik} = \sum_{1\leq k \leq n} x_{jk} = 1,\\ &x_{ij} \in \{0, 1\}.[src] \end{align} Using the terminology above, the matrix D tabulates the distance ( d_{ij} gives the distance from location i to location j) and T the flow ( t_{ij} gives the quantity of supplies to be transported from facility i to facility j.) The permutation matrix X represents an assignment of facilities to locations ( x_{ij} is 1 only if facility i is located at location j.) Intuitively, the objective function encourages facilities with high flows between each other to be placed close together.[src] 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.[src] It was also proven that the problem does not have an approximation algorithm running in polynomial time for any (constant) factor, unless P = NP.[src] 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.[src] Many other problems of standard combinatorial optimization problems may be written in this form.[src] ==See also== Quadratic bottleneck assignment problem ==External links== https://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[src]

25 sentences · 25 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Quadratic assignment problem." encyclopegia.org, 2026, https://encyclopegia.org/wiki/quadratic-assignment-problem. Accessed 28 November 2026.

Chicago

"Quadratic assignment problem." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/quadratic-assignment-problem.

APA

encyclopegia.org. (2026). Quadratic assignment problem. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/quadratic-assignment-problem

Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

promise problem

stub · references available

two emperor problem

stub · references available

Cyprus problem

stub · references available

symbol grounding problem

stub · references available

The Three-Body Problem

stub · references available

many-body problem

stub · references available

quadratic form

stub · references available

Assignment Berlin

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1344889681 · 0.5 · snapshot enwiki-001344889681

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.