Hpolytope-class {volesti} | R Documentation |
An R class to represent an H-polytope
Description
An H-polytope is a convex polytope defined by a set of linear inequalities or equivalently a -dimensional H-polytope with
facets is defined by a
matrix A and a
-dimensional vector b, s.t.:
.
Details
- A
An
numerical matrix.
- b
An
-dimensional vector b.
- volume
The volume of the polytope if it is known,
otherwise by default.
- type
A character with default value 'Hpolytope', to declare the representation of the polytope.
Examples
A = matrix(c(-1,0,0,-1,1,1), ncol=2, nrow=3, byrow=TRUE)
b = c(0,0,1)
P = Hpolytope(A = A, b = b)
[Package volesti version 1.1.2-7 Index]