Closed fneum closed 18 hours ago
Attention: Patch coverage is 72.72727%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 89.66%. Comparing base (
2fc1c1b
) to head (169a7d9
).
Files | Patch % | Lines |
---|---|---|
linopy/solvers.py | 72.72% | 1 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
It adds support for reading in solution or basis files for a warm start and functionality to write solution and basis files from solved HiGHS models.
I am currently identifying the kind of warm start (solution or basis) by the file suffix. Is this the best way? The documentation of the
Model.solve()
function currently states it's only a basis file that is used for the warm start (and that's how we have done it for the other solvers.)The writing functions do not throw errors for unsolved models, so I am not handling these.
The
0
for writing the solution indicates the format of the.sol
file. I am choosing raw.