A fork of munkres
Project description
Munkres implementation for Python
Introduction
The Munkres module provides an O(n^3) implementation of the Munkres algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm). The algorithm models an assignment problem as an NxM cost matrix, where each element represents the cost of assigning the ith worker to the jth job, and it figures out the least-cost solution, choosing a single item from each row and column in the matrix, such that no row and no column are used more than once.
This particular implementation is based on https://csclab.murraystate.edu/~bob.pilgrim/445/munkres.html.
See the docs on the project page for more details.
WARNING: As of version 1.1.0, munkres no longer supports Python 2. If you need to use this package with Python 2, install an earlier version. See the installation instructions for details.
Copyright
© 2008-2019 Brian M. Clapper
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jk_munkres-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7c7db56f722d957ace468a217eb0663f3382be97ddb60bdd75f3cb518d0c127 |
|
MD5 | 67224d6de61f5cd0c103082dd7265682 |
|
BLAKE2b-256 | bc7221b22ac449b0811a8828576142653cce0f8931c23a0d0cefad3b57f3f03b |