py38-munkres

v 1.1.4 Updated: 3 years, 2 months ago

Munkres algorithm for Python

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.

https://software.clapper.org/munkres/

To install py38-munkres, paste this in macOS terminal after installing MacPorts

sudo port install py38-munkres

Add to my watchlist

Installations 0
Requested Installations 0