| 1 | initial version |
FrédéricC was right, it is easy enough. This tutorial was helpful too. You can tweak the example below to your suit your needs.
m=-5
M=5
dim = 3
P=Polyhedron( vertices=[ [randint(m,M) for i in range(dim)] for i in range(100)])
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.