CSCI 3160 Design and Analysis of Algorithms Chengyu Lin.

Slides:



Advertisements
Similar presentations
Network Design with Degree Constraints Guy Kortsarz Joint work with Rohit Khandekar and Zeev Nutov.
Advertisements

Min-Max Relations, Hall’s Theorem, and Matching-Algorithms Graphs & Algorithms Lecture 5 TexPoint fonts used in EMF. Read the TexPoint manual before you.
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
Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
Max Cut Problem Daniel Natapov.
Approximative Kernelization: On the Trade-off between Fidelity and Kernel Size joint with Michael Fellows and Frances Rosamond Charles Darwin University.
CSCI 256 Data Structures and Algorithm Analysis Lecture 22 Some slides by Kevin Wayne copyright 2005, Pearson Addison Wesley all rights reserved, and some.
Private Approximation of Search Problems Amos Beimel Paz Carmi Kobbi Nissim Enav Weinreb Ben Gurion University Research partially Supported by the Frankel.
Complexity ©D Moshkovitz 1 Approximation Algorithms Is Close Enough Good Enough?
PCPs and Inapproximability Introduction. My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.
Computational problems, algorithms, runtime, hardness
Approximation Algorithms
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
CS3381 Des & Anal of Alg ( SemA) City Univ of HK / Dept of CS / Helena Wong 8. Approximation Alg Approximation.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
An introduction to Approximation Algorithms Presented By Iman Sadeghi.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
The Maximum Independent Set Problem Sarah Bleiler DIMACS REU 2005 Advisor: Dr. Vadim Lozin, RUTCOR.
Hardness Results for Problems
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
Outline Introduction The hardness result The approximation algorithm.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximation Algorithms for NP-hard Combinatorial Problems Magnús M. Halldórsson Reykjavik University
C&O 355 Mathematical Programming Fall 2010 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
APPROXIMATION ALGORITHMS VERTEX COVER – MAX CUT PROBLEMS
Design Techniques for Approximation Algorithms and Approximation Classes.
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.
Advanced Algorithm Design and Analysis (Lecture 13) SW5 fall 2004 Simonas Šaltenis E1-215b
CSE 421 Algorithms Richard Anderson Lecture 24 Network Flow Applications.
Chapter 15 Approximation Algorithm Introduction Basic Definition Difference Bounds Relative Performance Bounds Polynomial approximation Schemes Fully Polynomial.
Approximation Algorithms
1 Approximate Algorithms (chap. 35) Motivation: –Many problems are NP-complete, so unlikely find efficient algorithms –Three ways to get around: If input.
Chapter 2 Greedy Strategy I. Independent System Ding-Zhu Du.
Approximation Algorithms for NP-hard Combinatorial Problems Magnús M. Halldórsson Reykjavik University Local Search, Greedy and Partitioning
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
WK15. Vertex Cover and Approximation Algorithm By Lin, Jr-Shiun Choi, Jae Sung.
EMIS 8373: Integer Programming Combinatorial Relaxations and Duals Updated 8 February 2005.
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
Algorithms for hard problems Introduction Juris Viksna, 2015.
C&O 355 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Efficient Point Coverage in Wireless Sensor Networks Jie Wang and Ning Zhong Department of Computer Science University of Massachusetts Journal of Combinatorial.
Fixed Parameter Tractability for Graph Drawing Sue Whitesides Computer Science Department.
An introduction to Approximation Algorithms Presented By Iman Sadeghi
Approximate Algorithms (chap. 35)
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Approximation algorithms
Approximation Algorithms
Computability and Complexity
Approximation algorithms
Intro to NP Completeness
3-3 Optimization with Linear Programming
Coverage Approximation Algorithms
Introduction to Algorithms Second Edition by
GreedyMaxCut a b w c d e 1.
Approximation Algorithms
Vertex Covers, Matchings, and Independent Sets
Problem Solving 4.
Warm Up Solve for x:
Complexity Theory in Practice
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
Vertex Covers and Matchings
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

CSCI 3160 Design and Analysis of Algorithms Chengyu Lin

Approximation algorithms Motivation – Some (optimization) problems are very hard – Unlikely to have efficient polynomial-time algorithms Approximation algorithms – Algorithms to find approximate solutions to optimization problems.

Optimization Many problems are actually optimization problems i.e – the task can be naturally rephrased as finding a maximal/minimal solution For example: Vertex Cover problem

Approximation Algorithm An algorithm that returns near-optimal solutions in polynomial time Approximation Ratio ρ(n): – Define: C* as a optimal solution and C is the solution produced by the approximation algorithm – max (C/C*, C*/C) <= ρ(n) – Maximization problem: 0 < C <= C*, thus C*/C shows that C* is larger than C by ρ(n) – Minimization problem: 0 < C* <= C, thus C/C* shows that C is larger than C* by ρ(n)

Techniques A variety of techniques to design and analyze many approximation algorithms for computationally hard problems: – Combinatorial algorithms – Linear Programming based algorithms – Semi-definite Programming based algorithms

Vertex Cover

Vertex Cover Problem Definition: – Given an undirected graph G=(V,E), find a vertex cover with minimum size (has the least number of vertices) – This is sometimes called cardinality vertex cover More generalization: – Given an undirected graph G=(V,E), and a cost function on vertices c: V → Q+ – Find a minimum cost vertex cover

How to solve it Matching: – A set M of edges in a graph G is called a matching of G if no two edges in set M have an endpoint in common Example:

How to solve it(cont.) Maximum Matching: – A matching of G with the greatest number of edges Maximal Matching: – A matching which is not contained in any larger matching Note: Any maximum matching is certainly maximal, but not the reverse

Main observation No vertex can cover two edges of a matching The size of every vertex cover is at least the size of every matching: |M| ≤ |C| |M| = |C| indicates the optimality Possible Solution: Using Maximal matching to find Minimum vertex cover

An Algorithm

End Questions?