| 2742 | } |
| 2743 | |
| 2744 | bool 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 | |
| 2753 | void HighsMipSolverData::queryExternalSolution( |
| 2754 | const double mipsolver_objective_value, |
no test coverage detected