4 Polyhedron class allows users to build and inspect polyherons.
6 .. py:class:: Polyhedron
8 .. attribute:: equalities(self)
10 Return a list of the equalities in a polyhedron.
12 .. attribute:: inequalities(self)
14 Return a list of the inequalities in a polyhedron.
16 .. py:method:: constraints(self)
18 Return ta list of the constraints of a polyhedron.
20 .. py:method:: disjoint(self)
22 Returns a polyhedron as a disjoint.
24 .. py:method:: isuniverse(self)
26 Return ``True`` if a polyhedron is the Universe set.
28 .. py:method:: subs(self, symbol, expression=None)
30 Subsitutes an expression into a polyhedron and returns the result.
32 To create a polyhedron, the user can use the following functions to define equalities and inequalities as the contraints.
34 .. py:function:: Eq(left, right)
36 Create a constraint by setting *left* equal to *right*.
38 .. py:function:: Ne(left, right)
40 Create a constraint by setting *left* not equal to *right*.
42 .. py:function:: Lt(left, right)
44 Create a constraint by setting *left* less than *right*.
46 .. py:function:: Le(left, right)
48 Create a constraint by setting *left* less than or equal to *right*.
50 .. py:function:: Gt(left, right)
52 Create a constraint by setting *left* greater than *right*.
54 .. py:function:: Ge(left, right)
56 Create a constraint by setting *left* greater than or equal to *right*.