dimod.QuadraticModel.set_lower_bound

QuadraticModel.set_lower_bound(v: Hashable, lb: float)[source]

Set the lower bound for a variable.

Parameters
  • v – Variable in the quadratic model.

  • lb – Lower bound to set for variable v.

Raises

ValueError – If v is a SPIN or BINARY variable.