Cones and FACETS, EQUATIONS

Questions and problems about using polymake go here.
simon
Posts: 13
Joined: 18 Mar 2012, 19:47

Cones and FACETS, EQUATIONS

Postby simon » 27 Mar 2012, 12:29

Hi there,

I've got another beginner's question: If I define a rational Cone, say the two-dimensional cone

Code: Select all

$c = new Cone(INPUT_RAYS=>[[1,0,0],[1,0,1]]);
and I want to compute both, its defining inequalities and its defining equations (such that c is the intersection of halfspaces and hyperplanes), I just know about

Code: Select all

print $c->FACETS;
which gives

Code: Select all

1 0 -1 0 0 1
but $c->EQUATIONS; just produces a waring "WARNING: available properties insufficient to compute EQUATIONS".
Surely, I'm doing something wrong?

herr
Developer
Posts: 40
Joined: 30 Dec 2010, 13:15

Re: Cones and FACETS, EQUATIONS

Postby herr » 27 Mar 2012, 13:19

You are on the right track, but EQUATIONS is an input property (like INEQUALITIES, INPUT_RAYS, or INPUT_LINEALITY). The defining equations are stored in LINEAR_SPAN (and the defining inequalities are stored in FACETS).

simon
Posts: 13
Joined: 18 Mar 2012, 19:47

Re: Cones and FACETS, EQUATIONS

Postby simon » 27 Mar 2012, 13:56

Thanks! (I assumed LINEAR_SPAN would give the linear hull )


Return to “Helpdesk”