Opened 6 years ago

Closed 7 weeks ago

#132 closed defect (migrated)

Problem with Cbc and DiveLineSearch Heuristic

Reported by: ycollet Owned by: tkr
Priority: major Component: Cbc
Version: 2.7 Keywords:
Cc:

Description

Hello,

I met a problem with the divelinesearch heuristic. I use the last version of CBC (2.8.3). The problem has been met under windows 32 + 64 and linux 64.

I added the heuristic like this:

CbcHeuristicDiveLineSearch? HeuristicDiveLineSearch?;

HeuristicDiveLineSearch?.setModel(pModel_l); myCbcModel->addHeuristic(&HeuristicDiveLineSearch?);

Here is the gdb log:

#0 0x000000000128f9ba in CbcHeuristicDiveLineSearch::selectVariableToBranch (this=0x1c929e0, solver=0x1cb3a28, newSolution=0x1cb3450, bestColumn=@0x7fffffff9d6c: -1,

bestRound=@0x7fffffff9d70: -1) at /home/crystal/rmdev/MoteurRiskManager-cmake/build_tmp/Dependencies/Cbc/src/EP_Cbc/Cbc/src/CbcHeuristicDiveLineSearch.cpp:85

#1 0x0000000001289d6e in CbcHeuristicDive::solution (this=0x1c929e0, solutionValue=@0x7fffffffa0b0: 1.0000000000000001e+50, numberNodes=@0x7fffffffa020: -1,

numberCuts=@0x7fffffffa01c: 0, cuts=0x0, nodes=@0x7fffffffa030: 0x0, newSolution=0x1cb3450) at /home/crystal/rmdev/MoteurRiskManager-cmake/build_tmp/Dependencies/Cbc/src/EP_Cbc/Cbc/src/CbcHeuristicDive.cpp:314

#2 0x000000000128c277 in CbcHeuristicDive::solution (this=0x1c929e0, solutionValue=@0x7fffffffa0b0: 1.0000000000000001e+50, betterSolution=0x1cb3120)

at /home/crystal/rmdev/MoteurRiskManager-cmake/build_tmp/Dependencies/Cbc/src/EP_Cbc/Cbc/src/CbcHeuristicDive.cpp:902

#3 0x000000000131f576 in CbcModel::doHeuristicsAtRoot (this=0x1aa93e0, deleteHeuristicsAfterwards=0)

at /home/crystal/rmdev/MoteurRiskManager-cmake/build_tmp/Dependencies/Cbc/src/EP_Cbc/Cbc/src/CbcModel.cpp:14322

#4 0x00000000012ef99f in CbcModel::branchAndBound (this=0x1aa93e0, doStatistics=0)

at /home/crystal/rmdev/MoteurRiskManager-cmake/build_tmp/Dependencies/Cbc/src/EP_Cbc/Cbc/src/CbcModel.cpp:2617

#5 0x0000000001276799 in OsiCbcSolverInterface::branchAndBound (this=0x1a9d400)

Best regards,

YC

Change History (1)

comment:1 Changed 7 weeks ago by stefan

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

This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Cbc/issues/132

Note: See TracTickets for help on using tickets.