Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Exploding memory CBC solver with 1.14.2 compared to 1.13.0

Open
#419 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by running the attached PayloadA copy.txt LP in a Linux container with Python-MIP 1.13.0 and 1.14.2, comparing memory usage under Python 3.9 and 3.12. Trace the version change that affects CBC solving and confirm the fix keeps 1.14.2 memory usage similar to 1.13.0 without causing OOM errors.

Written by the indexing model from the issue text.

Description

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
Dominant language
Linear Programming
Stars
602
Forks
108
Avg merge
1d 22m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coin-or/python-mip

All issues in coin-or/python-mip

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.