| 3472 | } |
| 3473 | |
| 3474 | HighsStatus HEkk::returnFromEkkSolve(const HighsStatus return_status) { |
| 3475 | if (analysis_.analyse_simplex_time) |
| 3476 | analysis_.simplexTimerStop(SimplexTotalClock); |
| 3477 | // Restore any modified development or timing settings and analyse |
| 3478 | // solver timing |
| 3479 | if (debug_solve_report_) debugReporting(1); |
| 3480 | if (time_report_) timeReporting(1); |
| 3481 | // Note that in timeReporting(1), analysis_.analyse_simplex_time |
| 3482 | // reverts to its value given by options_ |
| 3483 | if (analysis_.analyse_simplex_time) analysis_.reportSimplexTimer(); |
| 3484 | simplex_stats_.valid = true; |
| 3485 | // Since HEkk::iteration_count_ includes iteration on presolved LP, |
| 3486 | // simplex_stats_.iteration_count is initialised to - |
| 3487 | // HEkk::iteration_count_ |
| 3488 | simplex_stats_.iteration_count += iteration_count_; |
| 3489 | // simplex_stats_.num_invert is incremented internally |
| 3490 | simplex_stats_.last_invert_num_el = simplex_nla_.factor_.invert_num_el; |
| 3491 | simplex_stats_.last_factored_basis_num_el = |
| 3492 | simplex_nla_.factor_.basis_matrix_num_el; |
| 3493 | simplex_stats_.col_aq_density = analysis_.col_aq_density; |
| 3494 | simplex_stats_.row_ep_density = analysis_.row_ep_density; |
| 3495 | simplex_stats_.row_ap_density = analysis_.row_ap_density; |
| 3496 | simplex_stats_.row_DSE_density = analysis_.row_DSE_density; |
| 3497 | return return_status; |
| 3498 | } |
| 3499 | |
| 3500 | HighsStatus HEkk::returnFromSolve(const HighsStatus return_status) { |
| 3501 | // Always called before returning from HEkkPrimal/Dual::solve() |
nothing calls this directly
no test coverage detected