Originally posted by: nlp7
Thank you Daniel for your response.
You understand that explicit locking will just make the possible benefits of parallelization to vanish (since the cplex related code is the bottleneck at least in my case). In any case, I think that there is some value there and if the implementation from your side becomes thread safe, then we can have almost linear increase in the model generation speed (since everyone has at least 2 threads available).
This would be of great interest for people dealing with big models that have to solve multiple times, or even when incorporating CPLEX within a BnB scheme, where in each node you have to recreate the model.
#CPLEXOptimizers#DecisionOptimization