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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.6rc1.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.6rc1.tar.gz
Algorithm Hash digest
SHA256 5981992ec290ce43d72ba4e0f2694798b7b2dcc216ba4779ff3fa7c893ce5db0
MD5 c08d0df507d4ecaa2e8884deeedd85c9
BLAKE2b-256 f080a60c41d972a3bbedf5e5a2bed07600b38c158c47ed6d3d74120c6526f587

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fa6993b67155c961e39674a42cfa1354165243b773749892f87c7a9e8b8edcbe
MD5 303c4ebdcd4cf369585a4ca5f64948bc
BLAKE2b-256 d595d4605e2f4fbdc51066851476d9a282413f72cbf19948071351bbcfeb32f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8eaf7ee6c752f928cf4f8de3ae1a4b9969dedc73f3612e0a7f1179d6882252f6
MD5 20dd2a51f933ac22a2d5e1236c364360
BLAKE2b-256 41ff5e016aa8d9a076a6852c95595c6c80172b34d05fb0d283a975e348b8df20

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc1-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.6rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a9c3f3df3edcf5737e89826598596839a7f4feda2a42b7ffcd033936634fb61
MD5 3af2e3a39c358de2afb25d8a8474442d
BLAKE2b-256 d1594eb9be2a2a197a8e6c0f9b2bd399ea704e862cffb5b52c636fac79e6102f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a6889047ddb50165a1d40ad32b81ec5c8e9f0d4bebb83eb4e2c4b55215832cac
MD5 bae37954c3d04855d696b02c85c889c0
BLAKE2b-256 2324d958329665e91a5738a7fe21f1ef1e5d38af15f6a1e7687b8a131f6a26bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 47e70ea9747769644766e1bce0f021bd0e7a50248c9d0d247bb05dc52525657d
MD5 1d88a7ee029976447573aff9e7a30622
BLAKE2b-256 0058ef07189b672085bbb69047be288dbeac89946dcdf4e93af2a50db21acb25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 46e85a356a44e553c811db05ab94c04392d1654098562e8d76b12df2489bf645
MD5 72467fa647e6849910ffbedc23a88605
BLAKE2b-256 45712287ccea06e1e01a118b80aecfb1d6ddde3e5bdd50fd18260afebc19c2a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c18b4d32f02cd1aa3854a2c993810374d72b3c5fb720f697a26c3983a3c55951
MD5 91898c8d88367ad858b59079fe589775
BLAKE2b-256 b1926872f774067811cf7a5ece104695f7631c44d80510180d8369935f3fc040

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ecc84a6846468f84b92455e41ca3c30e56acd08dfc8291fbc56f4acc837fabab
MD5 a1e5676366bde11a2f8afb34061ac7e6
BLAKE2b-256 1f475296eaea7bfadcaf919ab02994c470ee3422210faf12df38495f6b0addb0

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc1-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.6rc1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7bde53b16fb583efebc16879ed3308f579aa65fb5fd55ef68ed786871da19fa5
MD5 708204fcffb73df9dd1c43fcb169c6df
BLAKE2b-256 2bc0f7584bcb615ce1f6d7784429f32aba9c5e0145bed21b61c2c3b24aecdeb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 04285652f0dba8944b37a664b948da39bf2d91b4ab23a106e57efba7cdcae6fd
MD5 9553361b4c96f3e364a37919b9549af8
BLAKE2b-256 9f3d57e08ed29d12e4ca97d01e7ac11ac3a45593fb4e7b306ad61a1cc6d703e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7fc5874c488a1d5d041106fb9c8298f7626cdd74e8e32e8b192deaee51312f97
MD5 9fa94261a010abc30464ff3a5ce80f65
BLAKE2b-256 b07736a78f52bcbcc43f93a2d5e76f604e60bd24bec84159e137445c4ffa1dad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4f13fc63999cdf5d3e50513bd3becd03d295e166003ac0d3121b75c52b52692e
MD5 8bc0884af6b9c3d117329ffe11d256bf
BLAKE2b-256 0edc88c1f056bc1ad42768ede91fe9826267d302defebef4d0ae8881c64f25d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 71bb2c45d896bb1f0abe86a55eaf7b8c851e26943abf647505bee277f875f216
MD5 69f622100c2d74331c0168b3b4ea80d2
BLAKE2b-256 3aff4d2e0cb8a6c680fa25bf53c89a33b47264b0d8cd8531a0aa9fe413f4876b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a9d826d4d9efdc6da7edb4ddea37cdb5797ccd85a549e981aedb7121dc96c9e1
MD5 0ddc3a3fed1577c0e82d8544271a246d
BLAKE2b-256 e9fd7a9c76cd92ff45e92ed0678d60a946c0e678f367382cff82b003f3a06701

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.6rc1-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.6rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 791f251f3f6e07af84dce19943165927d7cd486ba1318372564557c131f51a4a
MD5 ecb54e2f4338fadae150ceefe2e4642b
BLAKE2b-256 61f3d3acd67a1c767d1fc63ca3bfdd3344898b8d2c843528d4d3d4d4e369e78e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ee9b22a0dde085a8a4a8d995cefbab348d9f5d03918c22217bf7e31be4b240d3
MD5 65e24306cf8cc322d97f5607df09eb14
BLAKE2b-256 3c57e0edf9e9db856def8f78e003ef31aea66c0ceb701a25f0efb0ad5ef2873d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a8415f8a6536a05a2ef10327983d19c72531e50318f2c31a8fbeef54c5de383
MD5 560ee1a98697d65fbe1415ef48d2ff96
BLAKE2b-256 43ff7ab70c7c7cb9fd0533225b8e5706eddc2755f073dc70da7385971b97d9a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.6rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3eb3b282a26b425e8e4ed979d3680e5c477259ae5966d311dbbeb563bc56909f
MD5 9c23a958485bef8e2eda119c7be33e18
BLAKE2b-256 7f595309b4c27d05ad7d6f5614c2a5071913ab34fcc0fcd8d1243b031293e00a

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