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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.7-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.7-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.7-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.7-cp314-cp314t-macosx_13_0_arm64.whl (594.1 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

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

File hashes

Hashes for passagemath_lrslib-10.8.7.tar.gz
Algorithm Hash digest
SHA256 eb4604015d5dc7901dec8a07585ae47960f378906e7710846eed86cbe5bdaac0
MD5 629e4e882d88bd2eea44e91f2233663d
BLAKE2b-256 d5b5f3fe6e5efdd1e0ef1aa2029bae42bce622e088f0ca2dc46790f486e461b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ed77332662ad99576d42b3db7d67ba70d3bb4224fd8d3f1d221d30e6c544bf5f
MD5 a4a5635626ed04f13a62f7e0a2d42817
BLAKE2b-256 9c6aa4e9bbdacc36c7eefb7ef6900d45bb6f3bca59561f50912eb93e45831fa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c5a4bc40d33afe7eb01b6ecafa971941bee80937b9780045106161b54b179210
MD5 06da18c1c7e5db4d02824504ebbc40df
BLAKE2b-256 25d5c8e5d1cdab235aaa4fdba04a8b46f629f0198723be8a9c89d6224f8ef6f0

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.7-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.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a4890b092e7de55eab6942df7b9a6e805d01c851ca842f6d6eb3ff5cf9d7dd2
MD5 bc64b00b27690570434b77ff628c9461
BLAKE2b-256 4b8d7d1038a8bad9a5e8623a2a1f30b75e1a80fdee8f5d27baa59c72306ca67f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0afd6a819fa6bef3c9c7169d2e4f2e76faa6b967187ae33a121eaabbdab83a94
MD5 31228be0f062c47e73fb9ea016faf928
BLAKE2b-256 c32d92bf888a7827621e3641daf3bbe2e6b292db382b77a1c08329d317c67679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b57894790a30832349f516a53e8c8930f78eb2661caadfa6a1c03a706cb2ecb2
MD5 7a6ec390d6a8eb1e674ef528b60c75fe
BLAKE2b-256 2d8dee4ddef7fa2081425cfa6319bd1c6553440b74cd0539070ddb005a41f8a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dd8084b42cf5a73b9c994974a8c38ed93faeab6cd8a2fd3a17eae68ab5814eb5
MD5 25262955fa5e677128c847af2bb76f43
BLAKE2b-256 3d44e6013512f5d88b168c5282895ee2b0302ab04ce039bf79214ca8c3aa266e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3baa471101c69d58c174fb584a8aeaa5eb7c89088986a518dbc63b5b17e8c8f3
MD5 0fafd0fb861bb7c34ee54ceddf6c9351
BLAKE2b-256 457a1fdb61fd0a2e6dacd68b9efc8f88b1655d97c5d99f5c5cb226d9a9f094a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f4b7f7a4547906630349eea56ff9c21a32a5a97d593092409c2fb0fefcbaca53
MD5 1655c644ce33ce18d13aafab0b72e9e2
BLAKE2b-256 ebc0eb895def457fecc94fa4f36f898022af7a7775eec25e3d0cff403e63d770

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.7-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.7-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d02cb3330a5bb0f36524793849a5dd4a6ababfa9b3403518f4438059924e122a
MD5 4afd8adad3bd87ab5337869bc11764f8
BLAKE2b-256 308f4f016658db4cb9271d8f3fb22890bb124f31819541cd115df20507095e09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2976a842ded75be87c859e6bb976895394fb9a383640320c7cdb2c854ba38974
MD5 cdb37fc7e9e08778e98478ede6cfeb51
BLAKE2b-256 b6d20df96b9960f061b0687a0d14d5cd42ec449000df953f25b8d28fc226faee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d1f4530be42ea248abe5eff62c126ad2d9b01c806234b1aad7d9a68ad283c09d
MD5 2326ff0d201266546b13b35a76dee6cf
BLAKE2b-256 2f0ee9d556488eda386ae0d122d2e9b576ae006c9788603c1284f8934f1cf499

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 830600ef04a1691b69dc1e1065ebc9afa371f6a632b16ddcfc76a95d86e5a9d5
MD5 be0e8c0968d78544d57a146151e9fb94
BLAKE2b-256 89cb10b471f369a4101a36a5c46414d433c9d07c251ef542b1269ec18081a75e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bd9337e6dd1d991b4b32f6d6f04fcdd50b690aa40fd1b9fd49b35b5d2decf9b9
MD5 1147b7e9c2bc114f945a9b42d502c29a
BLAKE2b-256 04896a29d39851c58fec536e1f11f68a946bb044eb996de3d6dac0cc96f04f12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 196b4e30210262ed84d51dee7815e8e78b1028000f1a3fb10a8496bbaa3bbd20
MD5 a5b3fe8029a76e72f000489a6631d3ee
BLAKE2b-256 fd4695bfca939c0c5bf1272c0d7a38005dc50d66804c7fec9c612b6cf8aa472c

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.7-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.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0cd899194585205c540139b6bd58bb7241d61da3515b307b7c27b448c61caf2
MD5 50f0430ecad7a6886f250fbcb752cbd7
BLAKE2b-256 5c7ecfceaf1c17cc95f914acee4391c4236fd49f9391f71fef008067a9e85895

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7a013826431ee7e6dae883545683239b204982513fe6a92eaed2b792d97ed932
MD5 f112f86cff0ca8d6c50078591c06dda7
BLAKE2b-256 86a1d28d6242b02a77e12d1d18fcfd70e8359068e1dba344ca97006486039166

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f954ccd8cce0c883a1a22caf86c92bd8c4e38100308ead957e19cc6cc2838919
MD5 a5c7fc91377521aa92af1130289c0254
BLAKE2b-256 c0b27671edca5365f3a9e7404914d0b1e8586ec838168f1526d8f8e9d2555443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 df5db77a5cbd388bc00ec3b61f9e57dda5d26270321a620045424783ce82773d
MD5 e6f2b76c2773215393cef8c7ab4a1e00
BLAKE2b-256 29dbb03c51f52bd692f7cd105e54f3d3b95cbcfdc9bd5b002e63e950f1d921ea

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