| 3379 | } |
| 3380 | |
| 3381 | HighsStatus Highs::getColIntegrality(const HighsInt col, |
| 3382 | HighsVarType& integrality) const { |
| 3383 | if (col < 0 || col >= this->model_.lp_.num_col_) { |
| 3384 | highsLogUser(options_.log_options, HighsLogType::kError, |
| 3385 | "Index %d for column integrality is outside the range [0, " |
| 3386 | "num_col = %d)\n", |
| 3387 | int(col), int(this->model_.lp_.num_col_)); |
| 3388 | return HighsStatus::kError; |
| 3389 | } |
| 3390 | integrality = static_cast<size_t>(col) < this->model_.lp_.integrality_.size() |
| 3391 | ? this->model_.lp_.integrality_[col] |
| 3392 | : HighsVarType::kContinuous; |
| 3393 | return HighsStatus::kOk; |
| 3394 | } |
| 3395 | |
| 3396 | HighsStatus Highs::getRows(const HighsInt from_row, const HighsInt to_row, |
| 3397 | HighsInt& num_row, double* lower, double* upper, |
no test coverage detected