dimod.QuadraticModel.get_linear#

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

Get the linear bias of the specified variable.

Parameters:

v – Variable in the quadratic model.