Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.

Slides:



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

1 Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs Accepted for presentation at SWAT 2010.
CS 336 March 19, 2012 Tandy Warnow.
Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
Introduction to Kernel Lower Bounds Daniel Lokshtanov.
Bart Jansen, Utrecht University. 2  Max Leaf  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least.
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
Approximative Kernelization: On the Trade-off between Fidelity and Kernel Size joint with Michael Fellows and Frances Rosamond Charles Darwin University.
Fixed Parameter Complexity Algorithms and Networks.
Bart Jansen, Utrecht University. 2  Max Leaf  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least.
Preprocessing Graph Problems When Does a Small Vertex Cover Help? Bart M. P. Jansen Joint work with Fedor V. Fomin & Michał Pilipczuk June 2012, Dagstuhl.
The Theory of NP-Completeness
The Power of Preprocessing Bart M. P. Jansen September 29th, Algorithms & Visualization seminar, TU Eindhoven.
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Vertex Cover, Dominating set, Clique, Independent set
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Linear Programming and Parameterized Algorithms. Linear Programming n real-valued variables, x 1, x 2, …, x n. Linear objective function. Linear (in)equality.
Kernelization for a Hierarchy of Structural Parameters Bart M. P. Jansen Third Workshop on Kernelization 2-4 September 2011, Vienna.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Data reduction lower bounds: Problems without polynomial kernels Hans L. Bodlaender Joint work with Downey, Fellows, Hermelin, Thomasse, Yeo.
Fixed Parameter Complexity Algorithms and Networks.
Fixed Parameter Complexity Algorithms and Networks.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Kernel Bounds for Structural Parameterizations of Pathwidth Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch July 6th 2012, SWAT 2012,
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
Uib.no UNIVERSITY OF BERGEN A Near-Optimal Planarization Algorithm Bart M. P. Jansen Daniel Lokshtanov University of Bergen, Norway Saket Saurabh Institute.
1 Bart Jansen Vertex Cover Kernelization Revisited: Upper and Lower Bounds for a Refined Parameter STACS 2011, Dortmund March 10 th, 2011 Joint work with.
1 Bart Jansen Independent Set Kernelization for a Refined Parameter: Upper and Lower bounds TACO Day, Utrecht January 12 th, 2011 Joint work with Hans.
IPEC Kernelization1 A tutorial on Kernelization Hans L. Bodlaender.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
1 Bart Jansen Independent Set Kernelization for a Refined Parameter: Upper and Lower bounds ALGORITMe Staff Colloquium, Utrecht September 10 th, 2010 Joint.
FPT is Characterized by Useful Obstruction Sets Bart M. P. Jansen Joint work with Michael R. Fellows, Charles Darwin Univ. June 21st 2013, WG 2013, Lübeck.
Unit 9: Coping with NP-Completeness
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
1 Algorithms and Networks Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij.
Minicourse on parameterized algorithms and complexity Part 4: Linear programming Dániel Marx (slides by Daniel Lokshtanov) Jagiellonian University in Kraków.
Fixed parameter algorithms for protein similarity search under mRNA structure constrains A joint work by: G. Blin, G. Fertin, D. Hermelin, and S. Vialette.
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Uib.no UNIVERSITY OF BERGEN On Sparsification for Computing Treewidth Bart M. P. Jansen Insert «Academic unit» on every page: 1 Go to the menu «Insert»
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?
A Linear Time Algorithm for the Longest Path Problem on 2-trees joint work with Tzvetalin Vassilev and Krassimir Manev
Trees.
Fixed Parameter Tractability for Graph Drawing Sue Whitesides Computer Science Department.
Kernelization: The basics
Joint work with Hans Bodlaender
Fast Hamiltonicity Checking via Bases of Perfect Matchings
Hans Bodlaender, Marek Cygan and Stefan Kratsch
Weighted counting of k-matchings is #W[1]-hard
Computability and Complexity
Structural graph parameters Part 2: A hierarchy of parameters
Constrained Bipartite Vertex Cover: The Easy Kernel is Essentially Tight Bart M. P. Jansen June 4th, WORKER 2015, Nordfjordeid, Norway.
Parameterised Complexity
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
Constrained Bipartite Vertex Cover: The Easy Kernel is Essentially Tight Bart M. P. Jansen February 18th, STACS 2016, Orléans, France.
The Power of Preprocessing: Gems in Kernelization
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
Approximation and Kernelization for Chordal Vertex Deletion
REDUCESEARCH Polynomial Kernels for Hitting Forbidden Minors under Structural Parameterizations Bart M. P. Jansen Astrid Pieterse ESA 2018 August.
Linear Programming Duality, Reductions, and Bipartite Matching
Problem Solving 4.
Bart M. P. Jansen Jesper Nederlof
Distance-preserving Subgraphs of Interval Graphs
Hamiltonicity below Dirac’s condition
Treewidth meets Planarity
Lecture 24 Vertex Cover and Hamiltonian Cycle
Parameterized Complexity of Conflict-free Graph Coloring
Presentation transcript:

Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken

