Master Tour Routing Vladimir Deineko, Warwick Business School.

Slides:



Advertisements
Similar presentations
Vehicle Routing: Coincident Origin and Destination Points
Advertisements

Hard Problems Some problems are hard to solve. No polynomial time algorithm is known Most combinatorial optimization problems are hard Popular NP-hard.
1 ©D.Moshkovitz Complexity The Traveling Salesman Problem.
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
1 MERLIN A polynomial solution for the Traveling Salesman Problem Dr. Joachim Mertz, 2005.
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Neural Networks for Optimization William J. Wolfe California State University Channel Islands.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Using geometric information in Euclidean graph algorithms Paul Bouman Seminar Graph Drawing
MAE 552 – Heuristic Optimization Lecture 26 April 1, 2002 Topic:Branch and Bound.
Dynamic Programming Optimization Problems Dynamic Programming Paradigm
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
1 NP-Complete Problems Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph, the length.
Ch 13 – Backtracking + Branch-and-Bound
Algorithms All pairs shortest path
Linear Programming Applications
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
1 NP-Complete Problems (Fun part) Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph,
Transportation Problem Moving towards Optimality ATISH KHADSE.
Ant Colony Optimization: an introduction
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234 Lecture 1 -- (14-Jan-09) “Introduction”  Combinatorial Optimization.
Branch & Bound UPPER =  LOWER = 0.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Polynomially solvable cases of NP-hard problems
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
Great Theoretical Ideas in Computer Science.
Contents of Chapter 5 Chapter 5 Dynamic Programming
Algorithms and their Applications CS2004 ( )
LECTURE 13. Course: “Design of Systems: Structural Approach” Dept. “Communication Networks &Systems”, Faculty of Radioengineering & Cybernetics Moscow.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
394C, Spring 2013 Sept 4, 2013 Tandy Warnow. DNA Sequence Evolution AAGACTT TGGACTTAAGGCCT -3 mil yrs -2 mil yrs -1 mil yrs today AGGGCATTAGCCCTAGCACTT.
Metaheuristic – Threshold Acceptance (TA). 2 Outlines ▪ Measuring Computational Efficiency ▪ Construction Heuristics ▪ Local Search Algorithms ▪ Metaheuristic.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Hard Problems Some problems are hard to solve.  No polynomial time algorithm is known.  E.g., NP-hard problems such as machine scheduling, bin packing,
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
Traveling Salesman Problem (TSP)
Dvir Shabtay Moshe Kaspi The Department of IE&M Ben-Gurion University of the Negev, Israel.
Transportation Logistics Professor Goodchild Spring 2011.
An Algorithm for the Traveling Salesman Problem John D. C. Little, Katta G. Murty, Dura W. Sweeney, and Caroline Karel 1963 Speaker: Huang Cheng-Kang.
Operational Research & ManagementOperations Scheduling Economic Lot Scheduling 1.Summary Machine Scheduling 2.ELSP (one item, multiple items) 3.Arbitrary.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
598AGB Basics Tandy Warnow. DNA Sequence Evolution AAGACTT TGGACTTAAGGCCT -3 mil yrs -2 mil yrs -1 mil yrs today AGGGCATTAGCCCTAGCACTT AAGGCCTTGGACTT.
ACO for NP-hard Problems (continued) ACO February 2008 C. Colson.
1 1 Slide Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs.Pramela Devi, Mrs.Sindhuja.K Mrs.Annapoorani Department:CSE 3/1/2016.
Genetic Algorithms and TSP Thomas Jefferson Computer Research Project by Karl Leswing.
Chapter 3 Brute Force Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
1 Minimum Spanning Tree: Solving TSP for Metric Graphs using MST Heuristic Soheil Shafiee Shabnam Aboughadareh.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Hard Problems Some problems are hard to solve.  No polynomial time algorithm is known.  E.g., NP-hard problems such as machine scheduling, bin packing,
Approximation algorithms
Hard Problems Some problems are hard to solve.
SAT problem SAT – Boolean satisfiability problem
EMIS 8373: Integer Programming
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
Hopfield net and Traveling Salesman problem
Optimization problems such as
Lecture 2-2 NP Class.
Chapter 3 Brute Force Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Lecture 24 NP-Complete Problems
MO-Problems.
Neural Networks Chapter 4
3. Brute Force Selection sort Brute-Force string matching
3. Brute Force Selection sort Brute-Force string matching
Approximation Algorithms
3. Brute Force Selection sort Brute-Force string matching
Presentation transcript:

Master Tour Routing Vladimir Deineko, Warwick Business School

Outline Vehicle routing Master tour problem Travelling Salesman Problem with Kalmanson matrices Quadratic Assignment Problem/ Special Case Summary

