Learn R Programming

SPOT (version 2.11.10)

repeatsOCBA: Optimal Computing Budget Allocation

Description

Simple interface to the Optimal Computing Budget Allocation algorithm.

Usage

repeatsOCBA(x, y, budget, verbosity = 0)

Arguments

x

matrix of samples. Identical rows indicate repeated evaluations. Any sample should be evaluated at least twice, to get an estimate of the variance.

y

observations of the respective samples. For repeated evaluations, y should differ (variance not zero).

budget

of additional evaluations to be allocated to the samples.

verbosity

verbosity

Value

A vector that specifies how often each solution should be evaluated.

References

Chun-hung Chen and Loo Hay Lee. 2010. Stochastic Simulation Optimization: An Optimal Computing Budget Allocation (1st ed.). World Scientific Publishing Co., Inc., River Edge, NJ, USA.

See Also

repeatsOCBA calls OCBA, which also provides some additional details.

Examples

Run this code
# NOT RUN {
x <- matrix(c(1:3,1:3),9,2)
y <- runif(9)
repeatsOCBA(x,y,10)
# }

Run the code above in your browser using DataLab