getProblemDimen: Get the length of the parameter vector expected by a given...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/goTest.R

Description

This function returns an integer value that corresponds to the length of the parameter vector expected by a given objective function.

Usage

1

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

1
2
getProblemDimen("Ackleys")
getProblemDimen("AluffiPentini")

globalOptTests documentation built on May 19, 2017, 1:23 p.m.

Search within the globalOptTests package
Search all R packages, documentation and source code