#20354: PPLBackend: Add support for integer variables
-------------------------------------+-------------------------------------
       Reporter:  mkoeppe            |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.2
      Component:  numerical          |   Resolution:
       Keywords:  lp                 |    Merged in:
        Authors:  Matthias Koeppe    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/mkoeppe/pplbackend__add_support_for_integer_variables|  
144a970ae97b209acccf6d38de540401c8c8a587
   Dependencies:  #20351,#20303      |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by mkoeppe):

 No, `continuous=True` in the arglist cannot work
 because then one cannot distinguish
  - `add_variable(..., binary=True)` (which should create a binary
 variable)
  - `add_variable(..., binary=True, continuous=True)` (which should raise
 an error).
 All backends implement the defaulting to continuous variables
 imperatively.

 Previously it did not matter because the PPL backend was simply ignoring
 these parameters altogether.

 (I've added a dicussion of this interface to ticket #20324.)

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

Reply via email to