SlideShare a Scribd company logo
CL615 Optimization Techniques: Term Project
Ajay Shankar Bidyarthy
b.ajay@iitg.ernet.in
09012305
Department of Mathematics
August 25, 2012
Problem Statement: Solution to a quadratic assignment problem (QAP), 358 constraints
and 50 variables.
1 Introduction
Quadratic assignment problems (QAPs) belong to the most difficult combinatorial optimization
problems. The QAP was introduced by Koopmans and Beckmann in 1957 as a mathematical
model for the location of indivisible economical activities.The quadratic assignment problem
(QAP) is the problem of assigning n facilities to n locations so that the cost of the assignment,
which is a function of the way facilities have been assigned to locations, is minimized.
We want to assign n facilities to n locations with the cost being proportional to the flow between
the facilities multiplied by the distances between the locations plus, eventually, costs for placing
the facilities at their respective locations. The objective is to allocate each facility to a location
such that the total cost is minimized. We can model this quadratic assignment problem by
means of three n × n matrices:
A = (aik), where aik is the flow from facility i to facility k;
B = (bjl), where bjl is the distance from location j to location l;
C = (cij), where cij is the cost of placing facility i at location j.
The QAP in Koopmans - Beckmann form can now be written as:
minφ∈Sn (
n
i=1
n
k=1
aikbφ(i)φ(k) +
n
i=1
ciφ(i)) (1)
1
where, as usual, Sn is the set of all permutations of the integers 1, 2, ..., n. Each individual
product aikbφ(i)φ(k) is the transportation cost caused by assigning facility i to location φ(i) and
facility k to location φ(k). Thus each term ciφ(i) + n
k=1 aikbφ(i)φ(k) is the total cost given,
for facility i, by the cost for installing it at location φ(i), plus the transportation costs to all
facilities k, if installed at locations φ(1), φ(2), ..., φ(n).
An instance of the QAP with input matrices A, B, and C is denoted by QAP(A, B, C). If
there is no linear term (hence, no matrix C), we just write QAP(A, B). In many cases matrix
B fulfills the triangle inequality bjl + blr ≥ bjr for all j, l,and r. In these cases QAP(A, B) is
called metric QAP.
A more general version of the QAP was considered by Lawler. Lawler introduced a four-index
cost array D = (dijkl) instead of the three matrices A, B, and C and obtained the general form
of a QAP as:
minφ∈Sn
n
i=1
n
k=1
diφ(i)kφ(k). (2)
The relationship with the koopmans-Beckmann problem is
dijkl = aikbjl (i, j, k, l = 1, 2, 3, ..., n; i = korj = l);
dijij = aiibjj + cij (i, j = 1, 2, 3, ..., n).
Example. Let us consider a Koopmans-Beckmann problem QAP(A,B,C) with n = 3 and
input matrices
A =





1 2 4
3 4 5
5 6 1





, B =





2 3 6
1 4 7
5 6 2





, and C =





9 7 9
6 5 7
8 9 8





.
Given a permutation, say, φ = (2, 1, 3), we can easily compute the corresponding objective
function value by first permuting the rows and columns of B according to φ, as in
Bφ = (bφ(i)φ(k)) =





4 1 7
3 2 6
6 5 2





, and the deriving from (1)
z = (4 + 2 + 28) + (9 + 8 + 30) + (30 + 30 + 2) + (7 + 6 + 8) = 164.
In order to obtain the equivalent Lawlers form, we need to define the four-index matrix
D. Let us represent it through n2 square matrices Dij of order n. Matrix Dij is formed by
the elements dijkl with fixed indices i and j and variable indices k, l = 1, 2, ..., n, for example,
D11 =





11 3 6
4 6 12
8 12 24





,
In order to compute the objective function value corresponding to the same φ = (2, 1, 3), we
2
need the matrices D12, D21 , and D33:
D12 =





1 11 7
2 8 14
4 16 28





, D21 =





6 9 18
14 12 24
10 15 30





, D33 =





25 30 10
30 36 12
5 6 10





