Is it possible to permit the SCS.jl indirect solver to parallelize its computations with multiple threads running on a multi-core CPU? I am trying to solve a very large LP.
@Stuart_Rogers With that size I’d guess your best chance would be to try finding some additional structure among variables or constraints. Maybe the problem enjoys some kind of symmetry?
If not then you may
set OMP_NUM_THREADS env variable which will enable some parallelization in scs libraries
set OMP_NUM_THREADS env variable which will enable some parallelization in scs libraries
Is OMP_NUM_THREADS different from JULIA_NUM_THREADS? Environment Variables · The Julia Language
I couldn’t track why exactly, but setting OMP_NUM_THREADS before calling first solve with SCS does change the number of used threads. I found it quite strange since we compile with USE_OPENMP=0, but that’s how it looks here