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

Function getRunDataIndex

highs/lp_data/HighsRunData.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56RunDataStatus getRunDataIndex(
57 const HighsLogOptions& report_log_options, const std::string& name,
58 const std::vector<RunDataRecord*>& run_data_records, HighsInt& index) {
59 HighsInt num_run_data = run_data_records.size();
60 for (index = 0; index < num_run_data; index++)
61 if (run_data_records[index]->name == name) return RunDataStatus::kOk;
62 highsLogUser(report_log_options, HighsLogType::kError,
63 "getRunDataIndex: Run data \"%s\" is unknown\n", name.c_str());
64 return RunDataStatus::kUnknownRunData;
65}
66
67#ifndef HIGHSINT64
68RunDataStatus getLocalRunDataValue(

Callers 2

getLocalRunDataValueFunction · 0.85
getLocalRunDataTypeFunction · 0.85

Calls 3

highsLogUserFunction · 0.85
c_strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected