A New Method for Quick Solving Quadratic Assignment Problem CO 769. Paper presentation. by Zhongzhen Zhang.

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case.
Incremental Linear Programming Linear programming involves finding a solution to the constraints, one that maximizes the given linear function of variables.
Solving LP Models Improving Search Special Form of Improving Search
Transportation Problem (TP) and Assignment Problem (AP)
Dr. Sana’a Wafa Al-Sayegh
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
Lecture 15 Special cases by Dr. Arshad Zaheer
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Separating Hyperplanes
CISE301_Topic3KFUPM1 SE301: Numerical Methods Topic 3: Solution of Systems of Linear Equations Lectures 12-17: KFUPM Read Chapter 9 of the textbook.
Steepest Decent and Conjugate Gradients (CG). Solving of the linear equation system.
The Simplex Method: Standard Maximization Problems
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
5.5 Solution Possibilities
Numerical Optimization
Design and Analysis of Algorithms
Support Vector Machines Formulation  Solve the quadratic program for some : min s. t.,, denotes where or membership.  Different error functions and measures.
Object (Data and Algorithm) Analysis Cmput Lecture 5 Department of Computing Science University of Alberta ©Duane Szafron 1999 Some code in this.
Reformulated - SVR as a Constrained Minimization Problem subject to n+1+2m variables and 2m constrains minimization problem Enlarge the problem size and.
Linear Programming (LP)
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
CS107 Introduction to Computer Science Lecture 7, 8 An Introduction to Algorithms: Efficiency of algorithms.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
LINEAR PROGRAMMING SIMPLEX METHOD.
1. The Simplex Method.
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
Simplex method (algebraic interpretation)
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
The Simplex Method Updated 15 February Main Steps of the Simplex Method 1.Put the problem in Row-Zero Form. 2.Construct the Simplex tableau. 3.Obtain.
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
Solving Linear Programming Problems: The Simplex Method
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
Simplex Method Continued …
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
Part 4 Nonlinear Programming 4.5 Quadratic Programming (QP)
Discrete Optimization Lecture #3 2008/3/41Shi-Chung Chang, NTUEE, GIIE, GICE Last Time 1.Algorithms and Complexity » Problems, algorithms, and complexity.
Chapter 3 Linear Programming Methods
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
Linear Programming Chapter 9. Interior Point Methods  Three major variants  Affine scaling algorithm - easy concept, good performance  Potential.
OR  Now, we look for other basic feasible solutions which gives better objective values than the current solution. Such solutions can be examined.
Simplex Method Review. Canonical Form A is m x n Theorem 7.5: If an LP has an optimal solution, then at least one such solution exists at a basic feasible.
Parametric Quadratic Optimization Oleksandr Romanko Joint work with Alireza Ghaffari Hadigheh and Tamás Terlaky McMaster University January 19, 2004.
Chapter 4 The Simplex Algorithm and Goal Programming
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
Introduction to Algorithms: Brute-Force Algorithms.
1 Numerical Methods Solution of Systems of Linear Equations.
REVIEW Linear Combinations Given vectors and given scalars
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
The minimum cost flow problem
Perturbation method, lexicographic method
James B. Orlin Presented by Tal Kaminker
Chap 3. The simplex method
Chapter 3 The Simplex Method and Sensitivity Analysis
Part 3. Linear Programming
Chapter 8. General LP Problems
CS5321 Numerical Optimization
Chapter 8. General LP Problems
Simplex method (algebraic interpretation)
Chapter 8. General LP Problems
Part 4 Nonlinear Programming
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Presentation transcript:

A New Method for Quick Solving Quadratic Assignment Problem CO 769. Paper presentation. by Zhongzhen Zhang

Focus. “A New Method for Quickly Solving Quadratic Assignment Problems” Key concept. “ Pivoting Algorithms ” Linear Programming well established in Quadratic Programming Follows from. “ An efficient method for solving the local minimum of indefinite quadratic programming” More work: same person & same topic. Book (in Chinese,2004) Convex Programming: Pivoting Algorithms for Portfolio Selection and Network Optimization 0. Before intro CO 769An algorithm for solving Quadratic Assignment Problems

1. Intro: Pivoting CO 769An algorithm for solving Quadratic Assignment Problems Start with a set of vectors Definition. The subset is called a basis if it is linearly independent and maximal i.e. Assume is a basis. Represent this situation with the table Basic vectors Nonbasic vectors

1. Pivoting CO 769An algorithm for solving Quadratic Assignment Problems non zero swapped How to do it? What comes out? Pivoting. Swap one basic vector with a nonbasic vector When it can be done?

1. Pivoting CO 769An algorithm for solving Quadratic Assignment Problems non zero Pivoting. Swap one basic vector with a nonbasic vector Update the table ! … … … …

2.Solving systems of linear equalities&inequalities CO 769An algorithm for solving Quadratic Assignment Problems Solve: B can be empty l can be 0 Take large M>0: Set up the “pivoting table”: System defined by n+m vectors:

2.Solving systems of linear equalities&inequalities CO 769An algorithm for solving Quadratic Assignment Problems = ≥ ≥ Let x1 be the solution of: measure the offset x1 is a solution

