An Approximate Solution to the Minimum Vertex Cover Problem: The Hvala Algorithm

Significance

This paper presents Hvala, a linear-time ensemble approximation algorithm for the Minimum Vertex Cover problem. Hvala combines several complementary linear-time strategies — a maximal-matching (2)-approximation, a bucket-queue maximum-degree greedy method, the degree-(1) weighted-reduction Hallelujah heuristic, and redundant-vertex pruning — and returns the smallest cover found. The paper proves unconditionally that Hvala runs in (\mathcal{O}(n+m)) time and space and achieves worst-case approximation ratio at most (2) on every finite simple graph. It also reports a broad empirical evaluation on (252) instances, including NPBench graphs, real-world networks, and adversarial graph families. The significance is not a claim to beat known hardness barriers for all graphs, but a rigorously bounded, reproducible, linear-time algorithm with strong empirical performance and a public implementation through the `hvala` Python package.

Abstract

We present Hvala, a linear-time ensemble approximation algorithm for the Minimum Vertex Cover problem. Hvala combines a maximal-matching 2-approximation, a bucket-queue maximum-degree greedy method, and the degree-1 weighted-reduction Hallelujah heuristic of a companion work. It applies redundant-vertex pruning to each candidate cover and returns the smallest resulting cover. We prove unconditionally that Hvala runs in O(n+m) time and space and attains worst-case approximation ratio at most 2 on every finite simple graph. Conditional on the strict pointwise inequality of the Hallelujah heuristic, the bound improves to |S| < 2·OPT(G) on every graph. Empirically, we evaluate Hvala on three independent studies totaling 252 instances: the 109-instance NPBench collection, 130 real-world graphs from the Network Data Repository, and 13 hand-crafted adversarial graphs, including crown graphs, odd cycles, high-girth cubic graphs, and bipartite-expander graphs. On the 173 instances with published reference values, the mean approximation ratio is 1.015, the maximum is 1.192, and every reported ratio falls below 1.414. The benchmark raises a natural open question, not proved here: whether Hvala admits a uniform sqrt(2)-epsilon bound on broad restricted graph classes, such as bounded-degree, bounded-treewidth, bounded-clique-number, expander-like, or power-law graph families. An all-graphs sub-sqrt(2) bound would contradict P != NP by the Khot–Minzer–Safra hardness barrier. The algorithm is publicly available through the hvala Python package.

Key Findings

* Introduces Hvala, a linear-time ensemble algorithm for Minimum Vertex Cover.
* Combines maximal matching, maximum-degree greedy, Hallelujah degree-(1) weighted reduction, and redundant-vertex pruning.
* Proves unconditional (\mathcal{O}(n+m)) time and space complexity.
* Proves unconditional worst-case approximation ratio (\rho\le 2) for every finite simple graph.
* States a conditional strict pointwise bound (|S|<2\cdot\mathrm{OPT}(G)), dependent on the imported Hallelujah hypothesis.
* Evaluates the algorithm on (252) graph instances across NPBench, real-world networks, and adversarial graph families.
* Reports mean approximation ratio (1.015) and maximum (1.192) on the (173) instances with published reference values.
* Separates certified approximation ratios from ratios-to-best-known reference values.
* Provides public package availability via PyPI as `hvala`.

Transparency Statement

AI Contribution: Claude was used during manuscript preparation to improve readability and editorial clarity. The author reviewed, edited, and approved the resulting text and retains full responsibility for the scientific content, claims, proofs, experiments, and conclusions.