arXiv:2611.12237cs.DSNov 2026

Manuscript Offprint

arXiv:2611.12237

A 1.764-competitive algorithm for online fractional vertex cover on forests

Marcin Bienkowski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

We study online fractional vertex cover on forests under edge arrival. We give a deterministic algorithm with competitive ratio at most 4−5≈1.7644 - \sqrt{5} \approx 1.764, which simultaneously produces an online fractional matching with competitive ratio of at least 1/(4−5)≈0.5661/(4 - \sqrt{5}) \approx 0.566. This improves on the previous best competitive ratios of 11/6≈1.83311/6 \approx 1.833 and 5/9≈0.5555/9 \approx 0.555, respectively.

Keywords.

Funding.

1 Introduction

In the online fractional vertex cover problem with edge arrivals, a graph is revealed one edge at a time, for a fixed vertex set VV. An algorithm maintains a non-decreasing vector of weights y:V→R≥0\mathbf{y}: V \to \mathbb{R}_{\geq 0}, initially y=0\mathbf{y} = \mathbf{0}. For each revealed edge (u,v)(u,v), the algorithm has to ensure that yu+yv≥1y_u + y_v \geq 1; to this end, the algorithm may increase arbitrary weights. The goal is to minimize the sum of all weights.

We focus on the online model, where the algorithm sees only the edges revealed so far. For a vector y\mathbf{y}, we write ∥y∥:=∑xyx\|\mathbf{y}\| := \sum_x y_x for its weight. We write yt\mathbf{y}^t for the vector maintained after step tt and OPTt\mathrm{OPT}_t for the minimum weight of a fractional vertex cover of the edges revealed so far. The competitive ratio of an algorithm is the supremum of max⁡t≥1∥yt∥/OPTt\max_{t \geq 1} \|\mathbf{y}^t\| / \mathrm{OPT}_t over instances.

Online fractional matching. Similarly, in the online fractional matching problem with edge arrivals, an algorithm maintains a non-decreasing vector of weights m:E→R≥0\mathbf{m}: E \to \mathbb{R}_{\geq 0}, initially m=0\mathbf{m} = \mathbf{0}. For each revealed edge (u,v)(u,v), the algorithm may increase m(u,v)m_{(u,v)} arbitrarily, but it must ensure that for every vertex xx, the sum of weights of edges incident to xx is at most 1. The goal is to maximize the sum of all weights. Analogously, the competitive ratio of an algorithm is the infimum of min⁡t≥1∥mt∥/OPTt\min_{t \geq 1} \|\mathbf{m}^t\| / \mathrm{OPT}_t over instances. By the strong LP duality, the values of optimal solutions OPTt\mathrm{OPT}_t for the two problems are equal.

Previous work. For general graphs, the online complexity of fractional vertex cover and fractional matching is resolved. The trivial algorithm that takes both endpoints of every revealed edge is 2-competitive for vertex cover, and the greedy algorithm is 1/2-competitive for matching. Tang and Zhang [TZ26] showed that no algorithm for vertex cover is better than 2-competitive, and Gamlath, Kapralov, Maggiori, Svensson and Wajc [GKM⁺19] showed that no algorithm for matching is better than 1/2-competitive.

This motivated the study of the problem on forests. For the fractional vertex cover, Baligács, Bosek, Disser, Feldmann, Gutowski, Kępińska, Putra and Zych-Pawlewicz [BBD⁺26] gave an algorithm RGB with competitive ratio 11/6≈1.83311/6 \approx 1.833, and showed a lower bound of 1.5 holding even in

*This work has been supported by Polish National Science Centre grant 2022/45/B/ST6/00559.

the so-called incremental model. For the fractional matching, Buchbinder, Segev and Tkach [BST19] gave an algorithm with ratio of 5/9≈0.5555/9 \approx 0.555, and showed an upper bound of 0.591.

For a more comprehensive treatment of the problem, including vertex arrivals, integral solutions, and disposal models, we refer the reader to [BBD +^{+}26].

Our result. We give a deterministic primal-dual algorithm, Host-or-Halve (HOH), that maintains simultaneously a solution yt\mathbf{y}^t to online fractional vertex cover and a solution mt\mathbf{m}^t to online fractional matching. On forests, the former is (4−5)(4 - \sqrt{5})-competitive, where 4−5≈1.7644 - \sqrt{5} \approx 1.764, and the latter is 1/(4−5)1/(4 - \sqrt{5})-competitive, where 1/(4−5)≈0.5661/(4 - \sqrt{5}) \approx 0.566 (Theorem 3).

This improves both over the ratio of 1.833 for online fractional vertex cover [BBD +^{+}26] and over the ratio of 0.555 for online fractional matching [BST19].

Independent work. Independently of this paper, Bosek, Gutowski, Putra and Zych-Pawlewicz obtain better bounds by constructing a primal-dual algorithm for forests that is simultaneously 7/4-competitive for online fractional vertex cover and 4/7-competitive for online fractional matching [BGPZ26].

AI disclosure. The function g∗g^{*} of Section 2.3 was optimized with the help of Claude Opus 5.5. The resulting function and its properties were checked manually by the author, who takes full responsibility for the whole content of this paper.