Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jk-munkres-1.2.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

jk_munkres-1.2.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file jk-munkres-1.2.0.tar.gz.

File metadata

  • Download URL: jk-munkres-1.2.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for jk-munkres-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d62489d9d4f030adb004efe53ff8a4258faf3db4cd9931f9308de71a614cd31f
MD5 476980bb59762fee429306e342d55336
BLAKE2b-256 3fdaaf98896180728456468878d41fa298690c04b81e754085a002c65b3f817a

See more details on using hashes here.

File details

Details for the file jk_munkres-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: jk_munkres-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for jk_munkres-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3377f2550f7ccb14517cea755961bb1c41683ef06532c7bde0618ad378c86895
MD5 9f00c9ef8ec96143c1ef425dfa68f231
BLAKE2b-256 a9963607ca3b5094b81eddba422bb553340251770a751ee6300b69f9ad84c941

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page