Learn R Programming

CompModels (version 0.3.0)

gram: The Gramacy et. al 2016 test function

Description

The computer model test function introduced in Gramacy et. al 2016.

Usage

gram(x1, x2)

Value

The evaluation of running the Gramacy et. al 2016 test function at input (x1, x2).

  • obj: A scalar objective function value

  • con: A vector of constraint function values

Arguments

x1

A scalar value between 0 and 1, inclusive

x2

A scalar value between 0 and 1, inclusive

References

Gramacy, R.B., Gray, G.A., Digabel, S.L., Lee, H.K.H., Ranjan, P., Wells, G., and Wild, S.M. (2016). Modeling an augmented Lagrangian for blackbox constrained optimization. Technometrics, 58(1):1-11.

Examples

Run this code
### Running the function at x1 = 0.2 and x2 = 0.2
### obj = 0.4 and con = (1.29,-1.42)
### (x1,x2) = (0.2,0.2) is not a feasible solution

gram(0.2,0.2)

Run the code above in your browser using DataLab