.
Note that each matrix Dij has the cost ciφ(i) added to the element stored in row i and
column j . We obtain
z = (11 + 2 + 28) + (9 + 14 + 30) + (30 + 30 + 10) = 164.
2 The Algorithm
Refer Ant algorithm
3 Analysis and Results
check from some other solvers and put there results and compare your results
4 Applications
It is astonishing how many real-life applications can be modeled as QAPs. An early natural
application in location theory was used in a campus planning model. The problem consists of
planning the sites of n buildings on a campus, where bjl is the distance from site j to site l and aik
is the traffic intensity between building i and building k. The objective is to minimize the total
weekly walking distance between the buildings. Another early application in this area, where
minimizing the number of connections in a backboard wiring problem, nowadays an outdated
technology of historical interest only. Another way to use QAPs in hospital planning, related
problem for forest parks.
In addition to facility location, QAPs appear in a variety of applications such as computer
manufacturing, scheduling, process communications, and turbine balancing. In the field of
ergonomics Pollatschek, Gershoni and QAPs can be applied to typewriter keyboard design.
The problem is to arrange the keys on a keyboard so as to minimize the time needed to write
texts. Let the set of integers N = {1, 2, ..., n} denote the set of symbols to be arranged. Then aik
denotes the frequency of the appearance of the ordered pair of symbols i and k. The entries of
the distance matrix bjl are the times needed to press the key in position l after pressing the key
in position j . A permutation φ ∈ Sn describes an assignment of symbols to keys. An optimal
solution φ for the QAP minimizes the average time for writing a text. A similar application
3
related to ergonomic design is the development of control boards in order to minimize eye
fatigue.
The turbine runner problem. The blades of a turbine, which due to manufacturing have
slightly different masses, should be welded on the turbine runner such that the center of gravity
coincides with the axis of the runner. It has been shown that the minimization of the distance
between the center of gravity and the axis of the runner is NP-hard, whereas the maximization
can be obtained in polynomial time.
4

More Related Content

What's hot

DS ppt
DS pptDS ppt
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
The Statistical and Applied Mathematical Sciences Institute
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
Matrix chain multiplication by MHM
Matrix chain multiplication by MHMMatrix chain multiplication by MHM
Matrix chain multiplication by MHM
Md Mosharof Hosen
 
Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Fazirah Zyra
 
Csr2011 june14 15_45_musatov
Csr2011 june14 15_45_musatovCsr2011 june14 15_45_musatov
Csr2011 june14 15_45_musatov
CSR2011
 
Permutation graphsandapplications
Permutation graphsandapplicationsPermutation graphsandapplications
Permutation graphsandapplicationsJoe Krall
 
Computer Science Assignment Help
Computer Science Assignment Help Computer Science Assignment Help
Computer Science Assignment Help
Programming Homework Help
 
Unit 2
Unit 2Unit 2
Unit 2
guna287176
 
ENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-MeansENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-Means
tthonet
 
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET Journal
 
Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)
Alexander Litvinenko
 
Definite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite IntegralDefinite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite Integral
ShaifulIslam56
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Mohanlal Sukhadia University (MLSU)
 
Moment Preserving Approximation of Independent Components for the Reconstruct...
Moment Preserving Approximation of Independent Components for the Reconstruct...Moment Preserving Approximation of Independent Components for the Reconstruct...
Moment Preserving Approximation of Independent Components for the Reconstruct...
rahulmonikasharma
 
Minimization of Assignment Problems
Minimization of Assignment ProblemsMinimization of Assignment Problems
Minimization of Assignment Problems
ijtsrd
 
Integration
IntegrationIntegration
Integration
Chhitiz Shrestha
 

What's hot (19)

DS ppt
DS pptDS ppt
DS ppt
 
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
Matrix chain multiplication by MHM
Matrix chain multiplication by MHMMatrix chain multiplication by MHM
Matrix chain multiplication by MHM
 
Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Calculus and Numerical Method =_=
Calculus and Numerical Method =_=
 
Csr2011 june14 15_45_musatov
Csr2011 june14 15_45_musatovCsr2011 june14 15_45_musatov
Csr2011 june14 15_45_musatov
 
Permutation graphsandapplications
Permutation graphsandapplicationsPermutation graphsandapplications
Permutation graphsandapplications
 
