6 .. py:method:: polyhedra(self)
12 .. py:method:: symbols(self)
14 Returns a list of the symbols used in a set.
16 .. py:method:: dimension(self)
18 Returns the number of variables in a set.
20 .. py:method:: disjoint(self)
22 Returns a set as disjoint.
24 .. py:method:: num_parameters(self)
26 Returns the total number of parameters, input, output or set dimensions.
28 .. py:method:: involves_dims(self, dims)
30 Returns true if set depends on given dimensions.
34 .. py:method:: isempty(self)
36 Return true is set is an Empty set.
38 .. py:method:: isuniverse(self)
40 Return true if set is the Universe set.
42 .. py:method:: isbounded(self)
44 Return true if set is bounded
46 .. py:method:: disjoint(self)
48 Returns this set as a disjoint set.
53 .. py:method:: isdisjoint(self, other)
55 Return true if the intersection of two sets results in an Empty set.
57 .. py:method:: issubset(self, other)
59 Returns true if one set contains the other set.
61 .. py:method:: __eq__(self, other)
63 Return true if self == other.
65 .. py:method:: __lt__(self, other)
67 Return true if self < other.
69 .. py:method:: __le__(self, other)
71 Return true if self <= other.
73 .. py:method:: __gt__(self, other)
75 Return true if self > other.
77 .. py:method:: __ge__(self, other)
79 Return true if self >= other.
85 .. py:method:: complement(self)
87 Return the complement of a set.
89 .. py:method:: simplify(self)
91 Removes redundant constraints from a set.
93 .. py:method:: project(self, dims)
95 Return a new set with the given dimensions removed.
97 .. py:method:: aspolyhedron(self)
99 Return polyhedral hull of a set.
101 .. py:method:: asdomain(self)
105 .. py:method:: sample(self)
107 Return a single sample subset of a set.
112 .. py:method:: intersection(self)
114 Return the intersection of two sets as a new set.
116 .. py:method:: union(self)
118 Return the union of two sets as a new set.
120 .. py:method:: __and__(self, other)
122 Return the union of two sets as a new set.
124 .. py:method:: __or__(self, other)
126 Return the intersection of two sets as a new set.
128 .. py:method:: __add__(self, other)
130 Return the sum of two sets.
132 .. py:method:: difference(self, other)
134 Return the difference of two sets.
136 Lexiographic Operations
137 -----------------------
139 .. py:method:: lexmin(self)
141 Return a new set containing the lexicographic minimum of the elements in the set.
143 .. py:method:: lexmax(self)
145 Return a new set containing the lexicographic maximum of the elements in the set.
150 .. py:method:: points(self)
152 Return a list of the points contained in a set.
154 .. py:method:: vertices(self)
156 Return a list of the verticies of this set.
158 .. py:method:: faces(self)
160 Return a list of the vertices for each face of a set.
162 .. py:method:: plot(self, plot=None, **kwargs)
164 Return a plot of the given set.