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

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


Branch: CURRENT, 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:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

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

Version history: (Expand)


CVS history: (Expand)


   2018-12-10 12:22:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-munkres: updated to 1.0.12

Version 1.0.12:
- Merged Pull Request 11] which simplifies conversion of a
  profit matrix to a cost matrix, in the default case.
- Merged Pull Request 7 which fixes a message.
- Added more tests.
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.
   2017-07-23 20:39:51 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Version 1.0.11:

Docs are now generated with pdoc.

Merged Pull Request 24, from @czlee:

* Change to step 4: When it looks for a uncovered zero, rather than starting at \ 
row 0, column 0, it starts where it left off, i.e. at the last uncovered zero it \ 
found. Since it doesn't start at (0,0), when it gets to the last column it now \ 
loops around to the first, and exits unsuccessfully if it got back to where it \ 
started. This change reduces this reduces the solving time for (certain) large \ 
matrices. For instance, in tests, solving a matrix of size 394×394 goes from \ 
about 2 minutes to about 4 seconds.

* Since Python 3 started cracking down on unnatural comparisons, the DISALLOWED \ 
constant added in Pull Request 19 no longer works. (It raises a TypeError for \ 
unorderable types, as is expected in Python 3.) Since this constant is meant to \ 
act like infinity, this modification just changes the two lines where it would \ 
otherwise try to make an illegal (in Python 3) comparison between a number and \ 
DISALLOWED_OBJ() and gets it to behave as if DISALLOWED is always larger.
Added Travis CI integration.

Added some unit tests. See tests and tests/README.md.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-01-20 21:26:39 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 1.0.6: changes not found, but this version works with python-3.
   2012-09-12 01:04:36 by Aleksej Saushev | Files touched by this commit (180)
Log message:
"user-destdir" is default these days
   2012-05-30 13:05:30 by Thomas Klausner | Files touched by this commit (4) | Imported package
Log message:
Initial import of py-munkres-1.0.5.4:

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.