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

Method writeToFileValue

highs/io/FilereaderLp.cpp:331–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void FilereaderLp::writeToFileValue(FILE* file, const double value,
332 const bool force_plus) {
333 // As for writeModelAsMps
334 if (force_plus) {
335 this->writeToFile(file, " %+.15g", value);
336 } else {
337 this->writeToFile(file, " %.15g", value);
338 }
339}
340
341void FilereaderLp::writeToFileVar(FILE* file, const std::string var_name) {
342 this->writeToFile(file, " %s", var_name.c_str());

Callers 2

writeToFileMatrixRowMethod · 0.95
writeModelToFileMethod · 0.95

Calls 1

writeToFileMethod · 0.95

Tested by

no test coverage detected