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

Function debugDualChuzcFailQuad1

highs/simplex/HSimplexDebug.cpp:62–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62HighsDebugStatus 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
88HighsDebugStatus debugDualChuzcFailHeap(
89 const HighsOptions& options, const HighsInt workCount,

Callers 2

Calls 2

highsLogDevFunction · 0.85
debugDualChuzcFailNormsFunction · 0.85

Tested by

no test coverage detected