BoundType

class boulderopal.closed_loop.BoundType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Boundary type for parameter bounds.

Variables:
  • NON_PERIODIC – Non-periodic boundaries. This means the optimizer will clip the parameter values to remain within the bounds any time it takes a step outside of the bounds.

  • PERIODIC – Periodic boundaries. This means the optimizer will modulo parameter values back within the bounds any time it takes a step outside of the bounds.

See also

boulderopal.closed_loop.Bounds

A box constraint with which you can define the (inclusive) bounds and their type for each optimizable parameter in your optimization.