MCS 312: NP Completeness and Approximation algorthms Instructor Neelima Gupta

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.
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
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 ( )
End Topics Approximate Vertex Cover Approximate TSP Tour Computation of FFT P, NP, NP Complete, NP hard.
Combinatorial Algorithms
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
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 Lecture for CS 302. What is a NP problem? Given an instance of the problem, V, and a ‘certificate’, C, we can verify V is in.
1 NP-Completeness Objectives: At the end of the lesson, students should be able to: 1. Differentiate between class P, NP, and NPC 2. Reduce a known NPC.
Transitivity of  poly Theorem: Let ,  ’, and  ’’ be three decision problems such that   poly  ’ and  ’  poly  ’’. Then  poly  ’’. Proof:
NP-Completeness (2) NP-Completeness Graphs 4/17/2017 6:25 AM x x x x x
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Outline Introduction The hardness result The approximation algorithm.
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.
MCS312: NP-completeness and Approximation Algorithms
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
MCS 312: NP Completeness and Approximation algorithms Instructor Neelima Gupta
Approximation Algorithms
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
Instructor Neelima Gupta Table of Contents Class NP Class NPC Approximation Algorithms.
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Lecture 25 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
28.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
NP Hard Problems Instructor Neelima Gupta Presentation Edited by Sapna Grover.
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
MCS 312: NP Completeness and Approximation Algorithms Instructor Neelima Gupta
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
Approximation Algorithms
The Theory of NP-Completeness
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
More NP-Complete and NP-hard Problems
More NP-complete problems
NP-completeness Ch.34.
Mathematical Foundations of AI
Richard Anderson Lectures NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
Lecture 2-2 NP Class.
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Richard Anderson Lecture 26 NP-Completeness
Hamiltonian Cycle and TSP
Approximation Algorithms for TSP
Lecture 24 NP-Complete Problems
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Richard Anderson Lecture 25 NP-Completeness
Richard Anderson Lecture 28 NP-Completeness
Richard Anderson Lecture 29 NP-Completeness
Approximation Algorithms
Richard Anderson Lecture 30 NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
CSE 6408 Advanced Algorithms.
The Theory of NP-Completeness
Richard Anderson Lecture 27 Survey of NP Complete Problems
Lecture 24 Classical NP-hard Problems
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Hamiltonian Circuit (HC) problem
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

MCS 312: NP Completeness and Approximation algorthms Instructor Neelima Gupta

Table of Contents Set Cover TSP : Traveling Salesman Problem

Set Cover Problem Problem Statement Given 1.A set U of n elements 2.A collection S 1, S 2,……., S m of subsets of U To Find : A collection of minimum number of subsets that cover (whose union equals U) all the elements in U. Decision Version: Given a number k, If there exists a collection of at most k of these subsets that covers (all the elements of) U.

Set Cover Problem An Application  Suppose we want to build a system with n functionalities using m available modules of software.  Each module is capable of performing some subset of these tasks (functionalities). Let S i denotes the set of functionalities provided by the i th module.  Our goal, then, is to use a small number of modules such that the system possesses all n functionalities.

Set Cover Problem The little blue dots are the elements of U Black and Red figures represent sets. The dots that lie within a figure are the elements contained by that set. The red figure form the set cover. An Instance

Set Cover Problem is NPC Prove that it is in NP NP – hardness follows from generalization of vertex cover. HOW?......Assignment

(Metric) Traveling Salesman Problem Problem Statement Given A complete graph G with non- negative edge costs ( that satisfy triangle inequality) To Find A minimum cost cycle visiting every vertex exactly once. Decision Version: Does there exist a TS tour of cost <=k

TSP is NPC Prove that it is in NP NP – hardness follows from reduction from Hamiltonian Cycle. HOW? Assignment.