#13646: Bug in p.add_constraint (when input is True/False)
-----------------------------------------------+----------------------------
       Reporter:  ncohen                       |         Owner:  ncohen      
           Type:  defect                       |        Status:  needs_review
       Priority:  major                        |     Milestone:  sage-5.5    
      Component:  linear programming           |    Resolution:              
       Keywords:                               |   Work issues:              
Report Upstream:  N/A                          |     Reviewers:              
        Authors:  Nathann Cohen, Volker Braun  |     Merged in:              
   Dependencies:  #12533                       |      Stopgaps:              
-----------------------------------------------+----------------------------

Comment (by ncohen):

 > The output is fine, it prints 1.0 in `p.show()`. Did you actually try
 it?

 I did not. I thought that it was one of the things you were leaving for
 later, while you indeed say the opposite in your message. Hadn't noticed
 that part.

 > Also, right now the coefficients aren't converted into the base ring
 unless the coercion framework requires it. This is something that should
 be fixed as well, so coefficients always live in the respective base ring.
 But thats another thing for later when the backends report their base
 ring.
 >
 > With a stand-alone `Sum` function you can't do the empty sum - what
 would be its parent?

 It used to return None, and I lived fine with it.

 Could you please answer my question about sum to p.sum ?

 Nathann

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