A combinatorial optimization python package.
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]])
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)
| File | Size | Uploaded | |
|---|---|---|---|
| puan-0.5.0.tar.gz | 41.8 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| puan-0.5.0-cp39-cp39-macosx_10_15_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.15+ x86-64 | Details |
| puan-0.5.0-cp38-cp38-macosx_10_15_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.15+ x86-64 | Details |
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
|