#15499: Regression in solve command
------------------------------+------------------------
       Reporter:  ppurka      |        Owner:
           Type:  defect      |       Status:  new
       Priority:  major       |    Milestone:  sage-6.4
      Component:  calculus    |   Resolution:
       Keywords:  regression  |    Merged in:
        Authors:              |    Reviewers:
Report Upstream:  N/A         |  Work issues:
         Branch:              |       Commit:
   Dependencies:              |     Stopgaps:
------------------------------+------------------------

Comment (by rws):

 With 6.8:
 {{{
 sage: solve([f.gradient()[0]==0,f.gradient()[1]==0],x,y)
 [[x == (0.4500000000000001 + 1.65*I), y == (-11/20*I + 27/20)], [x ==
 (0.4499999999999998 - 1.65*I), y == (11/20*I + 27/20)], [x ==
 (2.1462417074716e-08 + 2.500000008950185*I), y == (-I + 1/2)], [x ==
 (-2.146241555952319e-08 + 2.499999991049815*I), y == (-I + 1/2)], [x ==
 (-1.220858829829863e-09 - 2.499999997056549*I), y == (I + 1/2)], [x ==
 (1.220857414076436e-09 - 2.500000002943449*I), y == (I + 1/2)], [x ==
 0.1088483456288377, y == 0.06495922163399628], [x == 2.069089718402096, y
 == -0.7854586857514639], [x == -2.088971962616823, y ==
 0.9351646132094527], [x == (0.005516942103919547 + 1.152572204234338*I), y
 == (-0.05733257794463129 + 2.784086209457084*I)], [x ==
 (0.00551694210391972 - 1.152572204234338*I), y == (-0.05733257794463129 -
 2.784086209457084*I)], [x == (-0.4 + 1.2*I), y == (-3/5*I - 4/5)], [x ==
 (-0.4000000000000001 - 1.2*I), y == (3/5*I - 4/5)], [x == -1, y == -2], [x
 == 1, y == 3]]
 sage: f.gradient()[0](0.45+1.65*I, (-11/20*I + 27/20))
 -1.21597189939003e16 - 3.60287970189640e14*I
 sage: f.gradient()[1](0.45+1.65*I, (-11/20*I + 27/20))
 -8.89911286368410e16 - 8.92613446144832e16*I
 }}}
 Doesn't look correct...

--
Ticket URL: <http://trac.sagemath.org/ticket/15499#comment:5>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to