Lecture 21 More Approximation Algorithms

Slides:



Advertisements
Similar presentations
Weighted Matching-Algorithms, Hamiltonian Cycles and TSP
Advertisements

Lectures on NP-hard problems and Approximation algorithms
1. Find the cost of each of the following using the Nearest Neighbor Algorithm. a)Start at Vertex M.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Approximation Algorithms
Bipartite Matching, Extremal Problems, Matrix Tree Theorem.
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Lecture 21 Approximation Algorithms Introduction.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Complexity Theory CSE 331 Section 2 James Daly. Reminders Project 4 is out Due Friday Dynamic programming project Homework 6 is out Due next week (on.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
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.
Approximation Algorithms
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
CSE 421 Algorithms Richard Anderson Lecture 4. What does it mean for an algorithm to be efficient?
Optimization problems INSTANCE FEASIBLE SOLUTIONS COST.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
An introduction to Approximation Algorithms Presented By Iman Sadeghi.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
Finding a maximum independent set in a sparse random graph Uriel Feige and Eran Ofek.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
9/3/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Guest lecturer: Martin Furer Algorithm Design and Analysis L ECTURE.
Lecture 2 We have given O(n 3 ), O(n 2 ), O(nlogn) algorithms for the max sub-range problem. This time, a linear time algorithm! The idea is as follows:
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1 Approximation Through Scaling Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Approximation Algorithms: The Subset-sum Problem
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximation Algorithms for Knapsack Problems 1 Tsvi Kopelowitz Modified by Ariel Rosenfeld.
Genome Rearrangements [1] Ch Types of Rearrangements Reversal Translocation
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 30, 2014.
1 Approximation algorithms Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij TexPoint fonts used in EMF. Read the TexPoint manual.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
Approximation algorithms
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
Design and Analysis of Approximation Algorithms
The Theory of NP-Completeness
The Subset-sum Problem
8.3.2 Constant Distance Approximations
Heuristic & Approximation
Introduction to Approximation Algorithms
Optimization problems such as
An introduction to Approximation Algorithms Presented By Iman Sadeghi
Approximation Algorithms
Approximation algorithms
Algorithms for hard problems
Vertex Cover, Dominating set, Clique, Independent set
Approximation Algorithms
Lecture 25 Partition.
Approximation Algorithms
Computability and Complexity
The Subset Sum Game Revisited
Coverage Approximation Algorithms
Introduction to Algorithms Second Edition by
Approximation Algorithms
Approximation Algorithms
Polynomial time approximation scheme
Problem Solving 4.
Approximation Schemes
The Theory of NP-Completeness
Ch09 _2 Approximation algorithm
The Complexity of Approximation
Dominating Set By Eric Wengert.
Instructor: Aaron Roth
Lecture 28 Approximation of Set Cover
Lecture 24 Vertex Cover and Hamiltonian Cycle
Revisit Dynamic Programming
Presentation transcript:

Lecture 21 More Approximation Algorithms Introduction

Maximum 3DM

3-Approximation Any maximal 3DM is a 3-approximation for max 3DM. This is because in the maximum 3DM, every edge (3-set) must have at least one vertex covered by the maximal 3DM.

Min Set Cover Red + Green

Greedy Algorithm

Observation

Theorem

Max Coverage Red + Green

Greedy Algorithm

Theorem

Lower Bound

Knapsack

2-approximation

PTAS A problem has a PTAS (polynomial-time approximation scheme) if for any ε > 0, it has a (1+ε)-approximation.

Knapsack has PTAS Classify: for i < m, ci < a= cG, Sort For

Proof.

Time

Fully PTAS A problem has a fully PTAS if for any ε>0, it has (1+ε)-approximation running in time poly(n,1/ε).

Fully FTAS for Knapsack

Pseudo Polynomial-time Algorithm for Knapsak Initially,

Time outside loop: O(n) Inside loop: O(nM) where M=max ci Core: O(n log (MS)) Total O(n M log (MS)) Since input size is O(n log (MS)), this is a pseudo-polynomial-time due to M=2 3 log M

Complexity of Approximation FPTAS (e.g., Knapsack) PTAS (e.g., Knapsack) Constant-approximation (e.g., vertex-cover) -approximation (e.g., set cover) -approximation (e.g., max clique)

CS6382 CS7301-CS6301