Face lattices of polytopes
Posted: 28 Apr 2017, 11:52
I have a small problem with face lattices of polytopes. The following code from the tutorial (https://polymake.org/doku.php/tutorial/ ... e_tutorial) does not work anymore:
Here is the error that I get from both my local polymake and the web interface:
The face lattice is incredibly useful for computing resolution of certain classes of hypersurface singularities.
Code: Select all
$p = n_gon(5);
$HD = $p->HASSE_DIAGRAM;
for (my $k=$HD->DIMS->[1]; $k<$HD->DIMS->[2]; ++$k) { print $HD->FACES->[$k] }
Code: Select all
polytope > $p = n_gon(5);
polytope > $HD = $p->HASSE_DIAGRAM;
polymake: used package ppl
The Parma Polyhedra Library (PPL): A C++ library for convex polyhedra
and other numerical abstractions.
http://www.cs.unipr.it/ppl/
polytope > for (my $k=$HD->DIMS->[1]; $k<$HD->DIMS->[2]; ++$k) { print $HD->FACES->[$k] }
polymake: WARNING: available properties insufficient to compute 'DIMS'
polymake: ERROR: Can't use an undefined value as an ARRAY reference at input line 1.