GenRandVpoly {volesti} | R Documentation |
This function can be used to generate a d-dimensional polytope in V-representation with m vertices. We pick m random points from the boundary of the d-dimensional unit hypersphere as vertices.
GenRandVpoly(dimension, m)
dimension |
The dimension of the convex polytope. |
m |
The number of the vertices. |
A polytope class representing a V-polytope.
# generate a 10-dimensional polytope defined as the convex hull of 25 random vertices P = GenRandVpoly(10, 25)