Skip to content

Commit

Permalink
Merge pull request ERGO-Code#1881 from few/fix-1880
Browse files Browse the repository at this point in the history
writePrimalSolution: flush file after each call (ERGO-Code#1880)
  • Loading branch information
galabovaa authored Sep 26, 2024
2 parents 057030e + ad29863 commit b3c61c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lp_data/HighsModelUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ void writePrimalSolution(FILE* file, const HighsLogOptions& log_options,
ss << "\n";
highsFprintfString(file, log_options, ss.str());
}
fflush(file);
}

void writeModelSolution(FILE* file, const HighsLogOptions& log_options,
Expand Down

0 comments on commit b3c61c1

Please sign in to comment.