bbox4 {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

```
bbox4(x1, x2)
```

### Arguments

`x1` |
A scalar value between -10 and 0, inclusive |

`x2` |
A scalar value between -6.5 and 0, 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 all of the constraint function values are less than or equal to 0.

### Examples

```
### 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)
```

[Package

*CompModels*version 0.3.0 Index]