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

Function debugReportMarkSingC

highs/util/HFactorDebug.cpp:158–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void debugReportMarkSingC(const HighsInt call_id,
159 const HighsInt highs_debug_level,
160 const HighsLogOptions& log_options,
161 const HighsInt num_row, const vector<HighsInt>& iwork,
162 const HighsInt* basic_index) {
163 if (highs_debug_level == kHighsDebugLevelNone) return;
164 if (num_row > 123) return;
165 if (call_id == 0) {
166 highsLogDev(log_options, HighsLogType::kWarning, "\nMarkSingC1");
167 highsLogDev(log_options, HighsLogType::kWarning, "\nIndex ");
168 for (HighsInt i = 0; i < num_row; i++)
169 highsLogDev(log_options, HighsLogType::kWarning, " %2" HIGHSINT_FORMAT "",
170 i);
171 highsLogDev(log_options, HighsLogType::kWarning, "\niwork ");
172 for (HighsInt i = 0; i < num_row; i++)
173 highsLogDev(log_options, HighsLogType::kWarning, " %2" HIGHSINT_FORMAT "",
174 iwork[i]);
175 highsLogDev(log_options, HighsLogType::kWarning, "\nBaseI ");
176 for (HighsInt i = 0; i < num_row; i++)
177 highsLogDev(log_options, HighsLogType::kWarning, " %2" HIGHSINT_FORMAT "",
178 basic_index[i]);
179 } else if (call_id == 1) {
180 highsLogDev(log_options, HighsLogType::kWarning, "\nMarkSingC2");
181 highsLogDev(log_options, HighsLogType::kWarning, "\nIndex ");
182 for (HighsInt i = 0; i < num_row; i++)
183 highsLogDev(log_options, HighsLogType::kWarning, " %2" HIGHSINT_FORMAT "",
184 i);
185 highsLogDev(log_options, HighsLogType::kWarning, "\nNwBaseI");
186 for (HighsInt i = 0; i < num_row; i++)
187 highsLogDev(log_options, HighsLogType::kWarning, " %2" HIGHSINT_FORMAT "",
188 basic_index[i]);
189 highsLogDev(log_options, HighsLogType::kWarning, "\n");
190 }
191}
192
193void debugLogRankDeficiency(
194 const HighsInt highs_debug_level, const HighsLogOptions& log_options,

Callers 1

buildMarkSingCMethod · 0.85

Calls 1

highsLogDevFunction · 0.85

Tested by

no test coverage detected