PyPSA / linopy

Linear optimization with N-D labeled arrays in Python
https://linopy.readthedocs.io
MIT License
154 stars 42 forks source link

Code example for model.Model.linexpr now correctly displayed #228

Closed leuchtum closed 5 months ago

leuchtum commented 5 months ago

Pretty self-explanatory, see pictures. Just added some lines to see the examples correctly.

Screenshot BEFORE changes

before

Screenshot AFTER changes

now
codecov[bot] commented 5 months ago

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (9985f1f) 86.88% compared to head (497061a) 88.07%. Report is 22 commits behind head on master.

Files Patch % Lines
linopy/solvers.py 50.00% 3 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #228 +/- ## ========================================== + Coverage 86.88% 88.07% +1.18% ========================================== Files 15 15 Lines 3409 3413 +4 Branches 591 789 +198 ========================================== + Hits 2962 3006 +44 + Misses 336 296 -40 Partials 111 111 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.