Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writePrimalSolution: flush file after each call (#1880) #1881

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

few
Copy link
Contributor

@few few commented Aug 17, 2024

When setting

mip_improving_solution_save=true
mip_improving_solution_file=solution.sol

each new solution is written to solution.sol. The problem is that the solution can be incomplete while highs is still running or when it gets killed. To allow other programs to read the latest solution while the solver is still running, highs should flush the file after each solution is written.

@galabovaa galabovaa merged commit b3c61c1 into ERGO-Code:latest Sep 26, 2024
110 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants