scip

Is SCIP safe to call from multiple threads?


We need to solve many different instances of a problem, where each problem is completely separate from the others. Is SCIP (SCIPsolve) safe to call from multiple threads this way?

I did find some information on SCIPsolveParallel, but this appears to be about working on the same problem using multiple threads. There is also SCIPsolveConcurrent, but there is little information on what it is for.


Solution

  • this is not a problem. There exists a build flag THREADSAFE that you can make sure is enabled (though it is on by default).