| 2256 | } |
| 2257 | |
| 2258 | HighsStatus Highs::getBasicVariables(HighsInt* basic_variables) { |
| 2259 | if (basic_variables == NULL) { |
| 2260 | highsLogUser(options_.log_options, HighsLogType::kError, |
| 2261 | "getBasicVariables: basic_variables is NULL\n"); |
| 2262 | return HighsStatus::kError; |
| 2263 | } |
| 2264 | HighsProfiling profiling; |
| 2265 | const bool already_profiling = this->profiling_; |
| 2266 | if (!already_profiling) this->initializeSingleThreadedProfiling(&profiling); |
| 2267 | HighsStatus status = getBasicVariablesInterface(basic_variables); |
| 2268 | if (!already_profiling) this->clearProfiling(); |
| 2269 | return status; |
| 2270 | } |
| 2271 | |
| 2272 | HighsStatus Highs::getBasisInverseRowSparse(const HighsInt row, |
| 2273 | HVector& row_ep_buffer) { |