Fast constrained linear assignment problem (CLAP) solvers
Project description
laptools
Fast constrained linear assignment problem (CLAP) solvers for Python
Installation
Stable Release: pip install laptools
Development Head: pip install git+https://github.com/jdmoorman/laptools.git
Quick Start
Import the the clap
module from the package and define your cost matrix.
>>> from laptools import clap
>>> costs = [[0, 0, 1],
... [1, 0, 2]]
Solve the linear assignment problem with row 0 forcibly assigned to column 1.
>>> clap.cost(0, 1, costs)
1
Development
See CONTRIBUTING.md for information related to developing the code.
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
laptools-0.1.6.tar.gz
(17.3 kB
view hashes)
Built Distribution
Close
Hashes for laptools-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f65bfe45fa0b8382ec97945401eee776e885e66060dc2d529ec4e3d836eb7c8 |
|
MD5 | 090df4c033c656ad52a3bb6c6a8bbc59 |
|
BLAKE2b-256 | d729b3f25fffb345604c5d1ab57d3e2961c5c5709ea0be6eff2234a89d632215 |