arXiv:2608.24630cs.DSAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.24630

Online and Incremental Fractional Vertex Cover on Trees

Júlia Baligács, Bartłomiej Bosek, Yann Disser, Andreas Emil Feldmann, Grzegorz Gutowski, Katarzyna Kępińska, Paweł Putra, Anna Zych-Pawlewicz

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

Júlia Baligács ☒ ID

Department of Computer Science, University of Oxford, United Kingdom

Bartłomiej Bosek ☒ ID

Institute of Theoretical Computer Science, Faculty of Mathematics and Computer Science, Jagiellonian University, Kraków, Poland

Yann Disser ☒ ID

Department of Mathematics, TU Darmstadt, Germany

Andreas Emil Feldmann ☒ ID

Department of Computer Science, University of Sheffield, United Kingdom

Grzegorz Gutowski ☒ ID

Institute of Theoretical Computer Science, Faculty of Mathematics and Computer Science, Jagiellonian University, Kraków, Poland

Katarzyna Kepińska ☒

Institute of Theoretical Computer Science, Faculty of Mathematics and Computer Science, Jagiellonian University, Kraków, Poland

Paweł Putra ☒ ID

Institute of Informatics, University of Warsaw, Poland

Anna Zych-Pawlewicz ☒ ID

Institute of Informatics, University of Warsaw, Poland

Abstract

In this paper we study the fractional vertex cover problem on trees in two related models: online and incremental. In the online model, the vertices of the tree are known a priori and the edges arrive one at a time. The goal is to maintain a fractional vertex cover of the tree, i.e., an assignment of fractional weights from [0,1][0,1] to the vertices such that the weights of endpoints of every edge sum up to at least one. After each edge arrival, we need to modify the fractional vertex cover to cover the new edge as well. However, we can only increase the values assigned to vertices. The problem was studied before (in the vertex arrival model) by Wang and Wong, who motivated it as a generalization of the ski-rental problem, but also (more importantly) by its close connection to the dual online matching problem. They presented a 1.901-competitive algorithm for general graphs in the vertex arrival model. We present an 116≈1.83\frac{11}{6} \approx 1.83-competitive algorithm for trees in the more general edge arrival model.

In addition, we study the fractional vertex cover problem in an incremental model, where we again seek a fractional vertex cover after every update, but all the updates to the tree are known to the algorithm a priori. In this model, we give a 1.5-competitive algorithm and provide a matching lower bound.

2012 ACM Subject Classification Mathematics of computing → Discrete mathematics; Theory of computation → Online algorithms

Keywords and phrases fractional vertex cover, online algorithms, incremental algorithms, edge arrival model, trees, competitive analysis

Funding This work is a result of research conducted within research project number 2023/51/B/ST6/02833 financed by the National Science Centre, Poland (Bartłomiej Bosek, Grzegorz Gutowski, Katarzyna Kepińska, Paweł Putra and Anna Zych-Pawlewicz)

Júlia Baligács: During employment in Warsaw supported by ERC grant BOBR (grant no. 948057). During employment in Oxford supported by ERC grant CCOO (grant no. 101165139).

Online and Incremental Fractional Vertex Cover on Trees

1 Introduction and Related Work

In this paper we consider the fractional vertex cover problem in the online and in the incremental edge arrival model. In this model, edges of an underlying graph appear one by one and we need to maintain a fractional vertex cover after each step. Here, a fractional (resp. integral) vertex cover is an assignment of weights from [0,1][0,1] (resp. from {0,1}\{0,1\}) to the vertices so that every edge in the graph is covered, i.e., such that the weights assigned to its endpoints sum to at least 1. The objective is to minimize the total weight of the vertices, and the challenge is that our decisions are irrevocable in the sense that we may only ever increase the weights assigned to the vertices from one step to the next. We cannot hope to maintain an optimal fractional vertex cover in each time step, instead we aim for solutions of small competitive ratio, i.e., solutions that are never suboptimal by more than this ratio.

The online setting differs from the incremental setting in that it assumes no prior knowledge of the edges of the graph, while the incremental setting assumes that we know the graph a priori. Both settings have in common that we need to define increasing sequences of vertex weights that simultaneously approximate a minimum fractional vertex cover across all time steps. The incremental setting can be viewed as an online problem, where the only unknown is the number of steps that we need to optimize for (much like in the ski rental problem). We provide online algorithms for both the online and the incremental setting in the edge arrival model for the case where the underlying graph is a tree.

