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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.3-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.3-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.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_lrslib-10.8.3.tar.gz
Algorithm Hash digest
SHA256 3e81ba6af14554d224ec1724f5044c17cc45dd243d001efc2d42c41677939e72
MD5 c356e4d17cd77bef0e18703037b9eab0
BLAKE2b-256 496f35378691ed29b0a2c6c6bca6702d62ff9512882edff742df82a4902b20e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f38c05f5bbe5d4839e2f55bd54eddc1072118e3ac0c4f9b0660ba862c311039b
MD5 a6d72ca95dc11dc9f30394dd278f03b0
BLAKE2b-256 210bdf4d025a315e3b0548ed2e6755db720b594d7fabd92dd3705a8c7fabe7c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bd6c02f217df17a601f28fc100513473e1c7bcb9a80206dcc4b57f8cfc3666f3
MD5 6e243d49049deac7e797d55106caa313
BLAKE2b-256 32c22067678f995efbac0ed700eb2b1c5e1aa3db3ab8a8e29091a0304a9e4b30

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.3-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.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8bb88e4699da9a40169f492fbee69e76c930d873620337cab5ed57aa4bc57cdd
MD5 de2143a5beda67be3f4d715b524e4ed8
BLAKE2b-256 b9fba59b4c68e8680d08ac02bb06bd7d533640356133e6f1be881d5236dda10e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ede828dadd5a983efc899dbbcd55d6379549390ed0be0eb58c5fae7e261a37d9
MD5 da9367598ef85ad0228824239d116288
BLAKE2b-256 ddc6ae1085c9e4aee3906bb52d390f71fee0416a2d17bed580b2d9f279975f7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 098a71686b9aea6d8379780d6fbc70e8ea3f18a5eb8f52ac8b762be1ac262969
MD5 4966c4024cad200da72ecd7ead72282c
BLAKE2b-256 5624c53efefaac4d33821aad86473de77b6e58c5cd73a7015fdf935a0f2c3e9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1d9d0836424599e63bb07f7df4dc12f3454fc42300384c9bd7a508c48f37729b
MD5 da593964ec5378d3142f8060a454b460
BLAKE2b-256 ce5e071e60811fc84f7a29e1cb4009b43520f6b641e375617f8d3f2bfe46fdcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1fce94a59ac61bfe389e67596b3fd42092b7321ba2a87f095bec0b71d4b21ed1
MD5 889b575b55e9f4a6af53034bad49364f
BLAKE2b-256 54066478713783d5c4b21fbca3f029ff92b17e4e907abdaf7ae0e6df05332d4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dddc6186cb2e8b5a109c433fe19708bcbfe9f72f6cb0a0c80e2f06d45d2fb944
MD5 f6fd1585c849189c334ef4f00930f4b5
BLAKE2b-256 a3c82e7ddf8f7e25cb5e7c92161d773c6e0cac9520bb6075abf1df6b84c1bc85

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.3-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.3-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a60ece68c5a596eb8905d8938a6c0104781dcc8fb02839dceceae0c196c9e95
MD5 19a4560601691a68935977416149843e
BLAKE2b-256 f62aea4ad21678333692583c62c03afff4a73155301b8ceddc53e8953a3cb0d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0afb24d2518954857e6990fa234b3020d0f04baa833e768bb916bb65db1aa07b
MD5 9e6251144e909d105c185bc9710b1510
BLAKE2b-256 7d132a9d83bb825ae1ad58f5741e73a3a52ed95529cb88064d94b99a096d6960

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 de1ddfe39ff366c668e6dc1033c06a5dbda6360cf53ab7ebc7cd79f7fb74b131
MD5 0acdae82c94662f3a09fe9136221bece
BLAKE2b-256 700c45e74539ed3beafba413237d887f86e60d8689677efa873ae1c892e3f430

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c2ce1675678c233dbcffe8a048bea48df6051a4da9f18b5e7afff96597b229d4
MD5 07b93c71caff92bb0e43c99032f4f0d7
BLAKE2b-256 c1e53edbe59743a24280283b8c2caa89dc680d8d5af0cc5be6f5e5791b527563

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 011e653c688a32f04152159f514d905c823a58573a3729f7061f455c0d948759
MD5 d8d716982f6ee4dad53519f603f99e9d
BLAKE2b-256 c692b99e4f01441bc6bc83b12318583cc7c90ebe937b13d0fbbf2dd0f96fd62f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ba8e256e57c426b98d1bea04cf172467afca45828a30b353ff6bf6bf461aa90b
MD5 38fbc4b7a30ce0ff9db4b086a1e7b445
BLAKE2b-256 fe1aa9a3ae7d3bebc42f7482c123d4800a8dbdf2e37d02e2405450f77f988739

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.3-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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 30c3da6e4a7336ad266cce99cabd9998c07259e7ff6ef6cf778af78ca5f0514c
MD5 047d2d1711b2f139456cba44a9f5b7ef
BLAKE2b-256 0e0e26bcdd2379abe7703da57ce0991b5cf7005d179746de724fffb750546581

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 56a7b05f5f2d0aa05f145b0ade5967d1b8b478ce82a4660b07d88725dd67abcc
MD5 df854df44b29f8d6de353fe9ed27337d
BLAKE2b-256 8335b739e19fa34c045945ba7d3a042c59467d3a8e462612887e6961e64382a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0a83f77df2504e4a35e85b53babe259c0e9f6860020eb303cc44a3259cb09543
MD5 4a117f4d91a91f3e35fa7598aea13851
BLAKE2b-256 b5246549bbcf1f3a181f3cd99c3b26d333da02e2162bbacce24ec9e16bfce365

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1c395690caabf9fce5a166b60e452575d30e73474f27af0866feda718f8c29c9
MD5 05a4070ab14a62d573212f5ef17e47ef
BLAKE2b-256 32383f7abe17087173a84c6f692ee0e2bee1be7df59ce3e22471511f1a9a573a

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