Data Reduction, Exact, and Heuristic Algorithms for Clique Cover - - PowerPoint PPT Presentation

data reduction exact and heuristic algorithms for clique
SMART_READER_LITE
LIVE PREVIEW

Data Reduction, Exact, and Heuristic Algorithms for Clique Cover - - PowerPoint PPT Presentation

Data Reduction, Exact, and Heuristic Algorithms for Clique Cover Jens Gramm Jiong Guo Falk H uffner Rolf Niedermeier Friedrich-Schiller-Universit at Jena Institut f ur Informatik Gramm et al. (FSU Jena) Clique Cover 1 / 11 Clique


slide-1
SLIDE 1

Data Reduction, Exact, and Heuristic Algorithms for Clique Cover

Jens Gramm Jiong Guo Falk H¨ uffner Rolf Niedermeier

Friedrich-Schiller-Universit¨ at Jena Institut f¨ ur Informatik

Gramm et al. (FSU Jena) Clique Cover 1 / 11

slide-2
SLIDE 2

Clique Cover

Definition

(Edge) Clique Cover Input: An undirected graph G = (V , E). Task: Find a minimum number k

  • f cliques such that each edge is

contained in at least one clique.

Gramm et al. (FSU Jena) Clique Cover 2 / 11

slide-3
SLIDE 3

Clique Cover

Definition

(Edge) Clique Cover Input: An undirected graph G = (V , E). Task: Find a minimum number k

  • f cliques such that each edge is

contained in at least one clique.

Gramm et al. (FSU Jena) Clique Cover 2 / 11

slide-4
SLIDE 4

Clique Cover

Also known as

Keyword Conflict [Kellerman, IBM 1973] Intersection Graph Basis [Garey&Johnson 1979]

Gramm et al. (FSU Jena) Clique Cover 3 / 11

slide-5
SLIDE 5

Clique Cover

Also known as

Keyword Conflict [Kellerman, IBM 1973] Intersection Graph Basis [Garey&Johnson 1979]

Applications

compiler optimization, computational geometry, statistics visualization, . . .

Gramm et al. (FSU Jena) Clique Cover 3 / 11

slide-6
SLIDE 6

Clique Cover

Also known as

Keyword Conflict [Kellerman, IBM 1973] Intersection Graph Basis [Garey&Johnson 1979]

Applications

compiler optimization, computational geometry, statistics visualization, . . .

Properties

NP-complete [Garey&Johnson 1979] NP-hard to approximate to constant factor [Ausiello et al. 1999]

Gramm et al. (FSU Jena) Clique Cover 3 / 11

slide-7
SLIDE 7

Data Reduction Rules for Clique Cover

Definition

A data reduction rule replaces a Clique Cover instance by a simpler instance, such that the solution to the original instance can be reconstructed from the solution of the simpler instance.

Gramm et al. (FSU Jena) Clique Cover 4 / 11

slide-8
SLIDE 8

Data Reduction Rules for Clique Cover

Definition

A data reduction rule replaces a Clique Cover instance by a simpler instance, such that the solution to the original instance can be reconstructed from the solution of the simpler instance.

Annotated Clique Cover

Edges can be marked as covered Only uncovered edges have to be covered by cliques

Gramm et al. (FSU Jena) Clique Cover 4 / 11

slide-9
SLIDE 9

Simple Data Reduction Rules for Clique Cover

Rule 1

Remove isolated vertices and vertices that are only adjacent to covered edges.

Gramm et al. (FSU Jena) Clique Cover 5 / 11

slide-10
SLIDE 10

Simple Data Reduction Rules for Clique Cover

Rule 1

Remove isolated vertices and vertices that are only adjacent to covered edges.

Rule 2

If an edge {u, v} is contained only in exactly one maximal clique C, then add C to the solution, mark its edges as covered, and decrease k by one.

k

Gramm et al. (FSU Jena) Clique Cover 5 / 11

