ProjectBox#

cuqi.solver.ProjectBox(x, lower=None, upper=None)#

(Euclidean) projection onto a box.

Parameters:
  • x (array_like.)

  • lower (array_like. Lower bound of box. Zero if None.)

  • upper (array_like. Upper bound of box. One if None.)