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

Function readSolutionFileIdDoubleIntLineOk

highs/lp_data/HighsLpUtils.cpp:2579–2589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2577}
2578
2579bool readSolutionFileIdDoubleIntLineOk(std::string& id, double& value,
2580 HighsInt& index,
2581 std::ifstream& in_file) {
2582 if (in_file.eof()) return false;
2583 in_file >> id; // Id
2584 if (in_file.eof()) return false;
2585 in_file >> value; // double value
2586 if (in_file.eof()) return false;
2587 in_file >> index; // double value
2588 return true;
2589}
2590
2591void assessColPrimalSolution(const HighsOptions& options, const double primal,
2592 const double lower, const double upper,

Callers 1

readSolutionFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected