#algorithm #optimization #assignment #problem #aka #solving #kuhn-munkres

munkres

Kuhn-Munkres (aka Hungarian) algorithm for solving the Assignment Problem in O(n^3)

9 releases (5 breaking)

0.5.2 Jan 7, 2021
0.5.1 Apr 7, 2019
0.4.0 Jan 30, 2018
0.3.0 Jul 16, 2016
0.0.2 Oct 20, 2015

#1292 in Algorithms

Download history 73/week @ 2024-11-13 116/week @ 2024-11-20 71/week @ 2024-11-27 45/week @ 2024-12-04 141/week @ 2024-12-11 49/week @ 2024-12-18 75/week @ 2025-01-08 45/week @ 2025-01-15 118/week @ 2025-01-22 73/week @ 2025-01-29 13/week @ 2025-02-05 37/week @ 2025-02-12 24/week @ 2025-02-19 42/week @ 2025-02-26

120 downloads per month
Used in 3 crates (2 directly)

BSD-3-Clause

37KB
1K SLoC

munkres-rs Build Status

Kuhn-Munkres (aka Hungarian) algorithm for solving the Assignment Problem written in Rust. Time complexity is O(n^3).

This is a modified port from https://github.com/bmc/munkres.

TODO

  • Implement SIMD f32x4 weight matrix

Dependencies

~1.5MB
~29K SLoC