Computing Mixed Subdivision

Questions and problems about using polymake go here.
srm
Posts: 1
Joined: 21 Oct 2024, 22:14

Computing Mixed Subdivision

Postby srm » 21 Oct 2024, 22:27

Apologies for such a simple question, but I'm still starting out with polymake. I'm trying to compute a mixed_subdivision of a sequence of polytopes, but am having a hard time even on simple examples.

For instance, running

$p1 = new Polytope(POINTS=>[[1,0],[0,1],[1,1]]);
$A = new Array<Polytope>($p1,$p1);
application "fan";
mixed_subdivision($A);

gives

ERROR: no matching overloaded instance of Polymake::fan::mixed_subdivision(Array<Polytope<Rational>>)

even though "fan" seems to have a function mixed_subdivision (A) → PolyhedralComplex that takes an Array<Polytope> A as input.

Can someone give me a minimal working example of using mixed_subdivision from a sequence of polytopes defined as the convex hulls of some points. Thanks.

Return to “Helpdesk”