Computer Science Assignment Help
Computer Science Assignment Help Computer Science Assignment Help
Computer Science Assignment Help
 
Unit 2
Unit 2Unit 2
Unit 2
 
ENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-MeansENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-Means
 
Chap11alg
Chap11algChap11alg
Chap11alg
 
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
 
Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)Low-rank tensor approximation (Introduction)
Low-rank tensor approximation (Introduction)
 
Definite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite IntegralDefinite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite Integral
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Moment Preserving Approximation of Independent Components for the Reconstruct...
Moment Preserving Approximation of Independent Components for the Reconstruct...Moment Preserving Approximation of Independent Components for the Reconstruct...
Moment Preserving Approximation of Independent Components for the Reconstruct...
 
Minimization of Assignment Problems
Minimization of Assignment ProblemsMinimization of Assignment Problems
Minimization of Assignment Problems
 
Integration
IntegrationIntegration
Integration
 

Viewers also liked

走出技术壁垒
走出技术壁垒走出技术壁垒
走出技术壁垒
heavenhuang
 
туннельный эффект
туннельный эффекттуннельный эффект
туннельный эффектYerin_Constantine
 
Biyr1 p2
Biyr1 p2Biyr1 p2
Biyr1 p2
mickamuahaha
 
Design and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation AlgorithmsDesign and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation Algorithms
Ajay Bidyarthy
 
如何解读页面性能?
如何解读页面性能?如何解读页面性能?
如何解读页面性能?
heavenhuang
 
我以为我知道的事
我以为我知道的事我以为我知道的事
我以为我知道的事
heavenhuang
 
On the farm
On the farmOn the farm
On the farm
Cristina Arocas
 
физические основы и методики стм
физические основы и методики стмфизические основы и методики стм
физические основы и методики стмYerin_Constantine
 
1.наноразмерные структуры
1.наноразмерные структуры1.наноразмерные структуры
1.наноразмерные структурыYerin_Constantine
 
4.магнитные свойства наноразмерных систем
4.магнитные свойства наноразмерных систем4.магнитные свойства наноразмерных систем
4.магнитные свойства наноразмерных системYerin_Constantine
 
Some real life data analysis on stationary and non-stationary Time Series
Some real life data analysis on stationary and non-stationary Time SeriesSome real life data analysis on stationary and non-stationary Time Series
Some real life data analysis on stationary and non-stationary Time Series
Ajay Bidyarthy
 
Student Database Management System
Student Database Management SystemStudent Database Management System
Student Database Management System
Ajay Bidyarthy
 
Soalan dst thn 2 akhir thn 2014
Soalan dst thn 2 akhir thn 2014Soalan dst thn 2 akhir thn 2014
Soalan dst thn 2 akhir thn 2014mickamuahaha
 
Pksr 1 2014 dst thn 2
Pksr 1 2014 dst thn 2Pksr 1 2014 dst thn 2
Pksr 1 2014 dst thn 2
mickamuahaha
 

Viewers also liked (14)

走出技术壁垒
走出技术壁垒走出技术壁垒
走出技术壁垒
 
туннельный эффект
туннельный эффекттуннельный эффект
туннельный эффект
 
Biyr1 p2
Biyr1 p2Biyr1 p2
Biyr1 p2
 
Design and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation AlgorithmsDesign and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation Algorithms
 
如何解读页面性能?
如何解读页面性能?如何解读页面性能?
如何解读页面性能?
 
我以为我知道的事
我以为我知道的事我以为我知道的事
我以为我知道的事
 
On the farm
On the farmOn the farm
On the farm
 
физические основы и методики стм
физические основы и методики стмфизические основы и методики стм
физические основы и методики стм
 
1.наноразмерные структуры
1.наноразмерные структуры1.наноразмерные структуры
1.наноразмерные структуры
 
4.магнитные свойства наноразмерных систем
4.магнитные свойства наноразмерных систем4.магнитные свойства наноразмерных систем
4.магнитные свойства наноразмерных систем
 
Some real life data analysis on stationary and non-stationary Time Series
Some real life data analysis on stationary and non-stationary Time SeriesSome real life data analysis on stationary and non-stationary Time Series
Some real life data analysis on stationary and non-stationary Time Series
 
