getProblemDimen {globalOptTests} | R Documentation |
Get the length of the parameter vector expected by a given objective function.
Description
This function returns an integer value that corresponds to the length of the parameter vector expected by a given objective function.
Usage
getProblemDimen(fnName)
Arguments
fnName |
A character vector naming the objective function to call. 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. |
Details
Note that some of the above functions can handle parameter
vectors of multiple lengths; the return value given indicates the
parameter vector length that corresponds to a problem dimension for
which the function getGlobalOpt
returns the global optimum.
Value
An integer value describing the length of the parameter vector expected by the objective function.
Author(s)
Katharine Mullen katharine.mullen@stat.ucla.edu
References
Mullen, K. M. (2014), Continuous Global Optimization in R, Journal of Statistical Software, 60, 6, 1–45, URL http://www.jstatsoft.org/v60/i06/.
Examples
getProblemDimen("Ackleys")
getProblemDimen("AluffiPentini")