Skip to content

Commit

Permalink
writePrimalSolution: flush file after each call (ERGO-Code#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
few committed Aug 17, 2024
1 parent 53273e7 commit ad29863
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 ad29863

Please sign in to comment.