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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.4-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.4-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.4-cp314-cp314t-macosx_13_0_x86_64.whl (642.1 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_lrslib-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl (586.8 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_lrslib-10.8.4-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.4-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.4-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.4-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.4-cp312-abi3-macosx_13_0_x86_64.whl (642.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_lrslib-10.8.4-cp312-abi3-macosx_13_0_arm64.whl (586.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.4-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.4-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.4-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.4-cp311-cp311-macosx_13_0_arm64.whl (585.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_lrslib-10.8.4.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4c8f677097fa3be16696a4bd8b07e9afcbf228c8a06e14bbdafe5b8f9c0fc7eb
MD5 58d4216db23eddc808e4da7f49081a2c
BLAKE2b-256 4ab1ea44b6dab343addb9c39ef82c79065531c02829696565b0b99698aa0d1d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cbd82c065be6e2a8988c714a0a6b913acddd0e79de17c0ca138de1727db800f0
MD5 fabe78abb19ec6004503aa5ee1b075cb
BLAKE2b-256 19db6e6b4c09d65477e0f64eb36283ab14f1dec1f72756244044c63921759c94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ccd0bf911407fdfcf8244e43b51a0445402e2b818e0acd6b02aa9db2e65c688e
MD5 3adfe284a450c44b4fdce369689c3534
BLAKE2b-256 f46eb5717676b1d740f8e57ef6362678700ef29ff6d392ee8e65e05fb7419ea8

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.4-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.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 114099c5dc89f40e02368cd2146bad92331cb362b8456664e617ee8cbef50f07
MD5 bd7c289fdb2ac654f0f10aa7df09790a
BLAKE2b-256 599ff12dc9b2bd5ee7c420b892a66e13300a920742d141fb22deafb94b7bce50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1c0c1091ae3d04116ac367ab02f0f265fb790cb37493d66b525735c69e00341a
MD5 ad482b738642101130462bff77907755
BLAKE2b-256 f241479087875c2998dd7a2a2317c079beba1699898252f6ed3187366a5d7776

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 37f940b937d545a1e5c202c9f207f51ec53453104ee287c245b4b2842d92da02
MD5 4516aaae475c69e833997e7fe5da21fd
BLAKE2b-256 aa39fb039e8b01232e9d0c0a7577685657874702e3a5974402240346d5ae8843

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e34180d73f3c2a90f910b40f414d28d491739e2d62da32c2dd9ba2902bfb0c00
MD5 dcacee796b93dfc971d6eabdbfe0b52e
BLAKE2b-256 7318935ed3bcd3e1c50619fd36479a1bc007999e23f869b64ac1b7bc542bb172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 800e37e591b580c36aa78bfb4db89fceedd0506922b8cb6d753eb666d7228b66
MD5 fa05cc04026e09b77816a03da0943d79
BLAKE2b-256 fe90835741d3a00ce4d5a9d533433c873571bd7df5b4f1e45b26f2815f9262ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0563fd914c541a6109b0f76f30725d18a516c6194d789dbfc71a7364ce6b6ed1
MD5 cd645e2abc7453700374ebb480fdb4a7
BLAKE2b-256 d0cc2e1d6e9f5ea597eb0835dcb01505ae5a02b5d91e57a5716501d967b8f790

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.4-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.4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 273240562bb15722729c74983f89b1b34f5bf353c19583711fa9c408e62f28e8
MD5 f887e3247f12da26a7f7896f2cf72130
BLAKE2b-256 2818830f5f39bf119bb625f5d9ec569cd321b95045eb3e7bbd5778c67ba39e08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2eef9d8d9d9a262d37486065f526f5c7d525c54a4b46d6ae7ce99f55c0318907
MD5 5c18c250a8cfa119d1f8ea8980794d2b
BLAKE2b-256 235bb21cd9508f1b29da1a90117b7fe8f354fcd119a7568b4aeefa72e6f75ba3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d52b54ce5604a1589898f78092bacdd80c6d2c4fb0a0db227fee864897438700
MD5 07fbf2adaba18a2896db5371b5f62af0
BLAKE2b-256 b6ab110f17c0e783829b4211b8d7f2a955941c6d2197e8a14f1740e7979c871d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bac038952bdd41945db74dd37973f666a20161363a005fe5ad646f5ff8401fe9
MD5 60ff052dd5f2894c8589ea74d6883f6a
BLAKE2b-256 81cc1d7c93ca25cea3e9e1b1e0ed529879b66ae718e2bb34d1d2b154a0a3adfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2f0c524cf33e4409d6ee835de578f3f6f0ae03872b1c0a0528a853a28b5d5b8
MD5 44d194bf0f09c337b7466bfa5801c31a
BLAKE2b-256 52f869b774eda75a72e8e45b6c76952001112fb0521138a3e947fea8f3d09e3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 21f49100f9e1af2fcade3d855041fa6639851aeec6fa9343442e16679de1d64d
MD5 5faf9b6fcc782ee236bb0cb317d71378
BLAKE2b-256 e1e4ee372cbfbe83e80b3c6b72a262c61dd34095bab398621a19765a3f1e6e2a

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.4-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.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f0abfd3f893aac469421b579cca0eac8f14b3a5dbff3ed1ef12f984a9d340fa
MD5 4e759c09bbc2640c794f77f07a53bcf4
BLAKE2b-256 d6e8966f1d75722301b406b8f2b329dd8b9ffc92134f3cf5a62436240720132b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c5e55662e88944323af70b0efcc56d7dc1e1e4c7687703e915b51b99c70647b4
MD5 e84d0fdc2e63bab1abf90d158f527419
BLAKE2b-256 7e105896cc2897ce782a7cb5532865993273f9e1c946fae5dd25449af91ac0f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1f5a56dc2b14ae09dee6a3152e04ff688be8e24fb8ab884eae81f256a3f3744c
MD5 84e41d0f616e0df940f0eae0ef3bccc5
BLAKE2b-256 a2258aba28a834f83c6ad991c13a742fe8d1227867cab2f21e750c4a90bd629d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9745ca97cee91145466d47b342f7ab44e648cf903471948d2bb2f1b2d7071c8c
MD5 f69d5d7dda9f74cb07e6e30e565333c0
BLAKE2b-256 a481fb581d90d686cce86791f97f371ec4e820570e989a006f7ab99d9c8db477

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