HungarianAlgorithmusVerfahren
The Hungarian algorithm is a classic method for solving the assignment problem in combinatorial optimization. Given an n-by-n cost matrix, it seeks a minimum-cost assignment that pairs each row with a unique column, so that every task is assigned to exactly one agent and every agent handles exactly one task. In graph terms, it finds a minimum-cost perfect matching in a bipartite graph.
History and naming: The algorithm was introduced by Harold W. Kuhn in 1955, building on earlier work
How it works: The standard approach iterates through reductions and augmentations. First, subtract the smallest value
Variations and extensions: For maximization problems, costs can be transformed by negation or subtraction from a
See also: assignment problem, bipartite matching, linear programming.