getDefaultBounds: Get the default box constraints for the objective function.

Description Usage Arguments Value Author(s) References Examples

View source: R/goTest.R

Description

This function returns the default lower and upper bounds (box constraints) for the 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.

Value

A list containing the elements

lower

Vector of reals representing lower bounds

upper

Vector of reals representing upper bounds

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")

Example output

[1] 10
[1] 2

globalOptTests documentation built on May 2, 2019, 2:16 a.m.