-
Notifications
You must be signed in to change notification settings - Fork 22
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
Comments
Interesting, indeed a large problem.
If you could share a script for this problem or a similarly large random
problem that hits the same limit that would be helpful...
On Mar 8, 2017 5:40 PM, "DeWayne Johnsonbaugh" <notifications@github.com> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkH1n0LkVrDcNo_LJvG1bS88MWGFbRrks5rj1iQgaJpZM4MXiie>
.
|
I will make available an encrypted file shortly, rather not post that publicly. |
Should i reinstall a 64bit version of Python and all libraries? Would that help? |
You could try, more memory is always good.
It looks like its hitting a limit on the python side rather than in the
underlying C libraries for the solver but I'd have to take a closer look to
see whats actually going on before being able to say if that would actually
help.
…On Thu, Mar 9, 2017 at 8:19 AM, DeWayne Johnsonbaugh < ***@***.***> wrote:
Should i reinstall a 64bit version of Python and all libraries? Would that
help?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAkH1lYkYNVHe4QElYkhVetEGcna9Dokks5rkCaLgaJpZM4MXiie>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: