Skip to content

Commit 581c780

Browse files
committed
take out OsiRowCutDebugger unless CHECK_KNOWN_SOLUTION
1 parent 2746438 commit 581c780

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CglLandP/CglLandP.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ CglLandP::generateCuts(const OsiSolverInterface & si, OsiCuts & cs,
801801
{
802802
cut.setGloballyValid(true);
803803
}
804+
#ifdef CHECK_KNOWN_SOLUTION
804805
const OsiRowCutDebugger *debugger = si.getRowCutDebugger();
805806
if (debugger) {
806807
if (debugger->invalidCut(cut)) {
@@ -809,6 +810,7 @@ CglLandP::generateCuts(const OsiSolverInterface & si, OsiCuts & cs,
809810
}
810811
}
811812
//CoinAssert (!debugger->invalidCut(*cut));
813+
#endif
812814
cs.insertIfNotDuplicate(cut, eq);
813815
//cs.insertIfNotDuplicate(cut);
814816
{

0 commit comments

Comments
 (0)