Assigned:
Thursday, February 2, 2012
Due:
Thursday, February 9, 2012
General Instructions
- Please review the
course information.
- You must write down with whom you worked on the assignment. If this
changes from problem to problem, then you should write down this
information separately with each problem.
- Numbered problems are all from the textbook Network Flows .
Problems
- In class, we described a linear program for MST that had a variable xe which
was 1 if edge e is in the MST, a constraint that the tree has n-1 edges, and a constraint
for each subset of the vertices, saying that a subset S of size |S| has at most |S|-1
tree edges. Write down the dual of this linear program. Then write down the complimentary
slackness conditions. Then do the same for a linear program where the constraints are a) n-1 edges b) for every cut in the graph, there is at least one edge crossing the cut.
- Given a graph G=(V,E) and a subset of edges E', give a linear-time algorithm that
returns a graph in which all the edges of E' are contracted.
- Given a directed acyclic graph G, with source c let ct(v) be the number of distinct paths from s to v. Give an efficient algorithm to compute ct(v) for all vertices v.
- Problem 5.18. Reoptimizing shortest paths.
- Problem 4.6. Cluster analysis.
Switch to:
[email protected]