| 359 | } |
| 360 | |
| 361 | std::tuple<HighsStatus, dense_array_t<double>> highs_getReducedRow( |
| 362 | Highs* h, HighsInt row) { |
| 363 | HighsInt num_col = h->getNumCol(); |
| 364 | HighsInt num_row = h->getNumRow(); |
| 365 | |
| 366 | HighsStatus status = HighsStatus::kOk; |
| 367 | std::vector<double> solution_vector(num_col); |
| 368 | double* solution_vector_ptr = static_cast<double*>(solution_vector.data()); |
| 369 | |
| 370 | if (num_row > 0) status = h->getReducedRow(row, solution_vector_ptr); |
| 371 | return std::make_tuple(status, py::cast(solution_vector)); |
| 372 | } |
| 373 | |
| 374 | std::tuple<HighsStatus, dense_array_t<double>, HighsInt, |
| 375 | dense_array_t<HighsInt>> |
nothing calls this directly
no test coverage detected