-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance when writing lp and reading sol files
We improve the performance of the solution file parser in the case of cplex, by making use of the more performant quick-xml crate and buffering the reads through `BufReader`. quick-xml indeed requires the reader to be buffered, probably to avoid making too many read syscalls. Buffering is also applied to writing the lp file. Manual benchmarks are showing significant improvements over non-buffered read/writes for problem sizes of several thousands of variables
- Loading branch information
Matteo Biggio
committed
Mar 19, 2024
1 parent
df39418
commit 7bd14f8
Showing
3 changed files
with
170 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters