Learn R Programming

CompModels (version 0.3.0)

bbox7: A black-box computer model

Description

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

Usage

bbox7(x1, x2, x3, x4, x5, x6, x7, x8)

Value

The evaluation of running the black-box computer model at input (x1, x2, x3, x4, x5, x6, x7, x8).

  • obj: A scalar objective function value

  • con: A vector of constraint function values

Arguments

x1

A scalar value between 0 and 1, inclusive

x2

A scalar value between 0 and 1, inclusive

x3

A scalar value between 0 and 1, inclusive

x4

A scalar value between 0 and 1, inclusive

x5

A scalar value between 0 and 1, inclusive

x6

A scalar value between 0 and 1, inclusive

x7

A scalar value between 0 and 1, inclusive

x8

A scalar value between 0 and 1, inclusive

Examples

Run this code
### Running the black-box computer model at x1 = 0, x2 = 0, x3 = 0, x4 = 0,
###                                         x5 = 0, x6 = 0, x7 = 0, x8 = 0
### obj = 1 and con = (0.2,-0.8)
### (x1,x2,x3,x4,x5,x6,x7,x8) = (0,0,0,0,0,0,0,0) is not a feasible solution

bbox7(0,0,0,0,0,0,0,0)

Run the code above in your browser using DataLab