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

Method solveCall

highs/lp_data/HighsInterface.cpp:4474–4496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4472}
4473
4474void HighsProfiling::solveCall(const std::string& model, const bool submip) {
4475 const bool printing = false;
4476 if (this->num_profiling_clock_ <= kToPresolveSolvePostsolve) return;
4477 const bool local_submip_ok = this->isSubMip() == submip;
4478 HighsInt thread = this->myThread();
4479 if (!local_submip_ok) {
4480 printf("Solving %3s for %4sMIP on thread %d with isSubMip() = %4sMIP\n",
4481 model.c_str(), submip ? "sub-" : "", int(thread),
4482 isSubMip() ? "sub-" : "");
4483 }
4484 assert(local_submip_ok);
4485 if (thread != 0 || submip) {
4486 if (model == "MIP") {
4487 if (printing)
4488 printf("Solving MIP for %4sMIP on thread %d\n", submip ? "sub-" : "",
4489 int(thread));
4490 } else {
4491 if (printing)
4492 printf("Solving %3s for %4sMIP on thread %d\n", model.c_str(),
4493 submip ? "sub-" : "", int(thread));
4494 }
4495 }
4496}
4497
4498// HighsInt HighsProfiling::getSepaClockIndex(const std::string& name) {
4499// assert(1==4); return 0;}

Callers 3

removeCutsMethod · 0.80
runMethod · 0.80
solveSubMipMethod · 0.80

Calls 3

isSubMipMethod · 0.95
myThreadMethod · 0.95
c_strMethod · 0.80

Tested by

no test coverage detected