coin-or / coin-or/python-mip

Memory Leak when Using HIGHs solver

Open
#423 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
Linear Programming
Stars
600
Forks
108
PR merge metrics
No merged PRs in 30d

Description

First of all, thanks for doing God's work on making Python-MIP better and better.

I have recently switched over to version 1.17.1 so that I can start using the HIGHs solver instead of CBC.
So far, the results are better: for both small and larger problem instances, I am seeing a decrease in runtime.

There is one issue, however, and I am not sure if this is HIGHs related or Python-MIP related. When doing a lot of optimisation runs back-to-back (each problem being independent), it seems that memory is increasing. From experimentation, it seems that memory is not being freed up by the solver after an optimisation run is finished. Is this something that is expected? Are there any ways of solving this, either in my own code or in the Python-MIP package?

I unfortunately cannot create a small reproduction scenario, which of course makes helping me out harder, but I thought I'd still give it a try.

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.