Network Optimization Problems: Models and Algorithms

Slides:



Advertisements
Similar presentations
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Advertisements

Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
Great Theoretical Ideas in Computer Science for Some.
Greedy Algorithms Spanning Trees Chapter 16, 23. What makes a greedy algorithm? Feasible –Has to satisfy the problem’s constraints Locally Optimal –The.
Approximation Algorithms for TSP
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 ( )
NP-Complete Problems Polynomial time vs exponential time
9.2 The Traveling Salesman Problem. Let us return to the question of finding a cheapest possible cycle through all the given towns: We have n towns (points)
Combinatorial Algorithms
Minimum Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
Great Theoretical Ideas in Computer Science.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Approximation Algorithms: Concepts Approximation algorithm: An algorithm that returns near-optimal solutions (i.e. is "provably good“) is called an approximation.
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.
Math443/543 Mathematical Modeling and Optimization
Approximation Algorithms1. 2 Outline and Reading Approximation Algorithms for NP-Complete Problems (§13.4) Approximation ratios Polynomial-Time Approximation.
Mathematical Modeling and Optimization: Summary of “Big Ideas”
1 Assignment 4. This one is cancelled since there is a solution on website. I new assignment will be given on Nov. 28. (Due on Friday of Week 14. Drop.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2006 Lecture 7 Monday, 4/3/06 Approximation Algorithms.
Solution methods for NP-hard Discrete Optimization Problems.
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.
NP-Complete Problems (Fun part)
1 Combinatorial Dominance Analysis Keywords: Combinatorial Optimization (CO) Approximation Algorithms (AA) Approximation Ratio (a.r) Combinatorial Dominance.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2009 Lecture 7 Tuesday, 4/7/09 Approximation Algorithms.
Solution methods for Discrete Optimization Problems.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
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,
Programming & Data Structures
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Algorithms for Network Optimization Problems This handout: Minimum Spanning Tree Problem Approximation Algorithms Traveling Salesman Problem.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
The Traveling Salesperson Problem Algorithms and Networks.
Chapter 12 Coping with the Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
The Traveling Salesman Problem Approximation
University of Texas at Arlington Srikanth Vadada Kishan Kumar B P Fall CSE 5311 Solving Travelling Salesman Problem for Metric Graphs using MST.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Mathematical Modeling and Optimization: Summary of “Big Ideas”
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Great Theoretical Ideas in Computer Science.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall.
and 6.855J Lagrangian Relaxation I never missed the opportunity to remove obstacles in the way of unity. —Mohandas Gandhi.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Projects Network Theory VLSI PSM 1. Network 1. Steiner trees
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
1 Travelling Salesman Problem Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij.
Approximation Algorithms Guo QI, Chen Zhenghai, Wang Guanhua, Shen Shiqi, Himeshi De Silva.
Approximation Algorithms
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
1 Minimum Spanning Tree: Solving TSP for Metric Graphs using MST Heuristic Soheil Shafiee Shabnam Aboughadareh.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
Approximation Algorithms
Optimization problems such as
Approximation Algorithms
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Great Theoretical Ideas in Computer Science
Approximation Algorithms
Heuristics Definition – a heuristic is an inexact algorithm that is based on intuitive and plausible arguments which are “likely” to lead to reasonable.
Approximation Algorithms for TSP
Discrete Mathematics for Computer Science
Heuristic Algorithms via VBA
Heuristic Algorithms via VBA
Heuristic Algorithms via VBA
Approximation Algorithms
Solution methods for NP-hard Discrete Optimization Problems
Presentation transcript:

Network Optimization Problems: Models and Algorithms In this handout: Approximation Algorithms Traveling Salesman Problem

Classes of discrete optimization problems Class 1 problems have polynomial-time algorithms for solving the problems optimally. Ex.: Min. Spanning Tree problem For Class 2 problems (NP-hard problems) No polynomial-time algorithm is known; And more likely there is no one. Ex.: Traveling Salesman Problem

Three main directions to solve NP-hard discrete optimization problems: Integer programming techniques Heuristics Approximation algorithms We gave examples of the first two methods for TSP. In this handout, an approximation algorithm for TSP.

Definition of Approximation Algorithms Definition: An α-approximation algorithm is a polynomial-time algorithm which always produces a solution of value within α times the value of an optimal solution. That is, for any instance of the problem Zalgo / Zopt  α , (for a minimization problem) where Zalgo is the cost of the algorithm output, Zopt is the cost of an optimal solution. α is called the approximation guarantee (or factor) of the algorithm.

Some Characteristics of Approximation Algorithms Time-efficient (sometimes not as efficient as heuristics) Don’t guarantee optimal solution Guarantee good solution within some factor of the optimum Rigorous mathematical analysis to prove the approximation guarantee Often use algorithms for related problems as subroutines Next we will give an approximation algorithm for TSP.

An approximation algorithm for TSP Given an instance for TSP problem, Find a minimum spanning tree (MST) for that instance. (using the algorithm of the previous handout) To get a tour, start from any node and traverse the arcs of MST by taking shortcuts when necessary. Example: Stage 1 Stage 2 red bold arcs form a tour start from this node

Approximation guarantee for the algorithm In many situations, it is reasonable to assume that triangle inequality holds for the cost function c: E  R defined on the arcs of network G=(V,E) : cuw  cuv + cvw for any u, v, w V Theorem: If the cost function satisfies the triangle ineqality, then the algorithm for TSP is a 2-approximation algorithm. v w u

Approximation guarantee for the algorithm (proof) First let’s compare the optimal solutions of MST and TSP for any problem instance G=(V,E), c: E  R . Idea: Get a tour from Minimum spanning tree without increasing its cost too much (at most twice in our case). Optimal TSP sol-n A tree obtained from the tour Optimal MST sol-n (*) Cost (Opt. TSP sol-n) ≥ Cost (of this tree) ≥ Cost (Opt. MST sol-n)

Approximation guarantee for the algorithm (proof) red bold arcs form a tour The algorithm takes a minimum spanning tree starts from any node traverse the MST arcs by taking shortcuts when necessary to get a tour. What is the cost of the tour compared to the cost of MST? Each tour (bold) arc e is a shortcut for a set of tree (thin) arcs f1, …, fk (or simply coincides with a tree arc) 1 2 3 4 5 6 start from this node

Approximation guarantee for the algorithm (proof) Based on triangle inequality, c(e)  c(f1)+…+c(fk) E.g, c15  c13 + c35 c23  c23 But each tree (thin) arc is shortcut exactly twice. (**) E.g., tree arc 3-5 is shortcut by tour arcs 1-5 and 5-6 . The following chain of inequalities concludes the proof, by using the facts we obtained so far: red bold arcs form a tour 1 2 3 4 5 6 start from this node

Performance of TSP algorithms in practice A more sophisticated algorithm (which again uses the MST algorithm as a subroutine) guarantees a solution within factor of 1.5 of the optimum (Christofides). For many discrete optimization problems, there are benchmarks of instances on which algorithms are tested. For TSP, such a benchmark is TSPLIB. On TSPLIB instances, the Christofides’ algorithm outputs solutions which are on average 1.09 times the optimum. For comparison, the nearest neighbor algorithm outputs solutions which are on average 1.26 times the optimum. A good approximation factor often leads to good performance in practice.