Student Database Management System
Student Database Management SystemStudent Database Management System
Student Database Management System
 
Soalan dst thn 2 akhir thn 2014
Soalan dst thn 2 akhir thn 2014Soalan dst thn 2 akhir thn 2014
Soalan dst thn 2 akhir thn 2014
 
Pksr 1 2014 dst thn 2
Pksr 1 2014 dst thn 2Pksr 1 2014 dst thn 2
Pksr 1 2014 dst thn 2
 

Similar to Optimization Techniques

Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
SSA KPI
 
On image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDAOn image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDA
Raghu Palakodety
 
Subquad multi ff
Subquad multi ffSubquad multi ff
Subquad multi ff
Fabian Velazquez
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-Joins
Jonny Daenen
 
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCESON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ijitjournal
 
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfCD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
RajJain516913
 
a decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdfa decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdf
AnaRojas146538
 
Unit 3
Unit 3Unit 3
Unit 3
guna287176
 
Approximate Thin Plate Spline Mappings
Approximate Thin Plate Spline MappingsApproximate Thin Plate Spline Mappings
Approximate Thin Plate Spline Mappings
Archzilon Eshun-Davies
 
Dynamic programming1
Dynamic programming1Dynamic programming1
Dynamic programming1
debolina13
 
Linear models for classification
Linear models for classificationLinear models for classification
Linear models for classification
Sung Yub Kim
 
Litvinenko low-rank kriging +FFT poster
Litvinenko low-rank kriging +FFT  posterLitvinenko low-rank kriging +FFT  poster
Litvinenko low-rank kriging +FFT poster
Alexander Litvinenko
 
On Optimization of Network-coded Scalable Multimedia Service Multicasting
On Optimization of Network-coded Scalable Multimedia Service MulticastingOn Optimization of Network-coded Scalable Multimedia Service Multicasting
On Optimization of Network-coded Scalable Multimedia Service Multicasting
Andrea Tassi
 
A Parallel Branch And Bound Algorithm For The Quadratic Assignment Problem
A Parallel Branch And Bound Algorithm For The Quadratic Assignment ProblemA Parallel Branch And Bound Algorithm For The Quadratic Assignment Problem
A Parallel Branch And Bound Algorithm For The Quadratic Assignment Problem
Mary Calkins
 
Combinatorial Optimization
Combinatorial OptimizationCombinatorial Optimization
Combinatorial Optimization
Institute of Technology, Nirma University
 
論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations
論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations
論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations
Toru Tamaki
 
Cs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer keyCs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer key
appasami
 
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Editor IJCATR
 

Similar to Optimization Techniques (20)

Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
 
On image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDAOn image intensities, eigenfaces and LDA
On image intensities, eigenfaces and LDA
 
Subquad multi ff
Subquad multi ffSubquad multi ff
Subquad multi ff
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-Joins
 
10.1.1.630.8055
10.1.1.630.805510.1.1.630.8055
10.1.1.630.8055
 
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCESON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
 
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfCD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
 
a decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdfa decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdf
 
Unit 3
Unit 3Unit 3
Unit 3
 
Unit 3
Unit 3Unit 3
Unit 3
 
Approximate Thin Plate Spline Mappings
Approximate Thin Plate Spline MappingsApproximate Thin Plate Spline Mappings
Approximate Thin Plate Spline Mappings
 
Dynamic programming1
Dynamic programming1Dynamic programming1
Dynamic programming1
 
Linear models for classification
Linear models for classificationLinear models for classification
Linear models for classification
 
Litvinenko low-rank kriging +FFT poster
Litvinenko low-rank kriging +FFT  posterLitvinenko low-rank kriging +FFT  poster
Litvinenko low-rank kriging +FFT poster
 
On Optimization of Network-coded Scalable Multimedia Service Multicasting
On Optimization of Network-coded Scalable Multimedia Service MulticastingOn Optimization of Network-coded Scalable Multimedia Service Multicasting
On Optimization of Network-coded Scalable Multimedia Service Multicasting
 
