An one-dimension problem for testing optimization methods.
This function was created for demonstrating the RCEIM package. It has the form:
testFunOptimization(x)
Arguments
x: The point where the function is computed.
Returns
The value of the function at x.
Author(s)
Alberto Krone-Martins
See Also
testFunOptimization2d
Examples
# Create a graphical representation of the problem with a line plotdev.new()xx <- seq(-10,10,by=0.01)plot(xx, testFunOptimization(xx), type="l", xlab="x", ylab="Value")rm(list=c('xx'))