{"library":"passagemath-lrslib","title":"passagemath-lrslib","description":"passagemath-lrslib provides a Python interface to lrslib for vertex enumeration and convex hull computation using the reverse search algorithm. Version 10.8.4 supports Python 3.11-3.14. Release cadence follows passagemath releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install passagemath-lrslib"],"cli":{"name":"lrs","version":"sh: 1: lrs: not found"}},"imports":["from passagemath.lrslib import polyhedra","from passagemath.lrslib import Lrs"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from passagemath.lrslib import polyhedra\n\n# Define points (rows=points, columns=coordinates)\npoints = [[0, 0], [1, 0], [0, 1], [1, 1]]\n\n# Compute convex hull vertices\nvertices = polyhedra.convex_hull(points)\nprint(vertices)\n\n# Use environment variable for optional authentication if needed\nimport os\napi_key = os.environ.get('PASSAGEMATH_API_KEY', '')\n# Not used in this example; included as placeholder.","lang":"python","description":"Compute convex hull from a set of points and enumerate vertices.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}