A Parallel Branch And Bound Algorithm For The Quadratic Assignment Problem
A Parallel Branch And Bound Algorithm For The Quadratic Assignment ProblemA Parallel Branch And Bound Algorithm For The Quadratic Assignment Problem
A Parallel Branch And Bound Algorithm For The Quadratic Assignment Problem
 
Combinatorial Optimization
Combinatorial OptimizationCombinatorial Optimization
Combinatorial Optimization
 
論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations
論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations
論文紹介:Towards Robust Adaptive Object Detection Under Noisy Annotations
 
Cs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer keyCs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer key
 
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
 

More from Ajay Bidyarthy

Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Ajay Bidyarthy
 
Skip Graphs and its Applications
Skip Graphs and its ApplicationsSkip Graphs and its Applications
Skip Graphs and its Applications
Ajay Bidyarthy
 
Implementation of parallel randomized algorithm for skew-symmetric matrix game
Implementation of parallel randomized algorithm for skew-symmetric matrix gameImplementation of parallel randomized algorithm for skew-symmetric matrix game
Implementation of parallel randomized algorithm for skew-symmetric matrix game
Ajay Bidyarthy
 
Environmental clearance procedure in India: Principal of Governance
Environmental clearance procedure in India: Principal of GovernanceEnvironmental clearance procedure in India: Principal of Governance
Environmental clearance procedure in India: Principal of Governance
Ajay Bidyarthy
 
DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...
DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...
DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...
Ajay Bidyarthy
 
Design and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation AlgorithmsDesign and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation Algorithms
Ajay Bidyarthy
 

More from Ajay Bidyarthy (6)

Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
 
Skip Graphs and its Applications
Skip Graphs and its ApplicationsSkip Graphs and its Applications
Skip Graphs and its Applications
 
Implementation of parallel randomized algorithm for skew-symmetric matrix game
Implementation of parallel randomized algorithm for skew-symmetric matrix gameImplementation of parallel randomized algorithm for skew-symmetric matrix game
Implementation of parallel randomized algorithm for skew-symmetric matrix game
 
Environmental clearance procedure in India: Principal of Governance
Environmental clearance procedure in India: Principal of GovernanceEnvironmental clearance procedure in India: Principal of Governance
Environmental clearance procedure in India: Principal of Governance
 
DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...
DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...
DOW JONES INDUSTRIAL AVERAGE Time series Data Analysis: Analysis and Results ...
 
Design and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation AlgorithmsDesign and Implementation of Parallel and Randomized Approximation Algorithms
Design and Implementation of Parallel and Randomized Approximation Algorithms
 

Recently uploaded

Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
theahmadsaood
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
correoyaya
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 

Recently uploaded (20)

Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 

