Chapter 9: Q4E (page 306)
Given an undirected graph
Short Answer
This algorithm is proved.
Chapter 9: Q4E (page 306)
Given an undirected graph
This algorithm is proved.
All the tools & learning materials you need for study success - in one app.
Get started for freeIn the MULTIWAY CUT problem, the input is an undirected graph
(a) Show that this problem can be solved exactly in polynomial time when
(b) Give an approximation algorithm with ratio at most
(c) Design a local search algorithm for multiway cut.
In the backtracking algorithm for SAT, suppose that we always choose a subproblem (CNF formula) that has a clause that is as small as possible; and we expand it along a variable that appears in this small clause. Show that this is a polynomial-time algorithm in the special case in which the input formula has only clauses with two literals (that is, it is an instance of 2SAT).
Devise a backtracking algorithm for the RUDRATA PATH problem from a fixed vertex s. To fully specify such an algorithm you must define:
(a) What is a subproblem?
(b) How to choose a subproblem.
(c) How to expand a subproblem.
Argue briefly why your choices are reasonable
In the MINIMUM STEINER TREE problem, the input consists of: a complete graph
Suppose the distances in the input are a metric (recall the definition on page 292). Show that an efficient
Local search for minimum spanning trees. Consider the set of all spanning trees (not just minimum ones) of a weighted, connected, undirected graph
Recall from Section 5.1 that adding an edge to a spanning tree
a) Show that it is possible to move from any spanning tree
(b) Show that if
then
(c) Consider the following local search algorithm which is given as input an undirected graph
Let
while there is an edge-swap
Show that this procedure always returns a minimum spanning tree. At most how many iterations does it take ?
What do you think about this solution?
We value your feedback to improve our textbook solutions.