Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.

Slides:



Advertisements
Similar presentations
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?
Advertisements

Introduction to Kernel Lower Bounds Daniel Lokshtanov.
Generalization and Specialization of Kernelization Daniel Lokshtanov.
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
Polynomial-time reductions We have seen several reductions:
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.
Vertex Cover Dominating Set These slides are based on the Lecture Notes by David Mount for the course CMSC 451 at the University of Maryland. The Copyright.
NP-Completeness: Reductions
Approximative Kernelization: On the Trade-off between Fidelity and Kernel Size joint with Michael Fellows and Frances Rosamond Charles Darwin University.
Department of Computer Science & Engineering
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.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Complexity ©D Moshkovitz 1 Approximation Algorithms Is Close Enough Good Enough?
Unstructured Data Partitioning for Large Scale Visualization CSCAPES Workshop June, 2008 Kenneth Moreland Sandia National Laboratories Sandia is a multiprogram.
February 23, 2015CS21 Lecture 201 CS21 Decidability and Tractability Lecture 20 February 23, 2015.
Graph Modeled Data Clustering: Fixed Parameter Algorithms for Clique Generation J. Gramm, J. Guo, F. Hüffner and R. Niedermeier Theory of Computing Systems.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Reduction Techniques Restriction Local Replacement Component Design Examples.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
NP-complete examples CSC3130 Tutorial 11 Xiao Linfu Department of Computer Science & Engineering Fall 2009.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
Linear Programming and Parameterized Algorithms. Linear Programming n real-valued variables, x 1, x 2, …, x n. Linear objective function. Linear (in)equality.
1 Refined Search Tree Technique for Dominating Set on Planar Graphs Jochen Alber, Hongbing Fan, Michael R. Fellows, Henning Fernau, Rolf Niedermeier, Fran.
Hardness Results for Problems
Fixed Parameter Complexity Algorithms and Networks.
Fixed Parameter Complexity Algorithms and Networks.
Kernel Bounds for Structural Parameterizations of Pathwidth Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch July 6th 2012, SWAT 2012,
Lecture 22 More NPC problems
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.
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.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
Sandia is a multi-program laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
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.
1 Latency-Bounded Minimum Influential Node Selection in Social Networks Incheol Shin
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Algorithms for hard problems Parameterized complexity – definitions, sample algorithms Juris Viksna, 2015.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Algorithms for hard problems Introduction Juris Viksna, 2015.
CSC 413/513: Intro to Algorithms
Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Fixed Parameter Tractability for Graph Drawing Sue Whitesides Computer Science Department.
The NP class. NP-completeness
P & NP.
Kernelization: The basics
Joint work with Hans Bodlaender
Richard Anderson Lecture 26 NP-Completeness
Algorithms for hard problems
Fixed parameter tractability II: Kernelization
NP-Completeness Yin Tat Lee
CS21 Decidability and Tractability
Parameterised Complexity
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
The Power of Preprocessing: Gems in Kernelization
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
CS21 Decidability and Tractability
Complexity Theory in Practice
The Theory of NP-Completeness
More NP-complete problems
Dominating Set By Eric Wengert.
Presentation transcript:

Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract DE-AC04-94AL Reconnect ‘04 Problem-Specific Preprocessing (and a hint at FPT) Cynthia Phillips Sandia National Laboratories

Slide 2 Preprocessing Sets of little “tricks” that make the problem smaller while still allowing you to extract the optimal solution –e.g. There exists an optimal solution for which this choice holds, or this choice cannot hold. If you know problem structure this can be quite powerful

Slide 3 A Formalization Suppose your problem input size is naturally described by two values –n describes most of the problem –k a single parameter that can be “big”, but is usually small for practical instances Examples –Graphs with bounded degree or bounded diameter –Nesting level in databases –Strings with small alphabet size –Cases where the value of the solution is small (cleaning up data)

Slide 4 Fixed-Parameter Tractability A problem with size (n,k) is fixed-parameter tractable (FPT) if it can be solved in time Where f(k) is an arbitrary function of the parameter k A problem is FPT if and only if it is kernelizable: there is a polynomial- time transformation from the problem of size (n,k) to another instance of the problem (n s,k s ) such that From here an enumerative method has a better chance

Slide 5 Example: Vertex Cover is FPT Find a minimum-size set of vertices such that each edge has at least one endpoint in the set. k = size of the vertex cover

Slide 6 Kernelizing Kernelization usually is a set of (local) independent transformation rules Rules cascade Apply till the problem is irreducible

Slide 7 Kernelizing Vertex Cover We’ll see 4 rules (not counting trivial degree-0 one). There are more (even LP-based), but these are really simple! Make this a decision problem: Does graph G=(V,E) have a vertex cover of size k? Each rule transforms to a new question: Does graph G s =(V s,E s ) have a vertex cover of size k s ? where

Slide 8 Rule 1 If vertex v has degree 1, then put its neighbor u in the optimal VC and delete all edges (u,w): u v yx u v yx

Slide 9 Rule 2 If vertex v has degree 2, and its two neighbors u and w are connected, then put its neighbors u and w in the optimal VC: v wu v wu

Slide 10 Rule 3 If vertex v has degree 2, and its two neighbors u and w are not connected, then shrink the (u,v,w) triangle to a single node v 1. Use k s = k - 1 v wu v wu v1v1

Slide 11 Rule 3 Justification If vertex v has degree 2, and its two neighbors u and w are not connected, then shrink the (u,v,w) triangle to a single node If either u or w is necessary for the VC, then effectively v becomes degree one and the other is selected by rule 1 v wu

Slide 12 Rule 3 Justification If vertex v has degree 2, and its two neighbors u and w are not connected, then shrink the (u,v,w) triangle to a single node v 1 Use k s = k - 1 Find the optimal VC of the graph with v 1 If v 1 is not selected, just cover the triple independently. Choose v. The total VC has size at most k s + 1 = k v wu

Slide 13 Rule 3 Justification If vertex v has degree 2, and its two neighbors u and w are not connected, then shrink the (u,v,w) triangle to a single node v 1 Use k s = k - 1 Find the optimal VC of the graph with v 1 If v 1 is selected, must take either u or w, so have to take both. Size of the VC is at most k s = k v wu

Slide 14 Rule 4 Take all the nodes of degree > k If we didn’t take them, we’d have to take all (> k) neighbors (too many for a VC of size k)

Slide 15 Kernelization Results If no more rules apply, the graph has

Slide 16 Proof Graph with n s nodes and a VC of size k s Satisfies all rules so degree of v (number of neighbors) for all v satisfies: The nodes not in the VC are an independent set of size n s -k s

Slide 17 Proof F is the set of edges adjacent to nodes in the VC The n-k nodes in the independent set have degree at least 3 The k nodes in the VC have degree at most k

Slide 18 Proof

Slide 19 Comments These rules are local and independent (any order) –Could parallelize this