Comments (9)
And now it breaks when dropping in 0.60.6, so we must have introduced some kind of breaking change :(.
from cgl.
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.
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.
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.
OK, now with mamba
, I was able to switch versions of CGL and indeed, this allows Cbc to start.
from cgl.
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 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.
🤞 thanks for the quick response.
from cgl.
It works!
from cgl.
Related Issues (20)
- invalid write in Cgl012Cut::get_cut HOT 3
- Integer overflow in CglPreProcess.cpp HOT 1
- CglKnapsackCover::exactSolveKnapsack returns suboptimal solutions
- Possible bug in CglPreProcess::preProcessNonDefault in version 2.10.5. HOT 4
- FreeBSD compile issue [stable-0.60] HOT 1
- Is it possible to get the basis row (or index) used for generating Gomory or GMI cuts?
- Large preprocessing difference between clang/Linux or macOS 64-bit CBC and MSVC HOT 1
- Assertion in Reduce-and-split HOT 4
- Assertion `numberProhibited_ == oldModel->getNumCols()' failed HOT 1
- AppVeyor jobs don't Test and conclude All successfull HOT 1
- Cgl012cut.cpp is not threadsafe HOT 3
- Assertion/crash in CglProbing HOT 8
- Cgl build fails on VS 2019 'uninitialized saveFColUpper' HOT 2
- Memory leak in CglLandP::generateCuts
- make fails with CglGomory.cpp:33:10: fatal error: OsiClpSolverInterface.hpp: No such file or directory, RHEL 8 HOT 13
- centos7 make error HOT 1
- Infeasible with Reduce-and-split on HOT 7
- Error in CglRedSplit::generateCuts(): rstat[557]: 0 and wrong result HOT 5
- Assertion in tree local cut generator HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgl.