| 307 | } |
| 308 | |
| 309 | bool HSimplexNla::sparseLoopStyle(const HighsInt count, const HighsInt dim, |
| 310 | HighsInt& to_entry) const { |
| 311 | // Parameter to decide whether to use just the values in a HVector, or |
| 312 | // use the indices of their nonzeros |
| 313 | const bool use_indices = count >= 0 && count < kDensityForIndexing * dim; |
| 314 | if (use_indices) { |
| 315 | to_entry = count; |
| 316 | } else { |
| 317 | to_entry = dim; |
| 318 | } |
| 319 | return use_indices; |
| 320 | } |
| 321 | |
| 322 | void HSimplexNla::reportArray(const std::string message, const HVector* vector, |
| 323 | const bool force) const { |
no outgoing calls
no test coverage detected