compare.algorithms1: compare.algorithms1

Description Usage Arguments Examples

View source: R/experiments.R

Description

Compare the number of function evalutions and convergence for the following optimization algorithms, ("saa","pso","acor","ees1").

Usage

1
2
compare.algorithms1(F, seeds = c(27, 2718282, 36190727, 3141593, -91190721,
  -140743, 1321))

Arguments

F

The function to be tested

seeds

The random seeds which will be used for testing algorithms

Examples

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)

antonio-pgarcia/evoper documentation built on Aug. 30, 2020, 10:40 p.m.