Open si14 opened 2 years ago
hey @tuliotoffolo , I'd really appreciate if you can take a look at this. I'm not sure if just commenting that out is a good idea, but this issue makes installing the project significantly more difficult. I might be missing something trivial though!
@si14. We are working on that topic. But it will take some more time...
@sebheger All is understood. As temporary workaround, can we get to know the actual version of pre-compiled Cbc in the python-mip version 1.13.0?
@si14. We are working on that topic. But it will take some more time...
@aaronsl-hku I actually don't know, since i am supporting the project not from the beginning. I just can inform you that It's not an official release, but can't name you the commit from CBC master. You might look at the commits where cbc lib was lastly replaced in python-mip to identify a close commit number to use. Maybe @h-g-s knows more.
can we get to know the actual version of pre-compiled Cbc in the python-mip version 1.13.0?
Thanks @sebheger and @jurasofish for the information and the prompt replies.
I am in fact building a Docker application and trying to get it working on different devices. As a suggestion it would be a great idea to list out the versions of dependencies on future releases.
Hi, we're having some problems in using recent master after the refactor branch was incorporated into Cbc. While this problems aren't solved the latest Cbc commit which would probably be compatible would be this: https://github.com/coin-or/Cbc/commit/96cd94b0400e0012885c64ef1f9a3e7c3459014f
This should be easy to fix. Rather than workarounds, why don't we just fix the problem so we can move further towards getting Cbc master out into release? If someone on the python-mip side could be precise about what is going wrong and perhaps identify a fix, I will do whatever is required on the Cbc side.
@h-g-s @tkralphs A bit late to the party, but as the devs in our shop will be provided with new Macs soonish, I wonder if the problems mentioned above have been identified/fixed?
I'm still happy to do whatever is needed on the Cbc side, but it would be helpful if someone could verify that this is still an issue and help debug it on the python-mip side. Or at least provide a script that replicates the issue with current master
.
Python MIP does work with Cbc 2.10 and @h-g-s pointed out above a commit in the master
branch that should work. The coinbrew
script supports fetching and building a particular SHA with, e.g., coinbrew fetch@96cd94b
.
Describe the bug
python-mip
doesn't come with aarch64 libs (eg for an M1 mac) (also see #199), so the only way to run it is by building cbc manually. Unfortunately, the documented way of doing that just grabsmaster
, which currently fails the build, butCbc@a1f4dd2dd02e5739b400de62a0c460b264311809
build successfully and can be used as a dylib. The main issue is it doesn't work with the latest pip version ofpython-mip
(and, as far as I can tell, won't work withmaster
either):This line https://github.com/coin-or/python-mip/blob/a95310fd9f86bdfd4386a7cb500a38a25c5096ae/mip/cbc.py#L1186 tries to set
maxSavedSolutions
, which seems to not be recognised by the latest version of cbc.The problem is solved to completion if I comment that line out manually.
To Reproduce
I believe the description above should qualify.
Expected behavior
I'd expect it to not fail with an error. It would be perfect to have macos aarch64 builds in the wheel, but I understand that's a bit complex. A possible alternative solution would be explicitly pinning the version of cbc that
python-mip
definitely works with.Desktop (please complete the following information):
Additional context
None