./math/py-munkres, Munkres algorithm for the Assignment Problem

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2019Q1, Version: 1.0.12, Package name: py27-munkres-1.0.12, Maintainer: pkgsrc-users

The Munkres module provides an implementation of the Munkres
algorithm (also called the Hungarian algorithm or the Kuhn-Munkres
algorithm), useful for solving the Assignment Problem.

Assignment Problem: Let C be an nxn matrix representing the costs
of each of n workers to perform any of n jobs. The assignment
problem is to assign jobs to workers in a way that minimizes the
total cost. Since each worker can perform only one job and each
job can be assigned to only one worker the assignments represent
an independent set of the matrix C.


Required to run:
[lang/python27]

Master sites:

SHA1: 8e50cfe8cfde5f7be250476fab34d108a7b0aa16
RMD160: 64145a12881cd8f0edbda4a9d2e14808efe1df70
Filesize: 11.842 KB

Version history: (Expand)