Knapsack with Vertex Cover, Set Cover, and Hitting Set

Abstract

Given an undirected graph G=(V,E), with vertex weights (w(u))u∈V, vertex values (α(u))u∈V, a knapsack size s, and a target value d, the problem is to determine if there exists a subset U⊂eqV of vertices such that U forms a vertex cover, w(U)=Σu∈U w(u) s, and α(U)=Σu∈U α(u) d. In this paper, we closely study the problem and its variations, such as , , and , for both general graphs and trees. We first prove that the problem belongs to the complexity class and then study the complexity of the other variations. We generalize the problem to and versions and design polynomial time Hg-factor approximation algorithm for the problem and d-factor approximation algorithm for using primal dual method. We further show that and are hard to approximate in polynomial time. Additionally, we develop a fixed parameter tractable algorithm running in time 8O( tw)· n· min\s,d\ where tw,s,d,n are respectively treewidth of the graph, the size of the knapsack, the target value of the knapsack, and the number of items for the problem.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…