3. Preprocessing: move the equalities in the basis. CO 769An algorithm for solving Quadratic Assignment Problems = Assume is <0 1.Find a positive element no such thing: infeasible problem 2.Do a pivoting on a positive element for example a11 Theorem. >0 ≥≥ = = ≥ ≥ ≥ = = ≥ ≥ ≥≥ = ≥

3. Preprocessing: move the equalities in the basis. CO 769An algorithm for solving Quadratic Assignment Problems = Assume is >0 1.Find a negative element no such thing: infeasible problem 2.Do a pivoting on a negative element for example ≥≥ = = ≥ ≥ ≥ = ≥ ≥ ≥ ≥ ≥== Theorem. Once an equality goes in the basis it stays there ! ! !

3. Preprocessing: move the equalities in the basis. CO 769An algorithm for solving Quadratic Assignment Problems Assume is =0 1.If everything =0 the equality is redundant. Just throw it away. 2.Else do a pivoting on a nonzero element = ≥ ≥ ≥ ≥ ≥==

3. Main iterations CO 769An algorithm for solving Quadratic Assignment Problems ≥ = ≥ ≥ ≥ ≥ =≥≥ assume <0 1.Find a positive element no such thing: infeasible 2.Do a pivoting on it Pivoting rules: the smallest deviation rule, the largest distance rule, the smallest index rule etc. Theorem. When cycling doesn’t occur.

4. Quadratic programming CO 769An algorithm for solving Quadratic Assignment Problems What I’m about to do can be done for general quadratic problems For simplicity, I’ll work directly with the quadratic problem that will come from QAP Same ideas

4. Quadratic programming CO 769An algorithm for solving Quadratic Assignment Problems Consider:where As before: Set up KKT for this:

4. Quadratic programming CO 769An algorithm for solving Quadratic Assignment Problems Consider:where KKT Step 1: get rid of γ’s 0≤0≤

4. Quadratic programming. Preprocessing. CO 769An algorithm for solving Quadratic Assignment Problems New KKT The unknowns Ignore this! ≥≥≥≥ ≥ ≥ = = Step 1. Preprocessing. ! ! Must become basic ! !

4. QP. Preprocessing. CO 769An algorithm for solving Quadratic Assignment Problems New KKT The unknowns Ignore this! ≥≥≥≥ ≥ ≥ = = Step 1. Preprocessing. ! ! Must become basic ! !

4. QP. Preprocessing. CO 769An algorithm for solving Quadratic Assignment Problems KKT The unknowns Ignore this! ≥=≥≥ ≥ ≥ ≥ = Step 1. Preprocessing. ! ! Must become basic ! ! Choose pivot! !Don’t destroy other complementarity!

4. QP. Preprocessing. CO 769An algorithm for solving Quadratic Assignment Problems KKT The unknowns Ignore this! ≥=≥≥ ≥ ≥ ≥ = Step 1. Preprocessing. ! ! Must become basic ! !

4. QP. Preprocessing. CO 769An algorithm for solving Quadratic Assignment Problems =0 or 1 Preprocessing leads to a feasible solution Choosing pivots in preprocessing can be done in more than one way. Pivot selection plays a role in the implementation. If a choice fails, another is pursued. =0 or 1 or -1 Remark 1. The method described in the paper is heuristic. 2. Attempts to gain insight are made. 3. No insights for pivot selection in preprocessing.

4. QP. Main Iterations: Local search. CO 769An algorithm for solving Quadratic Assignment Problems Local search: What happens: The offset column must be updated. Feasibility can be lost!! Not any local search is good. Goal: Decrease in the objective! Nothing else. No other insight.

4. QP. Main Iterations: Pivoting. CO 769An algorithm for solving Quadratic Assignment Problems In general for QP: pivoting is done such that complementarity is preserved ! Pivoting can destroy the feasibility ! Keep feasibility all the time Pivoting modifies the objective ! Heuristic goal: pivot to decrease the objective Forward pivoting. Assume the pivot is produces a feasible solution Feasibility Objective Decrease

4. QP. Main Iterations: Pivoting. CO 769An algorithm for solving Quadratic Assignment Problems In general for QP: pivoting is done such that complementarity is preserved ! Pivoting can destroy the feasibility ! Keep feasibility all the time Pivoting modifies the objective ! Heuristic goal: pivot to decrease the objective Backward pivoting. Assume the pivot is produces a feasible solution Feasibility Objective Decrease

4. QP. Main Iterations: Pivoting. CO 769An algorithm for solving Quadratic Assignment Problems In general for QP: pivoting is done such that complementarity is preserved ! Pivoting can destroy the feasibility ! Keep feasibility all the time Pivoting modifies the objective ! Heuristic goal: pivot to decrease the objective Par pivoting. Assume the pivot is Feasibility No Decrease in Objective

4. QP. Main Iterations: Pivoting. CO 769An algorithm for solving Quadratic Assignment Problems Par pivoting. Assume the pivot is Feasibility No Decrease in Objective This pivoting: against heuristic. Experiments show: equivalent with +

4. QP. Main Iterations: Pivoting. CO 769An algorithm for solving Quadratic Assignment Problems “The contraction effect of pivoting operations occurs to us the formation of substance that is under certain conditions or control while the formation of a good solution of QAP is depending on the appropriate control of pivoting operations. It is hopeful to discover the deep mechanism of QAP and develop more efficient computing method.” Thanks! Z.Zhang