-
Notifications
You must be signed in to change notification settings - Fork 4
Description
While running the Dilution test on two different computers I ran into the following error during the Dilution_test part of the code:
Computer 1:
Python version: 3.12
Solver: Gurobi 11.0.2
Cobrapy: 29.1
Pandas: 2.2.2
OS: Windows 11
Memory: 16gb
Computer 1:
Python version: 3.12
Solver: Gurobi 11.0.2
Cobrapy: 29.1
Pandas: 2.2.2
OS: Windows 10
Memory: 64gb
Last part of output:
Read LP format model from file C:\Users\P700881\AppData\Local\Temp\tmptzwqakv1.lp1\AppData\Local\Temp\tmp6l2yris8.lp
Reading time = 0.05 seconds
: 6913 rows, 24730 columns, 92346 nonzeros
Exception ignored in tp_clear of: <class 'memoryview'>
Traceback (most recent call last):
File "C:\Git\Metabolic_Task_Score.venv\Lib\site-packages\pandas\core\dtypes\base.py", line 576, in find
return dtype_type.construct_from_string(dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BufferError: memoryview has 1 exported buffer
Read LP format model from file C:\Users\P70088
Reading time = 0.03 seconds
: 6913 rows, 24730 columns, 92346 nonzeros
Read LP format model from file C:\Users\P70088~1\AppData\Local\Temp\tmp6tzlle5b.lp
Reading time = 0.05 seconds
: 6913 rows, 24730 columns, 92346 nonzeros
Process finished with exit code -1073741819 (0xC0000005)
It is unclear to mem what exactly is going wrong as this happens after about 50-80 iterations (I didn't count, but it's a lot). I initially thought this was due to a memory problem on my end, but with 64gb memory I hope this is not the case...