when I print facets of a polytope, according to documentation I should get a matrix of numbers, each rows represents one inequality with the numbers being the coeficients in the respective inequality. However, I get this:
Code: Select all
> $c = cube(3,0);
> print $c->FACETS;
(4) (1 1)
1 -1 0 0
(4) (2 1)
1 0 -1 0
(4) (3 1)
1 0 0 -1
For the context, I need to use polymake to convert polytopes from V-repre to H-repre, where the H-repre will need to be saved as CPLEX .lp format and lrs/cdd .ine format (but I can convert to these manually if I have the matrix representation).