Quiz Space

Advanced Algorithms · Quiz 2 · 6 Aug 2023 · May 2023 term

Question 15: Consider a different rounding strategy for the LP relaxa…

Question 15

+5 marksOne correct option

Consider a different rounding strategy for the LP relaxation of the vertex cover problem. Instead of rounding up every vertex whose value is at least 0.50.5 after running the LP, we do the following:

We look at every edge, and then we round up the variable of the endpoint with the highest value, where in case of ties we take the endpoint with the highest index.

In other words, if the vertex set is V={v1,…,vn}V = \{v_1, \ldots, v_n\} and we denote the associated variable of viv_i by xix_i then the cover CC is computed as follows:

C:={vi∈V:there is an edge (vi,vj) such that (xi>xj) or (xi=xj and i>j)}C := \{v_i \in V : \text{there is an edge } (v_i, v_j) \text{ such that } (x_i > x_j) \text{ or } (x_i = x_j \text{ and } i > j)\}

Which statement is true?

  1. A

    This does not work, because we might report an invalid solution.

  2. B

    This gives a valid solution, but the approximation ratio becomes worse.

  3. C

    This gives a valid solution, and in fact the solution is always exactly the same as in the original rounding scheme.

  4. D

    This gives a valid solution. We sometimes report a better solution than in the original rounding scheme, but the approximation ratio of the algorithm is still more than 2 - ϵ for any ϵ > 0.

  5. E

    This gives a valid solution, and the approximation ratio of the algorithm becomes 3/2.

Show answer

Correct answer

  • D

    This gives a valid solution. We sometimes report a better solution than in the original rounding scheme, but the approximation ratio of the algorithm is still more than 2 - ϵ for any ϵ > 0.

Question 15 of 15 in the IIT Madras BS Advanced Algorithms (Advanced Algorithms) Quiz 2 paper sat on 6 Aug 2023, in the May 2023 term (IIT M DEGREE AN3 EXAM QPE3 06 Aug 2023). It carries 5 marks.

More questions from this paper

  1. Q1For the following sets of timings of dance classes, figure out what is the largest number of classes that you can atten…
  2. Q2Consider 4 sets as follows: W = {w_1, w_2, w_3}, X = {x_1, x_2}, Y = {y_1, y_2, y_3} and Z = {z_1, z_2}. Given capacity…
  3. Q3Let G be a simple, undirected, unweighted graph. We use V(G) to denote the vertex set of G and E(G) to denote the edge …
  4. Q4Let G be a simple, undirected, unweighted graph. We use V(G) to denote the vertex set of G and E(G) to denote the edge …
  5. Q5There are N stones, numbered 1, 2, \ldots, N. For each (1 \leqslant i \leqslant N), the height of stone i is h_i. Assum…
  6. Q6There are N stones, numbered 1, 2, \ldots, N. For each (1 \leqslant i \leqslant N), the height of stone i is h_i. Assum…
  7. Q7There are N stones, numbered 1, 2, \ldots, N. For each (1 \leqslant i \leqslant N), the height of stone i is h_i. Assum…
  8. Q8There are N stones, numbered 1, 2, \ldots, N. For each (1 \leqslant i \leqslant N), the height of stone i is h_i. Assum…
  9. Q9Which of the following statements is true?\ Statement 1: For every graph G and every maximum flow on G, there always ex…
  10. Q10Figure question
  11. Q11Figure question
  12. Q12Consider the following definitions: A vertex cover is a subset S of V(G) such that for all (u,v) \in E(G), S \cap {u,v}…
  13. Q13Figure question
  14. Q14Figure question