search for: optimal_valu

Displaying 1 result from an estimated 1 matches for "optimal_valu".

Did you mean: optimal_values
2006 Aug 10
1
How to speed up nested for loop computations
...data, but it's really slow (I'm a newbie of R and the quality of my code is not really high-level!). Could you give me some guidelines (or examples) on how to remove those nested for loops (maybe using the "apply" function) so to speed-up the computation? ---BEGIN CODE--- optimal_values<-read.table("optimal_values_80.txt",header=TRUE) resPIR2OPT<-read.table("parallel_independent_2- opt_80_100.txt",header=TRUE) resSEQ2OPT<-read.table("sequential_2-opt_80_800.txt",header=TRUE) resSEQ22OPT<-read.table("sequential2_2-opt_80_100.txt&quo...