Matroids & Representative Sets Daniel Lokshtanov.

Slides:



Advertisements
Similar presentations
Proof of correctness; More reductions
Advertisements

NP-Hard Nattee Niparnan.
Limitation of Computation Power – P, NP, and NP-complete
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?
Graphs and Finding your way in the wilderness
Introduction to Kernel Lower Bounds Daniel Lokshtanov.
Generalization and Specialization of Kernelization Daniel Lokshtanov.
A Separator Theorem for Graphs with an Excluded Minor and its Applications Paul Seymour Noga Alon Robin Thomas Lecturer : Daniel Motil.
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
The Strong Exponential Time Hypothesis Daniel Lokshtnaov.
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.
NP-Completeness: Reductions
1 Steiner Tree on graphs of small treewidth Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
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.
Graph Traversals Visit vertices of a graph G to determine some property: Is G connected? Is there a path from vertex a to vertex b? Does G have a cycle?
Graphs. Overview What is a graph? Some terminology Types of graph Implementing graphs (briefly) Some graph algorithms Graphs 2/18.
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
Minicourse on parameterized algorithms and complexity Part 8: The Strong Exponential-Time Hypothesis Dániel Marx (slides by Daniel Lokshtanov) Jagiellonian.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Reduction Techniques Restriction Local Replacement Component Design Examples.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Analysis of Algorithms CS 477/677
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Linear Programming and Parameterized Algorithms. Linear Programming n real-valued variables, x 1, x 2, …, x n. Linear objective function. Linear (in)equality.
Theory of Computing Lecture 22 MAS 714 Hartmut Klauck.
Data reduction lower bounds: Problems without polynomial kernels Hans L. Bodlaender Joint work with Downey, Fellows, Hermelin, Thomasse, Yeo.
C&O 355 Mathematical Programming Fall 2010 Lecture 17 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
GRAPH Learning Outcomes Students should be able to:
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Fixed Parameter Complexity Algorithms and Networks.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
NP-Completeness: 3D Matching
Uib.no UNIVERSITY OF BERGEN A Near-Optimal Planarization Algorithm Bart M. P. Jansen Daniel Lokshtanov University of Bergen, Norway Saket Saurabh Institute.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Euler paths and tours.
NP-complete Problems SAT 3SAT Independent Set Hamiltonian Cycle
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Discrete Optimization Lecture 4 – Part 1 M. Pawan Kumar Slides available online
Shortest Path Algorithms. Definitions Variants  Single-source shortest-paths problem: Given a graph, finding a shortest path from a given source.
Lecture 11 Algorithm Analysis Arne Kutzner Hanyang University / Seoul Korea.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness and course wrap up.
NP-Complete problems.
Introduction to Graph Theory
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.
Topics in Algorithms 2007 Ramesh Hariharan. Tree Embeddings.
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
8.4 Closures of Relations Definition: The closure of a relation R with respect to property P is the relation obtained by adding the minimum number of.
Introduction to Algorithms All-Pairs Shortest Paths My T. UF.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
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.
Introduction to NP Instructor: Neelima Gupta 1.
Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.
1 Closures of Relations Based on Aaron Bloomfield Modified by Longin Jan Latecki Rosen, Section 8.4.
Approximation Algorithms Greedy Strategies. I hear, I forget. I learn, I remember. I do, I understand! 2 Max and Min  min f is equivalent to max –f.
Richard Anderson Lecture 26 NP-Completeness
Hans Bodlaender, Marek Cygan and Stefan Kratsch
Decision trees Polynomial-Time
Richard Anderson Lecture 29 NP-Completeness and course wrap-up
Richard Anderson Lecture 26 NP-Completeness
Intro to NP Completeness
Bart M. P. Jansen Jesper Nederlof
Dániel Marx (slides by Daniel Lokshtanov)
All pairs shortest path problem
Richard Anderson Lecture 5 Graph Theory
Presentation transcript:

Matroids & Representative Sets Daniel Lokshtanov

Alice vs Bob F = {{a,b,c}, {a,c,d}, {b,c,e}} {b, e} {a,c,d} {a, c}

Rules of the game Board: universe of size n All Alice’s sets have size p Bob a picks set B of size q Alice wins if she has a set disjoint from B

Lazy Alice Alice does not like remembering all those sets. Alice hates losing to Bob. Can she forget a set A from F, and be sure this will not make the difference between winning and losing?

(Ir)relevant Sets Alice may forget exactly the irrelevant sets

Only relevant sets? B1B1 B2B2 B3B3 BmBm F = { A2A2 A1A1 A3A3 AmAm } …

Bollobás’ Lemma [1966] No dependence on universe size n at all!

Bollobás’ helps Alice yay!

Proof of Bollobás’ Lemma AiAi BiBi BjBj AjAj

Representative Sets

Computational Problem

Computing Representative Sets But first – an easy application

d-Hitting Set Easy branching in time d k Next: kernel with O(k d ) sets and elements

d-Hitting Set as a Game F = {{a,b,c}, {a,c,d}, {b,c,e}} Is {b, e} a hitting set? No, since {a,c,d}

Kernel for d-Hitting Set

Why is the kernel correct? May not change a YES instance into a NO instance. Can a NO instance change into a YES instance? NO instance = Alice always wins YES instance = Bob can win We did not forget any sets that made the difference between Alice winning and losing!

Playing on a matroid

Alice vs Bob on a matroid F = {{a,b,c}, {a,c,d}, {b,c,e}} Do you have a set that fits {b, e} ? &%¤&!!

Representative Sets

Computing Representative Sets

Playing on a matroid p=4, q= M = p+q F ? !

Fit vs Determinant If Alices set A and Bob’s set B overlap, then the same column is used twice  determinant is 0! Determinant is nonzero if and only if A fits B.

Matrix game a b c d p+q p q c

Generalized Laplace Expansion almost correct MBMB MAMA p+q p q To compute Det dot product! *

Giant Vector game a bc d c

Basis If Alice keeps vectors v 1,v 2,v 3 and v 3 = v 1 + v 2 and v 3 fits Bob’s vector v B Then either v 1 or v 2 fits v B Alice only needs to keep linearly independent vectors!

Wrap up

Computing Representative Sets

Application - Treewidth DP Have seen several approaches for single exponential algorithms for connectivity problems parameterized by treewidth. Representative sets gives yet another one

Hamiltonian Path

Representative Sets for Matroid Classes Is it possible to compute representative sets for uniform matroids, graphic matroids or transversal matroids faster than for linear matroids in general? For uniform matroids, the answer is yes (but proof is sort of complicated)

Application – k-Path

k-Path

Extend all paths that can be extended by v

B u w v Size q+1

k-Path

Input: (directed) graph G, integer k. Question: Is there a simple directed cycle on at least k vertices? Theorem: 8 k poly(n) algorithm.

In a shortest cycle C on at least k vertices, we can replace any subpath on k vertices by any other path on k vertices, which is disjoint from the k vertices after it on C.

P uv P vw P wv v u w

Guess a vertex u that a shortest cycle C of length at least k passes through. For every vertex v and integer p, define P[u, p] to be the set of (vertex sets of) paths on exactly p vertices from u to v. For every vertex v compute a set P’[v] that k- represents P[v,k] using the method from the k-path algorithm.

Speeding up

Exercises Book: 12.9, 12.11, 12.13, 5.9