This function is used to access one of 50 objective functions that may be useful for benchmarking performance of global optimization algorithms.

1 |

`par` |
Vector of reals representing the parameter vector at which to evaluate the objective function. |

`fnName` |
A character vector representing the name of the objective function to use. Options are elements of c("Ackleys", "AluffiPentini", "BeckerLago", "Bohachevsky1", "Bohachevsky2", "Branin", "Camel3", "Camel6", "CosMix2", "CosMix4", "DekkersAarts", "Easom", "EMichalewicz", "Expo", "GoldPrice", "Griewank", "Gulf", "Hartman3", "Hartman6", "Hosaki", "Kowalik", "LM1", "LM2n10", "LM2n5", "McCormic", "MeyerRoth", "MieleCantrell", "Modlangerman", "ModRosenbrock", "MultiGauss", "Neumaier2", "Neumaier3", "Paviani", "Periodic", "PowellQ", "PriceTransistor", "Rastrigin", "Rosenbrock", "Salomon", "Schaffer1", "Schaffer2", "Schubert", "Schwefel", "Shekel10", "Shekel5", "Shekel7", "Shekelfox5", "Wood", "Zeldasine10", "Zeldasine20"). Unique partial matches to these elements are accepted. |

`checkDim` |
A boolean value that is |

Note that the factor of 0.02 in Ackley's function has been changed to the value commonly found in the literature, 0.2. Also, Storn's Tchebychev Problem in 9 and 17 dimensions was not included, since the global minima of the imlementation of these functions does not correspond to the global minima reported in the above paper.

A real that representes the value of the objective function
`fnName`

at the parameter vector `par`

.

Katharine Mullen katharine.mullen@stat.ucla.edu

Montaz Ali, M., Khompatraporn, C. and Zabinsky, Z. B. (2005),
A Numerical Evaluation of Several Stochastic Algorithms on Selected
Continuous Global Optimization Test Problems, *Journal
of Global Optimization*, **31**, 4, 635–672.

Mullen, K. M. (2014), Continuous Global Optimization in R,
*Journal of Statistical Software*, **60**, 6, 1–45,
URL http://www.jstatsoft.org/v60/i06/.

http://www.gamsworld.org/performance/selconglobal/selcongloballib.htm
for the `C`

source.

1 2 3 4 5 6 7 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.