GenZonotope {volesti}R Documentation

Generator function for zonotopes

Description

This function can be used to generate a random d-dimensional zonotope defined by the Minkowski sum of m d-dimensional segments. We consider m random directions in R^d and for each direction we pick a random length in [(,√{d}] in order to define m segments.

Usage

GenZonotope(dimension, NumGen)

Arguments

dimension

The dimension of the zonotope.

NumGen

The number of segments that generate the zonotope.

Value

A polytope class representing a zonotope.

Examples

# generate a 10-dimensional zonotope defined by the Minkowski sum of 20 segments
P = GenZonotope(10, 20)

[Package volesti version 1.0.3 Index]