Options for parallel execution are not consistent between MDF and IDF formulations.
Both the IDF
and MDF
formulations can be executed in parallel (either in multithreading or multiprocessing), however, MDF
allows the user to select the number of processes with the option n_processes
while IDF
always uses a number equal to the available cores in the machine where the script is being executed since it only takes the boolean option parallel_exec
.
I think we should use the same option in IDF
as in MDF
, with an option n_processes
set by default to 1
(serial execution) and using parallel execution when n_processes > 1
.
Edited by Gilberto Ruiz Jiménez