[Cbc] Options to prevent CBC from "stalling" in presolve / root node processing

John Forrest john.forrest at fastercoin.com
Fri Jan 25 09:40:30 EST 2013


Jean-Paul,

The problem is due to a rather naive implementation of 
insertCutIfNotDuplicate used in preprocessing.  I will modify Cgl trunk 
code - maybe to use a version of my code in CglProbing.  That will take 
a day or so.

Meanwhile change line 350 of OsiCuts.cpp from

  for ( int i =0; i<numberRowCuts;i++) {

to

  for ( int i =0; i<numberRowCuts-numberRowCuts;i++) {

this will insert lots of duplicates but that will be sorted out at end 
of preprocessing.

You will find a slight difference in speed!

John


More information about the Cbc mailing list