MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / fixCol

Method fixCol

highs/mip/HighsCliqueTable.cpp:543–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543bool HighsCliqueTable::fixCol(HighsDomain& globaldom, CliqueVar v,
544 bool doProcessInfeasibleVertices) {
545 bool wasfixed = globaldom.isFixed(v.col);
546 globaldom.fixCol(v.col, static_cast<double>(1 - v.val));
547 if (globaldom.infeasible()) return false;
548 if (!wasfixed) {
549 ++nfixings;
550 infeasvertexstack.push_back(v);
551 if (doProcessInfeasibleVertices) processInfeasibleVertices(globaldom);
552 }
553 return true;
554}
555
556bool HighsCliqueTable::processNewEdge(HighsDomain& globaldom, CliqueVar v1,
557 CliqueVar v2) {

Callers 6

resolveLpMethod · 0.45
tryRoundedPointMethod · 0.45
randomizedRoundingMethod · 0.45
feasibilityPumpMethod · 0.45
vertexInfeasibleMethod · 0.45

Calls 3

isFixedMethod · 0.80
infeasibleMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected