-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MemoryError #5
Comments
Which code were you running? Matlab, Python, R, or SAS? And, how large is the network that you are attempting to use? This will help us to diagnose the issue. |
I just added a new version that allows users to select the linear system's
solver, I think that spsolve was too slow for your size.
The default is the iterative bicgstab, which should be much faster for big
networks like yours. Can you please try now? I tried generating a random
network with yours' size and it seems to work.
Also, I do not get the same problem when generating
the A=alpha*np.eye(N)+D1-C... Apart from your solution involving the
A[i,i], you may also try A=alpha*scipy.sparse.eye(N)+D1-C
2018-07-26 8:24 GMT+02:00 wuseguang <notifications@github.com>:
… Now I change the codes as below,it's running with out exception,but still
slowly.
[image: image]
<https://user-images.githubusercontent.com/4555475/43245045-8862a5ec-90df-11e8-81d0-5928abe282ce.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARSx92xGEKr5w1zn5qdFOvr3vg2ERAbYks5uKWCDgaJpZM4VhLUd>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got an MemoryError,does this implement can only process data with limited nodes?
The text was updated successfully, but these errors were encountered: