PALP, a Package for Analyzing Lattice Polytopes, was written by Maximilian Kreuzer and Harald Skarke to classify reflexive polytopes, and in particular to produce the list of the 473800776 reflexive polytopes of dimension four. It also computes normal forms of lattice polytopes, the lattice points of a polytope and of its dual, weight systems, and nef partitions together with the Hodge numbers of the corresponding Calabi-Yau complete intersections. This package makes that functionality available in Macaulay2.
New users should start with Lattice polytopes in PALP, which explains how polytopes are given to these functions, and the M and N lattices.
PALP is a separate program, which must be installed; on macOS, for instance, with brew install macaulay2/tap/palp. The package loads without it, and looks for the PALP executables only when a function first needs one; see palpProgram. PALP's source and documentation are at https://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html, and it is described in
M. Kreuzer and H. Skarke, PALP: A Package for Analyzing Lattice Polytopes with Applications to Toric Geometry, Comput. Phys. Commun. 157 (2004) 87-106, arXiv:math/0204356.
A first computation: the polytope of a weight system, its dual, and the Hodge numbers of the Calabi-Yau threefolds of a related weight system in codimension two.
|
|
|
|
|
|
For PALP options that have no function of their own.
This documentation describes version 0.3 of PALPInterface, released 16 November 2026.
If you have used this package in your research, please cite it as follows:
|
The object PALPInterface is a package, defined in PALPInterface.m2.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/PALPInterface.m2:1150:0.