Skip to main content

A combinatorial optimization python package.

Documentation Status Tested with Hypothesis

Install

pip install puan

Usage

Given a predefined matrix, you construct a polyhedron as you would with a numpy array. Reduce its rows by following

>>> import puan
>>> polyhedron = puan.ge_polyhedron([
    [ 0,-2, 1, 1],
    [ 0, 1, 1, 1]
])
>>> polyhedron.reduce(*polyhedron.reducable_rows_and_columns())
ge_polytope([[ 0, -2,  1,  1]])

Metadata

Release files for puan 0.5.0

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

Source distribution (sdist)

Source distribution for puan 0.5.0
File Size Uploaded Provenance Actions
puan-0.5.0.tar.gz 41.8 kB Without provenance Details for puan-0.5.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for puan 0.5.0
File Interpreter ABI Platform Actions
puan-0.5.0-cp39-cp39-macosx_10_15_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.15+ x86-64 Details for puan-0.5.0-cp39-cp39-macosx_10_15_x86_64.whl
puan-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.15+ x86-64 Details for puan-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl

Total release size: 134.8 kB

Release files / puan-0.5.0.tar.gz

Download URL puan-0.5.0.tar.gz
Size 41.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a8ba304bfa04c213a93ed8d248b31761a084d3d16703fb37bde1a9d583fb8f66
BLAKE2b-256 checksum
How to use checksums
d3a02bb6f0a5544f175e2f16d818902963ef6066549be0e8b219e48e46b35076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / puan-0.5.0-cp39-cp39-macosx_10_15_x86_64.whl

Download URL puan-0.5.0-cp39-cp39-macosx_10_15_x86_64.whl
Size 46.5 kB
Tags CPython 3.9 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
c75aad54e84cd0ef1d8c28987421609bff1567d1657fcc66c0eb6d788e6e3e52
BLAKE2b-256 checksum
How to use checksums
b9a7644267e48f615142ba1f5565126586ec7a92e5ff65d88951809239909980
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / puan-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl

Download URL puan-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl
Size 46.5 kB
Tags CPython 3.8 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
90b2afb241ec9a27dedc45bbe8244e581f2d781737971dd71c1dab12b1d67a6d
BLAKE2b-256 checksum
How to use checksums
685d58819e48689b0a425967c1bc6eacceb0a59fa78d175b0fe5d6e6ea0218c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Security for puan 0.5.0

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