Closed shanakap closed 3 years ago
The number of workers is set by default to the number of cores, which is apparently 28 in your case. Please try to force it to a lower value, for example 4 which is enough in most cases, by setting the corresponding parameter in the solve request, as follows:
sol=m.solve(agent='local',execfile='/Users/Mine/Python/tf2_4_env/bin/cpoptimizer', Workers=4)
I am trying to run the following
docplex.cp.model
with a large dataset. This is with some sample data:I have tried to run this on a cluster with following settings:
This stops with
out-of-memory
as shown in the output :What I observed is the optimisation is running parallel as it says
Using parallel search with 28 workers
and there are 28 cores per node. However looks like its only using 1 node.Can you please help me to overcome the out-of-memory issue?