Skip to content

Commit

Permalink
double check bad solve in fathommany
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Jan 6, 2025
1 parent ede8a52 commit 989cc14
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/CbcNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6735,6 +6735,14 @@ int CbcNode::chooseClpBranch(CbcModel *model,
int saveLogLevel = simplex->logLevel();
simplex->setLogLevel(0);
simplex->dual();
if (simplex->status()) {
#ifdef CBC_MORE_PRINTING
model->messageHandler()->message(CBC_FPUMP1, *model->messagesPointer())
<< "fathomMany solution -trying again from allslack" << CoinMessageEol;
#endif
simplex->allSlackBasis(true);
simplex->dual();
}
simplex->setLogLevel(saveLogLevel);
double cutoff = model->getCutoff();
bool goodSolution = true;
Expand Down

0 comments on commit 989cc14

Please sign in to comment.