| 820 | } |
| 821 | |
| 822 | void Highs::getColsInterface(const HighsIndexCollection& index_collection, |
| 823 | HighsInt& num_col, double* cost, double* lower, |
| 824 | double* upper, HighsInt& num_nz, HighsInt* start, |
| 825 | HighsInt* index, double* value) const { |
| 826 | const HighsLp& lp = model_.lp_; |
| 827 | if (lp.a_matrix_.isColwise()) { |
| 828 | getSubVectors(index_collection, lp.num_col_, lp.col_cost_.data(), |
| 829 | lp.col_lower_.data(), lp.col_upper_.data(), lp.a_matrix_, |
| 830 | num_col, cost, lower, upper, num_nz, start, index, value); |
| 831 | } else { |
| 832 | getSubVectorsTranspose(index_collection, lp.num_col_, lp.col_cost_.data(), |
| 833 | lp.col_lower_.data(), lp.col_upper_.data(), |
| 834 | lp.a_matrix_, num_col, cost, lower, upper, num_nz, |
| 835 | start, index, value); |
| 836 | } |
| 837 | } |
| 838 | |
| 839 | void Highs::getRowsInterface(const HighsIndexCollection& index_collection, |
| 840 | HighsInt& num_row, double* lower, double* upper, |
nothing calls this directly
no test coverage detected