@@ -217,10 +217,10 @@ class SimplexTimer {
217217 clock[UpdateRowEpClock] = timer_pointer->clock_def (" UPDATE_ROW_EP" );
218218 }
219219
220- bool reportSimplexClockList (const char * grepStamp,
221- const std::vector<HighsInt> simplex_clock_list,
222- const HighsTimerClock& simplex_timer_clock,
223- const double tolerance_percent_report_ = -1 ) {
220+ bool reportSimplexClockList (
221+ const char * grepStamp, const std::vector<HighsInt> simplex_clock_list,
222+ const HighsTimerClock& simplex_timer_clock,
223+ const double tolerance_percent_report_ = -1 ) const {
224224 HighsTimer* timer_pointer = simplex_timer_clock.timer_pointer_ ;
225225 const std::vector<HighsInt>& clock = simplex_timer_clock.clock_ ;
226226 HighsInt simplex_clock_list_size = simplex_clock_list.size ();
@@ -238,7 +238,7 @@ class SimplexTimer {
238238 };
239239
240240 void reportChuzc4ClockList (const std::vector<HighsInt> simplex_clock_list,
241- const HighsTimerClock& simplex_timer_clock) {
241+ const HighsTimerClock& simplex_timer_clock) const {
242242 HighsTimer* timer_pointer = simplex_timer_clock.timer_pointer_ ;
243243 const std::vector<HighsInt>& clock = simplex_timer_clock.clock_ ;
244244 HighsInt simplex_clock_list_size = simplex_clock_list.size ();
@@ -253,13 +253,15 @@ class SimplexTimer {
253253 1e-8 );
254254 };
255255
256- void reportSimplexTotalClock (const HighsTimerClock& simplex_timer_clock) {
256+ void reportSimplexTotalClock (
257+ const HighsTimerClock& simplex_timer_clock) const {
257258 const std::vector<HighsInt> simplex_clock_list{SimplexTotalClock};
258259 reportSimplexClockList (" SimplexTotal" , simplex_clock_list,
259260 simplex_timer_clock);
260261 };
261262
262- void reportSimplexPhasesClock (const HighsTimerClock& simplex_timer_clock) {
263+ void reportSimplexPhasesClock (
264+ const HighsTimerClock& simplex_timer_clock) const {
263265 const std::vector<HighsInt> simplex_clock_list{
264266 SimplexIzDseWtClock, SimplexDualPhase1Clock, SimplexDualPhase2Clock,
265267 SimplexPrimalPhase2Clock};
@@ -268,13 +270,14 @@ class SimplexTimer {
268270 };
269271
270272 void reportDualSimplexIterateClock (
271- const HighsTimerClock& simplex_timer_clock) {
273+ const HighsTimerClock& simplex_timer_clock) const {
272274 const std::vector<HighsInt> simplex_clock_list{IterateClock};
273275 reportSimplexClockList (" SimplexIterate" , simplex_clock_list,
274276 simplex_timer_clock);
275277 };
276278
277- void reportDualSimplexOuterClock (const HighsTimerClock& simplex_timer_clock) {
279+ void reportDualSimplexOuterClock (
280+ const HighsTimerClock& simplex_timer_clock) const {
278281 const std::vector<HighsInt> simplex_clock_list{
279282 IterateDualRebuildClock, IterateChuzrClock, IterateChuzcClock,
280283 IterateFtranClock, IterateVerifyClock, IterateDualClock,
@@ -283,8 +286,9 @@ class SimplexTimer {
283286 simplex_timer_clock);
284287 };
285288
286- bool reportSimplexInnerClock (const HighsTimerClock& simplex_timer_clock,
287- const double tolerance_percent_report_ = -1 ) {
289+ bool reportSimplexInnerClock (
290+ const HighsTimerClock& simplex_timer_clock,
291+ const double tolerance_percent_report_ = -1 ) const {
288292 const std::vector<HighsInt> simplex_clock_list{
289293 initialiseSimplexLpBasisAndFactorClock,
290294 allocateSimplexArraysClock,
@@ -341,15 +345,16 @@ class SimplexTimer {
341345 tolerance_percent_report_);
342346 };
343347
344- void reportSimplexChuzc4Clock (const HighsTimerClock& simplex_timer_clock) {
348+ void reportSimplexChuzc4Clock (
349+ const HighsTimerClock& simplex_timer_clock) const {
345350 const std::vector<HighsInt> simplex_clock_list{Chuzc4a0Clock, Chuzc4a1Clock,
346351 Chuzc4bClock, Chuzc4cClock,
347352 Chuzc4dClock, Chuzc4eClock};
348353 reportChuzc4ClockList (simplex_clock_list, simplex_timer_clock);
349354 };
350355
351356 void reportSimplexMultiInnerClock (
352- const HighsTimerClock& simplex_timer_clock) {
357+ const HighsTimerClock& simplex_timer_clock) const {
353358 const std::vector<HighsInt> simplex_clock_list{
354359 ScaleClock,
355360 CrashClock,
0 commit comments