[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #72: Small bug in CBCModel.cpp ?

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Thu Apr 23 12:14:19 EDT 2009


#72: Small bug in CBCModel.cpp ?
-------------------------+--------------------------------------------------
  Reporter:  tfahle      |       Owner:  somebody
      Type:  defect      |      Status:  new     
  Priority:  major       |   Milestone:          
 Component:  component1  |     Version:          
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------
Comment (by tfahle):

 Ok, it seems that the trac-wiki syntax eats part of the description above.

 My comment is that the if-statement should have a logical-or (two "|")
 rather than a bitwise-or (one "|").
 The first compares if "whenC" has value 999999 or 999998.
 The later does a bitwise or between 999999 and "whenC", compares that with
 999998 and assignes the result of that comparison to whenC

-- 
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/72#comment:1>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list