So when k = 19, sage.interfaces.latte.count 
<http://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/latte.html>
 
and P.integral_points_count() give different answers. This seems to be the 
cause of the difference. Here is some more code showing the difference.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
from sage.all import Polyhedron
from sage.interfaces.latte import count

eqns = [
    [0, -1, 0, 0, 0, 0, -1, 1, 1, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, -1, 0, 0, 1, 1, -1, 0, 0],
    [0, 0, 0, 0, -1, 0, -1, 1, 0, 1, 0, 0, 0],
    [0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1, 1, -1],
    [0, 0, -1, -1, 0, 1, 0, 0, 0, 0, 0, 1, 0],
    [0, -1, 1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1],
    [-100, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
    [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
    [-19, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    ]
ieqs = [
    [-1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [-1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [-1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [-1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
    [-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0],
    [-1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
    [-1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0],
    [-1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
    [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
    [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
    ]

P = Polyhedron(eqns=eqns, ieqs=ieqs)
print(P.integral_points_count())
print(count(P.cdd_Hrepresentation(), cdd=True))

Reply via email to