#11429: Count integral points without PALP
----------------------------------+-----------------------------------------
   Reporter:  vbraun              |          Owner:  AlexGhitza  
       Type:  enhancement         |         Status:  new         
   Priority:  major               |      Milestone:  sage-4.7.1  
  Component:  algebraic geometry  |       Keywords:              
Work_issues:                      |       Upstream:  N/A         
   Reviewer:                      |         Author:  Volker Braun
     Merged:                      |   Dependencies:              
----------------------------------+-----------------------------------------
 We want our own code to enumerate lattice points in polyhedra because:
   * Going through the PALP pexpect interface is annoyingly slow.
   * no more compile-time bounds
   * It seems like PALP uses a very unsophisticated algorithm:
     {{{
 sage: v = [(1,0,7,-1), (-2,-2,4,-3), (-1,-1,-1,4), (2,9,0,-5),
 (-2,-1,5,1)]
 sage: lp = LatticePolytope(matrix(v).transpose()); lp
 A lattice polytope: 4-dimensional, 5 vertices.
 sage: lp.npoints()
     }}}
     takes forever with PALP but only 500ms with my Python code.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11429>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to