Pearson Edexcel · A-Level · Mathematics
Course version: 603/1499/0 · Version from Sept 2017
Decision Mathematics 2: 2.1 Cost matrix reduction.
Full specification wording
Allocation (assignment) problems - Paper 4D: Decision Mathematics 2: 2.1 Cost matrix reduction.
Cost matrix reduction is the opening stage of the Hungarian algorithm for a least cost allocation.
- Point 1 of 4
Study notes
From the teaching notes for this specification point.
The idea
Cost matrix reduction is the opening stage of the Hungarian algorithm for a least cost allocation. Write the costs as a square matrix with rows for one set of items (for example workers) and columns for the other (for example jobs). First subtract the smallest entry in each row from every entry in that row, so each row then contains at least one zero. Next subtract the smallest entry in each column from every entry in that column, so each column also contains at least one zero. These subtractions preserve the relative pattern of costs, so an allocation that is optimal for the reduced matrix is optimal for the original. A reduced matrix still records the same total cost differences between alternative assignments.
What earns the marks
- Subtracts the smallest entry in each row from every entry of that row before moving to columns.
- Subtracts the smallest entry in each column from every entry of that column after the row reduction.
- Keeps the matrix square and aligned so each row and column refers to the same item throughout.
- Recognises that row and column reduction preserve the optimal allocation of the original cost matrix.
Common mistakes and how to put them right
Subtracts the row minimum from only the single smallest cell instead of from every entry in the row.
Put it right: Subtract it from all entries so a zero appears in each row.
Reduces columns before completing the row reduction.
Put it right: Finish every row first, then reduce columns.
Changes the order of rows or columns during reduction and loses track of which item each line represents.
Put it right: Keep labels fixed.
Treats a reduced-matrix allocation as a different problem from the original.
Put it right: The optimal assignment is the same.
Exam tips
- Show each row reduction and each column reduction as a separate labelled matrix so the method is visible.
- Check that every row and every column contains at least one zero after the two reductions.
- Keep row and column headings attached to the matrix so the final allocation can be read back to the original items.
Try the lesson
The start of the Allocation (assignment) problems - Paper 4D: Decision Mathematics 2: 2.1 Cost matrix reduction. lesson, made from teaching notes for this specification point.
Have a go first
A cost matrix has row entries 5, 2, 4, 3. In the first stage of the Hungarian algorithm, the row minimum is subtracted from every entry in that row. What is the reduced row?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
5 free practice questions every day · Free forever · No card required
Test your understanding of Allocation (assignment) problems - Paper 4D: Decision Mathematics 2: 2.1 Cost matrix reduction.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
5 free practice questions every day · Free forever · No card required