

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Neatly print your name(s), NetID(s), and the alias(es) you used for Homework 0 in the boxes above. Staple this sheet to the top of your homework. If you are on campus, submit the homework by submitting it in SC 3306 (or sliding it under the door).
Note: You will be held accountable for the appropriate responses for answers (e.g. give models, proofs, analysis, etc). For NP-Complete problems you should prove everything rigorously, i.e. for showing that it is in NP, give a description of a certificate and a polynomial time algorithm to verify it, and for showing problems are NP-Hard, you must show that your reduction is polynomial time (by similarly proving something about the algorithm that does the transformation) and proving both directions of the ‘if and only if’ (a solution of one is a solution of the other) of the many-one reduction.
In the back of her mind, Sherri thought about death ceaselessly. Everything else, all people, objects and processes had become reduced to the status of shadows. Worse yet, when she contemplated other people she contemplated the injustice of the universe. They did not have cancer. This meant that, psychologically speak- ing, they were immortal. This was unfair. Everyone had conspired to rob her of her youth, her happiness and eventually her life; in place of those, everyone else had piled infinite pain on her, and probably they secretly enjoyed it. "Enjoying themselves" and "enjoying it" amounted to the same evil thing. Sherri, therefore, had motivation for wishing that the whole world would go to hell in a handbasket. — Valis, Philip K. Dick
(a) [10 Points] Show an example that prove that the greedy traveling salesman does not provide any constant factor approximation to the TSP. Formally, for any constant c > 0 , provide a complete graph G and positive weights on its edges, such that the length of the greedy TSP is by a factor of (at least) c longer than the length of the shortest TSP of G. (b) [10 Points] Show an example, that prove that the greedy traveling salesman does not provide any constant factor approximation to the TSP with triangle inequality. Formally, for any constant c > 0 , provide a complete graph G, and positive weights on its edges, such that the weights obey the triangle inequality, and the length of the greedy TSP is by a factor of (at least) c longer than the length of the shortest TSP of G. (In particular, prove that the triangle inequality holds for the weights you assign to the edges of G.)
(a) [5 Points] Prove that the size of the maximum clique in G(k)^ is equal to the k-th power of the size of the maximum clique in G. (b) [5 Points] Argue that if there is an approximation algorithm that has a constant ap- proximation ratio for finding a maximum-size clique, then there is a fully polynomial time approximation scheme for the problem.