The online fractional vertex cover problem was studied on general graphs by Wang and Wong [30], but in the vertex arrival model, where vertices are revealed one at a time together with the adjacent edges to the previously revealed vertices. This model is easier than the edge arrival model in the sense that vertex addition can be simulated by adding adjacent edges one by one. Wang and Wong motivated the problem as a generalization of the ski-rental problem, and, more importantly, by its connection to the fractional online matching problem. They present a 1.901-competitive online algorithm maintaining a fractional vertex cover, with a proof based on primal-dual analysis. This means that the authors maintain an online solution to the dual fractional matching problem. By weak duality, the maintained matching is (1/1.901≈0.526)(1/1.901 \approx 0.526)-competitive. This lower bound was later matched by an algorithm by Tang and Zhang [29], which was later shown to be optimal by Tang [28].

The existence of a (1/2+ε)(1/2 + \varepsilon)-competitive algorithm for the fractional matching problem on general graphs in vertex arrival model had been a long standing open question. Thus, as a byproduct of their approach, Wang and Wong provide such an online algorithm. Building on this result, Gamlath et al. [13] used a general rounding technique to transform an online fractional matching algorithm to an online randomized (integral) matching algorithm. They obtain a randomized (12+ε)(\frac{1}{2} + \varepsilon)-competitive online matching algorithm for some small ε>0\varepsilon > 0. On the other hand, Gamlath et al. also show that, in the edge arrival model, no online algorithm (even randomized) can beat a competitive ratio of 1/2. This is an important result, since online matching is a very well-motivated and widely studied problem. A straightforward greedy algorithm is 1/2-competitive for this problem, and a significant amount of research has been devoted to providing better ratios in different regimes and for different graph classes [19, 22, 26, 6, 3, 20, 4].

For forests, the online fractional matching problem was studied by Buchbinder et al. [4]. They show an online 5/9-competitive fractional matching algorithm which translates to a randomized integral algorithm with the same expected competitive ratio. Their analysis relies again on the primal-dual technique, where instead of maintaining a proper fractional vertex cover throughout the runtime of the algorithm, a new one is constructed retrospectively after each edge introduction. The construction of those covers heavily depends on the parent–child relation between edge endpoints imposed by rooting each tree in the forest arbitrarily at each time step. Sadly this does not yield a (9/5=1.8)(9/5 = 1.8)-competitive online fractional vertex cover, as merging two trees in the forest by introducing an edge between them and rooting this tree can effectively reverse the relationship between some edge endpoints. This in turn leads to a vertex weight decreasing in the cover at some steps, which is not allowed in an online setting. They also show an upper bound of ≈0.5914\approx 0.5914 on the competitive ratio of any fractional matching algorithms in this model. Online fractional matchings on forests were also studied by Jiang and Zhang [17] in the free disposal model, in which any of the matched edges can later be removed permanently by the algorithm. They show a (5/8=0.625)(5/8 = 0.625)-competitive algorithm for online fractional matching in this setting, showing a clear separation between competitive ratios of algorithms attainable for the two models. Importantly the free disposal model allows them to maintain a single dual solution throughout the algorithm by taking advantage of the model allowing non-incremental changes, which is not possible in our case.

To the best of our knowledge, the best known competitive ratio for fractional vertex cover on trees in the edge arrival model is the trivial ratio of 2, as the bound of Wang and Wong [30] does not apply to the edge arrival model. In this paper, we improve the state of the art by presenting a (116≈1.83)\left(\frac{11}{6} \approx 1.83\right)-competitive online fractional vertex cover algorithm for trees.

We also present a 1.5-competitive incremental fractional vertex cover algorithm for trees, as well as a matching lower bound for the problem. The fractional vertex cover problem does not seem to have been previously considered from an incremental perspective. Incremental minimization problems studied in the past include k-median [5, 25, 21], facility location [27, 21], and k-center [15]. In all of these problems, solutions are only constrained in their (growing) cardinality, otherwise every solution is feasible and the structure of the problem is encoded in the objective. In contrast, in the incremental vertex cover problem, we have a covering constraint in the sense that only solutions covering all the edges are permitted. As noted by Lin et al. [21], the results for the minimum latency problem in [2, 14] implicitly yield results for the incremental k-MST problem, which is another example of an incremental minimization problem with a non-trivial feasibility constraint, namely that the solution must form a tree.

There is a substantial body of work on incremental maximization problems, ranging from problems under a growing cardinality constraint [1, 10, 11] to growing knapsack [24, 9, 8] and matroid [12, 18] constraints. Hassin and Rubinstein [16] considered the incremental maximum matching problem, which is related to our setting via the duality between matchings and vertex covers. They show that the best possible competitive ratio for incremental matchings is 2\sqrt{2}, which was later complemented by Matuschke, Skutella, and Soto [23] with a tight bound of ln⁡(4)≈1.38\ln(4) \approx 1.38 for the randomized competitive ratio. The setting was further generalized to matroid intersection [12] and independence systems with bounded exchangeability [18]. That being said, these results do not seem transferable to (fractional) vertex cover.

References (30)