#10046: Polyhedron's incidence_matrix performs poorly on some numerical input
------------------------+---------------------------------------------------
   Reporter:  mhampton  |       Owner:  mhampton    
       Type:  defect    |      Status:  needs_review
   Priority:  major     |   Milestone:  sage-4.6.1  
  Component:  geometry  |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by mhampton):

 I'm thinking of changing the Inequality and Equation initializations to
 have:

 {{{
 if polyhedron._cdd_type == 'real':
     normal_norm = vector(data[1:]).norm()
     data = [x/normal_norm for x in data]
 }}}

 This solves the problem I had above, and all tests pass.  Some of those
 tests include numerical polytopes.  I also tested it on a few additional
 high dimensional cases.

 I won't make a patch yet since I suspect I will hear some counter-
 arguments...

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