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

Method checkObjIntegrality

highs/mip/HighsMipSolverData.cpp:2632–2639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2630}
2631
2632void HighsMipSolverData::checkObjIntegrality() {
2633 objectiveFunction.checkIntegrality(epsilon);
2634 if (objectiveFunction.isIntegral() && numRestarts == 0) {
2635 highsLogUser(mipsolver.options_mip_->log_options, HighsLogType::kInfo,
2636 "Objective function is integral with scale %g\n",
2637 objectiveFunction.integralScale());
2638 }
2639}
2640
2641void HighsMipSolverData::setupDomainPropagation() {
2642 const HighsLp& model = *mipsolver.model_;

Callers

nothing calls this directly

Calls 4

highsLogUserFunction · 0.85
checkIntegralityMethod · 0.80
isIntegralMethod · 0.45
integralScaleMethod · 0.45

Tested by

no test coverage detected