GenRandHpoly {volesti} | R Documentation |
This function can be used to generate a d-dimensional polytope in H-representation with m facets. We pick m random hyperplanes tangent on the d-dimensional unit hypersphere as facets.
GenRandHpoly(dimension, m)
dimension |
The dimension of the convex polytope. |
m |
The number of the facets. |
A polytope class representing a H-polytope.
# generate a 10-dimensional polytope with 50 facets P = GenRandVpoly(10, 50)