Skip to main content

Python module to solve the linear sum assignment problem (LSAP) efficiently

Project description

minilsap

A Python module to solve the linear sum assignment problem (LSAP) efficiently. Extracted from SciPy, without significant modifications.

This module is useful in cases when you need an efficient LSAP solver but you do not want to depend on the full SciPy library.

Currently, the module depends on NumPy for array management. This may be relaxed in the future if Python's stable API gets extended with functions to manage Python buffer objects.

License

The code in this repository is licensed under the 3-clause BSD license, except for files including a different license header.

The LSAP solver copied from SciPy is also licensed under the 3-clause BSD license.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.1.1] - 2022-02-07

Re-release with project name changed from lsap to minilsap.

[0.1.0] - 2022-02-07

Initial release, based on the LSAP algorithm in SciPy 1.18.0.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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

minilsap-0.1.1.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distributions

minilsap-0.1.1-cp37-abi3-win_amd64.whl (17.4 kB view hashes)

Uploaded CPython 3.7+ Windows x86-64

minilsap-0.1.1-cp37-abi3-win32.whl (16.1 kB view hashes)

Uploaded CPython 3.7+ Windows x86

minilsap-0.1.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (98.1 kB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

minilsap-0.1.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (97.0 kB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minilsap-0.1.1-cp37-abi3-macosx_10_9_universal2.whl (23.8 kB view hashes)

Uploaded CPython 3.7+ macOS 10.9+ universal2 (ARM64, x86-64)

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