coin-or / python-mip

Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
Eclipse Public License 2.0
514 stars 89 forks source link

How to provide your own CBC binaries #279

Closed JeroenGar closed 2 years ago

JeroenGar commented 2 years ago

Background: When using the 1.13.0 release, my code runs fine. However when using the current version on master with new CBC binaries, CBC crashes (after the timelimit is reached but before returning to python).

In order to investigate this issue I would like to test my code with more different versions of CBC. It is clear to me that the binaries are located in python-mip\mip\libraries. With a single "cbc-c-linux-x86-64.so" of around 20MB for linux. However, when downloading the compiled releases from https://github.com/coin-or/Cbc/releases I can't seem to find a large monolithic .so file anywhere in the archive.

Question: Where can I find instructions on how to use custom binaries for python-mip?

jurasofish commented 2 years ago

a couple of things that might help you