Learn R Programming

globalOptTests (version 1.1)

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

Description

This function returns the default lower and upper bounds (box constraints) for the given objective function.

Usage

getDefaultBounds(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.

Value

lower
Vector of reals representing lower bounds
upper
Vector of reals representing upper bounds

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

Run this code
getProblemDimen("Ackleys")
getProblemDimen("AluffiPentini")

Run the code above in your browser using DataLab