#12220: Updated CBC spkg
----------------------------------+-----------------------------------------
   Reporter:  ncohen              |          Owner:  ncohen            
       Type:  enhancement         |         Status:  needs_info        
   Priority:  major               |      Milestone:  sage-5.0          
  Component:  linear programming  |       Keywords:  sd35.5, Cernay2012
Work_issues:                      |       Upstream:  N/A               
   Reviewer:                      |         Author:  John Perry        
     Merged:                      |   Dependencies:                    
----------------------------------+-----------------------------------------

Comment(by john_perry):

 I see that `binpacking()` sets the variable to binary, but I don't see any
 rounding in any of the backends. I do see that in the `coin_backend` we
 have (line 252)
 {{{
         elif vtype == 0:
             self.si.setColLower(variable, 0)
             self.si.setInteger(variable)
             self.si.setColUpper(variable, 1)
 }}}
 which sets the binary variable.

 If I infer correctly, it's `optimize.py` that should be patched, so that
 `binpacking` checks the rounded result, and not a clear `1`?

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