Upload
dangmien
View
221
Download
0
Embed Size (px)
Citation preview
Quadratic Assignment Problem: A survey and Applications
1 Laila Abd El-Fatah Shawky, 2* Mohamed Abd El-Baset Metwally, 3Abd El-Nasser H. Zaied 1 Operations Research and Decision Support Dep., Faculty of Computers & informatics,
Zagazig University, Egypt. *2 Operations Research and Decision Support Dep., Faculty of Computers & informatics,
Zagazig University, Egypt. 3 Information systems Dept, Faculty of Computers & informatics,
Zagazig University, Egypt.
Abstract The quadratic assignment problem (QAP) has been a subject of extensive research in combinatorial optimization because of its importance in theoretical and practical domain. Our goals in this paper are giving all overview of QAP Features, discussing important developments in all aspects of the QAP, giving some emerging solving techniques Glimpses, besides a survey of QAP publications.
Keywords: Quadratic Assignment Problem, Formulation, NP-complete, Bound, Linearization, Exact Algorithm, Metaheuristic, Hybrid metaheuristic.
1. Introduction
Koopmans and Beckmann [26] first introduced quadratic assignment problem (QAP) in 1957 as a mathematical model related to economic activities. Then it Has become a way to model many real life applications such as locating machines, departments or offices within a plant , arranging indicators and controls in a control room to minimize eye fatigue, locating hospital departments , forest management, assignment of runners in a relay team … etc.
As a clarification of the QAP, consider n facilities have to be assigned to n different locations, a flow of value f= [fij] has to go from facility I to facility j and the distance between the locations k and l is D= [dkl], the objective is to assign the facilities to the locations that minimizes the total cost which is the sum of the products flow × distance. QAP is a natural extension of the linear assignment problem [27] because the decision is a one-to-one assignment of n facilities to n locations, which is exactly the same as LAP except for the objective function, i.e. QAP assignments are not independent, so when assign facility i to location j we must consider the assignments of all other facilities who have nonzero affinity for facility i which represents the communication between them.
For Example, Let the matrices A and B are the distance and flow matrices of a facility location problem
respectively, then the optimal solution = [2, 4, 5, 3, 1] .As illustrated in Figure 1. The facilities need allocations to specific locations are shown to the left. The picture to the right shows the optimal allocation of the facilities.
A=
0 3 6 4 2
3 0 2 3 3
6 2 0 3 4
4 3 3 0 1
2 3 4 1 0
B=
0 10 15 0 7
10 0 5 6 0
15 5 0 4 2
0 6 4 0 5
7 0 2 5 0
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
International Journal of Digital Content Technology and its Applications (JDCTA) Volume 9, Number 2, April 2015
90
Figure 1. A facility location problem
2. Formulations of QAP 2.1. The general formulation of the QAP
E.L. Lawler introduced the general formulation of the QAP in 1963 [47] by increasing the dimension of the cost array C, QAP can be defined as:
( ) ( ) ( ) ( )1 1 1 1
minn n n n
i j k li j k l
c , over all permutations π ∈ Sn
= ( ) ( )1 1
minn n
ij i ji j
c , over all permutations π ∈ Sn
2.2. Koopmans-Beckman QAP
Koopmans-Beckman formulation is the most widely used formulation of the QAP as shown before, let F= [fij] is a matrix of flows, D= [dkl] is a matrix of distances and consider a cost matrix c=[Cij] represents the cost of placing facility i at location j ,Then qap can be defined as:
( ) ( ) (i)1 1 1
minn n n
ij i j ii j i
f d c
, over all permutations π ∈ Sn
Where n is the set of positive integers {1, 2, …, n}, and Sn be the set of permutations of {1, 2, …, n}.
2.3. Quadratic 0-1 formulation
Another formulation of QAP problem called Quadratic 0-1 Formulation. It is formulated using an
nxn matrix is a permutation matrix X= [xij] that represents permutations π ∈ Sn by 0-1 form .To be considered a permutation matrix , it should satisfy the three following conditions:
1
n
iji
X , j=1,…, n
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
91
1
n
ijj
X , i=1,…, n
0,1ijX , i,j=1,…, n
If the three conditions are satisfied, then QAP can be formulated as:
1 1 1 1 1 1
minn n n n n n
ij kl ik jl ij iji j k l i j
f d X X c x
s.t. 1
n
iji
X , j=1,…, n
1
n
ijj
X , i=1,…, n
0,1ijX , i,j=1,…, n
According to Lawler [47] this form can be generalized by presenting n4 cost matrix an cijkl :
1 1 1 1
minn n n n
ijkl ik jli j k l
c X X
2.4. Trace formulation
The Trace formulation [48] based on the traces of the matrices F and D. The trace of a square matrix is defined as the sum of its diagonal elements. Given a square matrix T, then:
1
( )n
iii
trace T T
Then the formulation is:
min (FXD )t ttrace X ,
s.t. XX
where πx represents the set of permutation matrices, and · t is the transpose of the given matrix. 2.5. kronecker product
kronecker product [47] is a rarely used formulation of QAP since it is complicated and hide the structure of the problem . It has provided an alternative formulation for QAP as an n2 × n2 LAP. An n2 × n2 matrix C is constructed from the n4 costs. QAP can formulate as:
min ,C Y ,
s.t.
Y X X
XX
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
92
3. Computational complexity
QAP belongs to a class of computationally hard problems known as non deterministic polynomial-
complete “NP-complete” (Sahni and Gonzalez , 1976) [28] , Although there exist polynomially solvable cases [14] of the QAP where special structural conditions hold on the coefficient matrices. Not only the QAP cannot be solved to optimality efficiently but also it is impossible to find an ϵ-approximate algorithm for any constant ratio ϵ in polynomial time, i.e. the existence of a polynomial ϵ approximation algorithm implies P = NP. 3.1. Benchmark instances
QAPLIB first appeared in 1991, to provide standard instances for testing QAP solutions. Recently , The large solved instance of the QAP are (Amir Roth and Peter Hahn , 2011) succeeded in solving for the first time the Tai30b instance of the QAP, (Nyberg and Westerlund , 2012) solved four of the esc instances of size N = 32 and N = 64, which had remained unsolved since 1990, (Fischetti et al. , 2012) solved two instances including the largest QAP solved so far (N = 128) and (Nyberg et al. ,2013) solved the last unsolved instance from the esc family which are about minimizing hardware when testing circuits and are all sparse and contain a lot of symmetries. Table 1. shows Taixxa and Taixxb instances which has Feasible 'not optimal' solution and the relative gap between best feasible solution and best known lower bound in percent.
Table 1. Taixxa/b feasible solution(According to QAPLIB last update [3]
Name SizeFeasible solution
Solution technique
Lower Bound Gap
Tai30a
30
1818146
robust tabu search (Ro-TS)
1706855 Lift-and-project relaxation bound (L&P)
6.12 %
Tai35a
35
2422002
robust tabu search (Ro-TS)
2216627 Lift-and-project relaxation bound (L&P)
8,48 %
Tai35b
35
283315445
robust tabu search (Ro-TS)
242172800 Semidefinite relaxation-matrix splitting bound (SDRMS- SUM)
14.52 %
Tai40a
40
3139370
robust tabu search (Ro-TS)
2843274 Lift-and-project relaxation bound (L&P)
9.43 %
Tai40b
40
637250948
robust tabu search (Ro-TS)
564428353 Semidefinite relaxation-matrix splitting bound (SDRMS- SUM)
11.43 %
Tai50a
50
4938796
the iterated tabu search (ITS)
algorithm
4390920 Lift-and-project relaxation bound (L&P)
11.09 %
Tai50b
50 458821517 robust tabu search (Ro-TS)
395543467 Semidefinite relaxation-matrix splitting bound (SDRMS- SUM)
13.79 %
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
93
Tai60a
60
7205962
Tabu search (TS-2)
5578356 Semidefinite relaxation-matrix splitting bound (SDRMS)
22.59 %
Tai60b
60
608215054 robust tabu search (Ro-TS)
542376603 Semidefinite relaxation-matrix splitting bound (SDRMS- SUM)
10.82 %
Tai80a
80
13499184
the iterated tabu search (ITS)
algorithm
10501941 Bound based on a dual procedure (DP)
22.20 %
Tai80b
80
818415043
robust tabu search (Ro-TS)
717907288 Semidefinite relaxation-matrix splitting bound (SDRMS- SUM)
12.28 %
Tai100a
100
21052466
the iterated tabu search (ITS)
algorithm
15844731 Semidefinite relaxation-matrix splitting bound (SDRMS)
24.86 %
Tai100b
100
1185996137
robust tabu search (Ro-TS)
1058131796 Semidefinite relaxation-matrix splitting bound (SDRMS-SUM)
10.78 %
Tai150b
150
498896643
Adaptive memories (GEN-3)
441786736 Semidefinite relaxation-matrix splitting bound (SDRMS-SUM)
11.45 %
Tai256c
256
44759294
ant systems (ANT)
43849646 Semidefinite relaxation-matrix splitting bound (SDRMS)
2.03 %
4. Lower bounds
Lower bounds are not only used to evaluate the goodness of solutions produced by heuristics, but also they are an essential component of branch and bound procedures (which will be discussed in 7.1). When comparing lower bounding techniques, some criteria should be taken into consideration: Tightness, Complexity, and efficiency in computing lower bounds. For QAP, there are three main categories of lower bounds: Gilmore-Lawler bound [29, 30], eigenvalue related bounds [15, 32], and bounds based on reformulations [36]. Briefly, they will be discussed. 4.1. Main lower bounds 4.1.1. Gilmore-Lawler bound (GLB)
The GLB is one of the first lower bounds and is the most widely used lower bound for QAP. GLB involves solving LAP with cost matrix. It requires only O(n3) computation time for a Koopmans-
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
94
Beckman QAP. Therefore, it is simple and quick to compute. The drawback of The GLB is that when the size of QAP increases the GLB become slowly. 4.1.2. Eigenvalue related bounds (EVB)
The EVB based on eigenvalues of the flow and distance matrices F and D. It based on the trace formulation of QAP. The EVB are computed using some iterations, each iteration requiring O(n3) computing time . The drawback of The EVB is high computation time.
4.1.3. Bounds based on reformulations
Like the eigenvalue based bounds, the reformulation bounds are computed using some iteration. n2+1 LAP of size n must be solved for each iteration.The running time for the kth iteration is O(kn5). The drawback is high computation time. 4.2. Other lower bounds
There are some contributions in the lower bounds like: the interior point bound by Resende et al. (1995), the level-1 RLT (or RLT1) dual-ascent bound by Hahn and Grant (1998), the dual-based bound by Karisch et al. (1999), the convex quadratic programming bound by Anstreicher and Brixius (2001), the level-2 RLT (or RLT2) interior point bound by Ramakrishnan et al. (2002), the bundle method bound by Rendl and Sotirov (2007), the lift-and-project SDP bound by Burer and Vandenbussche (2006), and the Hahn-Hightower level-2 RLT dual-ascent bound by Adams et al. (2007). (As shown in QAPLIB) [3].
5. Linearization
Linearization means vanishing the nonlinear term QAP objective function in order to have ordinary LAP which can be solved efficiently, i.e. transform the problem into a (mixed) 0-1 linear program by introducing new variables and new linear and binary constraints. There are many Linearization techniques for QAP (Lawler’s Linearization [47], Kaufman–Broeckx Linearization [52], Frieze and Yadegar Linearization [53], and Adams and Johnson Linearization [54], etc.). AS example, we will briefly discuss Lawler’s Linearization, Kaufman–Broeckx Linearization. 5.1. Lawler’s linearization:
The first linearization suggested for the QAP. it replaces the quadratic terms in the objective function with n4 variables which results in a 0–1 linear program of n4 + n2 binary variables and n4 + 2n2 + 1 constraints.
s.t.
, 1 , 1
minn n
ijkl ijkli j k l
c y
2
, 1 , 1
,
,
2
, , ,
0,
0
1,...,
,1 ,
ij n
n n
ijkli j k l
ij kl ijkl
ijkl
x X
y n
x
for i j k l n
x y
y
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
95
5.2. Kaufman–Broeckx linearization
It is the smallest with regard to the number of new variables and constraints introduced. First it rearranges the objective function
, 1 , 1
minn n
ij ijkl kli j k l
x c X
, then introduce new n2 variables wij , aij constant and redefine constraints the QAP becomes equivalent to the following:
s.t.
6. Exact algorithms
As shown before, QAP is considered a NP-hard problem so using brute force solving techniques is rarely used. In order to achieve optimality for QAP there are three main methods: the Branch and bound procedures [29, 37], the cutting plane techniques [38], and the Dynamic programming [22]. Figure 2. shows the number of research, which applies the exact methods for QAP .
Figure 2. QAP Exact methods researches.
6.1. Branch and bound method
The most important and used method to achieve optimality for QAP is the Branch and bound as it is more efficient technique. The Branch and bound procedures was firstly introduced by Gilmore [29] in 1962 who solved a QAP of size n=8. The Branch and bound method was named as it is applied.
To apply the branch and bound method; first, chose a heuristic procedure to get an initial feasible solution “suboptimal” and it is used as upper bound. Second, the problem is fragmented into subproblems with a lower bound, then formulate search tree by repeating the fragmentation and lower bounding of each subproblem .During iterations, an optimal permutation is being constructed.
, 1
minn
ijkli j
w
, 1
,
,
0,
, 1,..., .
ij n
n
ij ij ijkl kl ij ijk l
ij
x X
a x c x w a
w
i j n
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
96
6.2. Cutting plane method
This method has two classes: traditional cutting plane methods and polyhedral cutting-plane or branch-and-cut methods. Traditional cutting plane algorithms for QAP first used by Kaufman and Broekx in 1978 , these algorithms make use of mixed integer linear programming (MILP) formulations for QAP .
Generally, the time needed for these methods is too large, and hence these methods may solve to optimality only very small QAPs. However, heuristics derived from cutting plane approaches produce good suboptimal solutions in early stages of the search. The polyhedral cutting planes or branch and cut algorithms make use of MILP formulations of QAP. The polyhedral cutting plane is not widely used in QAP because of the scarcity of knowledge about QAP polytypes.
6.3. Dynamic programming
The idea behind the dynamic programming method is quite simple. In general, to solve a given problem, different parts of the problem “subproblems” need to be solved, and then the solutions of the subproblems should be combined to reach an overall solution. Christofides and Benavent [22] used a dynamic programming approach to solve a special case of QAP.
Dynamic programming solves a problem of size n by starting from subproblems of size 1,2,…,n-1. After solving subproblems of size k it upgrades the solutions to size k+1. Problems may arise in dynamic programming if the solution to a subproblem or the upgrade procedure cannot be performed in polynomial time.
There have been fewer applications for cutting plane and dynamic programming methods than the Branch and Bound method. As shown before, QAP is NP-hard due to the overwhelming complexity of QAP, most problems with large sizes remain nearly intractable by exact algorithms. Therefore, we use heuristics in order to get solutions with good quality for QAP in a reasonable computational time.
7. Heuristics
Because of obvious difficulties experienced in the development of exact solution procedures, a wide variety of heuristic approaches has been developed for QAP. Heuristic algorithms do not give a guarantee of optimality for the best solution obtained. In this context, we consider heuristic techniques as a procedure dedicated to the search of good quality solutions. These approaches can be classified into the following categories: construction methods [43], limited enumeration methods [25], improvement methods [35], simulated annealing [15], genetic algorithms [46], greedy randomized adaptive search procedures [44 ,45], and ant colonies [23].( Improvement methods are frequently used in metaheuristics).
7.1. Construction methods (CM)
The construction method algorithm is considered one of the oldest heuristics in use (Buffa, Armour and Vollmann ,1964 ; Muller-Merbach , 1970). These methods create suboptimal permutations by starting with a partial permutation that is initially empty. The permutation is expanded by repetitive assignments based on set selection criterion until the permutation is complete. 7.2. Limited enumeration methods (LEM)
(West ,1983 ; Burkard and Bonniger , 1983) The limited enumeration methods are strongly related to exact methods like branch and bound and cutting planes. The idea behind these algorithms is that a good suboptimal solution may be produced early in an enumerative search. In addition, an optimal solution may be found earlier in the search while the rest of the time is spent on proving the optimality of this solution.
There are many ways to limit enumeration of the search space; one approach is to impose a time limit. Enumeration stops when the algorithm reaches a time limit or no improvement has been made in a predetermined time interval. These pre-specified parameters can be problem specific. A second
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
97
option is to decrease the requirement for optimality. For example, if no improvement has been made after a certain pre-specified time interval, then the upper bound is decreased by a certain percentage resulting in deeper cuts in the enumeration tree. Although the optional solution may be cut off, it differs from the obtained solution by the above percentage.
7.3. Improvement methods (IM)
Improvement methods are the most researched class of heuristic. The most popular improvement methods are the local search and the tabu search [35]. Both methods work by starting with an initial basic feasible solution and then trying to improve it. The local search seeks a better solution in the neighborhood of the current solution, terminating when no better solution exists within that neighborhood. The tabu search (TS) (SkorinKapov , 1990; Taillard , 1991) works similarly to the local search. However, the tabu search is sometimes more favorable as it was designed to cope with the problem of a heuristic being trapped at local optima.
7.4. Simulated annealing (SA)
(Burkard and Rendl ,1984 ; Wilhelm and Ward , 1987) This group of heuristics, which is also used for overcoming local optima, receives its name from the physical process that it imitates. This process, called annealing moves high-energy particles to lower energy states with the lowering of the temperature, thus cooling a material to a steady state. Initially, in the initial state of the heuristic, the algorithm is lenient and capable of moving to a worse solution. However, with each iteration the algorithm becomes stricter requiring a better solution at each step. 7.5. Genetic algorithms (GA)
(Fleurent and Ferland ,1994; Tate and Smith ,1985; Ahuja, Orlin, and Tewari , 1998; Drezner ,2001; Drezner and Zvi , 2003 ; Yongzhong Wu and Ping Li , 2007) Genetic algorithms receive their name from an intuitive explanation of the manner in which they behave. This explanation based on Darwin’s theory of natural selection. Genetic algorithms store a group of solutions and then work to replace these solutions with better ones based on some fitness criterion, usually the objective function value. Genetic algorithms are parallel and helpful when applied in such an environment.
7.6. Greedy randomized adaptive search procedures (GRASP)
GRASP is a relatively new heuristic used for solving combinatorial optimization problems. At each iteration, a solution is computed. The final solution is taken as the one that is the best after all GRASP iterations are performed. Li, Pardalos, and Resende first applied the GRASP to QAP in 1994 [44]. They applied the GRASP to 88 instances of QAP, finding the best-known solution in almost every case, and improved solutions for a few instances.
7.7. Ant colonies (AC)
This section gives you a glimpse of Swarm intelligence algorithms by discusses Ant Colonies as example. The ants based algorithms have been introduced with Maniezzo, Colorni, and Dorigo [24].They are based on the principle that using very simple communication mechanisms, an ant group is able to find the shortest path between any two points. During their trips, a chemical trail (pheromone) is left on the ground. The role of this trail is guiding the other ants towards the target point. For one ant, the path is selected according to the quantity of pheromone. Moreover, this chemical substance has a decreasing action over time, and the quantity left by one ant relies on the amount of food found and the number of ants using this trail.
Applied on QAP, AC is based on a hybridization of the ant system with a local search method, each ant being associated with an integer permutation. Modifications based on the pheromone trail are then applied to each permutation. The solutions (ants) found so far are then optimized using a local search
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
98
method, update of the pheromone trail simulates the evaporation and takes into account the solutions produced in the search strategy. 8. Metaheuristics
Metaheuristic is more general techniques have appeared to adapt with the problem structure. Several of these techniques are based on some form of simulation of a natural behavior studied within another field of knowledge. With the advantages of metaheuristics, QAP research received new and increased interest which is reflected on QAP publications. Figure 3. shows the distribution of publications, categorized by solution techniques that were classified in this work as Heuristic Methods, Exact Methods and Metaheuristics. Figure 4. shows the distribution of metaheuristic solution techniques used to QAP. In this figure, we have scatter search (SS), variable neighborhood search (VNS), greedy randomized adaptive search procedure (GRASP), genetic algorithm (GA), neural networks and others (NNO), tabu search (TS), ant colony(AC), simulated annealing (SA) and hybrid algorithms (HA) .
As we will discuss, hybrid procedures that result from different metaheuristic compositions are the most utilized solution procedure. However, when we look for a comparison among pure metaheuristics, the procedures based on more traditional simulated annealing and more recently defined ant colony are the most popular.
Solution Techniques
Figure 3. Solution techniques publications.
Metaheuristic
Figure 4. QAP metaheuristics Publications.
9. Hybrid metaheuristics
In recent years, there is a tendency to hybrid metaheuristic which providing general ideas or components that can be used for solving quadratic assignment problems effectively. Next, we will give two examples of Hybrid Metaheuristics.
9.1. Hybrid ANGEL Metaheuristic
The most effective method for solving quadratic assignment problems is the hybrid genetic algorithm. ANGEL [55] combines the ant colony optimization (ACO), the genetic algorithm (GA) and a local search method (LS).
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
99
There are two major phases in ANGEL, first the ACO phase, which construct an initial population by ACO in order to provide a good start, and GA phase which process initial population with feedback mechanism from GA phase to ACO phase until reaches the termination criterion. When GA provides feedback to ACO via extensive pheromone updating procedure during the search process, the LS is applied, Figure 5. showing the mechanism of ANGEL.
Figure 5. ANGEL metaheuristic 9.2. Hybrid PSO Metaheuristic
The particle swarm optimization (PSO) [50] is a natural-inspired algorithm that mimicking the social behavior of animals, such as bird flocking or fish schooling. In this proposed algorithm a heuristic rule called Smallest Position Value (SPV) [51] is used to QAP to enable the continuous PSO algorithm to be applied to NP-hard problems. According to smallest position value rule, particles are arranged in ascending order of their positions i.e. particle having least position value is put first in sequence. Furthermore, Hill Climbing method is integrated with PSO. Alg 1. shows the PSO Algorithm with Hill Climbing for the QAP Problem[2].
Initialize parameters Initialize population Find sequence Evaluate Do { Find the particle best Find the global best Update velocity Update position Find sequence Evaluate Apply hill climbing (optional) } While (Termination)
Alg 1. The PSO Algorithm with Hill Climbing for the QAP Problem. 10. APPLICATIONS
There are enormous numbers of practical applications that can be modeled as QAPs. Koopmans and Beckmann (1957) first proposed QAP as a mathematical model regarding the economic activities. Since then , it has appeared in several practical applications: Steinberg (1961) used QAP to minimize
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
100
the number of connections between components in a backboard wiring, Heffley (1972, 1980) applied it to economic problems, Francis and White (1974) developed a decision framework for assigning a new facility (police posts, supermarkets, schools) for serving a given set of clients, Geoffrion and Graves (1976) concentrated on scheduling problems, Pollatschek et al. (1976) mentioned QAP to define the best design for typewriter keyboards and control panels, Krarup and Pruzan (1978) applied it to archeology. Hubert (1987) applied it in statistical analysis, Forsberg et al. (1994) used it in the reaction chemistry analysis and Brusco and Stahl (2000) used it in numerical analysis.
Though, the facilities layout problem is the most popular application for QAP: Dickey and Hopkins (1972) applied QAP to the assignment of buildings in a University campus, Elshafei (1977) in a hospital planning and Bos (1993) in a problem related to forest parks. Benjaafar (2002) introduced a formulation of the facility layout design problem for minimizing work-in-process (WIP). Ben-David and Malah (2005) looked into a special case of QAP called index assignment in order to minimize channel errors in vector-quantization. Vector-quantization is used when mapping images or speech to digital signals. A similar mapping problem is also found when configuring the layout of microarrays, which is a problem in bioinformatics presented as a QAP by de Carvalho Jr. and Rahmann (2006). A more modern application of the same problem is the design of keyboards on touch screen devices (Dell’Amico et al., 2009). Next, we will discuss some applications examples.
10.1. The Airport Gate Assignment Problem (H. Ding et al. ,2005 [7])
Assigning gates for flights at airports in order to minimize the walking traffic for passengers can be modeled as QAPs. Haghani and Chen (1998) state that other versions of the same problems, for example, minimizing the amount of baggage that has to be moved or minimizing both passenger and baggage movement, can also be formulated. (H. Ding et al., 2005) goals are minimize the number of ungated flights and the total walking distances or connection times. This problem can be formulated as:
where, N: set of flights arriving at (and/or departing from) the airport; M: set of gates available at the airport;: total number of flights; n: total number of flights; m: total number of gates; ai : arrival time of flight i ; di : departure time of flight i ; wkl : walking distance for passengers from gate k to gate l ; fij : number of passengers transferring from flight i to flight j;
, 11
1
0, 0, ,0 ,0, 1 , 1 1 1
1
1
,11( )
( ,1
( , ,1 , , 1)
( , ,
)
( )( ) 0
0, 1 , , ,1 1)1
n
i mi
n m n n
ij kl ik jl i i i ii j k l i i
m
ikk
i i
ik jk j i i j
ijkl
i i n
i i n
i j i j n k m
i j i j n k k
Minimize y
Minimize f w y y f w
m
f w
y
a d
y y d a d a
y
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
101
10.2. The single-finger keyboard layout problem (Dell’Amico et al., 2009 [56])
The main difference in this approach is that on a touch screen only one finger is used, and the letters can be placed anywhere on the screen instead of in a rectangle as with normal keyboards (See figure 6.). (Dell’Amico et al., 2009) has formulated this problem as QAP generalization (SK-QAP).
Figure 6. Single-finger keyboard example
For defining the s-finger keyboard layout problem, the following assumptions are considered: (a) all keys are identical and they are arranged in a grid of unit squares, named locations; (b) The symbols (or characters) placed in the locations are all different; (c) Each key contains exactly one symbol; (d) Each symbol is assigned to exactly one key.
This problem can be stated as:
Where, б : an assignment of the symbols to the locations; S: The set of all possible solutions; āik : The frequency of the ordered symbol pair (i, k); bjl :the value of Fitts function.
The value of the the average time to write a statement in a given language "Fitts function"
where α and β have prefixed constant values, D is the distance of the keys which symbols i and k are assigned to and A is the size of the key which k is assigned to.
11. Survey
Extensive research has been done on the quadratic assignment problem. QAP publications have the categories: applications, theory (i.e., formulations, complexity studies and lower bounding techniques) and algorithms. Figure 7. shows the distribution of QAP publications with respect to the categories. We observe that an explosion of interest in algorithm development. In Table 2. We will give some PhD thesis, dissertations and articles about development on QAP.
( ) ( )1 1
minn n
ik i kSi k
Z a b
2log ( 1)D
A
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
102
Publication 1987-2014(forecast)
Figure 7. Publications classification according to their contents
Table 2. A Survey on Quadratic Assignment Problem
NO. AUTHOR Year TYPE TITLE OBJECTIVE 1. T.A. Johnson 1992 PhD thesis New linear
programming-based solution procedures
for the quadratic assignment problem
Introduce new solution procedures based on linear programming. The linear formulation derived in this
thesis theoretically dominates alternate linear formulations for QAP.
2. T. Mautor 1992 PhD thesis Contribution to solving problems
implanation: sequential and
parallel algorithms for the quadratic
assignment
Focuse on parallel implementations and exploits the metric structure of the Nugent instances to reduce the
branching tree considerably.
3. Y. Li 1992 PhD thesis Heuristic and exact algorithms for the
quadratic assignment problem.
Introduce beside other ideas lower bounding techniques based on
reductions, GRASP and a problem generator for QAP.
4. F.Malucelli
1993 PhD thesis
Quadratic assignment
problems: solution methods and applications.
Propose a lower bounding technique for QAP based on a reformulation scheme and implemented it in a
branch and bound code. Some new applications of QAP in the field of transportation were also presented.
5. E. Cela 1995 PhD thesis The quadratic assignment
problem: special cases and relatives.
Investigate the computational complexity of specially structured
quadratic assignment problems, and consider a generalization of QAP, the
so called biquadratic assignment problem.
6. S.E. Karisch 1995 PhD thesis Nonlinear approaches for the
quadratic assignment and graph partition
problems
Present nonlinear approaches for QAP. These provide the currently
strongest lower bounds for problems instances whose distance matrix
contains distances of a rectangular grid and for smaller sized general
problems. 7. M. Rijal 1995 PhD thesis Scheduling, design
and assignment problems with quadratic costs
Investigate structural properties of the QAP polytope. The starting point is
the quadric Boolean polytope.
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
103
8. Q. Zhao
1996 PhD thesis Semidefinite programming for assignment and
partitioning problems
Investigate semidefinite programming approaches for the QAP. Tight
relaxations and bounds are obtained by exploiting the geometrical structure of the convex hull of
permutation matrices.
9. A. Bouras 1996 PhD Thesis quadratic assignment problem
of small rank: models, complexity,
and applications
Consider special cases of QAP where the coefficient matrices have a low
rank, especially rank one, and propose a heuristic based on matrix
approximations by matrices with low rank.
10. V. Kaibel 1997 PhD thesis Polyhedral combinatorics of the
quadratic assignment problem
Investigate the QAP polytope and derived the first large class of facet
defining inequalities for these polytopes, the box inequalities..
11. Gunes Erdogan 2006 PhD thesis Quadratic assignment problem:
linearizations and polynomial time
solvable cases
Focus on “flow-based” formulations,strengthen the formulations with
valid inequalities, and report computational
experience with a branch-and-cut algorithm.
12. Thomas Stützle 2006 Article Iterated local search for the quadratic
assignment problem
Present and analyze the application of ILS to the quadratic assignment
problem (QAP). 13. Yi-Rong Zhu 2007 dissertation Recent Advances
And Challenges In Quadratic
Assignment and Related Problems
Contribute to the theoretical, algorithmic and
applicable understanding of quadratic assignment and its related problems.
14. Zvi Drezner 2008 Article Tabu Search and Hybrid Genetic Algorithms for
Quadratic Assignment
Problems
report the best results for heuristic solutions of the quadratic
assignment problem available to date and can serve as bench mark results for future researchers who propose
new approaches for solving quadratic assignment problems.
15. Tao Huang 2008 dissertation Continuous Optimization Methods for
the Quadratic Assignment
Problem
Study continuous optimization techniques as they are applied in
nonlinear 0-1 programming. Specically, the methods of relaxation
with a penalty function have been carefully investigated.
16. Franklin Djeumou Fomeni
2011 dissertation New Solution Approaches for the
Quadratic Assignment
Problem
Propose two new solution approaches to the
QAP, namely, a Branch-and-Bound method and a discrete dynamic
convexized method.
17. Francesco Puglierin
2012 Master thesis
A Bandit-Inspired Memetic
Algorithm for Quadratic
Assignment Problems
Propose a new metaheuristic for combinatorial optimization,with
focus on the Quadratic Assignment Problem as the hard-problem of
choice, a choice that is refl ected in the name of the method, BIMA-QAP.
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
104
18. Wu et al. 2012 Article Global optimality conditions and optimization methods for
quadratic assignment problems
Discuss some global optimality conditions for general quadratic {0,
1} programming problems with linear equality constraints, and then some
global optimality conditions for quadratic assignment problems
(QAP) are presented. 19. Ali Safari
Mamaghani And
Mohammad Reza Meybodi
2012 Article Solving the Quadratic
Assignment Problem with the Modified Hybrid PSO Algorithm
a particle swarm optimization algorithm is presented to solve the
Quadratic Assignment Problem and test the hybrid algorithm
on some of the benchmark instances of QAPLIB
20. Duman et al. 2012 Article Migrating Birds Optimization: A
new metaheuristic approach and its performance on
quadratic assignment problem
Propose a new nature inspired metaheuristic approach based on the V flight formation of the migrating
birds which is proven to be an effective formation in energy saving. Its performance is tested on quadratic assignment problem instances arising
from a real life problem and very good results are obtained.
21. Benlic et al. 2013 Article Breakout local search for the
quadratic assignment problem
Present breakout local search (BLS) for solving QAP. BLS explores the search space by a joint use of local search and adaptive perturbation
strategies.
22. Klerk et al. 2014 Article Symmetry in RLT-type relaxations for
the quadratic assignment and
standard quadratic optimization
problems
Show that, in the presence of suitable algebraic symmetry in the original
problem data, it is sometimes possible to compute level two RLT bounds
with additional linear matrix inequality constraints.
23. Axel Nyberg 2014 PhD Thesis Some Reformulations for
the Quadratic Assignment
Problem
Reformulate the Quadratic Assignment Problem for optimization
24. UmutTosun 2015 Article On the performance of parallel hybrid algorithms for the
solution of the quadratic
assignment problem
A parallel hybrid algorithm(PHA) with three stages was proposed
ThePHAwas able to solve even the largest problem
instance size of 256 within11h,and with a higher accuracy than the best-known solutions.
12. Conclusion
As discussed before, QAP can mimic enormous numbers of very important practical applications that can be modeled as QAPs. Therefore, in this paper we gave fundamentals of QAP and some solving techniques, highlights some efforts on solving QAP. This paper can be directed towards help new researchers to improve QAP development results as well as modeling real world applications by getting and all over view about QAP and development s in this field of optimization. For future work we aim to introduce more hybrid GA metaheuuristic for solving QAPs.
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
105
13. References [1] E. M. Loiola, N. M.de Abreu, P.O. Boaventura-Netto, P.Hahn, T. Querido, “A survey for the
quadratic assignment problem”, European journal of operational research, 27 December 2005. [2] A. S. Mamaghani , M. R. Meybodi,“Solving the Quadratic Assignment Problem with the Modified
Hybrid PSO Algorithm”, Application of Information and Communication Technologies (AICT), 2012 6th International Conference on, IEEE 2012.
[3] QAPLIB - A Quadratic Assignment Problem Library, Retrieved March 2015, from: http://www.seas.upenn.edu/qaplib.
[4] P. Ji, Y. Wu, H. Liu, “A Solution Method for the Quadratic Assignment Problem (QAP)”, Department of Industrial and Systems Engineering, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong ,China, August 2006.
[5] Axel Nyberg , Tapio Westerlund . “Tightening a Discrete Formulation of the Quadratic Assignment Problem”, Chemical Engineering Transactions, vol. 32, 2013.
[6] I. Kudelska , “Methods of using the quadratic assignment problem solution”, LogForum ,vol. 8, no. 3, 2012.
[7] H. Ding , A. Lim , B. Rodrigues , Y. Zhu,“ The over-constrained airport gate assignment problem”, Computers & Operations Research, vol 32 , pp. 1867–1880, 2005.
[8] T. Stützle, “Iterated local search for the quadratic assignment problem”, European Journal of Operational Research, vol. 174, no. 3, 1 November 2006.
[9] Z. Wu, Y. Yang, F. Bai, J. Tian,“ Global optimality conditions and optimization methods for quadratic assignment problems” , vol. 218, no. 11, 5 February 2012.
[10] E. Duman, M. Uysal, A. F. Alkaya, “Migrating Birds Optimization: A new metaheuristic approach and its performance on quadratic assignment problem”, Information Sciences, Vol. 217, 25 December 2012.
[11] U. Benlic, J.Hao, “Breakout local search for the quadratic assignment problem”, Applied Mathematics and Computation, Vol. 219, no. 9, 1 January 2013.
[12] E. .Klerk, M.Nagy, R. Sotirov, U. Truetsch, “Symmetry in RLT-type relaxations for the quadratic assignment and standard quadratic optimization problems”, European Journal of Operational Research, Vol. 233, no. 3, 16 March 2014.
[13] Y. Xia , Y. Yuan, “A New Linearization Method for Quadratic Assignment Problems,” Optimization Methods and Software, Vol. 21, No. 5, pp. 803-816, 2006.
[14] R. E. Burkard , E. Cela ,P. M. Pardalos , L.S. Pitsoulis, “The Quadratic Assignment Problem”, Handbook of combinatorial optimization, Kluwer Academic Publishers, Dordrecht, 1998.
[15] C. W. Commander, “A Survey of the Quadratic Assignment Problem, with Applications”, Morehead Electronic Journal of Applicable Mathematics, no. 4, 1 March 2005.
[16] N.W. Brixius and K.M. Anstreicher. The Steinberg wiring problem. Working Paper, The University of Iowa, October 2001.
[17] A. N. Elshafei. Hospital layout as a quadratic assignment problem, Operational Research Quarterly, vol. 28, pp .167-179, 1977.
[18] Juillet. comparison of iterative searches for the quadratic assignment problem, Montréal university, Canada,1994.
[19] E. M. Loiola, N. M. de Abreu, P. O. Boaventura-Netto, P. Hahn, and T. Querido. A survey for the quadratic assignment problem, European Journal of Operational Research, 27 December 2005.
[20] F. D. Fomeni. New Solution Approaches for the Quadratic Assignment Problem, University of the Witwatersrand, Johannesburg, September 2011.
[21] R. K. Ahuja, K. C. Jha, J. B. Orlin and D. Sharma. Very large-scale neighborhood search for the quadratic assignment problem, Working Paper, MIT Sloan School of Management, July 2002.
[22] N. Christofides , E. Benavent,“ An exact algorithm for the quadratic assignment problem on a tree”, Operation Research, vol.35, no.5, pp. 760-768, 1989.
[23] E.-G. Talbi , O. Roux, C. Fonlupt, D. Robillard,“ Parallel Ant Colonies for the quadratic assignment problem”, Future Generation Computer Systems , Vol. 17 , 2001.
[24] M. Dorigo. Optimization, learning and natural algorithms, Ph.D. Thesis, Politecnico di Milano, Italy, 1992.
[25] A. kaveh. Algorithms and theoretical topics on selected combinatorial optimization problems. Simon fraser university,2006.
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
106
[26] T.C. Koopmans and M. Beckman. Assignment Problems and the Location of Economic Activities. Econometric ,vol. 25, pp. 53-76 ,1957.
[27] Hanan, M. and J.M. Kurtzberg . A Review of the Placement and Quadratic Assignment Problems, 1972.
[28] Sahni, S. , T. Gonzalez,“ P-Complete Aproximation Problems”, Journal of the ACM ,vol. 23, 1976.
[29] P.C. Gilmore ,“ Optimal and Suboptimal Algorithms for the Quadratic Assignment Problem”, SIAM Journal on Applied Mathematics , Vol. 10, 1962.
[30] E.L. Lawler, “The Quadratic Assignment Problem, Management Science”, Vol. 9, 1963. [31] M. S. Hussin and T.Stutzle. Hierarchical Iterated Local Search for the Quadratic Assignment
Problem, Institut de Recherches Interdisciplinaires, et de D´eveloppements en Intelligence Artificielle, Universite Libre de Bruxelles, Bruxelles, Belgium, June 2009.
[32] F. Rendl and H. Wolkowicz, “Applications of Parametric Programming and Eigenvalue Maximization to the Quadratic Assignment Problem”, Mathematical Programming , Vol. 53, 1992.
[33] P. M. Zvidrezner , E. D. Taillard,“ Recent Advances for the Quadratic Assignment Problem with Special Emphasis on Instances that are Difficult for Meta-Heuristic Methods”, Annals of Operations Research , Vol. 139, 2005.
[34] P. Carraresi, and F. Malucelli. A New Lower Bound for the Quadratic Assignment Problem. Tech Report TR-34/92, Universita di Pisa, 1992.
[35] Burkard, Rainer E., Stefan E. Karisch, Franz Rendl, “QAPLIB–a quadratic assignment problem library” , Journal of Global optimization, vol. 10, no. 4, pp. 391- 403, 1997.
[36] P.M. Pardalos, F. Rendl, H. Wolkowicz, “ The Quadratic Assignment Problem: A Survey and Recent Developments”, in Quadratic Assignment and Related Problems, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, Vol.16, 1994.
[37] P. Hahn, T. Grant, N. Hall, “ A Branch-and-Bound Algorithm for the Quadratic Assignment Problem Based on the Hungarian Method”, European Journal of Operational Research, vol. 108, pp. 629-640, 1996.
[38] M. S. Bazaraa ,H. D. Sherali,“ On the Use of Exact and Heuristic Cutting Plane Methods for the Quadratic Assignment Problem”, The Journal of the Operational Research Society, Vol. 33, no. 11, Novmber 1982.
[39] G. Erdoğan. quadratic assignment problem: linearizations and polynomial time solvable cases. October, 2006.
[40] R. Bellman, An introduction to the theory of dynamic programming, 1953. [41] Francesco. A Bandit-Inspired Memetic Algorithm for Quadratic Assignment Problems. University
of Utrecht. August 2012. [42] Taillard E., “Robust tabu search for the quadratic assignment problem”, Parallel Computing,
vol. 17, pp. 443-55,1991. [43] G.C. Armour, E.S. Buffa, “Heuristic Algorithm and Simulation Approach to Relative Location of
Facilities”, Management Science, Vol. 9, 1963. [44] Y.Li, P. M. Pardalos, M. G.C. Resende, “A Greedy Randomized Adaptive Search Procedure for
the Quadratic Assignment Problem”, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, vol. 16, pp. 237-261,1994
[45] B. Vahedinori, M. Kianpour, P. Fattahi, “Using Greedy Randomize Adaptive Search Procedure for solve the Quadratic Assignment Problem”, IJIEPM, Vol. 22, November 2011.
[46] H. M. Nehi, S. Gelareh, “A Survey of Meta-Heuristic Solution Methods for the Quadratic Assignment Problem”, Applied Mathematical Sciences, Vol. 1, no. 46, 2007.
[47] E.L. Lawler, “The quadratic assignment problem”, Management Science , vol. 9, pp 586–599, 1963.
[48] C.S. Edwards, “A branch and bound algorithm for the Koopmans–Beckmann quadratic assignment problem”, Mathematical Programming Study, pp 35–52, vol.13, 1980.
[49] Umut Tosun,“ On the performance of parallel hybrid algorithms for the solution of the quadratic assignment problem”, Engineering Applications of Artificial Intelligence , Vol. 39 , 2015.
[50] J. Kennedy , R. Eberhart,“ Particle swarm optimization”, IEEE International Conference on, IEEE, Vol. 4, 1995.
[51] Dwivedi , Piyush and Vishal , Vivek ,“ Particle swarm optimization applied to job shop scheduling”, BTech thesis, 2007.
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
107
[52] L .Kaufman, F .Broeckx , “An algorithm for the quadratic assignment problem using Benders’ decomposition ”. European Journal Operation Researches, vol. 2, pp. 204–211, 1978.
[53] Frieze AM, Yadegar J ,“On the quadratic assignment problem”, Discrete Applied Mathematics ,vol. 5, pp 89–98, 1983.
[54] Adams WP, Johnson TA , “ Improved linear programming-based lower bounds for the quadratic assignment problem. In: P.M. Pardalos, H .Wolkowicz (eds) Quadratic Assignment and Related Problems. DIMACS. Amer. Math. Soc., Providence, pp. 43–75, 1994.
[55] L. Tseng, S. Liang,“ A Hybrid Metaheuristic for the Quadratic Assignment Problem”, Computational Optimization and Applications, vol. 34, pp. 85–113, 2006.
[56] Mauro Dell’Amico, Jos´e Carlos Dıaz Dıaz, Manuel Iori ,Roberto Montanari,“ The single-finger keyboard layout problem”, Computers & Operations Research, pp. 3002–3012, vol. 36 , 2009.
Quadratic Assignment Problem: A survey and Applications Laila Abd El-Fatah Shawky, Mohamed Abd El-Baset Metwally, Abd El-Nasser H. Zaied
108