Comments (8)
What do you mean by memory error? I can't tell what's happening there. Is it a leak, or accessing unallocated memory or something else?
from scs.
I don't really know. I've never seen a problem like this before. Python says there was a double free or corruption
, so my guess is that some array is being freed in SCS that shouldn't have been.
The problem only happens when I run nosetests, which evaluates many functions in parallel. I can't replicate it in the python shell running functions serially, so I wasn't able to get a clearer debugging message about the nature of the memory error.
You can replicate/investigate the problem by going to this snapshot
https://www.terminal.com/snapshot/ebc22d6220b84351c0bbe45e0a3428fbbd8815117127d860e948b369ebc335e4
and running the following:
nosetests cvxpy/tests/test_scs.py
from scs.
Looks like it's got something to do with the warm-start vectors that can be passed in. Still working on it.
from scs.
That makes a lot of sense. It also happens when I run
nosetests cvxpy/performance_tests/test_warmstart.py
from scs.
Ok, I've figured it out, it's that I'm free-ing the warm-starts twice basically. I just looked at that code again and there are a couple of weird things that I would like to fix in one go. I'll push a new version tomorrow, it's getting late here...
from scs.
That's awesome you figured it out! No rush, push when you're ready.
On Mon, Jun 8, 2015 at 5:17 PM, bodono [email protected] wrote:
Ok, I've figured it out, it's that I'm free-ing the warm-starts twice
basically. I just looked at that code again and there are a couple of weird
things that I would like to fix in one go. I'll push a new version
tomorrow, it's getting late here...—
Reply to this email directly or view it on GitHub
#41 (comment).
from scs.
Just pushed a fix.
from scs.
Great! It works for me now. Can you tag a new version and upload it to pypi?
from scs.
Related Issues (20)
- Seg Fault on macOS with Python 3.8 HOT 2
- Failed to build - possible BLAS issue HOT 18
- cannot be deployed by pyinstaller HOT 3
- Iteration callback for early stopping HOT 1
- Installation on M1 Mac with Poetry (also happens with pip install) HOT 6
- SCS Not Run to Run Deterministic HOT 4
- Function call in MAX and MIN macro HOT 3
- Documentation: Typo in dual residual HOT 1
- Solution not found on sparse quadratic program HOT 2
- Optimization is not solved because of "FATAL: syev failure, info = -5" HOT 8
- Unconstrained quadratic problem throws validation error HOT 2
- Expected speed Question HOT 10
- SCS fails for l2 regularized logistic regression after certain problem size HOT 1
- Single core problem-dependant performances ? HOT 3
- Segmentation fault with SCS.jl and JuMP.jl HOT 2
- ctest failed on s390x HOT 3
- Failing to Build wheel for scs HOT 3
- Unable to pip install 3.2.4 on aarch64 HOT 19
- add topic tag `numerical-optimization` HOT 1
- 3.2.4. post2 version installation failure HOT 1
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 scs.