The flow network on the Jamboard purports to solve a bipartite matching problem by finding a maximum flow. Show that this really is a maximum flow by finding a minimum cut.
You have to assign rooms, times, and proctors for final exams in 9 different classes. There are 5 rooms, 4 exam times, and 7 proctors.
See Figure 11.5.
Can a team still finish with the most wins?
Team | Won–Lost | Left | NYY | BAL | BOS | TOR | DET |
---|---|---|---|---|---|---|---|
New York Yankees | 75–59 | 28 | 3 | 8 | 7 | 3 | |
Baltimore Orioles | 71–63 | 28 | 3 | 2 | 7 | 4 | |
Boston Red Sox | 69–66 | 27 | 8 | 2 | 0 | 0 | |
Toronto Blue Jays | 63–72 | 27 | 7 | 7 | 0 | 0 | |
Detroit Tigers | 49–86 | 27 | 3 | 4 | 0 | 0 |
See Figure 11.7.
Suppose there are \(n\) teams. The flow model has a start vertex \(s\), a list of pairing vertices, a list of team vertices, and a terminal vertex \(t\).
How many possible pairings of teams are there? (Give an exact answer, and an asymptotic estimate.)
How many vertices are in the flow model? (asymptotically)
How many edges leave each pairing vertex? How many edges are in the flow model?
What is the running time, using Orlin’s algorithm?
Would using the Floyd-Fulkerson algorithm ever have a lower asymptotic running time?
Reduces to bipartite matching (which reduces to maxflow).
See Figure 11.6.