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

Method interruptFromCallbackWithData

highs/mip/HighsMipSolverData.cpp:2744–2751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2742}
2743
2744bool HighsMipSolverData::interruptFromCallbackWithData(
2745 const int callback_type, const double mipsolver_objective_value,
2746 const std::string message) const {
2747 if (!mipsolver.callback_->callbackActive(callback_type)) return false;
2748 assert(!mipsolver.submip);
2749 setCallbackDataOut(mipsolver_objective_value);
2750 return mipsolver.callback_->callbackAction(callback_type, message);
2751}
2752
2753void HighsMipSolverData::queryExternalSolution(
2754 const double mipsolver_objective_value,

Callers 1

callbackGetCutPoolMethod · 0.80

Calls 2

callbackActiveMethod · 0.80
callbackActionMethod · 0.80

Tested by

no test coverage detected