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

Method timeReporting

highs/simplex/HEkkDebug.cpp:158–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void HEkk::timeReporting(const HighsInt save_mod_recover) {
159 static HighsInt highs_analysis_level;
160 if (save_mod_recover == -1) {
161 highs_analysis_level = options_->highs_analysis_level;
162 } else if (save_mod_recover == 0) {
163 // Ensure that kHighsAnalysisLevelSolverTime is set
164 if (!(kHighsAnalysisLevelSolverTime & highs_analysis_level))
165 this->options_->highs_analysis_level += kHighsAnalysisLevelSolverTime;
166 } else {
167 options_->highs_analysis_level = highs_analysis_level;
168 SimplexTimer simplex_timer;
169 const bool non_null_report = simplex_timer.reportSimplexInnerClock(
170 this->analysis_.thread_simplex_clocks[0], 20);
171 this->analysis_.analyse_simplex_time =
172 kHighsAnalysisLevelSolverTime & options_->highs_analysis_level;
173 if (non_null_report) {
174 HighsLogOptions log_options;
175 bool output_flag = true;
176 bool log_to_console = false;
177 HighsInt log_dev_level = kHighsLogDevLevelVerbose;
178 log_options.log_stream = stdout;
179 log_options.output_flag = &output_flag;
180 log_options.log_to_console = &log_to_console;
181 log_options.log_dev_level = &log_dev_level;
182 reportSimplexPhaseIterations(log_options, this->iteration_count_,
183 this->info_);
184 }
185 }
186}
187
188void HEkk::debugReporting(const HighsInt save_mod_recover,
189 const HighsInt log_dev_level_) {

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected