SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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 MHMMd 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_musatovCSR2011
 
Permutation graphsandapplications
Permutation graphsandapplicationsPermutation graphsandapplications
Permutation graphsandapplicationsJoe Krall
 
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-Meanstthonet
 
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 IntegralShaifulIslam56
 
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 Problemsijtsrd
 

Was ist angesagt? (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
 

Andere mochten auch

走出技术壁垒
走出技术壁垒走出技术壁垒
走出技术壁垒heavenhuang
 
туннельный эффект
туннельный эффекттуннельный эффект
туннельный эффектYerin_Constantine
 
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 AlgorithmsAjay Bidyarthy
 
如何解读页面性能?
如何解读页面性能?如何解读页面性能?
如何解读页面性能?heavenhuang
 
我以为我知道的事
我以为我知道的事我以为我知道的事
我以为我知道的事heavenhuang
 
физические основы и методики стм
физические основы и методики стмфизические основы и методики стм
физические основы и методики стм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 SeriesAjay Bidyarthy
 
Student Database Management System
Student Database Management SystemStudent Database Management System
Student Database Management SystemAjay 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 2mickamuahaha
 

Andere mochten auch (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
 

Ähnlich wie 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 LDARaghu Palakodety
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsJonny Daenen
 
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCESON RUN-LENGTH-CONSTRAINED BINARY SEQUENCES
ON RUN-LENGTH-CONSTRAINED BINARY SEQUENCESijitjournal
 
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfCD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfRajJain516913
 
a decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdfa decomposition methodMin quasdratic.pdf
a decomposition methodMin quasdratic.pdfAnaRojas146538
 
Approximate Thin Plate Spline Mappings
Approximate Thin Plate Spline MappingsApproximate Thin Plate Spline Mappings
Approximate Thin Plate Spline MappingsArchzilon Eshun-Davies
 
Dynamic programming1
Dynamic programming1Dynamic programming1
Dynamic programming1debolina13
 
Linear models for classification
Linear models for classificationLinear models for classification
Linear models for classificationSung Yub Kim
 
Litvinenko low-rank kriging +FFT poster
Litvinenko low-rank kriging +FFT  posterLitvinenko low-rank kriging +FFT  poster
Litvinenko low-rank kriging +FFT posterAlexander 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 MulticastingAndrea 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 ProblemMary Calkins
 
論文紹介: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 AnnotationsToru 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 keyappasami
 
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
 

Ähnlich wie 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...
 

Mehr von 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 SystemAjay Bidyarthy
 
Skip Graphs and its Applications
Skip Graphs and its ApplicationsSkip Graphs and its Applications
Skip Graphs and its ApplicationsAjay 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 gameAjay 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 GovernanceAjay 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 AlgorithmsAjay Bidyarthy
 

Mehr von 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
 

Kürzlich hochgeladen

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 

Kürzlich hochgeladen (20)

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 

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