An Exact Algorithm for Minimum Weight Vertex Cover Problem in Large Graphs

Luzhi Wang, Chu-Min Li, Junping Zhou, Bo Jin, Minghao YinarXiv 2019

Abstract

This paper proposes a novel branch-and-bound (BMWVC) algorithm to exactly solve the minimum weight vertex cover problem (MWVC) in large graphs. The original contribution is several new graph reduction rules, allowing to reduce a graph $G$ and the time needed to find a minimum weight vertex cover in $G$. Experiments on large graphs from real-world applications show that the reduction rules are effective and the resulting BMWVC algorithm outperforms relevant exact and heuristic MWVC algorithms.

Introduction

The Vertex Cover problem is a fundamental NP-hard challenge in combinatorial optimization. Its weighted variant, the Minimum Weight Vertex Cover (MWVC) problem, requires finding a set of vertices that covers all edges in a graph such that the total weight of the selected vertices is minimized. While heuristic approaches are commonly employed for large-scale graphs, they do not guarantee optimality, which is essential for high-stakes applications like network security, resource allocation, and bioinformatics.

Historically, exact solvers for MWVC have relied on transforming the problem into a Maximum Weight Clique problem on the complement of the target graph. While efficient for small, dense graphs, this transformation is computationally disastrous for the large, sparse networks typical of real-world data, as the complement graph becomes extremely dense. The BMWVC algorithm addresses this by operating directly on the original graph structure.

The BMWVC Algorithm

The BMWVC (Branch-and-Bound for Minimum Weight Vertex Cover) algorithm achieves its efficiency through three primary mechanisms: graph reduction rules, a clique-based lower bound, and an effective branching heuristic.

Graph Reduction Rules

The core innovation of this work lies in four novel reduction rules designed to simplify the graph before the search process begins:

  1. Degree-0 Rule: Eliminates isolated vertices.
  2. Adjacent Rule: If a vertex's weight is greater than or equal to the sum of its neighbors' weights, it is more optimal to select the neighbors for the cover.
  3. Degree-1 Rule: A specialized rule for nodes with a single neighbor.
  4. Degree-2 Rule: Simplifies configurations where multiple degree-2 vertices share the same two neighbors.

These rules are highly effective; in several real-world instances, they reduce the problem size to zero vertices, solving the instance entirely without requiring a search.

Runtime comparison between BMWVC and OBMWVC (without reductions), demonstrating the significant speedup provided by the reduction rules.

Lower Bound and Heuristics

To prune the search tree effectively, BMWVC utilizes a clique-based lower bound. By partitioning the graph into disjoint cliques, the algorithm establishes a mathematical floor for the minimum weight required to cover the remaining edges. Additionally, the algorithm employs the H1 branching heuristic, which prioritizes vertices with the highest degree to maximize edge coverage and accelerate the search.

Experimental Evaluation

The authors evaluated BMWVC using a diverse set of massive real-world graphs from the Network Data Repository, spanning biological, social, and infrastructure domains.

Performance Results

BMWVC was compared against state-of-the-art exact solvers (WLMC, SBMS) and heuristic algorithms (Dynwvc). The results demonstrate that BMWVC is not only more reliable but often significantly faster.

Performance comparison of BMWVC against state-of-the-art exact and heuristic solvers.

Key experimental highlights include:

  • Efficiency: BMWVC solved the majority of instances in less than one second. For example, on the bio-diseasome graph, BMWVC achieved optimality in 0.03 seconds, whereas the WLMC solver required 377.82 seconds.
  • Optimality: While heuristic solvers like Dynwvc failed to find the optimal solution in 16 of the tested instances, BMWVC consistently guaranteed the minimum weight cover.
  • Scalability: The algorithm successfully handled graphs with millions of edges, such as rt-retweet-crawl, which caused competing exact solvers to fail.

Conclusion

The BMWVC algorithm represents a significant advancement in solving the MWVC problem exactly for large, sparse graphs. The results confirm that direct graph processing combined with aggressive reduction rules is superior to traditional complement-based methods for real-world network data. While the algorithm faces challenges with memory overflow on exceptionally large or dense instances, its speed and guarantee of optimality make it a powerful tool for complex network analysis. Future research will explore more sophisticated lower bounds and parallelization to further extend the algorithm's reach.

Summary updated

BibTeX
@misc{wang2019exact,
  author = {Luzhi Wang and Chu-Min Li and Junping Zhou and Bo Jin and Minghao Yin},
  title = {{An Exact Algorithm for Minimum Weight Vertex Cover Problem in Large Graphs}},
  year = {2019},
  eprint = {1903.05948},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.05948},
}
Figure