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-2025 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:

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) 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.6.x series are 3.10.x-3.14.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.1rc0.tar.gz (5.0 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.1rc0-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.1rc0-cp314-cp314t-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_lrslib-10.8.1rc0-cp314-cp314t-macosx_13_0_arm64.whl (586.5 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_lrslib-10.8.1rc0-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.1rc0-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.1rc0-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.1rc0-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.1rc0-cp312-abi3-macosx_13_0_x86_64.whl (641.7 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_lrslib-10.8.1rc0-cp312-abi3-macosx_13_0_arm64.whl (586.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_lrslib-10.8.1rc0-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.1rc0-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.1rc0-cp311-cp311-macosx_13_0_x86_64.whl (641.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_lrslib-10.8.1rc0-cp311-cp311-macosx_13_0_arm64.whl (585.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_lrslib-10.8.1rc0.tar.gz.

File metadata

  • Download URL: passagemath_lrslib-10.8.1rc0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_lrslib-10.8.1rc0.tar.gz
Algorithm Hash digest
SHA256 4346f2054a59245473fa2533563bdae8f1f183d95e5478de88791419a62e65ad
MD5 beaa3afa5c330545c993d1623cd951ab
BLAKE2b-256 37d3225a858c195438a5b904c72e606662318729b03220f90cbc99690e757f5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2850db58fbbab8950f9908f8d8509cab748fff67b7d5a5ab870c194f51ef9441
MD5 814b561e4650d042d153559633762fb2
BLAKE2b-256 e7bd390d4bcb1dcb2499bc44bbb9333981b62e39cb8b52739f27a2ebd38fb45c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c3c77f07049efb8bf0d853f3c996155e0701401d30c861a56cfe0dcd0baa99ba
MD5 48f47cf0f84156b469630c77c6b09bff
BLAKE2b-256 88d0132208b474ce6ec675490422d86417f7f8c0f1764ef3735d3d7a35c68e50

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.1rc0-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.1rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 285e43cb04dc4bfc48a7c138fded5996b180a03b33b986c9525ede4904bd8700
MD5 36a61d8d346af14df8b7938db05f517d
BLAKE2b-256 f3e1faa3e9908b98f4f2c5072ac001f093ee1a32606c596e305ed30128fe7ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dfa94bcc3d9c3d6874d062d6b4a0de2648656ff6575ebaabe69f60b195670836
MD5 0a348eb4188c2c2682d0b96dc54ca637
BLAKE2b-256 97570f47a213c08aed3773ca7095d7b7545b7189b7f07e860fae23a6937c399d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b1fad67335a91f75a3be2f0de2eaa706b6b73152b6b2ea95d38c8bc1e8c4c1e5
MD5 277839844a78612bd22040f51108cdc5
BLAKE2b-256 660996baccf3e08a7f7cab8944f248c776aa2987c8bcdcc78007c87ad6bad3da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c8391ea272d60b56b4a94a6dae1f90632d454aef0d00cf723b23338e7928c862
MD5 2b14813e627194ad881255fd1de4adaa
BLAKE2b-256 0fa870b2443d1cdafcb139b65fba11a306a615d956b00a79bf9ef18599a212f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6686206023b4ce0eef0786e86ea51d0546fa7a9debb60f20cf6a9cc4b80ac103
MD5 dd4e7183e844225bd55703b3fcb6cedd
BLAKE2b-256 63d3baf0991954dd5318954a54016e9480113ef875e89403578538d0ac355f2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 86952416debb7f01ea925510c5a804197982b9309157b441db3eaf9d6a2fb52a
MD5 b84ca85a897657d14b6e30c0efaa6071
BLAKE2b-256 520e577881aed3c5adb8e3b0cd2a030d7182ba117ca58ff9773a419261f72cef

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.1rc0-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.1rc0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5be4f02f33553c80d3d4b7a9bebf69403542d2e8486be344573ab9332e87798e
MD5 4f356ca8138fb281b6c7730a628f8bf4
BLAKE2b-256 22fb85ef33386d1150e37a1744b9ad5a4b21adb9af7fb6db0428239f70680e3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2ac296d9152122c75124c2f5e78722fa032709d9a7bb8a304ff1af093fb15be6
MD5 4da24538c5edd320ab0209e0d9eb5c05
BLAKE2b-256 2b394aa2ba8bea5ae0587efb436d30d34f19f854ee0e791ff9b7d3e0e6704b3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 66e9a810fe3dc88a58fa3c69ad208fab39f893c59205ad37b972fc6a24ea07f4
MD5 9f21fce97d25093e2a60baad4dbaad2b
BLAKE2b-256 bde884234f32b4f65d0fe25eb3baa9aeca4398697707c9dda7290582b953b960

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f5ee49b687ec3b375899d5d4d0add007a96df5809edfad5db522013957874f48
MD5 5d6b0761efe1f482ee75ddd15b52c24d
BLAKE2b-256 01181d68658d9b93c1db3918668e3bc5b33272195a38877f05dfc8160e3bf8ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac307d5aefe13105dbeafbed6f91ad3d646e233899eba58561040bb192da4408
MD5 dfb645106593d7aa8ad792982ff253b0
BLAKE2b-256 d542dda718a8b52a1bbe083fd99021f55037d5750f14d07e4ffc4ab39bddcb6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ff75c78bda427555d3d5315d78678dd95cb85331dfcb71062eb322457aadf164
MD5 ef9c910da7c322cf6226fb853a5fe1fc
BLAKE2b-256 9ae4e42a5ac7b2d6c138a16e8f812a4ff4141ae387118e4ae54be0329188d5c6

See more details on using hashes here.

File details

Details for the file passagemath_lrslib-10.8.1rc0-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.1rc0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa9f6d0ea6d7f67a6d0eb6ead44afdd8ea7f6d16de272191468896b4115e5435
MD5 1d41b50aece7984437f23b15b82f2e38
BLAKE2b-256 d1a104238c06c9216e5eea909937e46d3a5d910766642c8afca7ad55cbbedcbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bd041e7fe7ec05682897225fa43a0970ca956956e5835ed5126c8cfdc67b7338
MD5 4e69623ea05389b5462327c61913f428
BLAKE2b-256 6c29d2c937be6a8970acf96ba96a9c5435d644693fe1fbf7e3999086ce490a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 693832a47a9406c8b80b5cf583f2747cccf05f6243ff5ca463e9492390ff9571
MD5 18d72aba3d7f7e2b264d06e0fd87a6ec
BLAKE2b-256 2bdf61b9a101d5553bd0aa2ad791948d8dcdb239522fc889df7cf3f20d3c56ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_lrslib-10.8.1rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a567ec973692b498f83899ddfe76b107346d1e766591e993b46b1f72f366aaba
MD5 232b28b7b6be83d59f8f2fd6fbe33bbf
BLAKE2b-256 adb49b135d6834f592d558d24fc125148bb5553eefd3614458ea0cf8f74bec60

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