PyPSA / linopy

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

MOSEK ensure any license tokens are checked in after initialisation #199

Closed jotaigna closed 8 months ago

jotaigna commented 8 months ago

Proposed to fix issue #197 Tested with Python 3.10.11 Mosek 10.1.16 and Linopy 0.31 in a Linux Ubuntu machine.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b437f93) 89.17% compared to head (28fe096) 87.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #199 +/- ## ========================================== - Coverage 89.17% 87.69% -1.48% ========================================== Files 15 15 Lines 3298 3300 +2 Branches 757 757 ========================================== - Hits 2941 2894 -47 - Misses 248 299 +51 + Partials 109 107 -2 ``` | [Files](https://app.codecov.io/gh/PyPSA/linopy/pull/199?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA) | Coverage Δ | | |---|---|---| | [linopy/solvers.py](https://app.codecov.io/gh/PyPSA/linopy/pull/199?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA#diff-bGlub3B5L3NvbHZlcnMucHk=) | `79.18% <100.00%> (-9.96%)` | :arrow_down: |

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

FabianHofmann commented 8 months ago

great thanks @jotaigna