#algorithm #optimization #assignment #aka #solving #problem #hungarian

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

#1189 in Algorithms

Download history 29/week @ 2023-12-01 43/week @ 2023-12-08 33/week @ 2023-12-15 1/week @ 2024-01-26 2/week @ 2024-02-02 23/week @ 2024-02-09 28/week @ 2024-02-16 42/week @ 2024-02-23 46/week @ 2024-03-01 53/week @ 2024-03-08 12/week @ 2024-03-15

158 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
~27K SLoC