pdfo.Bounds#

class pdfo.Bounds(lb=None, ub=None)[source]#

Simple bound constraints.

This class represents simple bound constraints of the form

\[l \le x \le u,\]

where \(l \in \R^n\) and \(u \in \R^n\).

Attributes:
lb: ndarray, shape (n,)

Above-mentioned lower bound \(l\). To disable a component of the bound, set the corresponding element of lb to \(-\infty\). to disable these bounds.

ub: ndarray, shape (n,)

Above-mentioned upper bound \(u\). To disable a component of the bound, set the corresponding element of ub to \(\infty\).