Skip to content

Commit

Permalink
take out possible message which could overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Nov 21, 2024
1 parent c07167b commit 07fde2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/CbcNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5917,6 +5917,7 @@ int CbcNode::analyze(CbcModel *model, double *results)
*model->messagesPointer())
<< general
<< CoinMessageEol;
#if 0 // taken out as can easily overflow
sprintf(general, "Breakdown ");
for (i = 0; i < numberIntegers; i++) {
int iColumn = integerVariable[i];
Expand All @@ -5939,6 +5940,7 @@ int CbcNode::analyze(CbcModel *model, double *results)
*model->messagesPointer())
<< general
<< CoinMessageEol;
#endif
delete[] objMovement;
if ((solveType & 2) == 0) {
// Delete the snapshot
Expand Down Expand Up @@ -6673,6 +6675,13 @@ int CbcNode::chooseClpBranch(CbcModel *model,
depth_ = lastNode->depth_ + 1;
delete branch_;
branch_ = NULL;
#ifdef CBC_HAS_NAUTY
{
int nx = model->fixFromGlobalCuts();
//if (nx)
//printf("NX %d\n",nx);
}
#endif
OsiSolverInterface *solver = model->solver();
//double saveObjectiveValue = solver->getObjValue();
//double objectiveValue = std::max(solver->getObjSenseInCbc()*saveObjectiveValue,objectiveValue_);
Expand Down

0 comments on commit 07fde2e

Please sign in to comment.