Giter Club home page Giter Club logo

Comments (9)

tkralphs avatar tkralphs commented on August 21, 2024 1

And now it breaks when dropping in 0.60.6, so we must have introduced some kind of breaking change :(.

from cgl.

svigerske avatar svigerske commented on August 21, 2024

I couldn't say from the diff in the source what would cause this. If conda install downloads a prebuild binary of coin-or-cgl, then I would suggest trying to also update coinutils, osi, clp, and cbc.

from cgl.

tkralphs avatar tkralphs commented on August 21, 2024

I could replicate this in a fresh conda environment. It's not necessary to use PuLP or even try to solve a MIP. Just starting cbc causes it to crash.

(cbc) ~ > cbc
free(): invalid pointer
Aborted

But so far, I can't get conda to install coin-or-cgl at 0.60.6. conda install pulp coin-or-cgl=0.60.6 just returns to the command line with no error and no packages installed. Weird.

How did you determine it's CGL that's the issue? Does rolling back CGL also roll back other packages? Or is it really just dropping in a different version of CGL with the newest versions of all other packages? I wouldn't think it would happily do that.

from cgl.

tkralphs avatar tkralphs commented on August 21, 2024

Everything looks fine on the builds, but I think what could have happened is that I might have merged pull requests in the wrong order for the update versions and accidentally caused Cbc 2.10.9 to be built with Cgl 0.60.6 (see here). In theory, this shouldn't cause problems, as it should be fine to drop in 0.60.7 in place of 0.60.7, but maybe we somehow introduced a breaking change? I have no idea how to force a re-build, but I'll investigate a bit.

from cgl.

tkralphs avatar tkralphs commented on August 21, 2024

OK, now with mamba, I was able to switch versions of CGL and indeed, this allows Cbc to start.

from cgl.

savvytruffle avatar savvytruffle commented on August 21, 2024

How did you determine it's CGL that's the issue? Does rolling back CGL also roll back other packages? Or is it really just dropping in a different version of CGL with the newest versions of all other packages? I wouldn't think it would happily do that.

@tkralphs So I determined cgl was the root cause by systematically building new conda environment with different versions of dependencies & running the .py file, ie use default resolver (latest release) versions of all dependencies and roll back one dependency.

Here are all the dependencies I tested:

-pulp=2.7.0 (default resolver)
-coincbc=2.10.8 vs 2.10.9 (default resolver) made no difference
-coin-or-utils=2.11.6 vs 2.11.8 (default resolver) made no difference
-coin-or-osi=0.108.7 vs 0.108.8 (default resolver) made no difference
-coin-or-clp=1.17.7 vs. 1.17.8 (default resolver) made no difference
-coin-or-cgl=0.60.6 OK vs. 0.60.7 caused error

from cgl.

tkralphs avatar tkralphs commented on August 21, 2024

@tkralphs So I determined cgl was the root cause by systematically building new conda environment with different versions of dependencies & running the .py file

This is great, thanks for doing that. Let's hope the re-build fixes things.

from cgl.

savvytruffle avatar savvytruffle commented on August 21, 2024

🤞 thanks for the quick response.

from cgl.

tkralphs avatar tkralphs commented on August 21, 2024

It works!

from cgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.