| 35 | } |
| 36 | |
| 37 | HighsDebugStatus debugDualChuzcFailQuad0( |
| 38 | const HighsOptions& options, const HighsInt workCount, |
| 39 | const std::vector<std::pair<HighsInt, double>>& workData, |
| 40 | const HighsInt numVar, const double* workDual, const double selectTheta, |
| 41 | const double remainTheta, const bool force) { |
| 42 | // Non-trivially expensive assessment of CHUZC failure |
| 43 | if (options.highs_debug_level < kHighsDebugLevelCostly && !force) |
| 44 | return HighsDebugStatus::kNotChecked; |
| 45 | |
| 46 | highsLogDev(options.log_options, HighsLogType::kInfo, |
| 47 | "DualChuzC: No change in loop 2 so return error\n"); |
| 48 | double workDataNorm; |
| 49 | double workDualNorm; |
| 50 | debugDualChuzcFailNorms(workCount, workData, workDataNorm, numVar, workDual, |
| 51 | workDualNorm); |
| 52 | highsLogDev(options.log_options, HighsLogType::kInfo, |
| 53 | "DualChuzC: workCount = %" HIGHSINT_FORMAT |
| 54 | "; selectTheta=%g; remainTheta=%g\n", |
| 55 | workCount, selectTheta, remainTheta); |
| 56 | highsLogDev(options.log_options, HighsLogType::kInfo, |
| 57 | "DualChuzC: workDataNorm = %g; workDualNorm = %g\n", |
| 58 | workDataNorm, workDualNorm); |
| 59 | return HighsDebugStatus::kOk; |
| 60 | } |
| 61 | |
| 62 | HighsDebugStatus debugDualChuzcFailQuad1( |
| 63 | const HighsOptions& options, const HighsInt workCount, |
no test coverage detected