SlideShare a Scribd company logo
1 of 4
Download to read offline
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

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
Matthew Leingang
 
Calculus and Numerical Method =_=
Calculus and Numerical Method =_=Calculus and Numerical Method =_=
Calculus and Numerical Method =_=
Fazirah Zyra
 
Permutation graphsandapplications
Permutation graphsandapplicationsPermutation graphsandapplications
Permutation graphsandapplications
Joe Krall
 
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
 

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

туннельный эффект
туннельный эффекттуннельный эффект
туннельный эффект
Yerin_Constantine
 
физические основы и методики стм
физические основы и методики стмфизические основы и методики стм
физические основы и методики стм
Yerin_Constantine
 
1.наноразмерные структуры
1.наноразмерные структуры1.наноразмерные структуры
1.наноразмерные структуры
Yerin_Constantine
 
4.магнитные свойства наноразмерных систем
4.магнитные свойства наноразмерных систем4.магнитные свойства наноразмерных систем
4.магнитные свойства наноразмерных систем
Yerin_Constantine
 
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
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

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
 
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdfCD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
CD504 CGM_Lab Manual_004e08d3838702ed11fc6d03cc82f7be.pdf
RajJain516913
 

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 (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

一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
q6pzkpark
 
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get CytotecAbortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
pwgnohujw
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
saurabvyas476
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
zifhagzkk
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
23050636
 

Recently uploaded (20)

一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
 
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get CytotecAbortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...
👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...
👉 Tirunelveli Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Gir...
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
ℂall Girls In Navi Mumbai Hire Me Neha 9910780858 Top Class ℂall Girl Serviℂe...
ℂall Girls In Navi Mumbai Hire Me Neha 9910780858 Top Class ℂall Girl Serviℂe...ℂall Girls In Navi Mumbai Hire Me Neha 9910780858 Top Class ℂall Girl Serviℂe...
ℂall Girls In Navi Mumbai Hire Me Neha 9910780858 Top Class ℂall Girl Serviℂe...
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 

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