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
531 stars 92 forks source link

Coin versions #35

Open spoorendonk opened 4 years ago

spoorendonk commented 4 years ago

Since the CBS binary is distributed with the framework it is unclear exactly what version of CBC, CLP, CoinUtils etc is being used. I am assuming the master branch?

Would it be possible to get a python-mip version based on stable Coin libs? I now a lot have been happening with CBC C interface and I guess getting that to a stable version is the bottleneck?

sschnug commented 4 years ago

Somewhat related, i would also propose to either:

This should make it more clear, what is happening internally.

Not much experimented with this software, i immediately wonder about:

I'm note able to deduce this information (without doing ugly stuff with the libs)

h-g-s commented 4 years ago

Hi @sschnug, @spoorendonk and @tkralphs . I would love to just use the automatically built cbc binaries from here: https://bintray.com/coin-or/download/Cbc/master (specially for windows, where building it is a burden)

Last time I tried, one difficulty was that I only managed to load the DLL in the Python code (ffi.dlopen) when all packages were bundled statically (osi, cgl, ...). It would be necessary to modify the path in windows so that windows could find other DLLs also. Putting on the same directory didn't work.

Regarding MUMPS, well, technically it's probably very easy, we would just have to check which is the license of MUMPS to see if we are allowed to bundle it in our binaries.