Learn R Programming

CompModels (version 0.3.0)

bbox4: A black-box computer model

Description

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

Usage

bbox4(x1, x2)

Value

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

  • obj: A scalar objective function value

  • con: A vector of constraint function values

Arguments

x1

A scalar value between -10 and 0, inclusive

x2

A scalar value between -6.5 and 0, inclusive

Examples

Run this code
### Running the black-box computer model at x1 = -1, x2 = -1
### obj = 15.00539 and con = 7
### (x1,x2) = (-1,-1) is not a feasible solution

bbox4(-1,-1)

Run the code above in your browser using DataLab