A New Solver for the Minimum Weighted Vertex Cover Problem Hong Xu, - - PowerPoint PPT Presentation

a new solver for the minimum weighted vertex cover problem
SMART_READER_LITE
LIVE PREVIEW

A New Solver for the Minimum Weighted Vertex Cover Problem Hong Xu, - - PowerPoint PPT Presentation

A New Solver for the Minimum Weighted Vertex Cover Problem Hong Xu, T. K. Satish Kumar, Sven Koenig Roadmap What is the minimum weighted vertex cover (MWVC) problem? Why is it so important? weighted constraint satisfaction problems


slide-1
SLIDE 1

A New Solver for the Minimum Weighted Vertex Cover Problem

Hong Xu, T. K. Satish Kumar, Sven Koenig

slide-2
SLIDE 2

Roadmap

  • What is the minimum weighted vertex cover (MWVC)

problem?

  • Why is it so important?

– weighted constraint satisfaction problems – constraint composite graphs

  • How do we solve it efficiently?

– previous approaches – proposed method

  • Conclusions and future work
slide-3
SLIDE 3

Roadmap

  • What is the minimum weighted vertex cover (MWVC)

problem?

  • Why is it so important?

– weighted constraint satisfaction problems – constraint composite graphs

  • How do we solve it efficiently?

– previous approaches – proposed method

  • Conclusions and future work
slide-4
SLIDE 4

Vertex Cover

slide-5
SLIDE 5

Minimum Vertex Cover

slide-6
SLIDE 6

Minimum Weighted Vertex Cover

slide-7
SLIDE 7

Complexity Results

  • Both the MVC problem and the MWVC problem are NP-hard

to solve optimally.

  • But both problems are amenable to a polynomial-time factor-2

approximation algorithm.

  • The MVC problem is fixed-parameter tractable; but the MWVC

problem is not.

slide-8
SLIDE 8

Roadmap

  • What is the minimum weighted vertex cover (MWVC)

problem?

  • Why is it so important?

– weighted constraint satisfaction problems – constraint composite graphs

  • How do we solve it efficiently?

– previous approaches – proposed method

  • Conclusions and future work
slide-9
SLIDE 9

Constraint Satisfaction Problems

  • A Constraint Satisfaction Problem (CSP) is characterized by:
  • N discrete-valued variables {X1, X2 … XN}
  • Each variable Xi has a discrete domain Di associated with it,

from which it can take values.

  • M constraints {C1, C2 … CM}
  • Each constraint Ci specifies, for some subset of the variables,

the allowed and disallowed combinations of values to them.

  • A solution is an assignment of values to all variables from their

respective domains such that all constraints are satisfied.

slide-10
SLIDE 10
  • N variables X1, X2 … XN
  • Each variable Xi has a discrete-valued domain Di.
  • M weighted constraints C1, C2 … CM
  • Each constraint Ci specifies the cost for every combination of

values to a subset of the variables.

  • An optimal solution is an assignment of values to all variables

from their respective domains so that the sum of the costs is minimized.

Weighted CSPs

slide-11
SLIDE 11

Example Boolean WCSP

X1 X2 X3 X2 1 1 X3 1.0 0.6 1.3 1.1 X1 1 1 X3 0.7 0.4 0.9 0.8 X1 1 1 X2 0.7 0.5 0.6 0.3 X1 1 0.2 0.8 X3 1 0.9 0.1 X2 1 0.7 0.3

slide-12
SLIDE 12

Projections of Minimum Vertex Covers onto Independent Sets

[Kumar, CP2008; Kumar, ISAIM2008]

X1 + X3 X2 X5 X6 X4 X7

1 1 1 1 2 1 X1 X2 X3 X4 X5 X6 X7 1 1 1 1 1 2 3

1 = necessarily present in the vertex cover 0 = necessarily absent from the vertex cover

X1 1 1 X4 5 4 7 6

slide-13
SLIDE 13

Example Boolean WCSP

X1 X2 X3 X2 1 1 X3 1.0 0.6 1.3 1.1 X1 1 1 X3 0.7 0.4 0.9 0.8 X1 1 1 X2 0.7 0.5 0.6 0.3 X1 1 0.2 0.8 X3 1 0.9 0.1 X2 1 0.7 0.3

slide-14
SLIDE 14

Lifted Representations for Each Weighted Constraint

[Kumar, CP2008; Kumar, ISAIM2008]

X2 1 1 X3 1.0 0.6 1.3 1.1 X1 1 1 X3 0.7 0.4 0.9 0.8 X1 1 1 X2 0.7 0.5 0.6 0.3 X1 1 0.2 0.8 X3 1 0.9 0.1 X2 1 0.7 0.3 X1 A4 0.2 0.8 X2 A5 0.7 0.3 X3 A6 0.9 0.1 X1 A1 0.2 0.5 X2 0.1 X2 A2 0.4 0.6 X3 0.7 X1 A3 0.3 0.4 X3 0.5

