Outcome constraint

The objective is to constrain the value of a variable within a one-sided or two-sided interval. The sampling strategy tries to maximize the probability that sampled values meet the constraint. This can however not be guaranteed.

name (str)

The name of the objective.

Default: 'objective'

variable (str)

The name of a single-output variable that specifies the objective value.

Default: The first variable in the list of all variables.

lower_bound (float)

The values of the objective should be larger of equal to the specified lower bound.

Default: Unconstrained from below.

upper_bound (float)

The values of the objective should be smaller of equal to the specified upper bound.

Default: Unconstrained from above.