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

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


Branch: pkgsrc-2013Q4, Version: 1.0.5.4, Package name: py27-munkres-1.0.5.4, 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: d81de77cde326497f6752e4993f0aa93e6f1201c
RMD160: 728695026eaa9287224353d5f392e82b8d4e6e3d
Filesize: 42.041 KB

Version history: (Expand)