Sets number of threads used by JCMsolve for parallelization on SMP
machines. It is also possible to bind the threads to certain CPUs.
num_of_threads: number of parallel threads to be used by JCMsuite
cpu_affinity: a string containing the CPU to be used.
The string is expected in the format for the processor list (proclist)
as inthe environmental variable
GOMP_CPU_AFFINITY (Linux), or KMP_AFFINITY (google this)
The number of threads is automatically adapted to the number of addressed
If empty the default configuration is used.
A value larger than the number of idle CPUs may cause a performance loss.