MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / getOptionName

Method getOptionName

highs/lp_data/Highs.cpp:238–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236// const { return getOptionType(option, type);}
237
238HighsStatus 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
246HighsStatus Highs::getOptionType(const std::string& option,
247 HighsOptionType* type) const {

Callers 2

Highs_getOptionNameFunction · 0.80
TestOptions.cppFile · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected