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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.5rc1-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.5rc1-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.5rc1-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.5rc1-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.5rc1.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.5rc1.tar.gz
  • Upload date:
  • Size: 5.4 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.5rc1.tar.gz
Algorithm Hash digest
SHA256 fde38c07a05e6dd4abfe32cc4765a80f81498cf34304384be3074c789a6bd2d3
MD5 cd77813c1a39c26af26e80d5b8046fd9
BLAKE2b-256 6b1a092bb149e4cf363d875cd5e071f4c4095d42c70b6b4570b7d2b71fc110b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 55d5cea3f767a4cee6987b80bb5456b3a3a163085364908986a43d308fbcf411
MD5 cb936ff3a18e0a535b36dbe7c9d0f3c8
BLAKE2b-256 63c844582f60815974e997e1f7110c2178952099e8bb40492c16cc832c20ce85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 26fe8ef83bba15fb2da0147b0e92d0648db4d370b8aec117727a792f905d899d
MD5 a72c1049ca76708b1ea3fce7e5f9c8cf
BLAKE2b-256 ca69145444b06a5a2fa99e83805484db766ab2ec68b4908171917a832bae65b8

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc1-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.5rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb831f33d93b513694aafd07932e18e2d7379633a2ae73fe658002f121b69eaf
MD5 69c0f1c95b2256d65a324b21c96134ca
BLAKE2b-256 715ea14d6ff8336cb5cc0be0288a074ef6231a9379834afe1b58d67119041ef6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7473d4a79080f678a698525aba6aa73ef315f8817cab1cf96d7ed29dc22dd50a
MD5 0832d9ba9bb3d322c928b5dd599320b2
BLAKE2b-256 6d5111b94ba9135d9d176c7be6cc8f059409b662768451f5b683a1fdaf61eebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 407dcf415641914e5e021766cb5a7c52ca935b5b5529987521c36258e332f2bf
MD5 39aa8b43c11e4de1bcc0ea423f4e1dd5
BLAKE2b-256 0fe2188c449dbce1161e7508b34d6fbbd981f2ffda2f5506e180ab55f78177be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 13dca2cb4afe5428862aeb1bb18f027667fbd2fd243527c88853a941870d1f6c
MD5 4308a60c3cd5bb6a131fed2599487e67
BLAKE2b-256 63283adbac7e388cf41dc0de3a3c951356025eeee9bed3d46968e064d3e44f2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dfb7f492294a3e569ee2ac0d083baa56a015e24d56286294eb67ebd89c48590f
MD5 15633aee5087b16383f033e230d324c4
BLAKE2b-256 653512c8e7f103498d04689e9ba983ca3c5cc300ca38aa4fe16fafc33d669cd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3b59f6582ab1679fb6e40c61734c49521e6befb1930faba59a9d0098695b4fe9
MD5 0d54816ef599e83cd9f338b65b62d54a
BLAKE2b-256 d9cc34a9c4986565dc692d3fb0251c13bff9861c8141340b8e62bb8e09de23dd

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc1-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.5rc1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc1d9e078810c7e622609d39070a6352ad1b69a63a88058dc96d3c1eb42de702
MD5 7b1d32d2bf6debd6c17ef42a875afbd9
BLAKE2b-256 0453d498836d40992b1f32957e6e699d06814d8fc8b849c3f1294b67424a93f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 03be78bfa880e34b13a5fabfac9d3ae759e3de4344fc2326bb469277ab42a34c
MD5 902a98083535116c7d70cdfa72fab640
BLAKE2b-256 cb15296c31968b3aced8cd9c837bd85318f0adc5779970d939a8135bf1ffd854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4b8caa896ac63a894c8a08a4ff16efd90438477dc8e3bb90db00bced69e10ed9
MD5 ad3e348dc1a5751179b566f45917d68c
BLAKE2b-256 6663f5f5f9b2cbbf815e9a3d866a5cf830f8971f1628dcf326000b2809cadbcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ea02807e5ba155c15bc38a4ad63a3a381fbf2bcddceab0765e8ce4869370b9b6
MD5 9f26eeb899e94d1574796f3cd64e187c
BLAKE2b-256 cbf055c98d4ed6e8ce185d613609a217d727d597137256f8acc419864346c4fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2b4a4c7d7fd561b1b440a00ec04cc156ce7655c39a4f4a3e131a3aba3f642fc7
MD5 7d1debe8639d00b7311bd7fb78bfd32e
BLAKE2b-256 5596d55c8165cec54b7a85e2130433f4f8b9ffee47edcc16e7bda245693b9687

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1a4948efd45470c5820b872fbab382badcfab7e9cc63a9b3ba21cc22c6f84e13
MD5 a5e4592d392b783a31a9fb853a52fcd5
BLAKE2b-256 f4930633d334d2824abeacca300c744a4b47cbfb75b0ae3cda44329d27228100

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc1-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.5rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1b3579fe78aebe9de60b5fe40945a5b30955175853f03150fa28148b20fb493b
MD5 1d0bf924451f0b010ea3481c8e1b7462
BLAKE2b-256 b2e96a44d3cab3389a293976b03e7c5c96d050dd952c9557c8969e6feb4339d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c9fcd9b4e5f4ce07f0a195bace5078fc6984943ddb74898ab3b7f1a015f6af8b
MD5 df276cd5169d1b76719756f585355bd3
BLAKE2b-256 bef54989b44f5eb2ede0d36d846550a37d42014c2c7bde1bbfbed0cdeef0d0f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7f8853345991e69f83e8afc6b6ae4f4bfee1a7c5b40ef85585074739900ddd9
MD5 1b2d23da10e6e35d790eecec70a3e901
BLAKE2b-256 5591a84c0f71c660741891c0504aa224ea3b7529ea77fd4c4f13a4dcd72e26b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d1096182a1f99ad157a31404fb0cb7280c766b0b0df7527893726fa6761b521a
MD5 85ecdaf67d908c0a6a0ceea4cf34ebb8
BLAKE2b-256 5a50e60533734957e9f45090ee3b935c86092badb99eb360875827b7fa35309b

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