Skip to content

Conversation

PeterKlein11
Copy link
Contributor

@PeterKlein11 PeterKlein11 commented Mar 19, 2025

Changes proposed in this Pull Request

MindOpt's floating license token fails to release unless m.dispose() is called. Adding this under the MindOpt class in solvers.py fixes the issue. However, I am not sure if this is best place to dispose of the model or if the returned m value gets used further.

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in doc.
  • Unit tests for new features were added (if applicable).
  • A note for the release notes doc/release_notes.rst of the upcoming release is included.
  • [ x] I consent to the release of this PR's code under the MIT license.

@FabianHofmann
Copy link
Collaborator

thanks @PeterKlein11, happy to pull that in. we can always make a follow up if that needs further refinement

@FabianHofmann FabianHofmann merged commit d8f5f67 into PyPSA:master Sep 4, 2025
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants