COMP 260: Advanced Algorithms Tufts University Prof. Lenore Cowen Spring 2011 HW 4: due Thurs, March 10 NOTE: No class on Thurs, Feb 24: Tufts is on a MONDAY schedule Also, do problem 2 first; you won’t be able to do Problem 1 until after the March 3 lecture. 1. The fault-tolerant version of the k-center problem with triangle inequality has an additional input α ≤ k which specifies the number of centers that each vertex must be connected to. In other words, we assume that up to α − 1 centers might be closed, and so the fault-tolerant cost for a vertex is its distance to its αth closest center. The problem is to pick k centers so that the maximum fault-tolerant cost of a vertex is minimized. A set S ⊆ V in an undirected graph H = (V, E) is an αdominating set if each vertex v ∈ V is adjacent to at least α vertices in S (we consider a vertex to be adjacent to itself). Let domα (H) denote the size of a minimum cardinality α-dominating set in H. (a) Let I be an independent set in H 2 . Show that α|I| ≤ domα (H). (b) Give a factor 3 approximation algorithm for the fault-tolerant kcenter problem (Hint: Compute a maximal independent set Mi in G2i , for 1 ≤ i ≤ m. Find the smallest index i such that |Mi | ≤ b αk c, and moreover, the degree of each vertex of Mi in Gi is ≥ α − 1.) 2. Let G be a complete undirected graph in which all edge lengths are either 1 or 2. (a) Show G satisfies the triangle inequality. (b) (∗) Show that you can find a minimum 2-factor in polynomial time in this graph, where a 2-factor is a subgraph in which every vertex is incident to exactly two edges in the 2-factor. (Remark: the definition of k-factor is obvious; a perfect matching can also be called a 1-factor). (c) Give a polynomial-time algorithm to find a 4/3-approximation to the optimum TSP in G. (You may use part b even if you were not able to do it).