bbox1 {CompModels} | R Documentation |
A black-box computer model
Description
A black-box computer model that evaluates the objective and constraint functions for a given input value.
Usage
bbox1(x1, x2)
Arguments
x1 |
A scalar value between -1.5 and 2.5, inclusive |
x2 |
A scalar value between -3 and 3, inclusive |
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
Note
A solution is feasible only if of all of the constraint functions values are less than or equal to 0.
Examples
### Running the black-box computer model at x1 = 1, x2 = 2
### obj = -1.5 and con = (-3.5,-0.25)
### (x1,x2) = (1,2) is a feasible solution
bbox1(1,2)
[Package CompModels version 0.3.0 Index]