embcol.problem.Bounds

class embcol.problem.Bounds(lower, upper)[source]

Bases: object

Bounds of parameters.

Parameters:
  • lower (array-like of float) – Lower bounds of parameters. The shape must be (N,), where N is the number of parameters.

  • upper (array-like of float) – Upper bounds of parameters. The shape must be (N,), where N is the number of parameters.

Attributes

lower

Lower bounds of parameters.

upper

Upper bounds of parameters.

Methods

violation(params)

Measure degrees of the bound violation.