| 1 | initial version |
You can enumerate integer points in a polytope using Sage. Create the polytope $P$ using $A$ and inequalities specifying $S$, i.e. $-1\leq x_i\leq 1$ for all $i$. (look up docs on Polyhedron). Then call P.integral_points()
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.