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

Method iterationReport

highs/simplex/HighsSimplexAnalysis.cpp:314–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314void HighsSimplexAnalysis::iterationReport() {
315 const bool simple_report = false;
316 if (simple_report) {
317 printf(
318 "Iter %5d: (%6d; %6d) delta_primal = %11.4g; dual_step = %11.4g; "
319 "primal_step = %11.4g\n",
320 (int)simplex_iteration_count, (int)leaving_variable,
321 (int)entering_variable, primal_delta, dual_step, primal_step);
322 }
323 if (*log_options.log_dev_level < (HighsInt)kIterationReportLogType) return;
324 const bool header = (num_iteration_report_since_last_header < 0) ||
325 (num_iteration_report_since_last_header > 49);
326 if (header) {
327 iterationReport(header);
328 num_iteration_report_since_last_header = 0;
329 }
330 iterationReport(false);
331}
332
333// Called externally - from HEkkPrimal/Dual::reportRebuild
334void HighsSimplexAnalysis::invertReport() {

Callers 3

iterationAnalysisMethod · 0.80
iterationAnalysisMethod · 0.80

Calls 3

highsLogDevFunction · 0.85
c_strMethod · 0.80
strMethod · 0.80

Tested by

no test coverage detected