Opened 10 years ago

Closed 10 years ago

#76 closed defect (fixed)

cbc 2.2.2 / release: problem with Lift&Project on miplib2003/fiber.mps

Reported by: tfahle Owned by: somebody
Priority: major Component: component1
Version: Keywords:


When running cbc 2.2.2/Release with -liftandP on -import fiber.mps -branchAndC

the code at some point tries to assign an uninitialized variable (bestDiretion) to some other variable. This can be reprtoduced unter WinXP/MS Vis Studio 2008 and Linux/gcc4.1.2

Problem in CglLandPSimplex.cpp, fastFindCutImprovingPivotRow() There, bestDirection is not initialized when declared and it is possible that it later on passes all assigments. So it remains uninitialized until it copies its (useless) value to variable direction.

I'm not sure about ::rescanReducedCosts() in the same file. I haven't seen a problem there, but the construction is similar and may also lead to uninitialised values in rare cases?

Attachments (1)

cbc_crash_fiber.txt (5.6 KB) - added by tfahle 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by tfahle

comment:1 Changed 10 years ago by tfahle

Forgot to mention that there are more details in the attached file

comment:2 Changed 10 years ago by stefan

The initializiation of bestDirection seem to have been fixed by the large changset 714 in Cgl. For me, fiber now runs fine with Cbc 2.3.


comment:3 Changed 10 years ago by forrest

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

Yes I did try to initialize some stuff

Note: See TracTickets for help on using tickets.