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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.5rc2.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.5rc2.tar.gz
Algorithm Hash digest
SHA256 c555a7841cff5218f3535f7928c80c447c92bc886c87f183391b2d9569d9d2e5
MD5 955badc70ffcff72d408f08e92350cc0
BLAKE2b-256 896459ce2d5c12a183612e06844a37d218dc37afa29e85d1270fda63e5ccef24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 df0f2d499308ffdb216891f9c2c908f4a1df1eec1cf2e03020f3a09b8b585a25
MD5 12d61889315450e165a0d2ce8e002678
BLAKE2b-256 2d0731c5f2d321a85405f2837e2fcd0b854b4ee2806602fc189feffc56c288c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c4b571625444ba1cd9cb07a5d90686ec9377951935e46ae973120c76decdf19b
MD5 52809f9decc8041fbeb94b23b48d3f92
BLAKE2b-256 182494dd563094f524c34e13b30706b7ee11e4798a0a91e800ae3a685d8e7dd6

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc2-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.5rc2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7cd1d22fa0dbe8b1e98acaab14fd1697b8dd4ca0e37e8cb8525e988e0c79d7e7
MD5 a7b1103d348ea9bb345d2de7ed3563ba
BLAKE2b-256 0f63466d81673c685647b136708aa4d88c5e936bbe1c181135d34387188c2242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a7ead2306fbfe3b992921eb7c963ef564def2f8451e29efaa58a6d954166225a
MD5 eb55ce4873fb158b24e1a9cbb33da0fd
BLAKE2b-256 fc7e4b90d852d0cd36ea8d58e30b615eeb69db8314e5b69f88668e83aefdaedb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d2afe06da5dce4b2ffa2217fcbe68b091b3f600c3baa65f00ff2f2940c0d1ea1
MD5 9198df554065c97f0f85ece1038bc0a0
BLAKE2b-256 492952f4310dce32f73f4fb3b8d3742844a42227c68e3e0a18ee8e2f07114235

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ffd0647be8ddf03ea10f757b9d5030f9299cb9269f65fcb15b70ae99876f8e39
MD5 bf24e228ab88fbfb101ef009b8d2ac2e
BLAKE2b-256 df7ac8695de5042146bc3dfe5874421f2d836e36b32d67e8f504a990f1c2801e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6adcaa5ee0c93d65241f2cfb3f2d821758bbd854c46ec9f742524a2b25205311
MD5 99646bb12de07874421a4b2e2e473874
BLAKE2b-256 a1236cfaae0860f82ef21cbd4ed3c3fc0236a49b3991a8fd461a34f3b2ce5e5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c6ebc1ff187a2cd8d89a49820bb56eb2c1b4eae6d4a66a985b69fe0629a345f6
MD5 50e1f48384b6be48d1e22fd239fe717a
BLAKE2b-256 b447b58eb572788dd0015be4e99da00a5377c2d6148b986962154b84d896c538

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc2-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.5rc2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 54cd163768b7b8ead188119ee1acb3654127382b571a3f6a5439a57e12eadbe3
MD5 86996f387735cf709ff2188bae9a79ec
BLAKE2b-256 af21d9253edd285482ac8b1feecfd89cc0de17778571d29ce52d932053df8aba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 44f6abdd1b0815dd5005d73e08537c37f5afe6c104262beb184be26390945315
MD5 d12efd1efe2c1bdf6b52751d8df76589
BLAKE2b-256 c83c6864fffe187311955a337df445271b81e170dbbfa86ccb9708728e67637c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b074f753698875c84aed06198ae519adbab430d7f69dcb967ccf4d783b765ef1
MD5 6405ee34cc9e6a8b1c25366aa360ffa9
BLAKE2b-256 521814bed6e6fe663622cd7a798691d71bf647ce7f020817af3ecfa71f8e93e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b91136ef749d83cc9928cc3a7ca155c1d2ca91bdf1cabda43e8db82bc47d6bc1
MD5 7361e1e60a1742b96eaad146a08f12c2
BLAKE2b-256 ae3377f560155bb3c38563262d4965b2f2d03eea47d27e3faf308b812b831f17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dde7d345adc0fa0fe1de4f40cea9876910ec305212cf13d0056e1ad403f440b3
MD5 26f3691ef92446e6b835310894e69f46
BLAKE2b-256 3f891b9c3fec0af03bb58756a6328e31ff36cb4a01e7de2306b781b5e89fb3eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1764a477041bf1d2544b150ded69086e4414ad43bf50909a3dd705f100fa1db5
MD5 606b2543029f596b16f84bb1645ff704
BLAKE2b-256 eb063c8f03446a9aa1825e4a927575cf67cc67259b9cbd4cc497d63a81a45cbc

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc2-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.5rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20b498b7075ed1447d3aa40bc2f55dcea169b74ae410aaac09465778b6f0e69e
MD5 84fde93b4b2a05523634356933914b1e
BLAKE2b-256 8894d3e5d246b6ba2e0caa68298c171311728b48baedcef39f172239be8faa7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d449a8c798c513d8634c0eddca44dce1b93295ec9cba11bc005f48049dce00d0
MD5 fc43ac143857db12eb5bb9fab39586df
BLAKE2b-256 6a9884ea6672775780562ca0d7edcd50b0c7c9aa187dc7272eb19f2584e1ce81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6702d51dcbd756dbb3988d19b12bb676916305e504050a831daede0c074f25a1
MD5 8612ad4c337c1080af9a62a322b08e9a
BLAKE2b-256 3f48a706103a3eaed86965cb8bd391b8c90c7783a0d254380d5cbe5af08eba89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b310f43f2c3c1f98dc23df618bfb1bc7dca337cae0dec4cd44388cb157187f79
MD5 753f7b8d011331af716b578bf81fc7e2
BLAKE2b-256 cb6d6fbbd3c712af1b8faef66722b40e0f64a5b21b703d276652cbd77604773f

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