slide-15
SLIDE 15

The Constraint Composite Graph

[Kumar, CP2008; Kumar, ISAIM2008]

X1 A1 0.7 0.5 X2 1.2 A2 0.6 X3 2.1 A3 0.4 A4 0.8 A5 0.3 A6 0.1

slide-16
SLIDE 16

The Constraint Composite Graph

[Kumar, CP2008; Kumar, ISAIM2008]

X1 A1 0.7 0.5 X2 1.2 A2 0.6 X3 2.1 A3 0.4 A4 0.8 A5 0.3 A6 0.1

A minimum weighted vertex cover of the CCG encodes an optimal solution to the original WCSP!

slide-17
SLIDE 17

Roadmap

  • What is the minimum weighted vertex cover (MWVC)

problem?

  • Why is it so important?

– weighted constraint satisfaction problems – constraint composite graphs

  • How do we solve it efficiently?

– previous approaches – proposed method

  • Conclusions and future work
slide-18
SLIDE 18

Solving the MWVC Problem

  • The MVC problem and the MWVC problem are both NP-hard.
  • There is a very efficient local search solver for the MVC

problem called NuMVC.

  • But NuMVC cannot be extended to solve the MWVC problem.

– The MVC problem is fixed-parameter tractable. – This is used critically by NuMVC.

slide-19
SLIDE 19

MWVC as an Integer Linear Program

Minimize ∑(i ϵ V) wi Xi s.t. for all (i,j) ϵ E: Xi + Xj ≥ 1 for all i ϵ V: Xi ϵ {0, 1}

Does not work well even with the best ILP solvers like Gurobi.

slide-20
SLIDE 20

MWVC as a Pseudo-Boolean Optimization Problem

Minimize ∑(i ϵ V) wi Xi s.t. for all (i,j) ϵ E: Xi + Xj ≥ 1 for all i ϵ V: Xi ϵ {0, 1}

Does not work well even with the best PBO solvers like WBO.

slide-21
SLIDE 21

MWVC as an Answer Set Program

Does not work well even with the best ASP solvers like Clingo.

slide-22
SLIDE 22

MWVC as Weighted MAX-SAT

  • The maximum weighted independent set (MWIS) is the

complement of the MWVC.

  • The MWIS problem can be encoded as a weighted MAX-SAT

problem as follows:

– for all i ϵ V, add the unit clause Xi with weight wi – for all (i, j) ϵ E, add the binary clause (Xi' ν Xj') with

weight L

– L is a large weight greater than ∑(i ϵ V) wi Does not work well even with the best weighted MAX-SAT solvers like Eva Solver.

slide-23
SLIDE 23

MWVC as Weighted MAX-CLIQUE

  • The MWVC problem on a graph is equivalent to the maximum

weighted clique problem on its edge-complement graph.

Does not work well even with the best MAX-CLIQUE solvers like Cliquer.

slide-24
SLIDE 24

MWVC as a Series of SAT Instances

  • The decision problem “Is there a vertex cover of weight less

than a test weight wt?” can be cast as a SAT problem.

Works well with a SAT solver like Lingeling.

∑(i ϵ V) wi Xi < wt?

slide-25
SLIDE 25

Optimizations in Binary Search

  • The MWVC can be found by doing a binary search in the

interval [0, ∑(i ϵ V)wi].

  • We can do much better by starting with the interval [A/2, A].

Here, A is the cost of the solution produced by a polynomial- time primal-dual factor-2 approximation algorithm.

  • Quasi Binary Search can be used instead of Binary Search.

– Let current bounds be [L, U] with wq = (L+U)/2. – When the Lingeling SAT solver finds a vertex cover of

weight w < wq, the bounds for the next iteration can be set to [L, w] instead of [L, (L+U)/2].

slide-26
SLIDE 26

Experimental Results

Unweighted BHOSLIB Instances

slide-27
SLIDE 27

Experimental Results

Weighted BHOSLIB Instances

slide-28
SLIDE 28

Diminishing Returns Property

slide-29
SLIDE 29

Roadmap

  • What is the minimum weighted vertex cover (MWVC)

problem?

  • Why is it so important?

– weighted constraint satisfaction problems – constraint composite graphs

  • How do we solve it efficiently?

– previous approaches – proposed method

  • Conclusions and future work
slide-30
SLIDE 30

Conclusions and Future Work

  • The MWVC problem is an important combinatorial problem

that can be used to capture the structure in weighted CSPs.

  • A feasibility study shows that solving the MWVC problem as a

series of SAT instances outperforms other methods.

  • In future work, we will use an MWVC solver for efficiently

solving weighted CSPs.

– A new solver for the maximum weighted clique

problem published in IJCAI-2016 can be used to our advantage.