arXiv:2610.40281cs.DSOct 2026

Manuscript Offprint

arXiv:2610.40281

Layering and reverse extension for weighted kk-path vertex cover

Jiajing Wu, An Zhang, Shiming Li, Guohui Lin

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

Abstract

We study the weighted k-path vertex cover problem for any fixed integer k≥2k \geq 2, in which a vertex non-negatively weighted simple graph G=(V,E)G = (V, E) is given and one wants to find a minimum-weight vertex subset C⊆VC \subseteq V such that every simple path on kk vertices in GG contains at least one vertex of CC. The problem generalizes the classic weighted vertex cover problem, that is, k=2k = 2, and it admits a k-approximation algorithm of Hochbaum [SIAM J. Comput., 1982] and a (k−12)(k - \frac{1}{2})-approximation algorithm of Brüstle et al. [IWOCA 2021]. In this paper, we carefully design local weight functions in the Layering and Reverse Extension local ratio framework of Bar-Yehuda et al. [ACM Comput. Surv., 2004], leading to an approximation algorithm of ratio 3k−14\frac{3k-1}{4} for odd k≥3k \geq 3 and of ratio 3k4\frac{3k}{4} for even k≥4k \geq 4. When k=3k = 3 and k=4k = 4, these ratios are 2 and 3, respectively, matching the state-of-the-art approximation ratios for the corresponding special cases.

Keywords: k-path vertex cover; approximation algorithm; local ratio; pathwidth; dynamic programming

Acknowledgement

This work is supported by the NNSF of China (Grants 12371316, 92567201), the PNSF of Zhejiang China (Grant LZ25A010001), and the NSERC Canada.

*School of Mathematics, Hangzhou Dianzi University. Hangzhou, China. Emails: {265070205, anzhang,90077}@hdu.edu.cn †Corresponding authors.

†^{\dagger}Department of Computing Science, University of Alberta. Edmonton, Canada. Email: guohui@ualberta.ca