Description Usage Arguments Examples
Compare the number of function evalutions and convergence for the following optimization algorithms, ("saa","pso","acor","ees1").
1 2 | compare.algorithms1(F, seeds = c(27, 2718282, 36190727, 3141593, -91190721,
-140743, 1321))
|
F |
The function to be tested |
seeds |
The random seeds which will be used for testing algorithms |
1 2 3 4 5 6 7 8 9 | ## Not run:
rm(list=ls())
d.cigar4<- compare.algorithms1(f0.cigar4)
d.schaffer4<- compare.algorithms1(f0.schaffer4)
d.griewank4<- compare.algorithms1(f0.griewank4)
d.bohachevsky4<- compare.algorithms1(f0.bohachevsky4)
d.rosenbrock4<- compare.algorithms1(f0.rosenbrock4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.