a. Htting set problem is in NP because given any set t as the solution, we can verify whether t has k elements and every subset si has some element which is also the element of t, in polynomial time. So this problem is in NP.
b. We can reduce VC problem instance where in graph G, we have to determine whether G has vertex cover of size k into the HS problem instance in polynomial time as follows :-
Corresponding to every vertex v in the graph, create a subset sv which contains vertex v and all the vertices which are neighbors of v.
Claim :- If graph G has VC of size k, then the reduced problem will have hitting set t of size k which contains some element from all the subsets .
proof :- If G has VC of size k, then these vertices will cover entire vertices of the graph G, then by taking these vertices as member of solution t, we will get set t of size k, and since these vertices have edge towards all remaining vertices in the graph, corresponding subset will be covered by these k elements.
Similarly if graph G does not have VC of size k, then HS will not be able to get k elements which covers some element from every subset. Hence this reduction will give equivalent result.
And this reduction is polynomial time reduction. So .
C. Yes since VC is NP-hard because of being NP-complete and so HS is also NP hard and since HS is also in NP, so HS is NP ccomplete.
d. Given the instance of HS, we can reduce this to problem instance of VC as :-
1. Represent every element of finite set S as the vertices of graph G and
2. Draw an edge between 2 vertices if they are part of same subset among every collection of subsets.
If graph G contain vertex cover of size k, then HS will have hitting set of size k. Using similar reduction, we can show that VC has yes instance for the reduced problem if and only if HS have yes instance for original problem. So
Please comment for any clarification
5. The Hitting Set Problem (HS) is the following decision problem. Input. A finite set S,...
Let X be a finite set and F a family of subsets of X such that every element of X appears in at least one subset in F. We say that a subset C of F is a set cover for X if X =U SEC S (that is, the union of the sets in C is X). The cardinality of a set cover C is the number of elements in C. (Note that an element of C is a...
3. (20 pts) Let ụ be a finite set, and let S = {Si, S , S,n} be a collection of subsets of U. Given an integer k, we want to know if there is a sub-collection of k sets S' C S whose union covers all the elements of U. That is, S k, and Us es SU. Prove that this problem is NP-complete. 992 m SES, si 3. (20 pts) Let ụ be a finite set, and let...
7.(35) A subset S of the nodes of a graph G is a dominating set if every other node of G is adjacent to some node in S. Consider the language: DOMINATING-SET ={<G, K> | G has a dominating set with k nodes} Show that DOMINATING-SET is NP-complete by reduction from VERTEX- COVER.
Problem 2. In the Subset-Sum problem the input consists of a set of positive integers X = {x1, . . . , xn}, and some integer k. The answer is YES if and only if there exists some subset of X that sums to k. In the Bipartition problem the input consists of a set of positive integers Y = {y1, . . . , yn}. The answer is YES if and only if there exists some subset of X...
Consider the following four problems: Bin Packing: Given n items with positive integer sizes s1,s2,...,sn, a capacity C for bins and a positive integer k, is it possible to pack the n items using at most k bins? Partition: Given a set S of n integers, is it possible to partition S into two subsets S1 and S2 so that the sum of the integers in S1 is equal to the sum of the integers in S2? Longest Path: Given...
Problem 5. Let W and U be finite-dimensional vector spaces, and let T : W > W and S : W -> U be linear transformations. Prove that if rank(S o T) L W W such that S o T = So L. = rank(S), then there exists an isomorphism (,.. . , Vk) is a basis of ker(T), and let (w1, ., wr) is a basis of im(T) nker(S) if 1 ik Hint: Let B (vi,... , Vk,...,vj,) be...
in this problem I have a problem understanding the exact steps, can they be solved and simplified in a clearer and smoother wayTo understand it . Q/ How can I prove (in detailes) that the following examples match their definitions mentioned with each of them? 1. Definition 1.4[42]: (G-algebra) Let X be a nonempty set. Then, a family A of subsets of X is called a o-algebra if (1) XE 4. (2) if A € A, then A = X...
Combinatorial Auctions (K&T Ch8.Ex13). A combinatorial auction is a particular mechanism developed by economists for selling a collection of items to a collection of potential buyers. (The Federal Communications Commission has studied this type of auction for assigning stations on the radio spectrum to broadcasting companies.) Heres a simple type of combinatorial auction. There are n items for sale, labeled I,..., In. Each item is indivisible and can only be sold to one person. Now, m different people place bids:...
Problem Set 4 Atomic Structure and the Periodic Table Name: Date: Lab Section: General Instructions Complete the following problems. Attach another sheet to give yourself space for problems 8,9,10 as needed. Assignment is due at the end of the lab period unless stated otherwise by instructor. 1.) Energy Levels and Sublevels for the Polyelectronic Atom (a) How many sublevels exist in the energy level (n = 5)? (b) How many orbitals exist in any f-sublevel? (c) What is the maximum...
Nombre . Responde las siguientes preguntas A) SI P(A 6 B)-1/3 P(B)- 1/4 y P(Ay B)-1/5, halle P(A) B ) Cual es la probabilidad de lanzar un par de dados y que la suma de los resultados de los dos dados sea 7 C ) Una prueba de selección múltiple tiene cinco posibles respuestas de las cuales una es correcta, si 13 estudiantes eligen las respuestas al azar. Cuaál es la probabilidad de que los 13 escojan la respuesta correcta?...