#2607: find_minimum_on_interval() uses the wrong scipy function
-------------------------------------------------+--------------------------
       Reporter:  AlexGhitza                     |         Owner:  jwmerrill    
                   
           Type:  defect                         |        Status:  
positive_review                 
       Priority:  major                          |     Milestone:  sage-5.1     
                   
      Component:  calculus                       |    Resolution:               
                   
       Keywords:  sd31, sd40.5                   |   Work issues:               
                   
Report Upstream:  N/A                            |     Reviewers:  Karl-Dieter 
Crisman, Mike Hansen
        Authors:  Dan Drake, Andrey Novoseltsev  |     Merged in:               
                   
   Dependencies:  sage-5.1.beta2                 |      Stopgaps:               
                   
-------------------------------------------------+--------------------------

Comment (by jdemeyer):

 More importantly, this fails on OS X 10.4 ppc with numerical noise:
 {{{
 sage -t  --long -force_lib devel/sage/sage/numerical/optimize.py
 **********************************************************************
 File
 "/Users/buildbot/build/sage/moufang-1/moufang_full/build/sage-5.1.beta5/devel
 /sage-main/sage/numerical/optimize.py", line 135:
     sage: find_local_maximum(fast_float(8*e^(-x)*sin(x) - 1, x), 0, 8)
 Expected:
     (1.5791755355586754, 0.78539817769603...)
 Got:
     (1.5791755355586754, 0.7853981777050254)
 GLPK Simplex Optimizer, v4.44
 6 rows, 3 columns, 8 non-zeros
 Preprocessing...
 2 rows, 2 columns, 4 non-zeros
 Scaling...
  A: min|aij| =  2.400e+01  max|aij| =  5.000e+01  ratio =  2.083e+00
 GM: min|aij| =  8.128e-01  max|aij| =  1.230e+00  ratio =  1.514e+00
 EQ: min|aij| =  6.606e-01  max|aij| =  1.000e+00  ratio =  1.514e+00
 Constructing initial basis...
 Size of triangular part = 2
 *     0: obj =  -5.100000000e+01  infeas =  0.000e+00 (0)
 *     1: obj =  -5.225000000e+01  infeas =  0.000e+00 (0)
 OPTIMAL SOLUTION FOUND
 **********************************************************************
 }}}

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