Ask Your Question

Moon's profile - activity

2016-08-17 17:06:59 +0200 received badge  Popular Question (source)
2016-08-17 17:06:59 +0200 received badge  Notable Question (source)
2015-10-08 04:05:59 +0200 received badge  Good Question (source)
2015-10-07 18:17:47 +0200 received badge  Nice Question (source)
2015-10-07 15:35:52 +0200 received badge  Student (source)
2015-10-06 19:34:03 +0200 asked a question non-negative integer relations on vertices

I would like to check whether there is a nonnegative integer relations between the vertices of my lattice polytope. Here is my code (I copied from sage math document):

vertices = [(1,1,-1,-1,-1),(-1,-1,1,1,-1),(1,-1,-1,-1,1),(-1,1,1,1,1),(1,-1,1,-1,-1)]
p = LatticePolytope(vertices)
print p.vertices_pc()
print lattice_polytope.positive_integer_relations(p.vertices_pc().column_matrix())

Obviously, the sum of the first four vectors is zero vector. However, sage returns an error:

TypeError: unable to make sense of Maxima expression '"Problemnotfeasible!"' in Sage

I would like to understand the reason. Is there some obvious thing I am missing? Interestingly, if I remove the last vertex from the list, then it gives the expected relation.