#16504: A mandatory 'nonnegative' argument for
MixedIntegerLinearProgram.new_variable() until the standard changes
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.3
      Component:  linear             |   Resolution:
  programming                        |    Merged in:
       Keywords:                     |    Reviewers:  Jeroen Demeyer
        Authors:  Nathann Cohen      |  Work issues:  nonnegative=False
Report Upstream:  N/A                |  doctests, avoid isinstance()
         Branch:  u/ncohen/16504     |       Commit:
   Dependencies:                     |  b1f43af754d4ab7e136015519c7fc0cdbe32dd36
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by ncohen):

 > And why remove this warning?
 > {{{
 > #!diff
 > .. WARNING::
 > -
 > - By default, all ``x[i]`` are assumed to be non-negative. See
 > - :meth:`set_min` to set a different lower bound.
 > }}}

 Because there is no need for a warning anymore : now the user explicitly
 says whether he wants the variables to be nonnegative or not, or he gets a
 warning.

 Plus it will be the other way around next year.

 Nathann

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