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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.5rc4.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.5rc4.tar.gz
Algorithm Hash digest
SHA256 8719ef98208f0661bcaf19cf1f27d6ca9666238e685dc80f85c998bf9469d861
MD5 6237a9f601f8dd968b28fa4335795f9a
BLAKE2b-256 9e9466a57dc392ad0c216b130caaac0d90a8404c2939b78048350bde238558ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ab6d68e96b9135ce51d33a71ca520aa328a84d4c8d2f72bf1e23095917f8a1c
MD5 730a960b69f70cc07d71c29958154021
BLAKE2b-256 b98a27d1e3c934f56d3258b299401677586aae7f1db39c71110e8b87dbf7fd21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c304caec136bc630d55e901d84d6095c4966e8f8cf98780d72ef9cb00e6aa39b
MD5 f14ffb11751bda4382c5a10db04040d4
BLAKE2b-256 984f108d38d161a6eb880ece299f25812e6e29cacaddb04b39810b17fae8001b

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc4-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.5rc4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 925ffd8028910f2447fdd6af13cf5412cf3876e75cdc33e0e32450dc4f86dd63
MD5 7c3816004f47a0eaaf4cd8d34cd06d65
BLAKE2b-256 320f3ea25e412bce2463b7c6b7c9021b146fc2a85faf56d33b024ddce9ec67e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cfb08b16683618f94db85c8f16cf5ac194b4df23fa137697c87cfaf0e20b350a
MD5 e9f877e03ce2cb46c8879fe603b2299a
BLAKE2b-256 3867064a4af5884bd84f350e7b2ea7b58889e9b7b8c287cca2969498e7d6daac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d8b1ec8ad71567b7fd77cab13bfa5b1fdfd7d673db858e99edabc49245980496
MD5 88525b44538e255ba89542aeaf816241
BLAKE2b-256 8bb360e856ec7ffe7d0231918154d7799233d946e487205b25a200f2326c3d00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1989f826e033345e06c9364c9e7157c71a30c1c2c53a74b4492f295416a3f575
MD5 f8274938762b2c1f4005a448d65af427
BLAKE2b-256 5e77c98239f4d128246cd27c8178b978119a75c73334f52b6f44ae2c175cd5a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 063a7f4fb1e9c13b8cfa9c23ad3955ed7740466b7c994bc93f5d1fbb5de453e8
MD5 a5bc6704a773bb04056e1482b252b6cd
BLAKE2b-256 01c3903dff98463050259173da5252da6e8835978e57d834be0f8a81ee10c744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7bec3c4efae2f542e04cd3bee3ea34c6065a10d32dfad93e909b8f53d60648c9
MD5 20a21a822e4c45d29f9a71553c9e2d46
BLAKE2b-256 e51b7dccf82e19d0cfd33225c9d63e457e7d65a2b0af08e3e2cc885583e9e103

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc4-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.5rc4-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8c1ef40fd68b8edf169f7397cae3b3bfb09c82fdada61f1e2ca986a4da9ce87
MD5 cd13d909661278ff32008fdecfece939
BLAKE2b-256 3a3592104bb78541901d713fd405d5790c68968b791c9a5906768d8a3f4a6146

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7b9cd8afcc280d740b7faa06984ee83551f01f93f01ae09b17de5bc53bbaed1
MD5 7cf68c97cb7c17d7546ee95a3dabd96a
BLAKE2b-256 558b2ba8710b19a337629ff231d9446c5eb4de463f8f67fd0551a5aa4d99ec91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 05902d43b7b2238a797e443802d4f672a27db94cc4c247213aa339bcc7a7e78c
MD5 e0b927dc5b0ea24b2b561cd60993279f
BLAKE2b-256 a6db08071d64600a89a334e83b194514b981152a0da46f0de5b015f396290012

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 63aed6fb32197b332fb6a884a353867aa2f3e4464c890909f95b845db1839ba8
MD5 6d28f7d4f9397a18a3baa3e774a57b2e
BLAKE2b-256 bff9192236574ebd3474634a377ebcb4c6bc22bfe3ab26df4fd3949c094a13a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 32ddf43770b93713c7418a7860e420d08fa7beea7d4c91300932df1b0dd554ba
MD5 6a6c17d796316de2f802c5ace8203049
BLAKE2b-256 3747d6223cf0d23eaf72fb922dadd23ca8962641fa06feae819be8e2e93dfcbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 216770230bd59c73cb26f19b9a23d4e785d5e35e0e62bbd241c2c953ed7438e4
MD5 49e6c4068febcdcce2e4cf8da50af041
BLAKE2b-256 67c15903041f42ea4fc6076cdfeceed437552f12b1705529a8f4c13b6034589d

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.5rc4-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.5rc4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e6b08d6c6c07a25d00fe6e91a7aeaed0f7ea01497cdaec789a7de0b243e4c50e
MD5 ca21cb7bc8d81a5cd022b6da475debca
BLAKE2b-256 d7a77e805a8032490526f1e8860ffb257a004fab7c7c2084ba433e2611793645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 acf16fefae0dd1b64d2e1fd4a2d7c59e4c8e62a8f095d24784742e4d399ef6c2
MD5 9814307ddec99ef245614d5446527780
BLAKE2b-256 d9a2818be6bfe0c345ebe4543e42a58c2b57e32bef6db0bdb9e38585b81f0d70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1c26d2f62e8ee00837cf0a725a4c562733fc96175134dd68fb3e2a58ccad5870
MD5 1458e3d0dbe07604ffc9d75d9f6bab42
BLAKE2b-256 903ea723514a3c0f72b12d019c7ceb7fa205fbc32de2b2e9f7ee91bed2c738ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.5rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d3f7605cbc172d662a8129b22e1cf0b0084269113b143f1a08fff01ee04f0218
MD5 ee37966cffde001ec146274b09956fc5
BLAKE2b-256 60dbdababa7dae6477977b96af33d6117cb51233c902109b78ea3f72addd172e

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