3Warwick Business School Vehicle routing problem PostCode 15A15 PostCode 14A14 PostCode 13A13 PostCode 12A12 PostCode 11A11 PostCode 10A10 PostCode 9A9 PostCode 8A8 PostCode 7A7 PostCode 6A6 PostCode 5A5 PostCode 4A4 PostCode 3A3 PostCode 2A2 PostCode 1A1 Given a set of customers Find a tour with the minimal total length PostCode 15A15 PostCode 14A14 PostCode 13A13 PostCode 12A12 PostCode 11A11 PostCode 10A10 PostCode 9A9 PostCode 8A8 PostCode 7A7 PostCode 6A6 PostCode 5A5 PostCode 4A4 PostCode 3A3 PostCode 2A2 PostCode 1A1 Given a set of today’s customers ???

4Warwick Business School Vehicle routing problem PostCode 15A15 PostCode 14A14 PostCode 13A13 PostCode 12A12 PostCode 11A11 PostCode 10A10 PostCode 9A9 PostCode 8A8 PostCode 7A7 PostCode 6A6 PostCode 5A5 PostCode 4A4 PostCode 3A3 PostCode 2A2 PostCode 1A1 Given a set of customers Find a tour with the minimal total length PostCode 15A15 PostCode 14A14 PostCode 13A13 PostCode 12A12 PostCode 11A11 PostCode 10A10 PostCode 9A9 PostCode 8A8 PostCode 7A7 PostCode 6A6 PostCode 5A5 PostCode 4A4 PostCode 3A3 PostCode 2A2 PostCode 1A1 Given a set of today’s customers ???

5Warwick Business School The travelling salesman problem (TSP) city3city2city5 city1 city6city4 Find a cyclic permutation (tour)  that minimizes An optimal TSP tour is called the master tour, if it is an optimal tour and it remains to be an optimal after deleting any subset of cities.

6Warwick Business School c ij c ik c lk (c mn )= c lj TSP with the master tour j i k l  + c lk c ij  + c lj + c ik c jl c ik  + c il + c jk A matrix is called Kalmanson matrix if for all i<j<k<l the inequalities below are satisfied.

7Warwick Business School c ij c ik c lk (c mn )= c lj Specially structured matrices j i k l  + If (c mn ) is a Kalmanson matrix, then is an optimal TSP tour is the master tour for the TSP with (c mn ) then (c mn ) is a Kalmanson matrix

Recognition of specially structured matrices d ij d ik d lk (d mn )= d lj Is there a permutation  to permute rows and columns in the matrix so that the new permuted matrix (c mn ) with c mn = d  (m)  (n) is a Kalmanson matrix? c ij c ik c lk (c mn )= d  (m)  (n) = c lj  X −  K

Recognition of specially structured matrices d ij d ik d lk (d mn )= d lj c ij c ik c lk (c mn )= c lj Permuted Kalmanson matrices can be recognized in O(n 2 ) time  +

Site 1 Site 2 Site 4 Site 3 Related problems: Quadratic Assignment Problem (QAP)

Site 1 Site 2 Site 4 Site 3 Distance matrix d(i,j)=

1212 Warwick Business School Office1 Office2 Office3 Office4 Site1 Site2 Site3 Site4 11 22 33 Distance matrix d(i,j)= Frequency of contacts c(i,j)=

1313 Warwick Business School Quadratic Assignment Problem Find a permutation  that minimizes total distance traveled in the allocation problem above

Quadratic Assignment Problem (QAP) Find a permutation  that minimizes NP-hard  little hopes to find a polynomial algorithm The hardest solved instances  n=22 (30?) Heuristics (approximate algorithms) Identify solvable cases

1515 Warwick Business School Distance matrix d(i,j)= Frequency of contacts c(i,j)= Quadratic assignment problem: Solvable case If the distance matrix d(i,j) is a Kalmanson matrix, and the frequencies c(i,j) are proportional to the distances along a circle, then the identity is an optimal permutation for the QAP

Related specially structured matrices c ij c ik c lk (c mn )= c lj  + Kalmanson matrices   K *= is an optimal TSP tour c ij c ik c lk (c mn )= c lj Demidenko matrices   * is a pyramidal tour  O(n 2 ) time  (c mn )= + Relaxed Kalmanson matrices   S * is in a special set of N-permutations  O(n 4 ) time 1 1 n

Specially Structured Matrices & Heuristics x x x x x ? ?? ?? ? x x x x Know how to solve the TSP with the matrices like 1'1' 2'2' 3'3' 4'4' 5'5' 6'6' x x x x x '1' 2'2' 3'3' 4'4' 5'5' 6'6' x x x x x x x x x + ++ ?? ? 3'3' 4'4' 5'5' 6'6' 3'3' 4'4' 5'5' 6'6' can be transformed to x x x x local search?

1818 Warwick Business School Summary Master tour exists only for the TSP with Kalmanson matrices If distances are calculated along the unique paths in a tree, then the corresponding matrix is the Kalmanson matrix Kalmanson matrices (  the master tour case) can be recognised in O(n 2 ) time