When using YALMIP in MATLAB to parse a model, an issue occurred where the memory usage was locked at 347GB.And it does not compute any results. #1455
Replies: 4 comments
-
First, make sure you are running the develop branch, as I think there has been some fix that might be related. Then, a reproducible example is needed if it persist, to see if it is some YALMIP bottleneck issue or if the model simply is too big |
Beta Was this translation helpful? Give feedback.
-
Thanks, I have tried separating some of the constraints into model structures such as model1, model2, etc., and then concatenating the A, sense, and rhs matrices of these structures. After that, I directly compute using the statement |
Beta Was this translation helpful? Give feedback.
-
You would have to supply reproducible yalmip code illustrating your issue |
Beta Was this translation helpful? Give feedback.
-
for i = 1:n
end if ~issparse(real_model.A) index_eq = find(real_model.sense=='='); try
catch ME |
Beta Was this translation helpful? Give feedback.
-
When using YALMIP in MATLAB to parse a model, an issue occurred where the memory usage was locked at 347GB. Additionally, no logs could be output, and the model could not be solved. The toolbox being used is Gurobi. The model is very large, with the constraint matrix being on the scale of tens of millions by tens of millions. The current system memory is 1024GB.How should I address this problem?
Beta Was this translation helpful? Give feedback.
All reactions