Processing math: 100%
Ask Your Question

Revision history [back]

You can enumerate integer points in a polytope using Sage. Create the polytope P using A and inequalities specifying S, i.e. 1xi1 for all i. (look up docs on Polyhedron). Then call P.integral_points()