Skip to content

Exploding memory CBC solver with 1.14.2 compared to 1.13.0 #419

@IngridPool

Description

@IngridPool

Describe the bug
The CBC solver uses significantly more memory for the same problems since upgrading from mip 1.13.0 to 1.14.2. In some cases this increase is of such magnitude it causes OOM errors in the container.

To Reproduce
Set up Linux container and solve the attached LP problem with mip 1.13.0 and 1.14.2.

PayloadA copy.txt

Expected behavior
Similar memory usage for mip 1.14.2 as in 1.13.0

Desktop (please complete the following information):

  • Operating System, version: Linux container
  • Python version: 3.9 and 3.12
  • Python-MIP version (we recommend you to test with the latest version): 1.14.2 vs 1.13.0

Additional context

Comparisons for 5 use cases between different mip and python versions

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions