Learn R Programming

CompModels (version 0.3.0)

bbox6: A black-box computer model

Description

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

Usage

bbox6(x1)

Value

The evaluation of running the black-box computer model at input x1.

  • obj: A scalar objective function value

  • con: A vector of constraint function values

Arguments

x1

A scalar value between 0 and 10, inclusive

Examples

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

bbox6(1)

Run the code above in your browser using DataLab