Learn R Programming

SPOT (version 2.11.10)

funBeale: funBeale (No.11, More No. 5)

Description

2-dim Beale Test Function

Usage

funBeale(x)

Arguments

x

matrix of points to evaluate with the function. Rows for points and columns for dimension.

Value

1-column matrix with resulting function values

References

Beale, E.M.L. On an interactive method of finding a local minimum of a function of more than one variable. Tech. Rep. No. 25, Statistical Techniques Research Group, Princeton Univ., Princeton, N.J., 1958.

Rosenbrock, H. (1960). An automatic method for finding the greatest or least value of a function. The Computer Journal, 3(3), 175-184. 10.1093/comjnl/3.3.175

Examples

Run this code
# NOT RUN {
x1 <- matrix(c(1,1),1,)
funBeale(x1)

res <- spot(,funBeale,c(1,-1),c(5,2),control=list(funEvals=15))
plotModel(res$model)

# }

Run the code above in your browser using DataLab