Skip to content

Commit d8f5f67

Browse files
PeterKlein11pre-commit-ci[bot]FabianHofmann
authored
Fix MindOpt floating release (#429)
* Fix mindopt floating release * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Hofmann <[email protected]>
1 parent 35eb343 commit d8f5f67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linopy/solvers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2231,6 +2231,7 @@ def get_solver_solution() -> Solution:
22312231
solution = self.safe_get_solution(status=status, func=get_solver_solution)
22322232
solution = maybe_adjust_objective_sign(solution, io_api, sense)
22332233

2234+
m.dispose()
22342235
env_.dispose()
22352236

22362237
return Result(status, solution, m)

0 commit comments

Comments
 (0)