A vertex cover of a graph is a set of vertices of the graph such that every edge has at least one endpoint in it. In this work, we study Weighted Vertex Cover with solution size as a parameter. Formally, in the (k,W)-Vertex Cover problem, given a graph G, an integer k, a positive rational W, and a weight function w:V(G)→Q+, the question is whether G has a vertex cover of size at most k of weight at most W, with k being the parameter. An (a,b)-bi-criteria approximation algorithm for (k,W)-Vertex Cover either produces a vertex cover S such that |S|≤ak and w(S)≤bW, or decides that there is no vertex cover of size at most k of weight at most W. We obtain the following results.•A simple (2,2)-bi-criteria approximation algorithm for (k,W)-Vertex Cover in polynomial time by modifying the standard LP-rounding algorithm.•A simple exact parameterized algorithm for (k,W)-Vertex Cover running in O⁎(1.4656k) time1.•A (1+ϵ,2)-approximation algorithm for (k,W)-Vertex Cover running in O⁎(1.4656(1−ϵ)k) time.•A (1.5,1.5)-approximation algorithm for (k,W)-Vertex Cover running in O⁎(1.414k) time.•A (2−δ,2−δ)-approximation algorithm for (k,W)-Vertex Cover running in O⁎(∑i=δk(1−2δ)1+2δδk(1−2δ)2δ(δk+iδk−2iδ1−2δ)) time for any δ<0.5. For example, for (1.75,1.75) and (1.9,1.9)-approximation algorithms, we get running times of O⁎(1.272k) and O⁎(1.151k) respectively.Our algorithms (expectedly) do not improve upon the running times of the existing algorithms for the unweighted version of Vertex Cover. When compared to algorithms for the weighted version, our algorithms are the first ones to the best of our knowledge which work with arbitrary weights, and they perform well when the solution size is much smaller than the total weight of the desired solution.
Read full abstract