| 236 | // const { return getOptionType(option, type);} |
| 237 | |
| 238 | HighsStatus Highs::getOptionName(const HighsInt index, |
| 239 | std::string* name) const { |
| 240 | if (index < 0 || index >= HighsInt(this->options_.records.size())) |
| 241 | return HighsStatus::kError; |
| 242 | *name = this->options_.records[index]->name; |
| 243 | return HighsStatus::kOk; |
| 244 | } |
| 245 | |
| 246 | HighsStatus Highs::getOptionType(const std::string& option, |
| 247 | HighsOptionType* type) const { |
no test coverage detected