slide-11
SLIDE 11

Simple Data Reduction Rules for Clique Cover

Rule 1

Remove isolated vertices and vertices that are only adjacent to covered edges.

Rule 2

If an edge {u, v} is contained only in exactly one maximal clique C, then add C to the solution, mark its edges as covered, and decrease k by one.

k − 1

Gramm et al. (FSU Jena) Clique Cover 5 / 11

slide-12
SLIDE 12

Prisoner/Exits Reduction Rules for Clique Cover

Partition the neighborhood of a vertex v into: prisoners p with N(p) ⊆ N(v) and exits x with N(x) \ N(v) = ∅.

Rule 4

If all exits have at least one prisoner as neighbor, then delete v.

v

Gramm et al. (FSU Jena) Clique Cover 6 / 11

slide-13
SLIDE 13

Fixed-Parameter Tractability of Clique Cover

Consider a Clique Cover instance with n vertices and k cliques allowed.

Theorem

After applying all reduction rules exhaustively, a Clique Cover instance has at most 2k vertices, that is, Clique Cover has a problem kernel of size 2k.

Gramm et al. (FSU Jena) Clique Cover 7 / 11

slide-14
SLIDE 14

Fixed-Parameter Tractability of Clique Cover

Consider a Clique Cover instance with n vertices and k cliques allowed.

Theorem

After applying all reduction rules exhaustively, a Clique Cover instance has at most 2k vertices, that is, Clique Cover has a problem kernel of size 2k.

Corollary

Clique Cover is fixed-parameter tractable with respect to the parameter k, that is, it can be solved in time f (k) · nO(1) for some function f depending only on k.

Gramm et al. (FSU Jena) Clique Cover 7 / 11

slide-15
SLIDE 15

Exact Algorithm for Clique Cover

Search-tree algorithm for Clique Cover: Choose some uncovered edge e For each maximal clique C that contains e, mark all edges in C as covered, decrease k by one, and call the algorithm recursively

Gramm et al. (FSU Jena) Clique Cover 8 / 11

slide-16
SLIDE 16

Exact Algorithm for Clique Cover

Search-tree algorithm for Clique Cover: Choose some uncovered edge e For each maximal clique C that contains e, mark all edges in C as covered, decrease k by one, and call the algorithm recursively Results: Horrible worst-case complexity. . .

Gramm et al. (FSU Jena) Clique Cover 8 / 11

slide-17
SLIDE 17

Exact Algorithm for Clique Cover

Search-tree algorithm for Clique Cover: Choose some uncovered edge e For each maximal clique C that contains e, mark all edges in C as covered, decrease k by one, and call the algorithm recursively Results: Horrible worst-case complexity. . . . . . but: Works nicely in practice when combined with data reduction rules. Can solve all instances in a benchmark from applied statistics within a second (up to 124 vertices and 4847 edges). Can solve sparse instances with hundreds of vertices and tens of thousands of edges within minutes.

Gramm et al. (FSU Jena) Clique Cover 8 / 11

slide-18
SLIDE 18

Exact Algorithm for Clique Cover

50 60 70 80 90 100 110 120 130 140 150 Vertices 10-2 10-1 1 101 runtime in seconds 1 2 3 1 sparse 2 density 0.1 3 density 0.15

Gramm et al. (FSU Jena) Clique Cover 9 / 11

slide-19
SLIDE 19

Summary

Data reduction rules can be successfully applied to Clique Cover. An exact algorithm based on the data reduction rules and a search tree can solve many practically relevant instances. Further results in the paper: runtime improvement for a heuristic.

Gramm et al. (FSU Jena) Clique Cover 10 / 11

slide-20
SLIDE 20

Open question

In the statistics application, it is also desirable to minimize the sum of clique sizes.

Question

Is there a solution that minimizes the sum of clique sizes, but not the number of cliques?

Gramm et al. (FSU Jena) Clique Cover 11 / 11