Closed apfelix closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.78%. Comparing base (
ecbc962
) to head (b5f40dc
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@apfelix great that you look into this. Let's merge it and fix the other issue as soon as the stable version is out.
Mini change to get
ObjSense.kMaximize
directly fromhighspy
instead ofhighspy.highs_bindings
.This will make linopy compatible with the dev version
1.7.1.dev1
of highspy, while keeping it compatible with the current stable version1.5.3
.However, when running the tests, I noticed that all
.mps
tests fail fortest/test_optimization.py::test_model_maximization
, as the.mps
file generated with1.7.1.dev1
no longer flips the objective coefficients, but instead usesOBJSENSE MAX
.1.5.3
file:1.7.1.dev1
file:As
1.7.1.dev1
is no stable version, I didn't adjust the code for this change.