Skip to content

Memory Leak when Using HIGHs solver #423

@jeroenmeijer92

Description

@jeroenmeijer92

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions