The Munkres module provides an O(n^3) implementation of the Munkres algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm).

- License: Apache-2.0
- Home: https://github.com/bmc/munkres
- Development: https://github.com/bmc/munkres
- Documentation: http://software.clapper.org/munkres/
- 2489 total downloads
- Last upload: 1 year and 10 months ago

The Munkres module provides an O(n^3) implementation of the Munkres algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm). The algorithm models an assignment problem as an NxM cost matrix, where each element represents the cost of assigning the ith worker to the jth job, and it figures out the least-cost solution, choosing a single item from each row and column in the matrix, such that no row and no column are used more than once.