| 3457 | } |
| 3458 | |
| 3459 | HighsStatus Highs::getRowByName(const std::string& name, HighsInt& row) { |
| 3460 | HighsLp& lp = model_.lp_; |
| 3461 | if (!lp.row_names_.size()) return HighsStatus::kError; |
| 3462 | if (!lp.row_hash_.name2index.size()) lp.row_hash_.form(lp.row_names_); |
| 3463 | std::string from_method = "Highs::getRowByName"; |
| 3464 | const bool is_column = false; |
| 3465 | return getIndexFromName(options_.log_options, from_method, is_column, name, |
| 3466 | lp.row_hash_.name2index, row, lp.row_names_); |
| 3467 | } |
| 3468 | |
| 3469 | HighsStatus Highs::getCoeff(const HighsInt row, const HighsInt col, |
| 3470 | double& value) const { |
no test coverage detected