Learn R Programming

CompModels (version 0.3.0)

bbox2: A black-box computer model

Description

A black-box computer model that evaluates the objective function for a given input value.

Usage

bbox2(x1, x2)

Value

The evaluation of running the black-box computer model at input (x1, x2).

  • obj: A scalar objective function value

Arguments

x1

A scalar value between -3 and 3, inclusive

x2

A scalar value between -2 and 2, inclusive

Examples

Run this code
### Running the black-box computer model at x1 = 1, x2 = 1
### obj = 3.23333

bbox2(1,1)

Run the code above in your browser using DataLab