dimod.QuadraticModel.upper_bound

QuadraticModel.upper_bound(v: Hashable) Union[float, numpy.floating, numpy.integer][source]

Return the upper bound on the specified variable.

Parameters

v – Variable in the quadratic model.