Skip to content
← All questions

How do you perform row reduction on a 4x4 cost matrix in the Hungarian method?

To perform row reduction, identify the minimum entry in each row of the cost matrix and subtract that minimum value from every element in the same row. This creates a new matrix where each row contains at least one zero.

Conditions

  • The problem is a balanced assignment problem.
  • The Hungarian method is being applied.

Reasoning, step by step

  1. Identify the minimum value in the first row.
  2. Subtract this minimum from all elements in the first row.
  3. Repeat this process for the second, third, and fourth rows.
  4. Record the resulting values in a new matrix.

Example

For Row A with entries [10, 12, 19, 11], the minimum is 10. Subtracting 10 from each element yields [0, 2, 9, 1].

Common misconceptions

  • Subtracting the global minimum of the entire matrix from all elements.
  • Forgetting to subtract the minimum from the minimum element itself, which should result in zero.

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗
Understand why

↗
Meet the concept

↗
Meet the concept

↗
Know when to use it

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.