2nash
package to enumerate vertices and extreme rays of a convex polyhedron
Install
- All systems
-
curl cmd.cat/2nash.sh
- Debian
-
apt-get install lrslib
- Ubuntu
-
apt-get install lrslib
- Arch Linux
-
pacman -S lrs
- 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
- Dockerfile
- dockerfile.run/2nash
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.