[Cbc] Incorrect conversion to Dynamic Pseudo Costs
fmargot at andrew.cmu.edu
fmargot at andrew.cmu.edu
Sat Mar 15 14:26:38 EDT 2008
In file CbcBranchActual.cpp
1149 CbcSimpleIntegerPseudoCost::CbcSimpleIntegerPseudoCost (CbcModel * model, int dummy,int iColumn,
1150 double downPseudoCost, double upPseudoCost)
1151 {
1152 CbcSimpleIntegerPseudoCost(model,iColumn,downPseudoCost,upPseudoCost);
1153 columnNumber_=iColumn;
1154 }
line 1152 should be
*this = CbcSimpleIntegerPseudoCost(model,iColumn,downPseudoCost,upPseudoCost);
Otherwise a new object is created and *this is not changed leaving an unitialized object.
This affects stable 2.0 and realease 2.0.0. A ticket (#46) has been filed.
Francois
More information about the Cbc
mailing list