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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3ff62223c6aef0e2c1088daf5fa921fb8c398558b2ba017efff4006aad1557af
MD5 e1602c26ffe4a80bf21b5f9e6c5df2e4
BLAKE2b-256 c6af08b3ca8cbcf36fad44e57a78ae12ad633f1e8021e71658f392bfbd3bfc5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ad8ebd818a02559d448e3046db018d642884fa6c1aa8d1ba12f646e01637dd7e
MD5 17eb86e18d1b8cf95de8c9b8ceba4075
BLAKE2b-256 d13482b2c9b362b0de93dda8497cbb19d6d48f0f66b622cac18d662fb3a79511

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3c49295ab061378752de486a6bd0bf3235bce5f163e8304833bf1b5ef8be3abe
MD5 5103110deb9c275de28720a4f8efd5ce
BLAKE2b-256 edcc7a66e1a6191be005007cea525cb3c1011666669fd66bf4416ef35a865ac8

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5-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.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b9d022421242c3fed11d395a256408a8c4e847c3370214b973a132a32dafc20f
MD5 88247df68971d829eb8116e6e8684195
BLAKE2b-256 e48b925b2ad2a62d444b19a4d044d73bd51d1ffcd2de7e0ff17cbff4f5dcd3ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3ef3162325434895d39f5a51a8db6fbd9e20139c3939245301f29519f386443d
MD5 ed8f67613d8eb514fa75f6c9de5f743f
BLAKE2b-256 9d46a9641f7ddf98247f8b1e898a6694b940f72159fb383a9012277ecf18cb6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0ef9d160ffc92b7452c04f7428ef292b794ada7e54a17ee8be9500057bc7d0bd
MD5 258626ce0b76083f5162b6de079ebfc3
BLAKE2b-256 2771482d26c1970eddbea0b40c6f39d7afdbbb89c56134ed7e725b1c8a7fbe45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6fc5143b236dcf0209aa49241c2eca6cc1ce8c1a97e8869a7e1026d78d71b915
MD5 9c6844204d92463e0170ab7787a2874c
BLAKE2b-256 c5e534971295688d208389894055e186b6e3990e24e8c82909c982cb78ded128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 118876fd0b9eaffebd9d0c414b346c35c0502514508556f407bf894b1534c0ed
MD5 e0c9a2a0aff0e3cb7a498a82b939687e
BLAKE2b-256 54cc5058894c85824ca205fce4e20c182e7ba7dd793d896962b89a819ad3e344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2364b1e34290aa8e48342cd8793537d83629aebed582381d8957213c75448d96
MD5 67b5918771231fef8f93188af5d446f2
BLAKE2b-256 5499fee94c7a4570315bc896effbc2cbd8126ad846b60cfc2df821e8251b3b64

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5-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.5-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce6e7dff3a68b2d0840a9be0f15a708505357f8dfd7a5655faec11b18a86a4fe
MD5 6c33f29e6179957bfc897743c598af40
BLAKE2b-256 7774efa08d6845cb84f2cbf73d3551d4e487e73a963254fc3a7d99d75488a5c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f2ab82f88c37646238ee913782cb2138d50642cb18bcf262ad02146ac771c5e9
MD5 edc7e32d6320fd2b12612c589a362552
BLAKE2b-256 d0128dbedef0f21ba99b9a7af3331ebff3c1dbdec8ba344cec276ef102f7e49e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54136cbae1ef331defb813f025aa284f4946e73b692ee738c508aac44dbfb4f8
MD5 0f6a7cb4c798f03e22a1e21aa76635e2
BLAKE2b-256 c9665477a617db7ad204f11b90f377bfa6587290870e7e71a4814aebb49ba973

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7c3cdc5670802b9b3ee5bdd0c75cd17978f4d619d074b4ce88915fadd0a844da
MD5 99678eea401770a2c7bfc359d622dd9e
BLAKE2b-256 88e84cfa332a7d971e619d13902df4b432524f2de1bb3b8b3a8ea9ff0ef57d76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5d28f0f4c965d34dc77c61cdb9bc3555a0e311d9e739e8537c90b64cfdb3efec
MD5 4e0d098e9ffeef491046e0bc54053fc3
BLAKE2b-256 b28f5601401f8ea4eaa4eb8d3bab0feb099cb44de45a0c7faa83c7c5470306a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f92e48ee247581a7ed77bbb104c514c571ac8b92f83f43f4d1d8c8a998803fa
MD5 615f8ba51f55b9cb60d0523e9221bdfd
BLAKE2b-256 0ebc811cf4b111c5e07dd647c9901668878f3315174beba86d2e07fab290ee8a

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5-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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3badee87b389f693e3c486485311f497101c63873fb38fc5be4d7c4ebb67037
MD5 7aae5e42a647382ef63bfe8ae7983e00
BLAKE2b-256 45b364a9cffecee7cbff35723bdc3d08d061a1ff6716ff2cbdb2584826bbc3cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 273f375da1024b157513c6ebedb21ed7b064dd851811821cdf1fcfb023c6cce0
MD5 4ca6ec7b571f1c74e43206a4d1f8f080
BLAKE2b-256 7f686a04872f32c43df4e26e1e987498aa5df9a42fddb5ac769fc3441c98944c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f50fc177a8074bfb3f036da647ea0d0ae112361eb68ff8184491a5bf1a10f6f9
MD5 b27f994247401d4c1b1d5079d40670cb
BLAKE2b-256 b9edc8359b6741ee7b89a70703ac796b8aca5839a460f132451825ecc81bae83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 54f26ea9b565ddbc31891ecb86aeda8417887069292c4c8ba953baadbe5b1f4b
MD5 d8ac1d8e42327525721379cff098058e
BLAKE2b-256 ee9a978e47471f9badf995ddad99e89f367055a18181e5d43de7c45ea688421a

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