#12832: Bug in cvxopt on power7
--------------------------------------------------------------+-------------
       Reporter:  fbissey                                     |         Owner:  
tbd         
           Type:  defect                                      |        Status:  
needs_review
       Priority:  major                                       |     Milestone:  
sage-5.10   
      Component:  packages: standard                          |    Resolution:  
            
       Keywords:                                              |   Work issues:  
            
Report Upstream:  Fixed upstream, in a later stable release.  |     Reviewers:  
            
        Authors:  Jeroen Demeyer                              |     Merged in:  
            
   Dependencies:                                              |      Stopgaps:  
            
--------------------------------------------------------------+-------------
Changes (by jdemeyer):

  * status:  new => needs_review


Old description:

> There are two doctests related to cvxopt failing on power7
> {{{
> sage -t --long -force_lib "devel/sage/doc/en/numerical_sage/cvxopt.rst"
> **********************************************************************
> File
> "/hpc/scratch/frb15/sandbox/sage-5.7.beta4/devel/sage/doc/en/numerical_sage/cvxopt.rst",
> line 129:
>     sage: print sol['x']      # ... below since can get -00 or +00
> depending on architecture
> Expected:
>     [ 1.00e...00]
>     [ 1.00e+00]
> Got:
>     [ 9.87e-01]
>     [ 9.92e-01]
>     <BLANKLINE>
> **********************************************************************
> }}}
> and
> {{{
> sage -t -long "devel/sage-main/sage/numerical/optimize.py"
> **********************************************************************
> File "/hpc/scratch/frb15/sandbox/sage-5.7.beta4/devel/sage-
> main/sage/numerical/optimize.py", line 515:
>     sage: sol['x']
> Expected:
>     (0.999..., 1.000...)
> Got nothing
> **********************************************************************
> File "/hpc/scratch/frb15/sandbox/sage-5.7.beta4/devel/sage-
> main/sage/numerical/optimize.py", line 525:
>     sage: sol['x']
> Expected:
>     (45.000000..., 6.2499999...3, 1.00000000...)
> Got nothing
> 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
> **********************************************************************
> }}}
>
> This is now solved in cvxopt 1.1.6.
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/cvxopt-1.1.6.p0.spkg]

New description:

 There are two doctests related to cvxopt failing on power7
 {{{
 sage -t --long -force_lib "devel/sage/doc/en/numerical_sage/cvxopt.rst"
 **********************************************************************
 File
 
"/hpc/scratch/frb15/sandbox/sage-5.7.beta4/devel/sage/doc/en/numerical_sage/cvxopt.rst",
 line 129:
     sage: print sol['x']      # ... below since can get -00 or +00
 depending on architecture
 Expected:
     [ 1.00e...00]
     [ 1.00e+00]
 Got:
     [ 9.87e-01]
     [ 9.92e-01]
     <BLANKLINE>
 **********************************************************************
 }}}
 and
 {{{
 sage -t -long "devel/sage-main/sage/numerical/optimize.py"
 **********************************************************************
 File "/hpc/scratch/frb15/sandbox/sage-5.7.beta4/devel/sage-
 main/sage/numerical/optimize.py", line 515:
     sage: sol['x']
 Expected:
     (0.999..., 1.000...)
 Got nothing
 **********************************************************************
 File "/hpc/scratch/frb15/sandbox/sage-5.7.beta4/devel/sage-
 main/sage/numerical/optimize.py", line 525:
     sage: sol['x']
 Expected:
     (45.000000..., 6.2499999...3, 1.00000000...)
 Got nothing
 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
 **********************************************************************
 }}}

 This is now solved in cvxopt 1.1.6.

 '''spkg''':
 [http://boxen.math.washington.edu/home/jdemeyer/spkg/cvxopt-1.1.6.p0.spkg]
 ([attachment:cvxopt-1.1.6.p0.diff spkg diff])

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12832#comment:28>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to