Skip to main content

Primal LAP

A Primal Method for the Assignment Problem ( M. L. Balinski, R. E. Gomory,)

pip install balinski-and-gomory
from balinski_and_gomory import solve_slow, solve_hylac

import torch

n = 5
costs = torch.randint(1, 100, size=(n, n), dtype=torch.uint32)

print("Input cost matrix:")
print(costs)

print(solve_hylac(costs))

print(solve_slow(costs))

Metadata

Release files for balinski-and-gomory 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for balinski-and-gomory 0.0.8
File Size Uploaded Provenance Actions
balinski_and_gomory-0.0.8.tar.gz 1.2 MB Without provenance Details for balinski_and_gomory-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for balinski-and-gomory 0.0.8
File Interpreter ABI Platform Actions
balinski_and_gomory-0.0.8-py3-none-any.whl Python 3 none any Details for balinski_and_gomory-0.0.8-py3-none-any.whl

Total release size: 2.5 MB

Release files / balinski_and_gomory-0.0.8.tar.gz

Download URL balinski_and_gomory-0.0.8.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
bdcddd6b5b83dd75231afc53d8b8c4e5059dfba06e3362f5eb04e41a2fed30ef
BLAKE2b-256 checksum
How to use checksums
37e0d4c279fd3e3489e3715d71a9f2904de8ae44f54384de685bdfa9398489de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / balinski_and_gomory-0.0.8-py3-none-any.whl

Download URL balinski_and_gomory-0.0.8-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
63486d36bbdf905f71a316f67e933aef4087e5a0d67b4b70f6f44af1d95d9658
BLAKE2b-256 checksum
How to use checksums
5c0519db4f68b7681f6e7a7854c0218f329b23c5566ef612532ef51a74793c14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for balinski-and-gomory 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page