lrs

package to enumerate vertices and extreme rays of a convex polyhedron

Install

All systems
curl cmd.cat/lrs.sh
Debian Debian
apt-get install lrslib
Ubuntu
apt-get install lrslib
Arch Arch Linux
pacman -S lrs
image/svg+xml Kali Linux
apt-get install lrslib
Fedora
dnf install lrslib
Windows (WSL2)
sudo apt-get update sudo apt-get install lrslib
Raspbian
apt-get install lrslib

lrslib

package to enumerate vertices and extreme rays of a convex polyhedron

A convex polyhedron is the set of points satisfying a finite family of linear inequalities. The study of the vertices and extreme rays of such systems is important and useful in e.g. mathematics and optimization. In a dual interpretation, finding the vertices of a (bounded) polyhedron is equivalent to finding the convex hull (bounding inequalities) of an (arbitrary dimensional) set of points. Lrs (lexicographic reverse search) has two important features that can be very important for certain applications: it works in exact arithmetic, and it consumes memory proportional to the input, no matter how large the output is.

lrslib-utils

Sample programs that use lrslib

Macaulay2

algebra

lrs

C implementation of the reverse search algorithm for vertex enumeration/convex hull problems