Open WellWellww opened 1 year ago
You may try import MKL_jll
before using SCS
and then try passing linear_solver=SCS.MKLDirectSolver
;
On my cases (problem: variables n: 570684, constraints m: 1030531
) as reported here SCS.DirectSolver
run out of memory with a
similar segfault. MKL solver used much less memory and solved the problem much faster. Give it a try!
Depending on the sparsity the problem might be too large, it's a little unusual to OOM but it can happen. I agree with @kalmarek, you should try the MKL version of SCS which is typically faster and more memory efficient. Otherwise, you could post on the SCS.jl repo for help.
Hi, I was using JuMP.jl and SCS.jl to code and solve an optimization problem. The problem involved 234,932 optimization variables and 251,088 constraints. However, I encountered the following error:
I want to note that I had enough memory available and my system has a total memory of 2T with 64 cores, and the code only costs around 1T. Interestingly, when I worked on smaller-scale optimization problems (say, 79,054 variables and 84,145 constraints) constructed using the same principle, the program returned the correct results. Hence, I am curious if anyone has any insights into why this error is occurring. For instance, does this error occur because the scale of the problem is too large?
Other information: