#15521: Deprecations: default LP variables will become real instead of 
nonnegative
----------------------------------+---------------------------------
   Reporter:  ncohen              |            Owner:
       Type:  enhancement         |           Status:  new
   Priority:  major               |        Milestone:  sage-6.1
  Component:  linear programming  |         Keywords:
  Merged in:                      |          Authors:  Nathann Cohen
  Reviewers:                      |  Report Upstream:  N/A
Work issues:                      |           Branch:
     Commit:                      |     Dependencies:  #15482
   Stopgaps:                      |
----------------------------------+---------------------------------
 Following the discussion on Sage-devel [1], default LP variables will
 become "real" instead of nonnegative as it is the case at the moment.

 The aim is to have 4 types available through `new_variable()` : binary,
 integer, nonnegative, and real. Right now, nonnegative does not exist, and
 "real" represents nonnegative variables.

 What this ticket does:

 - A warning has to be displayed when `new_variable()` is called without
 arguments, as the default behaviour will change. Users are advised to add
 `nonnegative=True` instead.

 - A warning has to be displayed when `new_variable(real=True)` is called,
 for it represents nonnegative variables at the moment and will represent
 real variables later. Users are advised to switch to `nonnegative=True`
 instead.

 Nathann

 [1] https://groups.google.com/d/msg/sage-devel/3vrPzUqFpM4/hKFp0RjV8poJ

--
Ticket URL: <http://trac.sagemath.org/ticket/15521>
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/groups/opt_out.

Reply via email to