Opened 12 years ago

Closed 12 years ago

#46 closed defect (fixed)

Incorrect conversion to dynamic pseudo cost

Reported by: fmargot Owned by: somebody
Priority: major Component: component1
Version: 2.0 Keywords:
Cc:

Description

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

Change History (1)

comment:1 Changed 12 years ago by ladanyi

  • Resolution set to fixed
  • Status changed from new to closed

JJF fixed it in changeset 900 (and 899 in trunk).

Note: See TracTickets for help on using tickets.