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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.4rc0-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.4rc0-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.4rc0-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.4rc0-cp314-cp314t-macosx_13_0_arm64.whl (586.8 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_lrslib-10.8.4rc0.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.4rc0.tar.gz
Algorithm Hash digest
SHA256 b8e4f902e7dd5e21c80df1db1638bebe7427cb8959ae87dea42a026f13748203
MD5 1bbd18f5035096760a75c75bb92b821c
BLAKE2b-256 a0c3503389a7c855e56ad4b59e7dbe0aba61a053d6a5f4ecc4a81804bb001612

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3d97674ac439532850d217fcd0e944287fce8b66fb254277484531ac5c2009a6
MD5 5a437da9ae4ff8d55454c22012f8c4ec
BLAKE2b-256 2147bd1308b6248f3736618569a2db465dc8039b907889a302daa10703dca47a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4a158a72be9a6e41174dc18aca7cee55cbcc96ebb7108363a09196a4a77b9d1d
MD5 07c83761a878019c2e7d788abdaba124
BLAKE2b-256 d5f4e826769e81081566f3405b2cd25915af694c69189691bfc2afe1f1c3b069

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.4rc0-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.4rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b8eb794659065cd012237dc91e5f6b99d3bf58e503880a6a2702f714379494a
MD5 a639b2119e5c5c752a503371c9fa650a
BLAKE2b-256 adaf1954a03c7c5a8fa89808fd8b3b613ecb72430e752ad6de5527fea882f59a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0972dc1aa937668f0fd4199514a859bc60483e637754f1b20792ae2218d88616
MD5 c60c41f8f004287d922ba2a9aa7c32f9
BLAKE2b-256 4443960c8acc06fb19d62600f0e9de87eb202dad365f007972b245faf07b655c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cba4b28fc2c1e5865598bc9e8c243e9ffd0592e41a6040191e062a2b4d583ab8
MD5 03cd0301c76ee9ea62ff398a0a921d1c
BLAKE2b-256 2ac1dcf02d6bb48934fc6599332a675cde371770bdbc640e231590f149c3e562

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b5b990afa61cad2dfd9052596df89fbd17afce21102a5dbe877a71022b24aa42
MD5 35edf98dd788a6008bcd3cac99a905b8
BLAKE2b-256 ebc854fa32bb902d22a3edd06ae19057bba0f65937f53e6815f2cc83d4a11278

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bacebc0d0c51f69de82247588915327f3b09bc2f76bfd6c3a69a69856cc8c423
MD5 f6fc277efca6bfd36fda8a3074656c27
BLAKE2b-256 2f6dacaf32f9e243f3269cd7224461d6f3f959d8b7e0deb743d44ca94d9d49f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a3e20c4c7d6ecfcf5d512a4cfcd56bd0f8f6f85581ca826243a2805ca9a25f1b
MD5 255f6ce22b0630fd7d893deb9216d384
BLAKE2b-256 b20cb86feaadd0a293578646f86142eb5980b9d0587fd2b2d1981624f6fdd1b8

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.4rc0-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.4rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8d4f8e07df433f37f26ae756f7794935e503165f2e41cd6a119e25ffefbd95cb
MD5 fa29de974532b64037e3fce1933c7050
BLAKE2b-256 24757d5d3a9ff2138f1bd591e53b8737385d197f8f2163e7a1c7d611e558dbf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3345dfa8ec5ba2e57b070ecedae0c9cf53a74688592bd19a8c61783f72707937
MD5 f9729ba0a108175151ec6e85b80ce1fb
BLAKE2b-256 68e543178ac66455e5e2056954538fa3e1a203f7063a7669b8796c5c1f3930ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 82128c2e9010472842bf019e36d29d2e22fe4924d7f183d3101360c303549a0f
MD5 e394c504dab05ee2ef5fd7676181d157
BLAKE2b-256 143390860a7c9d58065c1bf1909d45a1edb5b6b376a2e1cda4714a48648234ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9d3aea2e593374025e9af355b721cf79e3727f0d1697ce08f1ccefd04e4c5f9d
MD5 6017a2e01594b54a0e03ffb99f5a5d5f
BLAKE2b-256 570a36a882790b58a952050b6f6b23492c5bef5cbeb455744cf20396e3dacb9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee262fed47aa0b49177abba933f2ecdaddcae75ca9f18afb8380473c13b4d1b4
MD5 e39ccc98a6e9c9be135a17876e1abe42
BLAKE2b-256 c9e7f9cecd3991cb7f3e3afafc00a0bba3448f50594941eb6f1ea9e1fa204251

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c41664f1fea69eec9af5d2c96dfd7baa10602db975501a46b26343a3e1727f7d
MD5 85f6802531ee8e7529326d75970d209e
BLAKE2b-256 e255634c6a0bf6ae3b9260fdb022cecd6fe68c87de74cd9d2b6bc6f3cc31bf14

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.4rc0-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.4rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a56ead31936a42fb67d854137b451963e1e4fc1df28f7a97718a6d9338228d5
MD5 50579728ea5e7b718b31146f78d3de7d
BLAKE2b-256 82f80b4d4736e77ee94db4e0e0663f3c8c227592f26245c7b1fd73362bf58bc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e87e7c5ddb6df44cf9eb03101fb0f0c4d49286fbf62c5a2374c81f2d6c665e98
MD5 5d5fef0ab1e37049ad11524e34a5aea3
BLAKE2b-256 47075f208cb9d6895a6ddffc81e4d73e1de8a8cb961fe7b62cebfb091182e031

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 93ac661ceca2a7df32b51d32ea2c51b6718b5b805a663781b4f02df4fc4ae2da
MD5 744347979f94ca96867e9a035060934d
BLAKE2b-256 bf85e7f03eee5eeac5ffb06e04a9422e5cdded421c000922bb31465caa33c9d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 af1ce012818b46819d5e7fc83227f738b949ce9a977326fe5f5f1419016a5ee2
MD5 b23e131252428da30813c7a94f218339
BLAKE2b-256 9baecd7b8b74d6c297201a376d9cb297c65cffa8e5fac57439de75673e641323

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