#14306: regression in solve
------------------------+---------------------------------------------------
   Reporter:  zimmerma  |             Owner:  burcin  
       Type:  defect    |            Status:  new     
   Priority:  major     |         Milestone:  sage-5.9
  Component:  calculus  |          Keywords:          
Work issues:            |   Report Upstream:  N/A     
  Reviewers:            |           Authors:          
  Merged in:            |      Dependencies:          
   Stopgaps:            |  
------------------------+---------------------------------------------------
 the following example, which we use in our book (in french) about Sage,
 does not work any more with Sage 5.7:

 With Sage 5.1:
 {{{
 sage: var('y z')
 sage: solve([x^2*y*z==18,x*y^3*z==24,x*y*z^4==6],x,y,z)
 [[x == 3, y == 2, z == 1], [x == (1.33721506733 - 2.68548987407*I), y ==
 (-1.70043427146 + 1.05286432575*I), z == (0.932472229404 -
 0.361241666187*I)], [x == (1.33721506733 + 2.68548987407*I), y ==
 (-1.70043427146 - 1.05286432575*I), z == (0.932472229404 +
 0.361241666187*I)], [x == (-2.55065140719 - 1.57929648863*I), y ==
 (-0.547325980144 + 1.92365128635*I), z == (-0.982973099684 -
 0.183749517817*I)], [x == (-2.55065140719 + 1.57929648863*I), y ==
 (-0.547325980144 - 1.92365128635*I), z == (-0.982973099684 +
 0.183749517817*I)], [x == (0.27680507839 - 2.98720252889*I), y ==
 (1.47801783444 - 1.34739128729*I), z == (-0.85021713573 -
 0.526432162877*I)], [x == (0.27680507839 + 2.98720252889*I), y ==
 (1.47801783444 + 1.34739128729*I), z == (-0.85021713573 +
 0.526432162877*I)], [x == (-0.820988970216 + 2.88547692952*I), y ==
 (-1.20526927276 - 1.59603445456*I), z == (0.0922683594633 -
 0.995734176295*I)], [x == (-0.820988970216 - 2.88547692952*I), y ==
 (-1.20526927276 + 1.59603445456*I), z == (0.0922683594633 +
 0.995734176295*I)], [x == (-1.80790390914 - 2.39405168184*I), y ==
 (0.891476711553 - 1.79032658271*I), z == (0.739008917221 -
 0.673695643647*I)], [x == (-1.80790390914 + 2.39405168184*I), y ==
 (0.891476711553 + 1.79032658271*I), z == (0.739008917221 +
 0.673695643647*I)], [x == (2.21702675166 + 2.02108693094*I), y ==
 (1.86494445881 + 0.722483332374*I), z == (-0.273662990072 -
 0.961825643173*I)], [x == (2.21702675166 - 2.02108693094*I), y ==
 (1.86494445881 - 0.722483332374*I), z == (-0.273662990072 +
 0.961825643173*I)], [x == (2.79741668821 - 1.08372499856*I), y ==
 (-1.96594619937 + 0.367499035633*I), z == (-0.602634636379 -
 0.79801722728*I)], [x == (2.79741668821 + 1.08372499856*I), y ==
 (-1.96594619937 - 0.367499035633*I), z == (-0.602634636379 +
 0.79801722728*I)], [x == (-2.94891929905 + 0.55124855345*I), y ==
 (0.184536718927 + 1.99146835259*I), z == (0.445738355777 -
 0.895163291355*I)], [x == (-2.94891929905 - 0.55124855345*I), y ==
 (0.184536718927 - 1.99146835259*I), z == (0.445738355777 +
 0.895163291355*I)]]
 }}}

 With Sage 5.7:
 {{{
 sage: var('y z')
 (y, z)
 sage: solve([x^2*y*z==18,x*y^3*z==24,x*y*z^4==6],x,y,z)
 [x^2*y*z == 18, x*y^3*z == 24, x*y*z^4 == 6]
 }}}

 Cf http://sagebook.gforge.inria.fr/

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14306>
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