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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.6-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.6-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.6-cp314-cp314t-macosx_13_0_x86_64.whl (651.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_lrslib-10.8.6-cp314-cp314t-macosx_13_0_arm64.whl (594.1 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.6-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.6-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.6-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.6-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.6.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.6.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.6.tar.gz
Algorithm Hash digest
SHA256 08c33ce2b2010aefebb0049224df8104ab28298cd15cfab73c3245df6dc646c6
MD5 fb6a36b5a813ba07796d47acde7ebb96
BLAKE2b-256 50a4047431d476a7fe52ec77ac713fcb87b32da68afa654e0aa334f83a0e72bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43540c901b24125530eae0574c935f32d331925ac195d5ae887b7a6e153cbd50
MD5 15824a8d47b8924bd8b7cdd125023a04
BLAKE2b-256 27376d51df5aac95527211c8b2e11ffb3ebec45d0ca165f44e737433702cee43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e554b2da1406877caf99558477258f35154efcef046cf5cfb95a727573f83ab9
MD5 ea3894b8a5a908fd9241fa31604c2181
BLAKE2b-256 144142b516e52fdba8c08bf8f6ccc22850c877db1fcf28ab6b82e3618eca04b7

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6-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.6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 294202f65d5f7225a0df0372540d7667e3be0cb25d0ddcd70e0fc5d40f585e12
MD5 b319041467bcd64de57d4ed4730e2bdf
BLAKE2b-256 b7a7bf51be2844574f4f06bda669dbedfb8ec828bea24477b6cc674ef75ddc0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 38b6f49238233df893233a8151fb3c610fdd394fa03f9e8f257db520b6464954
MD5 e3c294a6ce815651184dd4a81bb97534
BLAKE2b-256 8cfd25df6173653f56c3a4388392cd426cfff45e6afc5c5a2e226ae5c5fc1899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6d2628cfe420014b4ddb23395a2eb31319750708b29173fcc650d4c1bc071b2e
MD5 9780e5b0c7e71d63e4d4f4e66f1c251f
BLAKE2b-256 b8b68ea05beab72eb3a03ca27bb13abc4769101be1b12d303661ea5790cadac9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 acce50fe4607627f4aca073c5ea5708bfc322867133b1770b6b004a4a1d3a3b1
MD5 e7fc0170a0b8ccbdcb01c32d324e1069
BLAKE2b-256 8f0d6b49721a7338249f790588dfa9795f555983bd70ac0c201d983bd3c54431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 216d98ccec39ea31e5b658c29ec986ab343277dc62ce0fc70471e06b6f24a7b4
MD5 73227958fea4dd5f97adaaaaa507f362
BLAKE2b-256 9eec8654974a91aab8f4b4856a754c3b9b5e6510cf8ee376e02138d6eaf9e732

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 163d64c7d46a14f52eabda244113594f781a06a56acce92d7c3a3eb49e3219ee
MD5 81474baf5c76bb212e4efa025aee6561
BLAKE2b-256 62961c10c3b2ffa2e5d36396071b0f91f633e19f88e74393829b4214b0388b98

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6-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.6-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e226992b27fcefab66d9551bac30a60666f7a2f52415b728d2652ebb97bfb3aa
MD5 75e179639335e0e7e9086080e9986dbb
BLAKE2b-256 e2a867c539810d812f7db5da6f0a16a2089de874181dc9f1dd9675c8365bdb66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ca47d49f449341db309753adb0543a067b68284c203ee28707f0690ff758f240
MD5 58c65228e92176d82f77433eb6a87360
BLAKE2b-256 43204916aff20606c80c9ccc784a967914a264a551ad915da3b3b15cc3971cab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b55b22390f2fda6e1759d1bde4dce7781e1667c26939f89d90fc39a66ae650e9
MD5 63eeacd122a0676f029b25b336aed432
BLAKE2b-256 8060079291fa7e8cbf20c7fe4b4e130e151c9d69c5f0d6e5e3b37472f3bf784f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f03e6dd55597f0a4a7f956f469c05caed522317e19400bc1a37be30ebd3dd454
MD5 9fc475eaa126790e1ad745cf37826c00
BLAKE2b-256 ccecc696ca7d546074c3fb2bb3db3fb7cbe7b1f97ba3961ded0cbfc4bcf588b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 60b1c4125cf15cdad9dbe54c058dd0173e06ae6613bb8fc4e59b9b41ffb47990
MD5 a5a8041608e00878fc01dfffe83cf0c5
BLAKE2b-256 a9782487dd580ae6af83cfcf443505b3c79c2acc867f55ae11a4306171cb917d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 660bf8d7bd6a9dce50ec7725a7afc57bd3daabf8912ce7efb0ef4293ddf8aeac
MD5 e71c0f77c60f5f4cc7ffa276463a534c
BLAKE2b-256 5d51f09dbb8583b3c641047c70132af1eced7d5326ad828535123e60de5345c5

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6-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.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 428daab177f7558cabdb253559326841ec7dc72737bfcb412bca3817e7d63019
MD5 622b968a3abeaa0eceed95310fcb331e
BLAKE2b-256 16d52c2640ec53def6e0890350037bab92fe7b2fa6512e91970ad551a8afab0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2a93847e2bc3b2bba10ae32031adbe902bd79c1a67e179d9b0c1803a74d525ba
MD5 fbff99e8d6a494c6466dd289122460bc
BLAKE2b-256 be5b2d6e2f0952a4ab02a2f6c6dcc29bb29eeef49c9fbf4247951759f5e6e738

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8e25cff53899f76ed6ea8903a8276bb2ce60bc34e3db89dfda9bd5b094733876
MD5 cec4009be362f5100a6307aa3448f725
BLAKE2b-256 c7312a0e4694a03d517d40882463925f60261fbed2a1a945f3cd3e453df38647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 47f12f76a734856ecfe6fbd16f8d9bda0578885ae67527fc01167af994be5c49
MD5 0ba66afe25a79b8823b80fb16265a27a
BLAKE2b-256 a089ed878bb1e573284af9803971bb9af74eb513c30f5563767a6715988dd54f

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