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 --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 --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 --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.6rc0.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.6rc0-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.6rc0-cp314-cp314t-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.6rc0-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.6rc0-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.6rc0-cp314-cp314t-macosx_13_0_x86_64.whl (651.5 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_lrslib-10.8.6rc0-cp314-cp314t-macosx_13_0_arm64.whl (594.1 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_lrslib-10.8.6rc0-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.6rc0-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.6rc0-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.6rc0-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.6rc0-cp312-abi3-macosx_13_0_x86_64.whl (651.4 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_lrslib-10.8.6rc0-cp312-abi3-macosx_13_0_arm64.whl (593.8 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_lrslib-10.8.6rc0-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.6rc0-cp311-cp311-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.6rc0-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.6rc0-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.6rc0-cp311-cp311-macosx_13_0_x86_64.whl (650.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_lrslib-10.8.6rc0-cp311-cp311-macosx_13_0_arm64.whl (593.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_lrslib-10.8.6rc0.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.6rc0.tar.gz
Algorithm Hash digest
SHA256 112605fc89ac1674a0725dc21b7679f1b6c0a0927f6165e3b22ff5ae5d3d37f2
MD5 6a752ce81926e83028f733058e6a6a16
BLAKE2b-256 46b1ed3f9d54667715482962c921a72e129897e92033b268b6ed99fe14f036bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8bd6661a5adb965e2362bdd5c26107f90ec89d836b511ed9d30da6ba4eb56244
MD5 9525e917f5129352af9702b548a4a92c
BLAKE2b-256 84b258dcf379806a5dd950d8e1bd6e11c26bf3e05971c4f1e0c254dc1dd864b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1da7933028fe9bca302f037ba44b63bbee9a5e3165563134b91f856d17cc6ed1
MD5 047ca0f683426376ac37cde4bbd41895
BLAKE2b-256 028815c59b3db520ed21a29c3907436f80b05be85d7648e410af344045f0324b

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc0-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.6rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea0a9af9cba2f1347072989a0cc18db6f4a3f40b783e2b1072d8f41ee43c2cd4
MD5 8a97a09d7624cb623fc1254d198e42bf
BLAKE2b-256 eb4cc62dc23e621e32364548f96eb1af5b52ba5c96d8a867152701214828f09a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d28dadfbe899ef579e6d79bc192ae5f29ace8e5de957184b5b05451976debf89
MD5 a088f632727004a53dba81ecc037d447
BLAKE2b-256 9db03856dd71476f9475c1b8715b6999da4427c9bcc2a5cd13c36393fd34e01f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f595a25053917f1090e17fe5e3c9bf1bbc10446c210f943e96eb29237a29978b
MD5 9ed2f80a83fed0c145b8d3631cae2627
BLAKE2b-256 f7ae11089e44305829dee70084c8280c9ea599adde68a781047d3f72e8b00963

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e980ab2866057a802ebcfc9694b35df1a99896c64d3b118ee3192ac0599f0e68
MD5 def068275646e25bcff4974c4cb0f513
BLAKE2b-256 676e7aef261648a2f5a32a820baae37965e73d4f633f7fb9c02e1be1862b95a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1fa2289a9f63f8840f963e033cc1b00db2b1e91043a72b21cf27825d214f7569
MD5 4fcdb8bf9ef526849448a30c91b823a4
BLAKE2b-256 51f3bc8b3ef6a591f25853f4a432c37b335874030027c7de6f2f598d08495072

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5d443ed1adc8bac62867b8246f7be477674dc18c8101018604867b9170540a09
MD5 b1f0b403847abe75cacf1262c52b5a5c
BLAKE2b-256 0c5e40fbebdfdcdecaf9b413b04502a54e0cfff93fc0caad46acaf2f57b82107

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc0-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.6rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b3a0e34ef1756ecb28970109cd32cee5383a1aed348b62c3bea12dbc54f8d47f
MD5 7be92a8394eb4eb3b034708ce619c6d9
BLAKE2b-256 fa2238c62be915f32f99fa131a0d557ba7343ee6a36f5d3d429f484becc64c47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d693ec47dcea5a77c434adef77c7e69b0271dfd20828a31857d640ef6251e4e9
MD5 b0e3b99149e75e00498ebd2bb068fb06
BLAKE2b-256 ed312e48d303dc62b712d1237fb6b7465142fa82494ff7b7c85e0a1a8ec071ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f07a7b58639b6796623b76201c1b6a815a877ce81fa4552d9c4338011baefbf8
MD5 090d599ade4b5e8b97e66b85839d7624
BLAKE2b-256 84d8433e3b5a45c3e52b5d407685cc673364f881efe458318c070e0ff3c4cd84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 14536e26ee04c944d6342c38693df1561a4b147e5b53d87667fa3141233c1a6b
MD5 d79e41b5099cfbd1bb766c47b9ee5936
BLAKE2b-256 95928c9385f4d151ee7a033c21692e87d6da61a1661f47dc71fe34ef51a92107

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e84507e1af1b5520ad6710ea3fa637357fe1894236c0f0fe9b4daf5d2e3661f2
MD5 e1bfe8e94a11b9aa3f61a15ad81ca649
BLAKE2b-256 a64bb79aa485bbc8e0a38553a974da274133faf1d54f2af223111aa472059b88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1d0f15ff4ef16c45f5b9f7fcba27c7704ff44bbfce4733c96ef6a63ff9a9c332
MD5 baddf95feae5a1df704aba4762ba2e02
BLAKE2b-256 431904214f0c3bd9582ef310afc9fe8e07b61099a55e48254d51628fa3a22645

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc0-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.6rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93a6d3eccdbaf624e16269e78a556de90083873af07f7a5b08ed5527eca95620
MD5 b97424727a0f3ae02096aa70ad497765
BLAKE2b-256 df5eba79810d4e5393e412ff2841b7c2881afb426d401e2682559bff183fb888

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eb28ccd5588e151dba83fa0ecd9f088cdd31a6b029d71b04b115948a3bda1b68
MD5 c04dfc0e52ac47932fc430be603e9d49
BLAKE2b-256 dbd5e8ba86238c55bd9de321ab3b20a4796c90d869a3d2958bc35a44650322ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 57ea47525fb69551cc3f7e4eeae8e004ececbe041ae6514c091c617d7890e00f
MD5 48d3d55dd8f6e62e7f706ce63c2def36
BLAKE2b-256 be61e728994dbd9cea11e076025ee43b5313f1a1c967974f946593b21f89f532

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b8424dfebfcaa78753c438480fdc40fc4878b9a1319778de3a2a43489f495e8c
MD5 359da717fdeb96c0659837fdfab5a8ba
BLAKE2b-256 91e4c7a3ed4a6f20c114d33a97163001c9e3599ffb8f39cfb8efeb17b67d5600

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