| 813 | } |
| 814 | |
| 815 | void HighsSparseMatrix::assessSmallValues(const HighsLogOptions& log_options, |
| 816 | const double small_matrix_value) { |
| 817 | double min_value = kHighsInf; |
| 818 | const HighsInt num_values = static_cast<HighsInt>(this->value_.size()); |
| 819 | for (HighsInt iX = 0; iX < num_values; iX++) |
| 820 | min_value = std::min(std::abs(this->value_[iX]), min_value); |
| 821 | if (min_value > small_matrix_value) return; |
| 822 | analyseVectorValues(&log_options, "Small values in matrix", num_values, |
| 823 | this->value_, false, ""); |
| 824 | } |
| 825 | |
| 826 | bool HighsSparseMatrix::hasLargeValue(const double large_matrix_value) { |
| 827 | for (HighsInt iEl = 0; iEl < this->numNz(); iEl++) |
no test coverage detected