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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.5rc3.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.5rc3.tar.gz
Algorithm Hash digest
SHA256 6d65996c40cbe40aeff6b1a5bfe1e6f017eceb0c9cbb225ebad71586b2fe70a5
MD5 60e93f7f7e9e4b160831fd0b2a9228bf
BLAKE2b-256 86eef95c2e78e9590f6a0b7685757402d2eeb8cac5e309d07fac07401a230646

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c5457743d11e440c89174a1d1dfcb9eabe28205eb234bb06dd4c95172bcbd31b
MD5 61bc03b0014399beaa7c574d3d41b9ac
BLAKE2b-256 b87c51c87cd48da630298075c756fa68bfd4863fc003dfe5aa405a1672d5d783

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6e48bb078ab803ea815d27608c41ffcad1bb9e76e4581f28842fe29c3d43356c
MD5 a14248e46c6a03ccc5240f9ffdea7150
BLAKE2b-256 ccba36b35fed714812fdbb9a4057c9501eb0f7ee1c8bcfa6fff93157741928fa

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc3-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.5rc3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e27be004665ac327a169441c5020657bd4bfe47bd9b67cddcbf5ee4752d52551
MD5 e230ef1be2f1c88d7d9c7cb3fe06b7e8
BLAKE2b-256 0c9016274893415212aa06a7e7b9605cb9b84e9325df25092010fb018d3ebd28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9837dc5ec2337947b844c83dc53eb897c68595a9cdd6a1d9dbc64f9e36d9f914
MD5 e9ce3828d7e131f8dd563b15a6cc9f0e
BLAKE2b-256 669326521a25bf5cde49d01c50d178637ded9586a5173e0fab9f7adfb3cc08d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 90be3326f6fc687e5d154c9738e0f368746d143f1e88b13f290bf285f0ecaaa5
MD5 d2dfee29a56e98b88737a83d6d3fb770
BLAKE2b-256 2a0ebc620a62ff6e86c0f025bb46aff0696f45cf967b8faaee2d6102e2342b4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2cd8ef927f981544581824403050339457b26d4aed4534ed0bed85287d6507fd
MD5 79366e473a5134b5d1b52ec29778a936
BLAKE2b-256 dacecc8c28ddc552e0ce79633e224fdd578bd9934aa85102795f4b15425e8e21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a8f92a61ec74a8adad6524b4ed934c49e01dd365a2270f1f14769ddc876c4550
MD5 803f29d205c31ee25b5251acf8522248
BLAKE2b-256 1882b2f3595096925821fa51f0733c4453f4964b59e0ee06318d6a22c1064327

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 94bbd57a283512b0b13d27bb647f1cc73e4d49f2193319925fba42849c5f8a45
MD5 868b1538b4665de06acd45b51d9d8e72
BLAKE2b-256 230bdb32cb25b685549842f08670dd1c93d20f24a3acca9e88e103a79788f86f

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc3-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.5rc3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 491ef34130e5a78f2798d735c129ccb9e94afcbbd9c61de276a17bbace436113
MD5 eb9ff088adc5af07fc503430b50f43a4
BLAKE2b-256 66a071a70014e867dabec5c6e2f23f0efbd14adc624e2f0bbdcc3963ba9dc655

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5dcc21c9d56aec5cc5aea2ae3ccc97284e8dfe25a0b2c621985046ad6f2fabb3
MD5 f174231ef3ce15ce7536c3bfdd14d0f6
BLAKE2b-256 fe5cfdb598aae28fc784702a0589e2b6d1c727b8ef0696b3d0d093382dc430c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 63aeac54d37bb8d05e6c2cc0c6afaabb44b6e77c2d9cd138431f0917c5b35026
MD5 d7f6f8dfb8ede8ce8fe8808cadec80f3
BLAKE2b-256 bb6134634c16a08ac46ece9805bc5e28955c8d0f8599713c377ddcc84c4968b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 092d96854d88e539dfe0591a307405cb053efc897fa5a7f8e493afb4ee0681df
MD5 23d36da3e83b3b10d835bd2a36bf8e8c
BLAKE2b-256 acd60ef90996a25980c63bd4e5ed766274603cff77067dc23f9bcbed3bb0d856

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 53c3af4f87203db231dab812992393cf4e1116abc477ebc59c346e2fa8b284ac
MD5 cdef780db9dcfcc3f638e9d2d78ee1e2
BLAKE2b-256 af143a5d67839c4856563623652804f6b5753f990527c32d8afa896eb099056e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e01f6feb99a27f8abffd1aa3f6f9d07e2722ba33e55ce431281b5237a2ac79ea
MD5 7674909e859261fef1a18319d6b6602b
BLAKE2b-256 87a2544303597643e2d264dd7726457b77077defe83b3658757e02ee1ad5e049

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc3-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.5rc3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a4d919e0b407889a52790be718e76dcbdfbee8e3e03d302b07b1f287e7989c8b
MD5 023b2d36ed701925902094d85a0feca1
BLAKE2b-256 6f4aa044f7a0c4582ca1f5b26e1868234691889aeb66664f0f2987a454df5464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f4875a26c1d1d945a0145e9f93bafe28b5ed003b40f52aeacfc80191abcdf22c
MD5 86b1be9503073c9d39039bfbf21cc5cb
BLAKE2b-256 ada409ecf93ed6bcd1941552b84130db5749c7ca8675b827bec756284991247e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f3b0f1626526fcc498b7aa65be47ca53d24e44125b7d5db0987f06ea4c064fdf
MD5 877547606b5ab61a417e76ff6e5cf728
BLAKE2b-256 a786662d3b8378e3b612b30ee14d96d3bfef6d240668a0c187e2bdd2979f1267

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1f41884b857257ca7c1ebc6b811b0a4da246c8030fa91dfd0e676e1cbf5005b4
MD5 7508fcf24d04ee6c624a910a46389b81
BLAKE2b-256 30412ea1cf445a82d203c79adcbac8f484009cec5ad2cb529bc960781358dd18

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