Skip to main content

passagemath: Reverse search for vertex enumeration and convex hulls with lrslib

Project description

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2026 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64, ARM) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.

About this pip-installable distribution package

This pip-installable distribution passagemath-lrslib provides an interface to lrslib by David Avis, an implementation of the reverse search algorithm for vertex enumeration and convex hull problems.

What is included

  • Binary wheels on PyPI contain prebuilt copies of lrslib executables.

Examples

Using lrslib programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-lrslib" sage -sh -c lrs
*lrs:lrslib v.7.1 2021.6.2(64bit,lrslong.h,hybrid arithmetic)

Finding the installation location of an lrslib program:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-lrslib[test]" ipython

In [1]: from sage.features.lrs import LrsNash

In [2]: LrsNash().absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/db3f5a0e2996f81/lib/python3.11/site-packages/sage_wheels/bin/lrsnash'

Use with sage.game_theory:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-lrslib[test]" ipython

In [1]: from passagemath_lrslib import *

In [2]: A = matrix([[1, -1], [-1, 1]]); B = matrix([[-1, 1], [1, -1]])

In [3]: matching_pennies = NormalFormGame([A, B])

In [4]: matching_pennies.obtain_nash(algorithm='lrs')
Out[4]: [[(1/2, 1/2), (1/2, 1/2)]]

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passagemath_lrslib-10.8.5rc0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_lrslib-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_lrslib-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.5rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_lrslib-10.8.5rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_lrslib-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl (642.2 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_lrslib-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl (586.8 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_lrslib-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_lrslib-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.5rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_lrslib-10.8.5rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_lrslib-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl (642.1 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_lrslib-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl (586.4 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_lrslib-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_lrslib-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.5rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_lrslib-10.8.5rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_lrslib-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl (641.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_lrslib-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl (585.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_lrslib-10.8.5rc0.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.5rc0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_lrslib-10.8.5rc0.tar.gz
Algorithm Hash digest
SHA256 66c9f6d9fc6fd3cdc32cfae46834a5045a8cf40b54f7ccd961ea3d4dd55248e7
MD5 ef9dcd95710a2bb2bf1ca4e94b1684d7
BLAKE2b-256 dbfe5c670973e640eb988c09d315fce7a21e12c61013538e75824e3f77415314

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9184b0d43c7d2c6cb3744b346f7f5e82d7b254347b1507e6730b96917635242b
MD5 bba8e6d42c5fb7f4f32abc4457d0c4e8
BLAKE2b-256 de558970ccbe6972d6bf519010757800490e7da877fef887aeda4e9aee203951

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c0510c6661da256dba96c64d0108bdc8f1e3ba3ae335eccfb04d9a92a61b9da9
MD5 328efcdaee963c9ec29133ca2f85d321
BLAKE2b-256 11fd966db2ed0f66d2e6a079549f505e480016916bd526d7a9616a23c79fe583

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7b6cc9b46101bbdc24128bd24bf768fd282bbe2da00a28f5bb88e62272f03b4
MD5 6d80c3612b3aef73d92f4f51839ea315
BLAKE2b-256 ae14f8c1c914e232ce2330c3080c4d47ebdc4e6f3245dff1b1704c8c2cdabf22

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 19a5e8c916971ff4ce5abd8d80367ff8fe88577790b8be13957ef296b39680e7
MD5 f4e1a3ba5fea9dbfe18c5899e791823e
BLAKE2b-256 aff1c0316b2572ca319b1bf76f28d5fea0fe9c18b83357ce81bdb0c20f22687c

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72fbd3ec0c7a9fe04da0f607a71a8af80d76e3e0b42a6279b03da8bc24cc4ff4
MD5 af5474ae81a21621f70c8d30e5794582
BLAKE2b-256 a5f59b6720d5548e6d1a6638d771e778853964a3a935237c19007502fdcdd179

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fce93ac1344eb2584d5bfc24c6c4b21f548c8c7152817d678d611ddeda100707
MD5 c3266e13096a8523e29dbc9523b29bb3
BLAKE2b-256 375ccca15e2211b8f8e5b4b5224daa16dcdebc33474f8efd78a9ab9bd34964ff

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 faa81ed53162063f4bf183f0b49d577458cbcdde9c9cb71dc88d0c6538d1d329
MD5 03cde0f8ac987098e0d673016f39796e
BLAKE2b-256 d540e3f3521505f4dce5b0edc8b8f615d0a686729a4953560706669703305f08

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 532bcce62f5dff4c62213c37f5d5e878d9d243cdc135e17e6f049f1bf3c03229
MD5 b6153716f82d5f682dfc760b688df058
BLAKE2b-256 0a3dea8c1a3501fc1921d0c55ecd2462e3bcac11975b40bf6b85f4d63db5b229

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f338e45a965102d69dff697de90d27a069e6ca952981d4ad6ed3512e747f961
MD5 5531e57967a76d3ea83fc44bfcc15831
BLAKE2b-256 abd08258d5719b4cc5ec88166fb34a038329eb7e48748e6bc880b794d59b8522

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5b22503d7a22201c3b59885cc1bac4d47f3d8163a83aa657052ad7b9dc785433
MD5 b0f429948e1ec99818209ba920e214be
BLAKE2b-256 7208d98f4ad6a21f92d249b9a636ba2aecb4201a2c18901cf3461cd1f31c258e

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c4a4522c9430f27f5c86da3c5df2a19840e7a33c9631755ebca590e95940d2f1
MD5 786d487f97cae4e2e334076cbf254f2c
BLAKE2b-256 fea197c67ca7b9a5bc9bb6d0180453fe11a49c7b42c763b293207bdcfbc98070

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a90634fc7d164acd63a7250e3c8c7b3718375f76f0fdc5711133783eebd7e96f
MD5 4b945674bc55c77d4292d06c9c473892
BLAKE2b-256 721e55c56e7326ae81a38e7a3ba6932ff2261637b0d028ff3f5bf5d454dc6956

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1cb347cf22e192c571824fa104d94c621e177aee337ccaddcb977d2898e0b4ea
MD5 8f18f0b2238d5b3ef2723f6aff595de1
BLAKE2b-256 88d09c8724915cf8f63c406fcaffdff3d058cdc876bf07a1fa3cb84ce555cb34

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 109d8c696bbe9287400c74acb9c1ee2ea0c6558d7facc8a49bc30f623f5c66ce
MD5 a147fa71113ad2cdbb858c7a26ef8ba4
BLAKE2b-256 323d337319b4263222dc976af5659ac60c12a671ceae1ecf2f33a8e60547ffa4

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4bec4d679e58542d66c1b0efe89c4711f6864aed8052fa0b8e508622435d355
MD5 4c4f7529cd75349961e87cde68af6572
BLAKE2b-256 6897aff05ddb2c62c1f4005b40a174170037d47710871e28f568fa8cad9357b1

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bfd80ada55f89e76ac698ec59bb78301f1e4ec21a318c95cecd59540977c0e14
MD5 6b35dda16c7de494bed7c5f681ddf3c7
BLAKE2b-256 74778768bd1eeb2f2c5bcb4cde4ba6d4fc0bb795d7b816478153ba9913b9af9e

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1708f25b31334a7e21331caa38a8df5e46628858716e571ecf51fea36ed9947a
MD5 efbc66ae20374c6236d175c22615483b
BLAKE2b-256 4e46590b4d38f3553f9f8308cc73cf06e0be6dcbb031fac7344ce4cdae297fb3

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b60f60bce2e7171f82c5f5b2480c0128866a9d344d41d022e6fe633d780e8e91
MD5 2ceffcb425011c6da5221657374cd5c9
BLAKE2b-256 4bcb4805c7a001fa98a700c41d32c4e71e3baa577debd38c6390ba7987c8451f

See more details on using hashes here.

Supported by

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