Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Extraction of a result in an other form

For the following code

pol = Polyhedron(ieqs = [[5, -1/2, -1/4],[-18, 1, 3],[0, 1, 0],  [0, 0, 1]])

vr=pol.Vrepresentation()

vr

the result is

(A vertex at (0, 20), A vertex at (42/5, 16/5), A vertex at (0, 6))

How to have it as

pol= [(0, 20),(42/5, 16/5),(0, 6)] ?