| 391 | } |
| 392 | |
| 393 | std::tuple<HighsStatus, dense_array_t<double>> highs_getReducedColumn( |
| 394 | Highs* h, HighsInt col) { |
| 395 | HighsInt num_row = h->getNumRow(); |
| 396 | |
| 397 | HighsStatus status = HighsStatus::kOk; |
| 398 | std::vector<double> solution_vector(num_row); |
| 399 | double* solution_vector_ptr = static_cast<double*>(solution_vector.data()); |
| 400 | |
| 401 | if (num_row > 0) status = h->getReducedColumn(col, solution_vector_ptr); |
| 402 | return std::make_tuple(status, py::cast(solution_vector)); |
| 403 | } |
| 404 | |
| 405 | std::tuple<HighsStatus, dense_array_t<double>, HighsInt, |
| 406 | dense_array_t<HighsInt>> |
nothing calls this directly
no test coverage detected