dimod.QuadraticModel.upper_bound#

QuadraticModel.upper_bound(v: Hashable) float | floating | integer[source]#

Return the upper bound on the specified variable.

Parameters:

v – Variable in the quadratic model.