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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.5rc5-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.5rc5-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.5rc5-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.5rc5-cp314-cp314t-macosx_13_0_arm64.whl (594.2 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_lrslib-10.8.5rc5-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.5rc5-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.5rc5-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.5rc5-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.5rc5-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.5rc5-cp312-abi3-macosx_13_0_arm64.whl (593.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_lrslib-10.8.5rc5-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.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.5rc5-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.5rc5-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.5rc5-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.5rc5-cp311-cp311-macosx_13_0_arm64.whl (593.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_lrslib-10.8.5rc5.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.5rc5.tar.gz
Algorithm Hash digest
SHA256 e783afdc6be35dee00031eecc76378909f9132648d6b309295cb58a77dac3367
MD5 776ce3205dab6972ee2343cfcf094c9a
BLAKE2b-256 ce35cf6141ccb75637b58dd0bc84ece3f74996872fe127e540807bb9f29a60ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c0a0cfebf07b14cb45e034b637c77a9e38a78b0800411d11732a6c67f154eff9
MD5 96232f7cb447fd693f1a069253de39b3
BLAKE2b-256 a7805950f795e8f8b53e673bca17ebf4403d76647743ffe31a2ae38fa00b84f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 975e1b90a5ce61f894de801b0b8c69813eb27bd3b58ebd12d4feb0dccbd1d9ab
MD5 44f7c55d45648f78a06a3790c0dbcead
BLAKE2b-256 2b3481d6e9505189829b298070d4d54a05af479b3004fe80a673f65b726d754a

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc5-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.5rc5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc7ee776839fade2f634f89f1a14c90ec585d4a3b930edb8ff72fce036a76da0
MD5 656a4315a66688ffb35147608fdd8dc5
BLAKE2b-256 f338826955e6221927b868d716fe1d5a3b9f54cfaa52865bb9cf6f2a08a3f7b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f6b566448128fbb9723dc149a3c7ead64ee392c7ed29347eaccfb2f0bcf45cf
MD5 731aeba470f63e2f468679e7ff7738f9
BLAKE2b-256 466a402eee0d7436ad7314547be740584bd25fc9bf47eea699fd18ae57023d00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1cb8751a603634a10033ba89cb82560c1471245674fe4b1b1ff58341299cb921
MD5 bcd6085b65b54b2feb550b6999513101
BLAKE2b-256 dd17975668968e27bf87c36c0d1c3f8f3dc06f62870e348c6cb364bc611bbfb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 69a1f0317a1f27c8ccfe453fc408b8d0f0ecb36d18d551de7cba1f3ac1eb99ae
MD5 8e9b1c0d53bb8a2dd08d67f7ad6d4c6e
BLAKE2b-256 ac6c7a88bb0164676c9b9d214d1d4bfe7e5756eaefbf590b18f5cc3e2b70eeaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5262e09fcca3c78c3c05fd891ce7e58318f744d60ce99fed0869f895b51f58e5
MD5 0e53e44791593fcd982a3220f793a22b
BLAKE2b-256 f257d5ef88bc0e96ee10ada8e8603b119df86f43eb2f254e06488e5625a81b1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e176b1f6d03f25c0c6b9172f387bc8f0ed93b2bced169a7588a774180e9383fa
MD5 845502ef400ca8ccb38123414297db38
BLAKE2b-256 9ac15b920909aa5a760514119bb8ca7d44525348c2ef393eea1c41d57e2c3258

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc5-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.5rc5-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a5bc981136432f88baab65511f1697dd7ea3e6701740918cccd04544600c195d
MD5 09a2b76526a7eb7c4186fa1978aaf13e
BLAKE2b-256 a020a3993834b866a2737aec60dafa643a7fb26e2549a8570578fbd32c36c93a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c65588cfc7c77586b50ef44ae89a4e488212b634ce77d0f701ad85944197b379
MD5 69918cfdcb0830bd122e779892615a77
BLAKE2b-256 17978416d61347c84c99268dd61d2dac378029fee82ad34e16c0b7a3799ed258

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c387405d45cee80f18e3022b6f37367dd8a8489c5b0e09e34605d1627ae39487
MD5 a0670de7d27591902884792b8e5fa6d4
BLAKE2b-256 fcd49f6014bc03ad0c273537afa5e574d2c5e7f94a163c9fa7061720edfcbaf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c8aa9fe86a6a8fa44106baf21c7a4e17d5ca3e343644df16e806c3b17ba24b13
MD5 5ae1ebe6a811f2ffd447b1d54ceb477e
BLAKE2b-256 d9695da9b7957dd20500c8274934557e68bd379e7c777a034cd6dce29f63362a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3bbd90bfef7224d8d4de0f49409594bb25a0d3dbb9baf84b5e2e6da4fdaa700e
MD5 5f7be80bb81ab34518e8d0dbf7ef405e
BLAKE2b-256 9fd0d86f45de80097757ef0d1cb7732f95e5b36d7b5daad1d573de2fcddbc844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 65ca046814a9806405e9fb9e1409d571756c9118358048fb0cbf05f524adb605
MD5 86788c5c04447dd9a9b116c41ef9519f
BLAKE2b-256 9c567d0b3bdbd670ff3f59441b0d9a50fac7d53715315b02f355c1a6f4c02041

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc5-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.5rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8b252a17b3d0deacd23f4bf89546660decde1f40418ed09f277b171f2fb0eb56
MD5 a8899014887e456e1613b84ce8dcc516
BLAKE2b-256 bcfcfde83f38e6aaa994ae945bfefcc637cce051c8d074caab6dd48b752b0d3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0eb3c357fe2108d983d1651c4b41423318e9b51e24a292386a0593c37197d806
MD5 85d2101e95ff7259a8ee63ae706d8ae8
BLAKE2b-256 cd586bd95f4eb6cc5351eb4aa1379747e760f3e7ca039d755ee3bc73b9c982b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eaa22720a78fd6fbfe145f1830dbb06f9295a71d5b1d4373ad693d034cae0770
MD5 fa6d960b1650535be0e39532a9ab823e
BLAKE2b-256 c7b74097d241c67dc36a2247fc54686e768ed9276ae397c5668c4a383007b220

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ff3a4f6e0eb993147d27cc14e833827d66b11ab5ec973fdb98c42197480c6923
MD5 fde2b08168a5966890034414bc4fe4d6
BLAKE2b-256 0e921581167c2acd9919c451cfd94e2a148a1d3a4f551e2ace0d7c32e27651f2

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