| 60 | } |
| 61 | |
| 62 | HighsDebugStatus debugDualChuzcFailQuad1( |
| 63 | const HighsOptions& options, const HighsInt workCount, |
| 64 | const std::vector<std::pair<HighsInt, double>>& workData, |
| 65 | const HighsInt numVar, const double* workDual, const double selectTheta, |
| 66 | const bool force) { |
| 67 | // Non-trivially expensive assessment of CHUZC failure |
| 68 | if (options.highs_debug_level < kHighsDebugLevelCostly && !force) |
| 69 | return HighsDebugStatus::kNotChecked; |
| 70 | |
| 71 | highsLogDev( |
| 72 | options.log_options, HighsLogType::kInfo, |
| 73 | "DualChuzC: No group identified in quad search so return error\n"); |
| 74 | double workDataNorm; |
| 75 | double workDualNorm; |
| 76 | debugDualChuzcFailNorms(workCount, workData, workDataNorm, numVar, workDual, |
| 77 | workDualNorm); |
| 78 | highsLogDev(options.log_options, HighsLogType::kInfo, |
| 79 | "DualChuzC: workCount = %" HIGHSINT_FORMAT |
| 80 | "; selectTheta=%g\n", |
| 81 | workCount, selectTheta); |
| 82 | highsLogDev(options.log_options, HighsLogType::kInfo, |
| 83 | "DualChuzC: workDataNorm = %g; workDualNorm = %g\n", |
| 84 | workDataNorm, workDualNorm); |
| 85 | return HighsDebugStatus::kOk; |
| 86 | } |
| 87 | |
| 88 | HighsDebugStatus debugDualChuzcFailHeap( |
| 89 | const HighsOptions& options, const HighsInt workCount, |
no test coverage detected