Approximation algorithms

Slides:



Advertisements
Similar presentations
Approximation Algorithms
Advertisements

Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
Depth-First Search1 Part-H2 Depth-First Search DB A C E.
Approximation Algorithms for TSP
The class NP Section 7.3 Giorgi Japaridze Theory of Computability.
NL equals coNL Section 8.6 Giorgi Japaridze Theory of Computability.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Hierarchical Decompositions for Congestion Minimization in Networks Harald Räcke 1.
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Approximation Algorithms
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
Karger’s Min-Cut Algorithm Amihood Amir Bar-Ilan University, 2009.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Vertex cover problem S  V such that for every {u,v}  E u  S or v  S (or both)
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
The Travelling Salesman Algorithm A Salesman has to visit lots of different stores and return to the starting base On a graph this means visiting every.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
APPROXIMATION ALGORITHMS VERTEX COVER – MAX CUT PROBLEMS
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1 Approximate Algorithms (chap. 35) Motivation: –Many problems are NP-complete, so unlikely find efficient algorithms –Three ways to get around: If input.
CSCI 3160 Design and Analysis of Algorithms Chengyu Lin.
CSE332: Data Abstractions Lecture 24.5: Interlude on Intractability Dan Grossman Spring 2012.
Additional NP-complete problems
Although this may seem a paradox, all exact science is dominated by the idea of approximation. Bertrand Russell Approximation Algorithm.
Minimum Spanning Trees CS 146 Prof. Sin-Min Lee Regina Wang.
WK15. Vertex Cover and Approximation Algorithm By Lin, Jr-Shiun Choi, Jae Sung.
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
NP-completeness Section 7.4 Giorgi Japaridze Theory of Computability.
CSCI 2670 Introduction to Theory of Computing November 17, 2005.
The Classes L and NL Section 8.4 Giorgi Japaridze Theory of Computability.
Lecture 19 Minimal Spanning Trees CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Introduction to NP Instructor: Neelima Gupta 1.
1 Minimum Spanning Tree: Solving TSP for Metric Graphs using MST Heuristic Soheil Shafiee Shabnam Aboughadareh.
Fixed Parameter Tractability for Graph Drawing Sue Whitesides Computer Science Department.
P & NP.
Randomized Min-Cut Algorithm
Minimum Spanning Tree Chapter 13.6.
Finding a Path With Largest Smallest Edge
Approximate Algorithms (chap. 35)
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Approximation algorithms
CSCI 2670 Introduction to Theory of Computing
CS200: Algorithm Analysis
Approximation Algorithms for TSP
Intro to NP Completeness
Theory of Computability
Introduction to Algorithms Second Edition by
Additional NP-complete problems
Md. Abul Kashem, Chowdhury Sharif Hasan, and Anupam Bhattacharjee
Problem Solving 4.
Theory of Computability
CSC 4170 Theory of Computation The class NP Section 7.3.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Complexity Theory in Practice
CS154, Lecture 16: More NP-Complete Problems; PCPs
Ch09 _2 Approximation algorithm
Trevor Brown DC 2338, Office hour M3-4pm
The Complexity of Approximation
Instructor: Aaron Roth
Lecture 28 Approximation of Set Cover
Theory of Computability
Presentation transcript:

Approximation algorithms Giorgi Japaridze Theory of Computability Approximation algorithms Section 10.1

An example of an approximation algorithm Giorgi Japaridze Theory of Computability Approximation algorithms find nearly optimal solutions. Doing so, while sufficient for most practical purposes, can also be dramatically easier than finding the best (truly optimal) solutions. We will look at one example. It is about finding a smallest vertex cover in an undirected graph. A = “On input <G>, where G is an undirected graph: 1. Repeat the following until all edges in G touch a marked edge: 2. Find an edge in G untouched by any marked edge, and mark it. 3. Output the set X of all nodes that are endpoints of marked edges.” Obviously A runs in polynomial time (why?). And obviously its output X is indeed a vertex cover in G (why?). We further claim that X is no more than twice as large as Y, where Y is the smallest vertex cover. This is so because, where H is the set of edges that A marks, we have: (1) X is twice as large as H, and (2) H is not larger than Y. (1) holds because every edge in H contributes two nodes to X. (2) holds for the following reason. Y is a vertex cover, so every edge in H is touched by some node in Y. No such node touches two edges in H because the edges in H do not touch each other. So, for each edge of H, Y contains a different node that touches that edge. That is, Y has at least as many nodes as the number of edges in H.