Polynomial kernels for constant-factor approximable problems
|
|
- Muriel Stephanie Mosley
- 5 years ago
- Views:
Transcription
1 1 Polynomial kernels for constant-factor approximable problems Stefan Kratsch November 11, 2010
2 2 What do these problems have in common? Cluster Edge Deletion, Cluster Edge Editing, Edge Dominating Set, Feedback Vertex Set, d-hitting Set, Maximum Cut, Maximum Knapsack, Maximum Leaf Spanning Tree, Maximum Satisfiability, Multicut in Trees, H-, Planar Dominating Set, Planar Independent Set, Set Splitting, Triangle Edge Deletion, Vertex Cover, H-free Vertex Deletion
3 2 What do these problems have in common? Cluster Edge Deletion, Cluster Edge Editing, Edge Dominating Set, Feedback Vertex Set, d-hitting Set, Maximum Cut, Maximum Knapsack, Maximum Leaf Spanning Tree, Maximum Satisfiability, Multicut in Trees, H-, Planar Dominating Set, Planar Independent Set, Set Splitting, Triangle Edge Deletion, Vertex Cover, H-free Vertex Deletion All these problems are constant-factor approximable and admit a polynomial kernel.
4 3 Relation between these classes? APX XP PTAS? FPT EPTAS PK FPTAS LK
5 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95]
6 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95] Proof sketch. Let A be an EPTAS for min-problem Q of runtime f ( 1 ɛ ) no(1). Given (x, k), decide opt(x) k?:
7 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95] Proof sketch. Let A be an EPTAS for min-problem Q of runtime f ( 1 ɛ ) no(1). Given (x, k), decide opt(x) k?: run A(x, ɛ) with ɛ = 1 k+1
8 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95] Proof sketch. Let A be an EPTAS for min-problem Q of runtime f ( 1 ɛ ) no(1). Given (x, k), decide opt(x) k?: run A(x, ɛ) with ɛ = 1 k+1 if opt(x) > k then A(x, ɛ) > k
9 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95] Proof sketch. Let A be an EPTAS for min-problem Q of runtime f ( 1 ɛ ) no(1). Given (x, k), decide opt(x) k?: run A(x, ɛ) with ɛ = 1 k+1 if opt(x) > k then A(x, ɛ) > k if opt(x) k then A(x, ɛ) (1 + 1 k+1 )k < k + 1
10 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95] Proof sketch. Let A be an EPTAS for min-problem Q of runtime f ( 1 ɛ ) no(1). Given (x, k), decide opt(x) k?: run A(x, ɛ) with ɛ = 1 k+1 if opt(x) > k then A(x, ɛ) > k if opt(x) k then A(x, ɛ) (1 + 1 k+1 )k < k + 1 thus A(x, ɛ) k
11 4 EPTAS FPT If an optimization problem Q admits an EPTAS then its standard parameterization is FPT. [Bazgan 95] Proof sketch. Let A be an EPTAS for min-problem Q of runtime f ( 1 ɛ ) no(1). Given (x, k), decide opt(x) k?: run A(x, ɛ) with ɛ = 1 k+1 if opt(x) > k then A(x, ɛ) > k if opt(x) k then A(x, ɛ) (1 + 1 k+1 )k < k + 1 thus A(x, ɛ) k It is crucial that the target function is integer-valued. (e.g., Vazirani s book defines it as rational)
12 5 What we know APX XP PTAS EPTAS FPT PK FPTAS LK We can run any approximation scheme with ɛ = 1 k+1 to get a parameterized algorithm with the same runtime.
13 6 FPTAS Linear kernel assume Q has an FPTAS with runtime α ( 1 ɛ ) β n γ then p-q can be solved in time α(k + 1) β n γ
14 6 FPTAS Linear kernel assume Q has an FPTAS with runtime α ( 1 ɛ ) β n γ then p-q can be solved in time α(k + 1) β n γ on input (x, k) run that algorithm for αn β+γ steps if it finishes then report the answer
15 6 FPTAS Linear kernel assume Q has an FPTAS with runtime α ( 1 ɛ ) β n γ then p-q can be solved in time α(k + 1) β n γ on input (x, k) run that algorithm for αn β+γ steps if it finishes then report the answer else α(k + 1) β n γ > αn β+γ
16 6 FPTAS Linear kernel assume Q has an FPTAS with runtime α ( 1 ɛ ) β n γ then p-q can be solved in time α(k + 1) β n γ on input (x, k) run that algorithm for αn β+γ steps if it finishes then report the answer else α(k + 1) β n γ > αn β+γ (k + 1) β > n β, and n O(k) also: eff-fpt LK
17 7 What we know APX XP PTAS EPTAS FPT PK FPTAS LK
18 7 What we know APX XP PTAS FPT EPTAS? PK FPTAS LK Bin APX, but NP-hard for k = 2 IS of unit disks PTAS, but W[1]-hard [Hunt et al. 98, Marx 05]
19 8 Where does that leave us? Complexity theory is intended to study the most general forms of computations. However the generality often poses a barrier, when one tries to formalize a noticeable trend among natural problems. Typically, the moment one tries to formalize the trend, a counterexample is found. [...] In contrast, specializing classes such as NP, PSPACE and NPO to Boolean constraint satisfaction creates miniaturized imprints of these classes that are refined enough to exhibit many phenomena over all problems contained in them. from Complexity Classifications of Boolean by Creignou et al.
20 9 Outline
21 10 Outline
22 11 Max SNP A problem Q is in Max SNP if it can be expressed as opt Q (A) = max {x φ(x, S, A)}. S Read: satisfy the (constant-length) formula φ(x, S, A) for as many tuples x as possible Example (Max Cut): max S V {(u, v) (E(u, v) S(u) S(v))} Max SNP APX [Papadimitriou & Yannakakis 91]
23 12 Polynomial kernel for Max SNP given (A, k) decide whether max S {x φ(x, S, A)} k a random choice of S satisfies φ(x, S, A) for a constant fraction 1 c of the tuples x for which it is satisfiable if there are more than ck tuples then report YES else there are few satisfiable tuples by shrinking A we get a kernel
24 13 A problem Q is in if it can be expressed as opt Q (A) = max {x ( y) : φ(x, y, S, A)}. S Read: satisfy the long formula ( y) : φ(x, y, S, A) for as many tuples x as possible Example (Max Sat): max T {c ( v) : (P(v, c) T (v)) (N(v, c) T (v))} APX [Papadimitriou & Yannakakis 91]
25 14 Polynomial kernel for given (A, k) decide whether opt Q (A) k again, we are done if there are ck satisfiable tuples, else there are less than ck however, the formulas ( y) : φ(x, y, S, A) may be long φ(x, y, S, A) has constant size and a constant number s of occurrences of S (= literals) satisfying one φ(x, y, S, A) for some y suffices for x assignment to sk variables suffices for k tuples x use the Sunflower Lemma to reduce the number of y s shrink A to get a polynomial kernel
26 Polynomial kernel for Example: φ(x, y 1, S, A),..., φ(x, y 6, S, A) share exactly the literals L 0 L 3 L 2 L 0 L 1 L 4 L 5 L 6 assignment to four variables contradicts L0 or at most four sets L i may discard one formula 15
27 16 Min F + Π 1 A problem Q is in Min F + Π 1 if it can be expressed as opt Q (A) = min S { S ( x) : φ(x, S, A)}, where φ is in CNF and positive in S. Read: Satisfy ( x) : φ(x, S, A) with as few tuples in S as possible (note, S(x) = true x S). Example (Vertex Cover): min S V { S ( (u, v) V 2 ) : ( E(u, v) S(u) S(v)) } Min F + Π 1 APX [Kolaitis & Thakur 94, 95]
28 17 Polynomial kernel for Min F + Π 1 for each input A, ( x) : φ(x, S, A) encodes a d-hitting Set instance (H(A), k): each tuple x gives rise to a formula φ(x, S, A) each formula gives some sets, since tuples must be added to S to satisfy it use a d-hs kernelization that only deletes sets H keep only tuples x that contribute sets in H and shrink A to get a polynomial kernel
29 18 Outline
30 19 a Boolean relation: R {0, 1} r a constraint: R(x 1,..., x r ) a constraint language: finite set Γ of Boolean relations a formula over Γ: R 1 (x 11,..., x 1r1 )... R t (x t1,..., x trt ) (i) each R i is some relation from Γ (ii) the x ij are Boolean variables
31 20 Problem: Given F over Γ find a (satisfying) assignment that optimizes a certain goal. possible goals: 1) maximize # satisfied constraints 2) minimize # unsatisfied constraints 3) maximize/minimize # true variables in a satisfying assignment parameterized version: opt k? (opt k?) with parameter k
32 21 Some types of constraints 0-valid (0,..., 0) R 1-valid (1,..., 1) R affine x 1... x t = d, for d {0, 1} IHS-B positive clauses, assignments and implications, or negative clauses,... bijunctive can be expressed by 2CNF formula Horn can be expressed by CNF formula with at most one positive literal per clause dual-horn... at most one negative literal per clause 2-monotone can be expressed by DNF formula with at most one positive and one negative disjunct/term
33 22 Max SAT(Γ) Max SAT(Γ) Input: A formula F over Γ. Output: An assignment that satisfies a maximum number of constraints of F. Example: Choosing Γ = {(x y)} gives Max Cut Max SAT(Γ)......is in P for 0-valid, 1-valid, and 2-monotone Γ...is in APX for all Γ...admits a polynomial kernel for all Γ
34 23 Min UnSAT(Γ) Min UnSAT(Γ) Input: A formula F over Γ. Output: An assignment that dissatisfies a minimum number of constraints of F. Min UnSAT(Γ)......is in P for 0-valid, 1-valid, and 2-monotone Γ....is in APX when Γ is IHS-B...has open parameterized complexity, except for: Almost 2SAT is FPT [O Sullivan & Razgon 08] NP-hard for k=0 when SAT(Γ) is NP-hard
35 24 Max Ones SAT(Γ) Max Ones SAT(Γ) Input: A formula F over Γ. Output: A satisfying assignment with a maximum number of true variables. Example: Choosing Γ = {( x y)} gives Independent Set Max Ones SAT(Γ)......is in P for 1-valid, dual-horn, and width-2 affine Γ...is in APX for affine Γ...admits a polynomial kernel for affine Γ (complete classification in [K. et al. 10])
36 25 Polynomial kernel for Max Ones SAT(Γ) Let (F, k) be an instance of Max Ones SAT(Γ) for some affine Γ: if F is unsatisfiable return NO
37 25 Polynomial kernel for Max Ones SAT(Γ) Let (F, k) be an instance of Max Ones SAT(Γ) for some affine Γ: if F is unsatisfiable return NO Check for fixed variables: if F (x = 0) is unsatisfiable x must be assigned 1 if F (x = 1) is unsatisfiable x must be assigned 0
38 25 Polynomial kernel for Max Ones SAT(Γ) Let (F, k) be an instance of Max Ones SAT(Γ) for some affine Γ: if F is unsatisfiable return NO Check for fixed variables: if F (x = 0) is unsatisfiable x must be assigned 1 if F (x = 1) is unsatisfiable x must be assigned 0 we will show that at least half of the other variables can be assigned true
39 26 Polynomial kernel for Max Ones SAT(Γ) At least half of the unfixed variables can be set to 1: pick an unfixed variable x
40 26 Polynomial kernel for Max Ones SAT(Γ) At least half of the unfixed variables can be set to 1: pick an unfixed variable x Y0 : additional fixed variables in F (x = 0) Y1 : additional fixed variables in F (x = 1) Y0 = Y 1 since Γ is affine
41 26 Polynomial kernel for Max Ones SAT(Γ) At least half of the unfixed variables can be set to 1: pick an unfixed variable x Y0 : additional fixed variables in F (x = 0) Y1 : additional fixed variables in F (x = 1) Y0 = Y 1 since Γ is affine if x = 0 fixes y to 0 then x = 1 fixes y to 1; and vice versa make the choice for x that fixes more variables to 1 repeat
42 27 How to get the kernel for Max Ones SAT(Γ) identify all fixed to 0 variables to a single variable identify all fixed to 1 variables to a single variable; update k
43 27 How to get the kernel for Max Ones SAT(Γ) identify all fixed to 0 variables to a single variable identify all fixed to 1 variables to a single variable; update k if 2k unfixed variables return YES else return kernel with < 2k + 2 variables
44 28 Min Ones SAT(Γ) Min Ones SAT(Γ) Input: A formula F over Γ. Output: A satisfying assignment with a minimum number of true variables. Min Ones SAT(Γ)......is in P for 0-valid, Horn, and width-2 affine Γ...is in APX when Γ is IHS-B or bijunctive...admits a polynomial kernel when Γ is bijunctive or IHS-B (complete classification in [K. & Wahlström 10])
45 29 Polynomial kernel for Min Ones SAT(Γ) We show: Polynomial kernel for Min Ones SAT(Γ) when Γ is IHS-B or bijunctive. It suffices to consider the following d-hitting Set variant: a family of sets H each of size d for which a hitting set of size k is requested a second family of sets F; none of its sets may be subsets of the hitting set a set of implications, i.e., if x is selected for the hitting set, then y must be selected too
46 30 Polynomial kernel for Min Ones SAT(Γ) delete all elements whose selection implies > k selections
47 30 Polynomial kernel for Min Ones SAT(Γ) delete all elements whose selection implies > k selections when an element is deleted: remove it from all sets of H delete all sets of F that contain it delete all elements that would imply it
48 30 Polynomial kernel for Min Ones SAT(Γ) delete all elements whose selection implies > k selections when an element is deleted: remove it from all sets of H delete all sets of F that contain it delete all elements that would imply it use sunflower-based kernelization to shrink the set family H to H of size O(k d )
49 30 Polynomial kernel for Min Ones SAT(Γ) delete all elements whose selection implies > k selections when an element is deleted: remove it from all sets of H delete all sets of F that contain it delete all elements that would imply it use sunflower-based kernelization to shrink the set family H to H of size O(k d ) delete all elements that are not in a set of H or implied by such an element kernel with O(k d+1 ) elements
50 31 Outline
51 32 Bin Bin Input: A set of n items s 1,..., s n [0, 1]; an integer k. Parameter: k. Output: Report whether the n items can be packed into k bins of size 1.
52 32 Bin Bin Input: A set of n items s 1,..., s n [0, 1]; an integer k. Parameter: k. Output: Report whether the n items can be packed into k bins of size 1. Partition Input: A set of n integers. Output: Decide whether the set can be partitioned into two sets of equal sum.
53 32 Bin Bin Input: A set of n items s 1,..., s n [0, 1]; an integer k. Parameter: k. Output: Report whether the n items can be packed into k bins of size 1. Partition Input: A set of n integers. Output: Decide whether the set can be partitioned into two sets of equal sum. NP-hard for k = 2 by a reduction from Partition not in XP unless P = NP
54 33 Input: A set of n items s 1,..., s n [0, 1]; an integer k. Parameter: k. Output: A packing into k + 1 bins each of size one or report that k bins do not suffice.
55 33 Input: A set of n items s 1,..., s n [0, 1]; an integer k. Parameter: k. Output: A packing into k + 1 bins each of size one or report that k bins do not suffice. Note: 2 O(k log2 k) n O(1) time algorithm [Jansen et al. 2010]
56 34 A reduction to O(k 2 ) items Given a set of n items s 1,..., s n [0, 1] and an integer k:
57 34 A reduction to O(k 2 ) items Given a set of n items s 1,..., s n [0, 1] and an integer k: if total weight si > k k bins do not suffice
58 A reduction to O(k 2 ) items Given a set of n items s 1,..., s n [0, 1] and an integer k: if total weight si > k k bins do not suffice forget all items of size less than 1 k+1 34
59 A reduction to O(k 2 ) items Given a set of n items s 1,..., s n [0, 1] and an integer k: if total weight si > k k bins do not suffice forget all items of size less than 1 k+1 at most k(k + 1) items have size 1 k+1 34
60 35 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k.
61 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k. if S can be packed into k + 1 bins then so can S 35
62 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k. if S can be packed into k + 1 bins then so can S consider any packing for S and greedily add the small items from S \ S : 35
63 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k. if S can be packed into k + 1 bins then so can S consider any packing for S and greedily add the small items from S \ S : if all items fit then done 35
64 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k. if S can be packed into k + 1 bins then so can S consider any packing for S and greedily add the small items from S \ S : if all items fit then done else the free space in each of the bins is less than 1 k+1 35
65 35 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k. if S can be packed into k + 1 bins then so can S consider any packing for S and greedily add the small items from S \ S : if all items fit then done else the free space in each of the bins is less than 1 k+1 thus total weight in the bins would be greater than ( (k + 1) 1 1 ) = k k + 1
66 35 Correctness Let S be obtained from S = {s 1,..., s n } by deleting items smaller than 1 k+1 and assume s i k. if S can be packed into k + 1 bins then so can S consider any packing for S and greedily add the small items from S \ S : if all items fit then done else the free space in each of the bins is less than 1 k+1 thus total weight in the bins would be greater than ( (k + 1) 1 1 ) = k k + 1 S can be packed into k + 1 bins
67 36 Outline
68 37 noticable trend: APX PK not true in general (Bin, Connected Vertex Cover, Unit Disc IS) holds when restricted to certain CSPs or syntactical problems FPTAS LK by a simple variation on a folklore proof (and eff-fpt LK) even for Bin there is some good news
69 38 Thank you
Preprocessing of Min Ones Problems: A Dichotomy
Preprocessing of Min Ones Problems: A Dichotomy Stefan Kratsch and Magnus Wahlström Max-Planck-Institut für Informatik, Saarbrücken, Germany {skratsch,wahl}@mpi-inf.mpg.de Abstract. Min Ones Constraint
More informationFixed-parameter Approximability of Boolean MinCSPs
Fixed-parameter Approximability of Boolean MinCSPs Édouard Bonnet, László Egri, and Dániel Marx Institute for Computer Science and Control, Hungarian Academy of Sciences, Budapest, Hungary (MTA SZTAKI)
More informationNotes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction
U.C. Berkeley Handout N2 CS294: PCP and Hardness of Approximation January 23, 2006 Professor Luca Trevisan Scribe: Luca Trevisan Notes for Lecture 2 These notes are based on my survey paper [5]. L.T. Statement
More informationNP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof
T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms
More informationApproximation Algorithms and Hardness of Approximation. IPM, Jan Mohammad R. Salavatipour Department of Computing Science University of Alberta
Approximation Algorithms and Hardness of Approximation IPM, Jan 2006 Mohammad R. Salavatipour Department of Computing Science University of Alberta 1 Introduction For NP-hard optimization problems, we
More informationApproximation Preserving Reductions
Approximation Preserving Reductions - Memo Summary - AP-reducibility - L-reduction technique - Complete problems - Examples: MAXIMUM CLIQUE, MAXIMUM INDEPENDENT SET, MAXIMUM 2-SAT, MAXIMUM NAE 3-SAT, MAXIMUM
More informationFundamentals of optimization problems
Fundamentals of optimization problems Dmitriy Serdyuk Ferienakademie in Sarntal 2012 FAU Erlangen-Nürnberg, TU München, Uni Stuttgart September 2012 Overview 1 Introduction Optimization problems PO and
More informationKernelization by matroids: Odd Cycle Transversal
Lecture 8 (10.05.2013) Scribe: Tomasz Kociumaka Lecturer: Marek Cygan Kernelization by matroids: Odd Cycle Transversal 1 Introduction The main aim of this lecture is to give a polynomial kernel for the
More informationEssential facts about NP-completeness:
CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions
More informationIntroduction to Advanced Results
Introduction to Advanced Results Master Informatique Université Paris 5 René Descartes 2016 Master Info. Complexity Advanced Results 1/26 Outline Boolean Hierarchy Probabilistic Complexity Parameterized
More informationKeywords. Approximation Complexity Theory: historical remarks. What s PCP?
Keywords The following terms should be well-known to you. 1. P, NP, NP-hard, NP-complete. 2. (polynomial-time) reduction. 3. Cook-Levin theorem. 4. NPO problems. Instances. Solutions. For a long time it
More informationAsymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms
Approximation Algorithms Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms Jens Egeblad November 29th, 2006 Agenda First lesson (Asymptotic Approximation): Bin-Packing
More informationWelcome to... Problem Analysis and Complexity Theory , 3 VU
Welcome to... Problem Analysis and Complexity Theory 716.054, 3 VU Birgit Vogtenhuber Institute for Software Technology email: bvogt@ist.tugraz.at office: Inffeldgasse 16B/II, room IC02044 slides: http://www.ist.tugraz.at/pact17.html
More informationParameterized Algorithms and Kernels for 3-Hitting Set with Parity Constraints
Parameterized Algorithms and Kernels for 3-Hitting Set with Parity Constraints Vikram Kamat 1 and Neeldhara Misra 2 1 University of Warsaw vkamat@mimuw.edu.pl 2 Indian Institute of Science, Bangalore neeldhara@csa.iisc.ernet.in
More informationThe knapsack Problem
There is a set of n items. The knapsack Problem Item i has value v i Z + and weight w i Z +. We are given K Z + and W Z +. knapsack asks if there exists a subset S {1, 2,..., n} such that i S w i W and
More informationPoly-APX- and PTAS-completeness in standard and differential approximation
Poly-APX- and PTAS-completeness in standard and differential approximation (Extended abstract) Cristina Bazgan, Bruno Escoffier, and Vangelis Th. Paschos LAMSADE, Université Paris-Dauphine, Place du Maréchal
More informationDetecting Backdoor Sets with Respect to Horn and Binary Clauses
Detecting Backdoor Sets with Respect to Horn and Binary Clauses Naomi Nishimura 1,, Prabhakar Ragde 1,, and Stefan Szeider 2, 1 School of Computer Science, University of Waterloo, Waterloo, Ontario, N2L
More informationA Collection of Problems in Propositional Logic
A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems
More informationLecture 4. 1 FPTAS - Fully Polynomial Time Approximation Scheme
Theory of Computer Science to Msc Students, Spring 2007 Lecturer: Dorit Aharonov Lecture 4 Scribe: Ram Bouobza & Yair Yarom Revised: Shahar Dobzinsi, March 2007 1 FPTAS - Fully Polynomial Time Approximation
More informationLower bounds for polynomial kernelization
Lower bounds for polynomial kernelization Part 2 Micha l Pilipczuk Institutt for Informatikk, Universitetet i Bergen August 20 th, 2014 Micha l Pilipczuk Kernelization lower bounds, part 2 1/33 Outline
More informationNP-Complete Reductions 2
x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 12 22 32 CS 447 11 13 21 23 31 33 Algorithms NP-Complete Reductions 2 Prof. Gregory Provan Department of Computer Science University College Cork 1 Lecture Outline NP-Complete
More informationLecture 18: More NP-Complete Problems
6.045 Lecture 18: More NP-Complete Problems 1 The Clique Problem a d f c b e g Given a graph G and positive k, does G contain a complete subgraph on k nodes? CLIQUE = { (G,k) G is an undirected graph with
More information8 Knapsack Problem 8.1 (Knapsack)
8 Knapsack In Chapter 1 we mentioned that some NP-hard optimization problems allow approximability to any required degree. In this chapter, we will formalize this notion and will show that the knapsack
More informationP,NP, NP-Hard and NP-Complete
P,NP, NP-Hard and NP-Complete We can categorize the problem space into two parts Solvable Problems Unsolvable problems 7/11/2011 1 Halting Problem Given a description of a program and a finite input, decide
More informationHardness of Approximation
Hardness of Approximation We have seen several methods to find approximation algorithms for NP-hard problems We have also seen a couple of examples where we could show lower bounds on the achievable approxmation
More informationOn the hardness of losing width
On the hardness of losing width Marek Cygan 1, Daniel Lokshtanov 2, Marcin Pilipczuk 1, Micha l Pilipczuk 1, and Saket Saurabh 3 1 Institute of Informatics, University of Warsaw, Poland {cygan@,malcin@,mp248287@students}mimuwedupl
More informationClassical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems
Classical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems Rani M. R, Mohith Jagalmohanan, R. Subashini Binary matrices having simultaneous consecutive
More informationStrong Computational Lower Bounds via Parameterized Complexity
Strong Computational Lower Bounds via Parameterized Complexity Jianer Chen Xiuzhen Huang 1 Iyad A. Kanj 2 Ge Xia 3 Department of Computer Science, Texas A&M University, College Station, TX 77843-3112,
More information1. Introduction Recap
1. Introduction Recap 1. Tractable and intractable problems polynomial-boundness: O(n k ) 2. NP-complete problems informal definition 3. Examples of P vs. NP difference may appear only slightly 4. Optimization
More informationApproximation algorithm for Max Cut with unit weights
Definition Max Cut Definition: Given an undirected graph G=(V, E), find a partition of V into two subsets A, B so as to maximize the number of edges having one endpoint in A and the other in B. Definition:
More informationCritical Reading of Optimization Methods for Logical Inference [1]
Critical Reading of Optimization Methods for Logical Inference [1] Undergraduate Research Internship Department of Management Sciences Fall 2007 Supervisor: Dr. Miguel Anjos UNIVERSITY OF WATERLOO Rajesh
More informationOn the hardness of losing width
On the hardness of losing width Marek Cygan 1, Daniel Lokshtanov 2, Marcin Pilipczuk 1, Micha l Pilipczuk 1, and Saket Saurabh 3 1 Institute of Informatics, University of Warsaw, Poland {cygan@,malcin@,mp248287@students}mimuwedupl
More informationApproximation Basics
Approximation Basics, Concepts, and Examples Xiaofeng Gao Department of Computer Science and Engineering Shanghai Jiao Tong University, P.R.China Fall 2012 Special thanks is given to Dr. Guoqiang Li for
More informationTheory of Computation Chapter 9
0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook
More informationOn the hardness of losing weight
On the hardness of losing weight Andrei Krokhin 1 and Dániel Marx 2 1 Department of Computer Science, Durham University, Durham, DH1 3LE, UK andrei.krokhin@durham.ac.uk 2 Department of Computer Science
More informationPolynomial time approximation schemes and parameterized complexity
Discrete Applied Mathematics 155 (2007) 180 193 www.elsevier.com/locate/dam Polynomial time approximation schemes and parameterized complexity Jianer Chen a,b,1, Xiuzhen Huang c,2, Iyad A. Kanj d,3,gexia
More informationNP-Hardness reductions
NP-Hardness reductions Definition: P is the class of problems that can be solved in polynomial time, that is n c for a constant c Roughly, if a problem is in P then it's easy, and if it's not in P then
More informationComp487/587 - Boolean Formulas
Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested
More informationSubquadratic Kernels for Implicit 3-Hitting Set and 3-Set Packing Problems
Subquadratic Kernels for Implicit 3-Hitting Set and 3-Set Packing Problems Tien-Nam Le Daniel Lokshtanov Saket Saurabh Stéphan Thomassé Meirav Zehavi Abstract We consider four well-studied NP-complete
More informationBCCS: Computational methods for complex systems Wednesday, 16 June Lecture 3
BCCS: Computational methods for complex systems Wednesday, 16 June 2010 Lecturer: Ashley Montanaro 1 Lecture 3 Hardness of approximation 1 Overview In my lectures so far, we ve mostly restricted ourselves
More informationLecture 11 October 7, 2013
CS 4: Advanced Algorithms Fall 03 Prof. Jelani Nelson Lecture October 7, 03 Scribe: David Ding Overview In the last lecture we talked about set cover: Sets S,..., S m {,..., n}. S has cost c S. Goal: Cover
More informationGraph. Supply Vertices and Demand Vertices. Supply Vertices. Demand Vertices
Partitioning Graphs of Supply and Demand Generalization of Knapsack Problem Takao Nishizeki Tohoku University Graph Supply Vertices and Demand Vertices Supply Vertices Demand Vertices Graph Each Supply
More informationShortest reconfiguration paths in the solution space of Boolean formulas
Shortest reconfiguration paths in the solution space of Boolean formulas Amer Mouawad Department of Informatics University of Bergen Joint work with Naomi Nishimura, Vinayak Pathak, and Venkatesh Raman
More informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max
More informationKernelization Lower Bounds: A Brief History
Kernelization Lower Bounds: A Brief History G Philip Max Planck Institute for Informatics, Saarbrücken, Germany New Developments in Exact Algorithms and Lower Bounds. Pre-FSTTCS 2014 Workshop, IIT Delhi
More informationLecture 6,7 (Sept 27 and 29, 2011 ): Bin Packing, MAX-SAT
,7 CMPUT 675: Approximation Algorithms Fall 2011 Lecture 6,7 (Sept 27 and 29, 2011 ): Bin Pacing, MAX-SAT Lecturer: Mohammad R. Salavatipour Scribe: Weitian Tong 6.1 Bin Pacing Problem Recall the bin pacing
More informationStructure in Approximation Classes 2 able to come back from \good" solutions for B to \good" solutions for A. Surprisingly, the rst denition of this k
Submitted to SIAM Journal on Computing Structure in Approximation Classes? P. Crescenzi 1, V. Kann 2, R. Silvestri 1, and L. Trevisan 1 1 Dipartimento di Scienze dell'informazione Universita degli Studi
More informationEnumeration: logical and algebraic approach
Enumeration: logical and algebraic approach Yann Strozecki Université Paris Sud - Paris 11 Novembre 2011, séminaire ALGO/LIX Introduction to Enumeration Enumeration and logic Enumeration and polynomials
More informationUC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170
UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, 2003 Notes 22 for CS 170 1 NP-completeness of Circuit-SAT We will prove that the circuit satisfiability
More informationAlgorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on
6117CIT - Adv Topics in Computing Sci at Nathan 1 Algorithms The intelligence behind the hardware Outline! Approximation Algorithms The class APX! Some complexity classes, like PTAS and FPTAS! Illustration
More informationNP-Complete problems
NP-Complete problems NP-complete problems (NPC): A subset of NP. If any NP-complete problem can be solved in polynomial time, then every problem in NP has a polynomial time solution. NP-complete languages
More informationNP-Completeness. Subhash Suri. May 15, 2018
NP-Completeness Subhash Suri May 15, 2018 1 Computational Intractability The classical reference for this topic is the book Computers and Intractability: A guide to the theory of NP-Completeness by Michael
More informationLinear FPT Reductions and Computational Lower Bounds
Linear FPT Reductions and Computational Lower Bounds Jianer Chen, Xiuzhen Huang, Iyad A. Kanj, and Ge Xia Department of Computer Science, Texas A&M University, College Station, TX 77843 email: {chen,xzhuang,gexia}@cs.tamu.edu
More informationCSI 4105 MIDTERM SOLUTION
University of Ottawa CSI 4105 MIDTERM SOLUTION Instructor: Lucia Moura Feb 6, 2010 10:00 am Duration: 1:50 hs Closed book Last name: First name: Student number: There are 4 questions and 100 marks total.
More informationConnections between exponential time and polynomial time problem Lecture Notes for CS294
Connections between exponential time and polynomial time problem Lecture Notes for CS294 Lecturer: Russell Impagliazzo Scribe: Stefan Schneider November 10, 2015 We connect problems that have exponential
More information1 Fixed-Parameter Tractability
1 Fixed-Parameter Tractability In this chapter, we introduce parameterized problems and the notion of fixed-parameter tractability. We start with an informal discussion that highlights the main issues
More informationCOSC 341: Lecture 25 Coping with NP-hardness (2)
1 Introduction Figure 1: Famous cartoon by Garey and Johnson, 1979 We have seen the definition of a constant factor approximation algorithm. The following is something even better. 2 Approximation Schemes
More informationTRIPARTITE MATCHING, KNAPSACK, Pseudopolinomial Algorithms, Strong NP-completeness
TRIPARTITE MATCHING, KNAPSACK, Pseudopolinomial Algorithms, Strong NP-completeness November 10 2014, Algorithms and Complexity 2. NP problems TRIPARTITE MATCHING: Let B, G, H sets with B = G = H = n N
More informationCSE 548: (Design and) Analysis of Algorithms
1 / 38 CSE 548: (Design and) Analysis of Algorithms NP and Complexity Classes R. Sekar 2 / 38 Search and Optimization Problems Many problems of our interest are search problems with exponentially (or even
More informationA An Overview of Complexity Theory for the Algorithm Designer
A An Overview of Complexity Theory for the Algorithm Designer A.1 Certificates and the class NP A decision problem is one whose answer is either yes or no. Two examples are: SAT: Given a Boolean formula
More informationNP Completeness and Approximation Algorithms
Chapter 10 NP Completeness and Approximation Algorithms Let C() be a class of problems defined by some property. We are interested in characterizing the hardest problems in the class, so that if we can
More informationA Cubic-Vertex Kernel for Flip Consensus Tree
To appear in Algorithmica A Cubic-Vertex Kernel for Flip Consensus Tree Christian Komusiewicz Johannes Uhlmann Received: date / Accepted: date Abstract Given a bipartite graph G = (V c, V t, E) and a nonnegative
More informationThis means that we can assume each list ) is
This means that we can assume each list ) is of the form ),, ( )with < and Since the sizes of the items are integers, there are at most +1pairs in each list Furthermore, if we let = be the maximum possible
More informationThe Many Facets of Upper Domination
The Many Facets of Upper Domination Cristina Bazgan a,, Ljiljana Brankovic c, Katrin Casel b,, Henning Fernau b, Klaus Jansen e, Kim-Manuel Klein e, Michael Lampis a, Mathieu Liedloff d, Jérôme Monnot
More informationA brief introduction to Logic. (slides from
A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity
More informationCS294: PCP and Hardness of Approximation January 25, Notes for Lecture 3
U.C. Berkeley Handout N3 CS294: PCP and Hardness of Approximation January 25, 2006 Professor Luca Trevisan Scribe: Luca Trevisan Notes for Lecture 3 These notes are based on my survey paper [6]. L.T. Some
More informationComputability and Complexity Theory: An Introduction
Computability and Complexity Theory: An Introduction meena@imsc.res.in http://www.imsc.res.in/ meena IMI-IISc, 20 July 2006 p. 1 Understanding Computation Kinds of questions we seek answers to: Is a given
More informationPart V. Intractable Problems
Part V Intractable Problems 507 Chapter 16 N P-Completeness Up to now, we have focused on developing efficient algorithms for solving problems. The word efficient is somewhat subjective, and the degree
More informationKnapsack. Bag/knapsack of integer capacity B n items item i has size s i and profit/weight w i
Knapsack Bag/knapsack of integer capacity B n items item i has size s i and profit/weight w i Goal: find a subset of items of maximum profit such that the item subset fits in the bag Knapsack X: item set
More information8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM
8. INTRACTABILITY I poly-time reductions packing and covering problems constraint satisfaction problems sequencing problems partitioning problems graph coloring numerical problems Lecture slides by Kevin
More informationApproximation Algorithms
Approximation Algorithms What do you do when a problem is NP-complete? or, when the polynomial time solution is impractically slow? assume input is random, do expected performance. Eg, Hamiltonian path
More informationOn the Approximability of Partial VC Dimension
On the Approximability of Partial VC Dimension Cristina Bazgan 1 Florent Foucaud 2 Florian Sikora 1 1 LAMSADE, Université Paris Dauphine, CNRS France 2 LIMOS, Université Blaise Pascal, Clermont-Ferrand
More informationNP-Complete Problems
NP-Complete Problems Max Bisection Is NP-Complete max cut becomes max bisection if we require that S = V S. We shall reduce the more general max cut to max bisection. Add V isolated nodes to G to yield
More informationComputability and Complexity Theory
Discrete Math for Bioinformatics WS 09/10:, by A Bockmayr/K Reinert, January 27, 2010, 18:39 9001 Computability and Complexity Theory Computability and complexity Computability theory What problems can
More informationLecture 15: A Brief Look at PCP
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 15: A Brief Look at PCP David Mix Barrington and Alexis Maciel August 4, 2000 1. Overview
More informationChapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 P and NP P: The family of problems that can be solved quickly in polynomial time.
More informationSolutions to Exercises
1/13 Solutions to Exercises The exercises referred to as WS 1.1(a), and so forth, are from the course book: Williamson and Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011,
More informationOn the Counting Complexity of Propositional Circumscription
On the Counting Complexity of Propositional Circumscription Arnaud Durand Miki Hermann Abstract Propositional circumscription, asking for the minimal models of a Boolean formula, is an important problem
More informationTwo Edge Modification Problems Without Polynomial Kernels
Two Edge Modification Problems Without Polynomial Kernels Stefan Kratsch and Magnus Wahlström Max-Planck-Institut für Informatik, 66123 Saarbrücken, Germany Abstract. Given a graph G and an integer k,
More informationCompendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy
Electronic Colloquium on Computational Complexity, Report No. 143 (2014) Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy Ronald de Haan, Stefan Szeider Institute of Information
More informationLecture 13, Fall 04/05
Lecture 13, Fall 04/05 Short review of last class NP hardness conp and conp completeness Additional reductions and NP complete problems Decision, search, and optimization problems Coping with NP completeness
More informationNon-Approximability Results (2 nd part) 1/19
Non-Approximability Results (2 nd part) 1/19 Summary - The PCP theorem - Application: Non-approximability of MAXIMUM 3-SAT 2/19 Non deterministic TM - A TM where it is possible to associate more than one
More informationPolynomial Kernelizations for MIN F+PI 1 and MAX NP
Polynomial Kernelizations for MIN F+PI 1 and MAX NP Stefan Kratsch To cite this version: Stefan Kratsch. Polynomial Kernelizations for MIN F+PI 1 and MAX NP. Susanne Albers and Jean- Yves Marion. 26th
More informationPolynomial-time Reductions
Polynomial-time Reductions Disclaimer: Many denitions in these slides should be taken as the intuitive meaning, as the precise meaning of some of the terms are hard to pin down without introducing the
More informationAPTAS for Bin Packing
APTAS for Bin Packing Bin Packing has an asymptotic PTAS (APTAS) [de la Vega and Leuker, 1980] For every fixed ε > 0 algorithm outputs a solution of size (1+ε)OPT + 1 in time polynomial in n APTAS for
More informationDAA 8 TH UNIT DETAILS
DAA 8 TH UNIT DETAILS UNIT VIII: NP-Hard and NP-Complete problems: Basic concepts, non deterministic algorithms, NP - Hard and NP-Complete classes, Cook s theorem. Important Questions for exam point of
More informationGeometric Steiner Trees
Geometric Steiner Trees From the book: Optimal Interconnection Trees in the Plane By Marcus Brazil and Martin Zachariasen Part 3: Computational Complexity and the Steiner Tree Problem Marcus Brazil 2015
More informationDo Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment?
Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Nadia Creignou Aix-Marseille Université
More informationAn Introduction to Proof Complexity, Part II.
An Introduction to Proof Complexity, Part II. Pavel Pudlák Mathematical Institute, Academy of Sciences, Prague and Charles University, Prague Computability in Europe 2009, Heidelberg 2 Overview Part I.
More information1 The Knapsack Problem
Comp 260: Advanced Algorithms Prof. Lenore Cowen Tufts University, Spring 2018 Scribe: Tom Magerlein 1 Lecture 4: The Knapsack Problem 1 The Knapsack Problem Suppose we are trying to burgle someone s house.
More informationPropositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel
Propositional Logic Methods & Tools for Software Engineering (MTSE) Fall 2017 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/
More informationComplexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler
Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard
More informationOutline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.
Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität
More informationParameterized Algorithms for the H-Packing with t-overlap Problem
Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 18, no. 4, pp. 515 538 (2014) DOI: 10.7155/jgaa.00335 Parameterized Algorithms for the H-Packing with t-overlap Problem Alejandro López-Ortiz
More informationSolving SAT for CNF formulas with a one-sided restriction on variable occurrences
Solving SAT for CNF formulas with a one-sided restriction on variable occurrences Daniel Johannsen 1, Igor Razgon 2, and Magnus Wahlström 1 1 Max-Planck-Institut für Informatik, Saarbrücken, Germany 2
More informationComputational Complexity. IE 496 Lecture 6. Dr. Ted Ralphs
Computational Complexity IE 496 Lecture 6 Dr. Ted Ralphs IE496 Lecture 6 1 Reading for This Lecture N&W Sections I.5.1 and I.5.2 Wolsey Chapter 6 Kozen Lectures 21-25 IE496 Lecture 6 2 Introduction to
More informationApproximability of Dense Instances of Nearest Codeword Problem
Approximability of Dense Instances of Nearest Codeword Problem Cristina Bazgan 1, W. Fernandez de la Vega 2, Marek Karpinski 3 1 Université Paris Dauphine, LAMSADE, 75016 Paris, France, bazgan@lamsade.dauphine.fr
More informationLecture 20: PSPACE. November 15, 2016 CS 1010 Theory of Computation
Lecture 20: PSPACE November 15, 2016 CS 1010 Theory of Computation Recall that PSPACE = k=1 SPACE(nk ). We will see that a relationship between time and space complexity is given by: P NP PSPACE = NPSPACE
More informationA New Lower Bound on the Maximum Number of Satisfied Clauses in Max-SAT and its Algorithmic Applications
A New Lower Bound on the Maximum Number of Satisfied Clauses in Max-SAT and its Algorithmic Applications Robert Crowston, Gregory Gutin, Mark Jones, Anders Yeo Department of Computer Science Royal Holloway,
More information