Skip to main content

Fast constrained linear assignment problem (CLAP) solvers

Project description

laptools

PyPI Version Supported Python Versions Build Status Code Coverage Code style: black

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)

Uploaded Source

Built Distribution

laptools-0.1.6-py2.py3-none-any.whl (14.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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