To use Polyhedron you would do:

p = Polyhedron(ieqs = [[0,1,0,1,-1], [0,-1,-3,0,0]],eqns =
[[0,1,-1,-1,0]])

It would be nice to have some conversion function from symbolic
inequalities and equations into this format; I don't think we have
that now but I could be wrong.

-M. Hampton

On Nov 4, 4:30 pm, luisfe <[email protected]> wrote:
> Suppose that I define a set of equalities and inequalities
>
> {{{
> sage: var('x,y,z,t')
> (x, y, z, t)
> sage: L = [x==y+z, x>=t-z, x+3*y<=0]
>
> }}}
>
> Is there an easy way to construct the Polhyedron of the solutions of
> this system? The constructor of Polyhedron does not seem very user-
> friendly for Hrepresentations.
>
> I can program my own function to do this, but I wonder if Sage already
> has this.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to