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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.6rc2-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.6rc2-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.6rc2-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.6rc2-cp314-cp314t-macosx_13_0_arm64.whl (594.2 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_lrslib-10.8.6rc2-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.6rc2-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.6rc2-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.6rc2-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.6rc2-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.6rc2-cp312-abi3-macosx_13_0_arm64.whl (593.8 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.6rc2-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.6rc2-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.6rc2-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.6rc2-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.6rc2.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.6rc2.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.6rc2.tar.gz
Algorithm Hash digest
SHA256 4c54570de2155c07c79f1e46cfb5e6d5f9f9ed8e890c23a1bff32b47c5d7ffff
MD5 43d536b1519e19075cd10e14fae81edb
BLAKE2b-256 a922d74c2402ad869d99a8f2b7c2c01dea5e33a516493f24f929170b0446865d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a4ceef0b3b966a9f0b3c5332890f9fbb3abe9c591b42a3bc986887eb38cff4c0
MD5 09655d5f9b069f6dd30bfed2333e4a06
BLAKE2b-256 9517c8194657ab72ec8ca605ad45461b151bde7d994a78b7b38aad290ea120ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1bfa6d1b6ce98218c3bc209c3833d9c11c1854c827200dddead12db6bc8057ed
MD5 80d0f2098869e52a5e680ed50bcb9b59
BLAKE2b-256 4619f196d0f491c645acfda380ed777c126257e90c7b84ea79f35312615b5069

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc2-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.6rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f42a2b78762742b4d4e0a46643f1a3873b76dea8390976d06810c37c50a9e85a
MD5 42f03e6451b0a99a522ba62893003fc4
BLAKE2b-256 39e9080b8d9c0bd0562c6d17d57c246a9e0cca995fe18dc644464221ab3868f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3ddc0d85869917eb6ef21a23da362e9029ca7532de5faec9ba874d30ab82d49a
MD5 0179409a31416c9f1346d8d8ec32ebcb
BLAKE2b-256 de87c499264fa60d538aff858b85f1a9d64d73e7142685300b70dee798048768

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f6e20e9423bdc8f023b2f5b5016dafb96eb252c30c62d25babbab4c777397c23
MD5 8eaf004461a91bf5731a8f1b44c36657
BLAKE2b-256 f0dc11d914c8045dc23fad55b4a3bf177ae4838dfc1f26cabee454c8f8387336

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2ac08e535aeeb634a9d7bf3be2b8e79df0f824b53aff2b86a2536a5675368cef
MD5 c2f1bb5d335b2a625d7c28de58f4c763
BLAKE2b-256 7f2cb0800632d539665b5f7be9920c3a206c6f8e4ba2abdce84331043ead1328

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9641d91543ca42e391945ee02929c87e66bc193b72ba689cdaa0b8e4384f15f8
MD5 7e725d23b699e766d6c26e676e5c9e6e
BLAKE2b-256 3e473928987331e3f62f380e2518b97922712634caf600bd3c55fcdd1d8e56de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 64c20ae9efc78b63fada1a311d75fbe1800621eb4966d51143b7046cda1fc814
MD5 d6bee7189b9b4ddb001dd01fc27f3ced
BLAKE2b-256 d50ddf964d60e4901d63ff2acba3828ee54617851c3f2b5127660bec23fd6c7a

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc2-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.6rc2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2de19e18acb1be0db66bb757064b8d55508595207d1e97abd486f6e55e0569ec
MD5 920c769d00e20bb36890afb297c995de
BLAKE2b-256 1680ea37df4b2c01f237dc8d9f30f2bcbad160999a7bef95073cc9292b79ea2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2c17d36a7b50733ae1fc3e5f02f4be54ae6f8e32dcd16288953ea37b820e4a5e
MD5 ce991212b144c26d91df89b640fd63b4
BLAKE2b-256 ae9691b57d3ec9c853b4d99b1af2f4fdb23d6445f4a80306d2183d2e2a0f8928

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 62adb83bddf58c20847cc8515089cbdf9546413cc65d4c0b85671e9891562b43
MD5 91bbbc1cfc0e91575c77a469ee1d0df5
BLAKE2b-256 b105a33aaf4576ca124ebdb5453b3dc639aea6cff67596ca7c1a652f55b1bef1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4d923dc4d89f88575adad690cfc86ceac493620c36cf6e8dfe76c438e2096a4d
MD5 1d2c9c3b19cefed25d4209528dfcb4ee
BLAKE2b-256 ec60d04c1ca4a0247c173c319845d8363fd42e9e93748c557ebcaf6e523f566a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ca360f154fdbe851430cdbd60dc778f28267aacbdf1d69827676d8c1e07b3a1
MD5 05dc6706b62f9ea06bb126aa3ad0e447
BLAKE2b-256 07b59302fd45013295a989ace342560d75c58289f5c655f3df6843549ca1db5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 de92edfabd255a88c31af424ff26e945401e85f3f529ee4d4f3254a1f14445aa
MD5 b32e93d01782b9ae4e88df202d0fd035
BLAKE2b-256 9592482352b0a9daa13ddac04a5555d8373109a30b38f800a59f8217494ff1da

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc2-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.6rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6e16664c67aca66ee1864f7d7e54ec23d8c707bd9b42ee991e3130fa94c74f5
MD5 29a9874cc0fa1da39afc834d4733f8c0
BLAKE2b-256 dae1c14cd371900f243aa365d8a41e77ba413ebde602429debf27d310eade460

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8ebcc5c5340077acb6ce88dbff32ec127b42df894c69b36fc764950e7e2212af
MD5 1e13c7df55a948c4b510fc827ec9156c
BLAKE2b-256 43f7d69902cc1825d36d31853f835dc515a7fcd6c9948ff1b2a4812ccccfe9c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a1b05c8a0a1baee57cf968d289907282c9db08af7ecfcd732da410c2b1b0b3f
MD5 6e7acc875c4db50c0c2246c54662c7ee
BLAKE2b-256 2853adb21ba717277cee842d3fd12d2632afc73007f65cf712157ae490d34411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 62ba3b1bb543873df15325531b9e38cb5f7563d57b8f582d47c415266859573d
MD5 891f87a554d2118e0b005d64b0145fc5
BLAKE2b-256 9427d49cc798ca3803d747fbda864158ebd82349873f9bee10f45c1840bfa6d5

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