Skip to content
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 - low priority #5

Open
djohnsonbaugh opened this issue Mar 9, 2017 · 4 comments
Open

MemoryError - low priority #5

djohnsonbaugh opened this issue Mar 9, 2017 · 4 comments

Comments

@djohnsonbaugh
Copy link

CVXPY seemed to have run out of memory when I attempted the whole model (reduced)

Stations (Group & Net) - 29,549
Lines - 42,283
Units - 6,541
Fixed Load - 37,546

This may not be easily remedied, but good to know we have this limitation now.

Traceback (most recent call last):
File "main.py", line 698317, in
network.problem.solve()
File "C:\Program Files (x86)\Python35-32\lib\site-packages\dem\network.py", line 163, in problem
return sum(x.problem for x in self.devices + self.nets)
File "C:\Program Files (x86)\Python35-32\lib\site-packages\cvxpy\problems\problem.py", line 569, in add
list(set(self.constraints + other.constraints)))
File "C:\Program Files (x86)\Python35-32\lib\site-packages\cvxpy\problems\problem.py", line 78, in init
self.size_metrics = SizeMetrics(self)
File "C:\Program Files (x86)\Python35-32\lib\site-packages\cvxpy\problems\problem.py", line 671, in init
for const in problem.constants()+problem.parameters():
File "C:\Program Files (x86)\Python35-32\lib\site-packages\cvxpy\problems\problem.py", line 159, in constants
const_dict = {id(constant): constant for constant in constants
}
File "C:\Program Files (x86)\Python35-32\lib\site-packages\cvxpy\problems\problem.py", line 159, in
const_dict = {id(constant): constant for constant in constants_}
MemoryError

@mwytock
Copy link
Collaborator

mwytock commented Mar 9, 2017 via email

@djohnsonbaugh
Copy link
Author

I will make available an encrypted file shortly, rather not post that publicly.

@djohnsonbaugh
Copy link
Author

Should i reinstall a 64bit version of Python and all libraries? Would that help?

@mwytock
Copy link
Collaborator

mwytock commented Mar 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants