Networks and decision mathematics 2 — Queensland Year 12 General Mathematics
Flow networks, cuts and their capacities, maximum flow and the minimum cut, allocation problems with bipartite graphs, and the Hungarian algorithm. Four subtopics and 80 questions, each with a worked solution.
What you learn in Networks and decision mathematics 2
Networks and decision mathematics 2 finishes the course with two kinds of optimisation. The first is flow: water through pipes, cars along roads or data through cables. A flow network has a source, a sink and a capacity on each edge. You identify cuts that separate the source from the sink, find the capacity of each cut by adding only the edges that point from the source side to the sink side, and use the minimum cut to find the maximum flow the network can carry.
The second is allocation, or assignment: matching workers to jobs, swimmers to relay legs or trucks to deliveries so that the total cost or time is as small as possible, or the total score as large as possible. You show an allocation problem as a bipartite graph and as a table, solve small problems by inspection, and use the Hungarian algorithm for square tables from 3 × 3 to 5 × 5. The steps are to reduce the rows and columns, cover the zeros with the fewest lines, adjust if needed, then read off the best assignment. There are four subtopics and 80 questions, every one with a fully worked solution.
Subtopics
Networks and decision mathematics 2: common questions
What is a cut in a flow network?
A cut is a line through the network that separates the source from the sink, so that nothing can flow from one to the other without crossing it. Its capacity is the total capacity of the edges it crosses going from the source side to the sink side; edges crossing the other way are not counted.
How do you find the maximum flow through a network?
The maximum flow from the source to the sink equals the capacity of the minimum cut. For a small network, list the possible cuts, find the capacity of each, and the smallest capacity gives the maximum flow.
What is an allocation problem?
It is a problem of matching the members of one group to the members of another, one to one, to get the best total, such as assigning people to tasks. A bipartite graph shows the two groups as two sets of vertices, with weighted edges for the costs or times, and the same information can be set out in a table.
What are the steps of the Hungarian algorithm?
Subtract the smallest number in each row from every number in that row, then do the same for each column. Cover all the zeros with the fewest possible horizontal and vertical lines. If the number of lines equals the number of rows, an optimal assignment can be made using the zeros. If not, subtract the smallest uncovered number from every uncovered number, add it to any number covered twice, and cover the zeros again.
How do you use the Hungarian algorithm to maximise a total?
Turn the problem into a minimisation first by subtracting every entry from the largest entry in the table, then apply the usual steps. The assignment you find gives the largest total of the original values, so add the original entries in the chosen cells to get the maximum.