#12088: Make use of PALP for different dimensions
--------------------------------------+-------------------------------------
       Reporter:  novoselt            |         Owner:  mhampton    
           Type:  enhancement         |        Status:  needs_work  
       Priority:  minor               |     Milestone:  sage-5.1    
      Component:  geometry            |    Resolution:              
       Keywords:  toric               |   Work issues:              
Report Upstream:  N/A                 |     Reviewers:  Volker Braun
        Authors:  Andrey Novoseltsev  |     Merged in:              
   Dependencies:                      |      Stopgaps:              
--------------------------------------+-------------------------------------
Changes (by jdemeyer):

  * status:  positive_review => needs_work


Comment:

 On OS X 10.4 PPC as well as OS X 10.6 x86_64, I get:
 {{{
 sage -t  --long -force_lib devel/sage/sage/geometry/lattice_polytope.py
 **********************************************************************
 File
 "/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/devel
 /sage-main/sage/geometry/lattice_polytope.py", line 4896:
     sage: LatticePolytope(identity_matrix(8))
 Exception raised:
     Traceback (most recent call last):
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_117[4]>", line 1, in <module>
         LatticePolytope(identity_matrix(Integer(8)))###line 4896:
     sage: LatticePolytope(identity_matrix(8))
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 291, in
 LatticePolytope
         return LatticePolytopeClass(data, desc, compute_vertices,
 copy_vertices, n)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 457, in __init__
         self._compute_dim(compute_vertices=True)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 663, in
 _compute_dim
         compute_vertices=True)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 291, in
 LatticePolytope
         return LatticePolytopeClass(data, desc, compute_vertices,
 copy_vertices, n)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 457, in __init__
         self._compute_dim(compute_vertices=True)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 657, in
 _compute_dim
         self._vertices = read_palp_matrix(self.poly_x("v"))
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 2661, in poly_x
         return self._palp("poly.x -f" + keys, reduce_dimension)
       File
 
"/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-5.1.beta0/local/lib/python
 /site-packages/sage/geometry/lattice_polytope.py", line 1024, in _palp
         self, self.vertices(), result)
     ValueError: Error executing "poly-11d.x -fv" for the given polytope!

     Polytope: A lattice polytope: 7-dimensional, 8 vertices.
     Vertices:
     [ 0 -1 -1 -1 -1 -1 -1 -1]
     [ 0  1  0  0  0  0  0  0]
     [ 0  0  1  0  0  0  0  0]
     [ 0  0  0  1  0  0  0  0]
     [ 0  0  0  0  1  0  0  0]
     [ 0  0  0  0  0  1  0  0]
     [ 0  0  0  0  0  0  1  0]
     Output:
     increase POLY_Dmax!

 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12088#comment:10>
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