wmpy.core.polytope.Polytope¶
- class Polytope(expressions, parser)[source]¶
Bases:
objectInternal class for convex H-polytopes.
- inequalities¶
list of wmpy.core.Inequality
- variables¶
list of pysmt real variables
- env¶
the pysmt environment
- inner_box¶
the largest enclosed axis-aligned box (optional)
- outer_box¶
the smallest enclosing axis-aligned box (optional)
Default constructor for a H-polytope defined on an ordered list of variables (the continuous integration domain).
- Parameters:
expressions (
Collection[FNode]) – list of linear inequalities in pysmt formatparser (
PolynomialParser) – a polynomial parser instance
Methods
Converts the polytope to a tuple of numpy arrays.
Returns a pysmt formula (FNode) encoding the polytope.
Attributes