maths.free › Combinatorics & Graph Theory › 13. Network Flows › Network Flows: exercises
Network Flows: exercises
Network Flows: exercises — from Keller & Trotter, Applied Combinatorics.
Practice (11)
Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.
-
Consider the network diagram in . For each directed edge, the first number is the capacity and the second value is intended to give a flow \(\phi\) in the network. However, the flow suggested is not valid.
Identify the reason(s) \(\phi\) is not valid.
Without changing any of the edge capacities, modify \(\phi\) into a valid flow \(\widehat{\phi}\). Try to use as few modifications as possible.
-
Alice claims to have found a (valid) network flow of value \(20\) in the network shown in . Bob tells her that there's no way she's right, since no flow has value greater than \(18\). Who's right and why?
-
Find an augmenting path \(P\) with at least one backward edge for the flow \(\phi\) in the network shown in . What is the value of \(\delta\) for \(P\)? Carry out an update of \(\phi\) using \(P\) to obtain a new flow \(\hat{\phi}\). What is the value of \(\hat{\phi}\)?
-
Prove . You will need to verify that the flow conservation laws hold at each vertex along an augmenting path (other than \(S\) and \(T\)). There are four cases to consider depending on the forward/backward status of the two edges on the augmenting path that are incident with the vertex.
-
Find the capacity of the cut \((L,U)\) with \[\begin{aligned}\end{aligned}\] in the network shown in .
-
Find the capacity of the cut \((L,U)\) with \[\begin{aligned}\end{aligned}\] in the network shown in .
-
For each of the augmenting paths \(P_1\), \(P_2\), \(P_3\), and \(P_4\) in , update the flow in . (Note that your solution to this exercise should consist of four network flows. Do not attempt to use the four paths in sequence to create one updated network flow.)
-
Continue running the Ford-Fulkerson labeling algorithm on the network flow in until the algorithm halts without labeling the sink. Find the value of the maximum flow as well as a cut of minimum capacity.
-
Use the Ford-Fulkerson labeling algorithm to find a maximum flow and a minimum cut in the network shown in by starting from the current flow shown there.
-
shows a network. Starting from the zero flow, , the flow with \(\phi(e)=0\) for every directed edge \(e\) in the network, use the Ford-Fulkerson labeling algorithm to find a maximum flow and a minimum cut in this network.
-
Consider a network in which the source \(S\) has precisely three neighbors: \(B\), \(E\), and \(F\). Suppose also that \(c(S,B)=30\), \(c(S,E)=20\), and \(c(S,F)=25\). You know that there is a flow \(\phi\) on the network but you do not know how much flow is on any edge. You do know, however, that when the Ford-Fulkerson labeling algorithm is run on the network with current flow \(\phi\), the first two vertices labeled are \(S\) with label \((*,+,\infty)\) and \(F\) with label \((S,+,15)\). Use this information to determine the value of the flow \(\phi\) and explain how you do so.
Symbols used here
Not a number: "grows without bound" in limits and intervals.
Small positive tolerances in the definition of a limit.
Least upper bound, greatest lower bound.
n × (n−1) × … × 1; the number of orderings of n things. 0! = 1.
Number of k-element subsets of n things: n!/(k!(n−k)!).
Add a_k for k = 1 up to n.
Multiply a_k for k = 1 up to n.
The set with no elements; the number of elements of A.
Questions people ask
Permutation or combination?
Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).
What is a graph in this sense?
Dots (vertices) joined by lines (edges) — not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.
خودت امتحان کن
Parts of this page are adapted from Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). Condensed and re-explained here; errors are ours.
بیشتر در Combinatorics & Graph Theory
The counting principlesPigeonhole principle and inclusion–exclusionBinomial coefficients and Pascal's triangleRecurrences and generating functionsGraphs: vertices, edges, degreesPaths, cycles, trees, Euler and HamiltonColouring and planar graphs