Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Elements of lists in newDic are not numbers but symbolic expressions (elements of SR), while symbolic ring is not supported by Polyhedron. An easy fix is to explicitly specify what base ring we actually want for polyhedron here - e.g.:

pNew = Polyhedron(lNew, base_ring=QQ)