adelie.constraint.upper#

adelie.constraint.upper(b: ndarray, **kwargs)[source]#

Creates an upper bound constraint.

The upper bound constraint is given by xb where b0.

Parameters:
b(d,) ndarray

Bound b.

**kwargsoptional

Keyword arguments to adelie.constraint.one_sided.

Returns:
wrap

Wrapper constraint object.