Optimization Techniques

  • 1. CL615 Optimization Techniques: Term Project Ajay Shankar Bidyarthy b.ajay@iitg.ernet.in 09012305 Department of Mathematics August 25, 2012 Problem Statement: Solution to a quadratic assignment problem (QAP), 358 constraints and 50 variables. 1 Introduction Quadratic assignment problems (QAPs) belong to the most difficult combinatorial optimization problems. The QAP was introduced by Koopmans and Beckmann in 1957 as a mathematical model for the location of indivisible economical activities.The quadratic assignment problem (QAP) is the problem of assigning n facilities to n locations so that the cost of the assignment, which is a function of the way facilities have been assigned to locations, is minimized. We want to assign n facilities to n locations with the cost being proportional to the flow between the facilities multiplied by the distances between the locations plus, eventually, costs for placing the facilities at their respective locations. The objective is to allocate each facility to a location such that the total cost is minimized. We can model this quadratic assignment problem by means of three n × n matrices: A = (aik), where aik is the flow from facility i to facility k; B = (bjl), where bjl is the distance from location j to location l; C = (cij), where cij is the cost of placing facility i at location j. The QAP in Koopmans - Beckmann form can now be written as: minφ∈Sn ( n i=1 n k=1 aikbφ(i)φ(k) + n i=1 ciφ(i)) (1) 1
  • 2. where, as usual, Sn is the set of all permutations of the integers 1, 2, ..., n. Each individual product aikbφ(i)φ(k) is the transportation cost caused by assigning facility i to location φ(i) and facility k to location φ(k). Thus each term ciφ(i) + n k=1 aikbφ(i)φ(k) is the total cost given, for facility i, by the cost for installing it at location φ(i), plus the transportation costs to all facilities k, if installed at locations φ(1), φ(2), ..., φ(n). An instance of the QAP with input matrices A, B, and C is denoted by QAP(A, B, C). If there is no linear term (hence, no matrix C), we just write QAP(A, B). In many cases matrix B fulfills the triangle inequality bjl + blr ≥ bjr for all j, l,and r. In these cases QAP(A, B) is called metric QAP. A more general version of the QAP was considered by Lawler. Lawler introduced a four-index cost array D = (dijkl) instead of the three matrices A, B, and C and obtained the general form of a QAP as: minφ∈Sn n i=1 n k=1 diφ(i)kφ(k). (2) The relationship with the koopmans-Beckmann problem is dijkl = aikbjl (i, j, k, l = 1, 2, 3, ..., n; i = korj = l); dijij = aiibjj + cij (i, j = 1, 2, 3, ..., n). Example. Let us consider a Koopmans-Beckmann problem QAP(A,B,C) with n = 3 and input matrices A =      1 2 4 3 4 5 5 6 1      , B =      2 3 6 1 4 7 5 6 2      , and C =      9 7 9 6 5 7 8 9 8      . Given a permutation, say, φ = (2, 1, 3), we can easily compute the corresponding objective function value by first permuting the rows and columns of B according to φ, as in Bφ = (bφ(i)φ(k)) =      4 1 7 3 2 6 6 5 2      , and the deriving from (1) z = (4 + 2 + 28) + (9 + 8 + 30) + (30 + 30 + 2) + (7 + 6 + 8) = 164. In order to obtain the equivalent Lawlers form, we need to define the four-index matrix D. Let us represent it through n2 square matrices Dij of order n. Matrix Dij is formed by the elements dijkl with fixed indices i and j and variable indices k, l = 1, 2, ..., n, for example, D11 =      11 3 6 4 6 12 8 12 24      , In order to compute the objective function value corresponding to the same φ = (2, 1, 3), we 2
  • 3. need the matrices D12, D21 , and D33: D12 =      1 11 7 2 8 14 4 16 28      , D21 =      6 9 18 14 12 24 10 15 30      , D33 =      25 30 10 30 36 12 5 6 10      . Note that each matrix Dij has the cost ciφ(i) added to the element stored in row i and column j . We obtain z = (11 + 2 + 28) + (9 + 14 + 30) + (30 + 30 + 10) = 164. 2 The Algorithm Refer Ant algorithm 3 Analysis and Results check from some other solvers and put there results and compare your results 4 Applications It is astonishing how many real-life applications can be modeled as QAPs. An early natural application in location theory was used in a campus planning model. The problem consists of planning the sites of n buildings on a campus, where bjl is the distance from site j to site l and aik is the traffic intensity between building i and building k. The objective is to minimize the total weekly walking distance between the buildings. Another early application in this area, where minimizing the number of connections in a backboard wiring problem, nowadays an outdated technology of historical interest only. Another way to use QAPs in hospital planning, related problem for forest parks. In addition to facility location, QAPs appear in a variety of applications such as computer manufacturing, scheduling, process communications, and turbine balancing. In the field of ergonomics Pollatschek, Gershoni and QAPs can be applied to typewriter keyboard design. The problem is to arrange the keys on a keyboard so as to minimize the time needed to write texts. Let the set of integers N = {1, 2, ..., n} denote the set of symbols to be arranged. Then aik denotes the frequency of the appearance of the ordered pair of symbols i and k. The entries of the distance matrix bjl are the times needed to press the key in position l after pressing the key in position j . A permutation φ ∈ Sn describes an assignment of symbols to keys. An optimal solution φ for the QAP minimizes the average time for writing a text. A similar application 3
  • 4. related to ergonomic design is the development of control boards in order to minimize eye fatigue. The turbine runner problem. The blades of a turbine, which due to manufacturing have slightly different masses, should be welded on the turbine runner such that the center of gravity coincides with the axis of the runner. It has been shown that the minimization of the distance between the center of gravity and the axis of the runner is NP-hard, whereas the maximization can be obtained in polynomial time. 4