polymake: Computations with polyhedra, fans, simplicial complexes, matroids, graphs, tropical hypersurfaces¶
Description¶
polymake is open source software for research in polyhedral geometry. It deals with polytopes, polyhedra and fans as well as simplicial complexes, matroids, graphs, tropical hypersurfaces, and other objects. Supported platforms include various flavors of Linux, Free BSD and Mac OS.
License¶
GPL v3
Upstream Contact¶
Dependencies¶
Polymake needs a working installation of Perl, including its shared
library and some modules (XML::Writer XML::LibXML XML::LibXSLT
Term::ReadLine::Gnu JSON SVG). The Sage distribution provides
these using Perlbrew.
Before installing the polymake package, refer to the SPKG pages for the following packages to ensure a more featureful Polymake installation:
[4ti2](https://passagemath.org/docs/latest/html/en/reference/spkg/4ti2.html)
[latte_int](https://passagemath.org/docs/latest/html/en/reference/spkg/latte_int.html)
[topcom](https://passagemath.org/docs/latest/html/en/reference/spkg/topcom.html)
[qhull](https://passagemath.org/docs/latest/html/en/reference/spkg/qhull.html)
For additional software that may enhance your Polymake installation (but for which no Sage package is available), you can manually install the following:
azoveportavinciSplitsTree4
Information on missing Polymake prerequisites after installing polymake:
$ sage -sh
(sage-sh) $ polymake
polytope> show_unconfigured;
In order to use Polymake from Sage, please install [passagemath-polymake](https://passagemath.org/docs/latest/html/en/reference/spkg/sagemath_polymake.html).
Debugging polymake install problems¶
# apt-get install libdevel-trace-perl
$ cd src
$ perl -d:Trace support/configure.pl
Type¶
optional
Dependencies¶
$(MP_LIBRARY)
bliss: Computing automorphism groups and canonical forms of graphs
cddlib: Double description method for polyhedral representation conversion
lrslib: Reverse search algorithm for vertex enumeration and convex hull problems
perl_cpan_polymake_prereq: Represents all Perl packages that are prerequisites for polymake
perl_term_readline_gnu: Perl extension for the GNU Readline/History libraries
Version Information¶
package-version.txt:
4.15
Installation commands¶
$ sage -i polymake
$ sudo pacman -S polymake
$ sudo apt-get install polymake libpolymake-dev
$ sudo dnf install polymake
$ brew install apaffenholz/polymake/polymake
$ nix-env -f \'\<nixpkgs\>\' --install --attr polymake
$ sudo zypper install polymake polymake-devel
If the system package is installed, ./configure will check if it can be used.