Hi Alex,
Thank you for your reply. As I understand, the number of workers is the number of threads (CPU cores) I can use. I would appreciate if you could explain why the memory usage can be reduced by decreasing the number of workers.
I have another question regarding the number of workers. I have a flow control model which is used to run a scheduling model for a number of iterations. My question is how can I run each iteration on a thread at the same time.
Thanks in advance,
Mohamed
------------------------------
Mohamed Awad
------------------------------
Original Message:
Sent: Mon February 14, 2022 09:40 AM
From: ALEX FLEISCHER
Subject: How to solve the memory running out problem in OPL?
Hi,
can you try with 1 worker ?
execute{ cp.param.Workers=1;}
?
regards
------------------------------
[Alex] [Fleischer]
[EMEA CPLEX Optimization Technical Sales]
[IBM]
Original Message:
Sent: Sat February 12, 2022 03:17 PM
From: Mohamed Awad
Subject: How to solve the memory running out problem in OPL?
Hi,
I have a question. I am working on a large scheduling model in which, I create a matrix of random numbers in the pre-processing block using IloOplCallJava. When I run the model for 7 or 8 iterations, I run out of memory. How can I overcome that problem.
Thanks in advance,
Mohamed
------------------------------
Mohamed Awad
------------------------------
#DecisionOptimization