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

Function highsFprintfString

highs/io/HighsIO.cpp:245–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void highsFprintfString(FILE* file, const HighsLogOptions& log_options_,
246 const std::string& s) {
247 if (file == nullptr) return;
248 if (file == stdout) {
249 highsLogUser(log_options_, HighsLogType::kInfo, "%s", s.c_str());
250 } else {
251 fprintf(file, "%s", s.c_str());
252 }
253}
254
255std::string getFilenameExt(const std::string& filename) {
256 std::string name = filename;

Callers 9

writeModelBoundSolutionFunction · 0.85
writeObjectiveValueFunction · 0.85
writePrimalSolutionFunction · 0.85
writeModelSolutionFunction · 0.85
writeSolutionFileFunction · 0.85
writeGlpsolCostRowFunction · 0.85
writeGlpsolSolutionFunction · 0.85
writeOldRawSolutionFunction · 0.85
writeBasisFileFunction · 0.85

Calls 2

highsLogUserFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected