
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The seventh assignment for the theory of algorithms course offered in spring 2005. Students are required to answer several problems related to minimum cost dominating sets on trees, load balancing, and maximum weighted matching. The assignment covers chapters 10 and 11 in the textbook 'introduction to algorithms' by kleinberg and tardos.
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

COS 423 Theory of Algorithms Spring 2005
Answer each problem below. This assignment is due Wednesday, April 20 at the beginning of lecture. Collaboration is allowed (according to the rules specified in the handout). If you work with a group, be sure to clearly acknowledge the other members of your study group on the first page.
Read Chapters 10 and 11 in Kleinberg-Tardos.
e∈M we. This problem can be solved in polynomial-time, but for many practical problems (including partitioning in VLSI design, refinement of FEM nets, the gossiping problem in telecommunications and input-queued switching in networks) the best known algorithm may be either too slow or too cumbersome to implement. Consider the following greedy algorithm. Start with the empty matching M = ∅. Add an edge of maximum weight among all edges which have no endpoints in common with any of the edges in M. Repeat until no more edges can be added. Prove that this greedy algorithm is a 2-approximation and can be implemented in O(m log n) time, where m = |E| and n = |V |.