| 4472 | } |
| 4473 | |
| 4474 | void 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;} |
no test coverage detected