[Cgl-tickets] Re: [COIN-OR Cut Generator Library] #8: CglKnapsackCover::deriveAKnapsack asserts when leMatrixRow has 0 element

COIN-OR Cut Generator Library coin-trac at coin-or.org
Mon Sep 24 11:07:57 EDT 2007


#8: CglKnapsackCover::deriveAKnapsack asserts when leMatrixRow has 0 element
-------------------------------+--------------------------------------------
  Reporter:  San               |       Owner:  rlh          
      Type:  defect            |      Status:  closed       
  Priority:  major             |   Milestone:               
 Component:  CglKnapsackCover  |     Version:  release 0.5.1
Resolution:  fixed             |    Keywords:               
-------------------------------+--------------------------------------------
Changes (by rlh):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 The deriveAKnapsack() method was changed in the trunk version of
 CglKnapsackCover.cpp on 08/17/07 by John Forrest to return 0 if the number
 of elements in a row is zero.

 {
 // On investiagtion looks as if it can happen without being a bug
 if (numberElements==0) return 0;
 }

 The fix will be included in the next point release.

-- 
Ticket URL: <https://projects.coin-or.org/Cgl/ticket/8#comment:5>
COIN-OR Cut Generator Library <http://projects.coin-or.org/Cgl>
A library of mixed-integer programming cutting plane generators.



More information about the Cgl-tickets mailing list