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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.7rc0-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.7rc0-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.7rc0-cp314-cp314t-macosx_13_0_x86_64.whl (651.5 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_lrslib-10.8.7rc0-cp314-cp314t-macosx_13_0_arm64.whl (594.2 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.7rc0.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.7rc0.tar.gz
Algorithm Hash digest
SHA256 a04a565911a6361dab866823610ba52d955025bdc558ea6c907bdc645b674ef4
MD5 754929b846d7b9a47521806a560fccaf
BLAKE2b-256 cbd741b26b7e3bbda6e56a92b758301ec7ecb28ceb3dea7c82430a108931f01d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f91c86b29e63ea7fdb99d80d33d1508f512b1fbd1f2d90503615076c49d442c2
MD5 a2765e8bdb3f0af7d08721d46853255e
BLAKE2b-256 973319c1c9a1afe851f7ab39dd61d4f00a16dc58e1752dc8240b613191b26e39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f38b2c90b9899d5dabba0253acc4004211b4b9f13f7f83e76e411cf3bff8b03a
MD5 d9c93eabfb6ec66f101ff3642bb954e4
BLAKE2b-256 8cbda6857127351890151518aefa53db196a03f57e6a1f3afc6b9f6b66e0e9ca

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.7rc0-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.7rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2ce86920ec14a898473b5c881d9f72ae0bb47bdcba3c126475afe59f2c2cd9a9
MD5 a7f627d791b6097e32762287c7c236fd
BLAKE2b-256 c9883e32797661b0b82ec99e6e3fed8bdd6df9b897e9937e4c7d1d92e4d6c5db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3acb95731c46c5b65a1daad230dcdc3c47a717bfc3ad42e8880cee1fd2efc487
MD5 d71eed2a5a8a811aa5d6d01d6da103c1
BLAKE2b-256 729aa420bb35c8c133a24c34532f15551cce20d1b5bb3d59cdbdcb9f65c63d4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f64d815355e37ae98fa70fefac87e8a811a3e10e1e0472e5f4f8f394462069e6
MD5 07186698798c85a06bc53bdd67fcded8
BLAKE2b-256 16a53b0e9975117805ec883c644b0264552c29e2f37da802ac5a6d18e982c55a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 715cf292215ec3e78fca44315bf724473b609a6e9d6838b0f370bbbc2927f958
MD5 de7aab8c1998a08b54e6375d01dd4315
BLAKE2b-256 2393deae763dc4ad28676cd46a0beb0cd99a01f78ccf0b2c3d658c92282a3e84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e852784d487a13ff397abb97b9d7eb853995cc52c7e3a66628886239e8065f13
MD5 3209940b25d982035c3975eefc6adc80
BLAKE2b-256 289a08577123a03504767245f3dfd22708676775778e899236f21d1f7e2278b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 14aa01a25e76d3188c2e615bf47fd53264b84269fef1f54be9f8c25c3cf5b2fe
MD5 7809058ebe32f157831d4f4707a080e1
BLAKE2b-256 4123a88f67f6f5c700787cf4477f4297fde7751e2889f4e3672612eec01690b9

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.7rc0-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.7rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db9e4a1e0c18dc11f2e0b06c66ed019df3ab0b7a73024fa0aaba632d45e6f3ed
MD5 2e7d4bf2eb4f78ca5b10fe0ba4061af4
BLAKE2b-256 3e53473d24f33c408c2c4b0bd612303e4d375c4a6362798e316963e59afe5da7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9cff47afae51a0e7b9000a8ede4f9761d5bd1ec5adc38d7c1306c4699aaf539d
MD5 e09145484533366d337afcfd4c10ba8b
BLAKE2b-256 a9c75051b93dac514627e52631f2d7cc29e881233cd9bf7ffac93043b78d0709

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 80ef3a395f1635664d39e3dbe58366c8619344c2f97af0b844562a167dd1e2e9
MD5 8e978eeca51e6f3f7be1f64ce084bb39
BLAKE2b-256 d7c82da4a266f45347d9c9e08b482816546e787ab4b2f72b9430445c77ed6e8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e92151ca490770591e5d51955e9736307cf45c955be8981140906de3532c5e3e
MD5 8938c8d82474231867368aa764778a77
BLAKE2b-256 9dc39ca115f49a114f15fc23636263c188b485d3222427a360261530d97e0ea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9125bd3567a999432808fd6f9282810dde5ed9d8549ced888f2d4d5670166ac1
MD5 b0f50632a78cf7795f905df8bf63b9a5
BLAKE2b-256 d56b7bf145c4167529676afbed2c45915cd40129ee44f94b60cf332a60749829

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3915f30b69ac826b5b55ee527fe0e3f94aeb87f55dd2f735187a39e2753c74da
MD5 47932a02c10c714a0b9322496de14b7e
BLAKE2b-256 663e4d693066782863dc8fa10ba7686777a055be06e517fadeeaf7d57a5732f5

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.7rc0-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.7rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1cb6bb33fbf538ac9647e84512b056eb92c7f7ce784db7613ff026d64f326567
MD5 ea7d2dcc10ecdc5a40c1e5c831924c6c
BLAKE2b-256 f0f5b08cf51ac13120e75263f210d888ed2b32a3ac3ea90bef99f91026128a6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0d522527049eeab426a1efb4c59e9951729a1930d2f985e9696704015dcb285d
MD5 50cde012b5971cd9b2e2693fd3e2965f
BLAKE2b-256 03dc25483c06f5468075760a65fb5807bf6d4d6a02637ad9e44da95f8d490a98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e89b2acf695bc2f2e808bba5a5b3601b44ed76c83b2a4562f7be138e29c349f7
MD5 f867b44f6481e9abc51e85d010b707ae
BLAKE2b-256 6ebfd5e21806294d65a55249e145415993b462eb8db03d53d9598d7f5f3d4083

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.7rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 876b809d419d94c93a82004d2d0c787d5c1c09d71457a8f535c9caba078369b5
MD5 8d8624a37d810b3ddfc38bf349f1a80e
BLAKE2b-256 ad92dfd1ee85457638cd4f7c96b529bd3e8dffb7aaccfc5db5ff97d2d654835c

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