Path and Cycle problems 2 Given G and an integer l, does G contain a path on at least l vertices? Long Path Given G and an integer l, does G contain a cycle on at least l vertices? Long Cycle Given G and pairs of vertices (s1, t1), …, (s l, t l ), are there vertex-disjoint paths connecting each si to ti? Disjoint Paths Given G and an integer l, are there l vertex-disjoint simple cycles in G? Disjoint Cycles

Background Various path and cycle problems have been important to the development of parameterized complexity 3 Disjoint Paths lies at the heart of the Graph Minors algorithm Long Path was one of the first problems known to be fixed- parameter tractable Long Path was one of the main motivations for the kernel lower- bound framework Disjoint Cycles inspired one of the first non-trivial compositions Theoretical Long Path has applications in computational biology … Practical

Many recent developments in FPT algorithms – Disjoint Paths: improvements to the Unique Linkage Theorem for planar graphs – k-Path continues to inspire new algorithmic techniques [BjörklundHKK’10] Natural parameterizations k-Path, k-Disjoint Paths, k- Disjoint Cycles are fixed-parameter tractable but do not admit polynomial kernels unless NP ⊆ coNP/poly Robertson&Seymour] – For k-Path: not even a polynomial kernel on connected planar graphs Previous results 4

Preprocessing for path & cycle problems Even though natural parameterizations do not admit polynomial kernels, we might still benefit from preprocessing How to guide the search for good reduction rules? – Non-standard parameters! One example known: 5 Hamiltonian Cycle parameterized by Max Leaf Number has a kernel with 5.75k vertices

Our results Admit O(k 2 )-vertex kernels parameterized by Vertex Cover Number Admit polynomial kernels parameterized by Max Leaf Number Long Path, Long Cycle, Disjoint Paths, Disjoint Cycles Admit polynomial kernels parameterized by vertex-deletion distance to a Cluster graph Long Path & Long Cycle Do not admit polynomial kernels parameterized by vertex-deletion distance to an outerplanar graph Hamiltonian Path & Hamiltonian Cycle First study of parameterized complexity: para-NP-completeness, FPT, W[1]-hardness and kernel lower-bounds Path problems with Forbidden Pairs 6 Generalizes kernel for Hamiltonian Cycle by

LONG CYCLE Quadratic-vertex kernel parameterized by Vertex Cover # 7

Quadratic-vertex kernel for Long Cycle by Vertex Cover 8 Input: Graph G, vertex cover X of G, integer l Question: Does G have a cycle on at least l vertices? – Assume l > 4 (otherwise, solve by brute force) Example for l = 6

Reduction algorithm Bipartite auxiliary graph H = (R ∪ B, E) – Red vertices are V(G) \ X – Blue vertex v(p,q) for each pair p,q ∈ X v(p,q) adjacent to N(p) ∩ N(q) \ X Compute maximum matching in H – Let R U be the unsaturated red vertices Output G – R U with ≤ |X| + |X| 2 vertices 9

Property of maximum matchings Let H = (R ∪ B, E) be a bipartite graph Let M be a maximum matching in H Let R U be vertices of R not saturated by M 10 Proof using augmenting paths Theorem. For all B’  B: if H has a matching saturating B’, then H – R U has a matching saturating B’. Theorem. For all B’  B: if H has a matching saturating B’, then H – R U has a matching saturating B’.

Correctness (I) G has a cycle of length l  G – R U has a cycle of length l (  ) Trivial since cycle in subgraph gives cycle in G (  ) Proof using a matching property – Suppose G has a cycle C of length l > 4 11

Correctness (II) All (green) vertices and edges of G[X] are still present Red vertices in G-X are used to connect two green vertices in X Subpath (g 1, r, g 2 ) of C is an indirect connection – r ∈ N(g 1 ) ∩ N(g 2 ) \ X Find red vertices in R \ R U to replace all indirect connections 12

