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

Method invertReport

highs/simplex/HighsSimplexAnalysis.cpp:334–351  ·  view source on GitHub ↗

Called externally - from HEkkPrimal/Dual::reportRebuild

Source from the content-addressed store, hash-verified

332
333// Called externally - from HEkkPrimal/Dual::reportRebuild
334void HighsSimplexAnalysis::invertReport() {
335 if (*log_options.log_dev_level) {
336 const bool header = (num_invert_report_since_last_header < 0) ||
337 (num_invert_report_since_last_header > 49) ||
338 (num_iteration_report_since_last_header >= 0);
339 if (header) {
340 invertReport(header);
341 num_invert_report_since_last_header = 0;
342 }
343 invertReport(false);
344 // Force an iteration report header if this is an INVERT report without an
345 // rebuild_reason
346 if (!rebuild_reason) num_iteration_report_since_last_header = -1;
347 } else {
348 const bool force = false;
349 userInvertReport(force);
350 }
351}
352
353void HighsSimplexAnalysis::invertReport(const bool header) {
354 analysis_log = std::unique_ptr<std::stringstream>(new std::stringstream());

Callers 2

reportRebuildMethod · 0.80
reportRebuildMethod · 0.80

Calls 3

highsLogDevFunction · 0.85
c_strMethod · 0.80
strMethod · 0.80

Tested by

no test coverage detected