Is it possible to run solve_TSP sequentially even if I have registered parallel backend? I ask because I run function f in parallel and function f uses solve_TSP with parameter repetitions > 1 (building matrix for solve_TSP is slower part of function f )
If you do not register a backend, then it should do the foreach loop sequentially. You can also call foreach::registerDoSEQ() which should achieve the same.
Is it possible to run
solve_TSP
sequentially even if I have registered parallel backend? I ask because I run functionf
in parallel and functionf
usessolve_TSP
with parameterrepetitions
> 1 (building matrix forsolve_TSP
is slower part of functionf
)