Correctness (III) No two connections (g 1, r, g 2 ) and (g 1, r’, g 2 ) since l > 4 For each connection (g 1, r, g 2 ): – match v(g 1,g 2 ) to r in H – matching in H saturating all connected pairs By matching property: exists matching in H – R U saturating all connected pairs Update cycle accordingly 13

The kernel For the decision problem with a vertex cover in the input: Kernel does not depend on desired length of the cycle – Works for optimization problem as well If X is not given: – Compute a 2-approximate vertex cover, use it as X Also applies to Long Path, Disjoint Paths, Disjoint Cycles 14 Long Cycle parameterized by a vertex cover X has a kernel with |X| + |X| 2 vertices.

LONG CYCLE Polynomial kernel by Max Leaf Number 15

1. Kleitman-West Theorem Long Cycle parameterized by Max Leaf Number Input:Graph G, integer l, integer k. Parameter:k, promised to be the max leaf number of G. Question:Does G contain a simple cycle of length ≥ l ? Karp Reduction 2. Held-Karp Dynamic Programming

The kernelization algorithm Kleitman-West Theorem Let X be vertices of degree ≠ 2: |X| ≤ c·k Transform paths of degree-2 vertices into weighted edges Reduce to weighted simple graph (G’, w’) with |V(G’)| = |X| ≤ c·k Kleitman-West Theorem Let X be vertices of degree ≠ 2: |X| ≤ c·k Transform paths of degree-2 vertices into weighted edges Reduce to weighted simple graph (G’, w’) with |V(G’)| = |X| ≤ c·k 17

The kernelization algorithm Kleitman-West Theorem Let X be vertices of degree ≠ 2: |X| ≤ c·k Transform paths of degree-2 vertices into weighted edges Reduce to weighted simple graph (G’, w’) with |V(G’)| = |X| ≤ c·k Kleitman-West Theorem Let X be vertices of degree ≠ 2: |X| ≤ c·k Transform paths of degree-2 vertices into weighted edges Reduce to weighted simple graph (G’, w’) with |V(G’)| = |X| ≤ c·k Held-Karp Dynamic Programming If binary encoding of a weight uses > c·k bits: There were > 2 c·k degree-2 vertices so n > 2 c·k Solve weighted instance: O(2 |X| |X| 3 ) is O(n 4 ) time Held-Karp Dynamic Programming If binary encoding of a weight uses > c·k bits: There were > 2 c·k degree-2 vertices so n > 2 c·k Solve weighted instance: O(2 |X| |X| 3 ) is O(n 4 ) time Karp Reduction If binary encoding is small: (G’, w’, l ’) has bitsize poly(k) Weighted Long Cycle is in NP Reduce to back to unweighted problem Polynomial-time transformation, output has size poly(k) Karp Reduction If binary encoding is small: (G’, w’, l ’) has bitsize poly(k) Weighted Long Cycle is in NP Reduce to back to unweighted problem Polynomial-time transformation, output has size poly(k) 18

DISCUSSION & CONCLUSION 19

Structural parameterizations of Hamiltonian Cycle (& related) Vertex Cover Number Deletion distance to treewidth 0 Vertex Cover Number Deletion distance to treewidth 0 Feedback Vertex Number Deletion distance to treewidth 1 Feedback Vertex Number Deletion distance to treewidth 1 Deletion distance to Outerplanar Deletion distance to treewidth 2 Deletion distance to Outerplanar Deletion distance to treewidth 2 20

21 Distance to linear forest Vertex Cover Distance to Cograph Distance to Chordal Treewidth Chromatic Number Odd Cycle Transversal Distance to Perfect Max Leaf # Distance to Co-cluster Distance to Outerplanar Feedback Vertex Set Distance to Interval Distance to Clique Distance to Cluster Pathwidth Polynomial kernels NP-complete for k=0 FPT, no poly kernel unless NP ⊆ coNP/poly FPT poly kernel? FPT? poly kernel? Complexity overview for Long Cycle parameterized by…

Conclusion Structural parameterizations of Path and Cycle problems admit polynomial kernels Various upper and lower-bound results 22 Poly kernels for Long Path parameterized by: feedback vertex number vertex-deletion distance to a cograph Poly kernels for Long Path parameterized by: Max Leaf Number, without using binary encoding? Is Longest Path in FPT … parameterized by a (given) deletion set to an Interval graph?