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

Function debugDualChuzcFailQuad0

highs/simplex/HSimplexDebug.cpp:37–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37HighsDebugStatus 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
62HighsDebugStatus debugDualChuzcFailQuad1(
63 const HighsOptions& options, const HighsInt workCount,

Callers 2

Calls 2

highsLogDevFunction · 0.85
debugDualChuzcFailNormsFunction · 0.85

Tested by

no test coverage detected