dimod.CaseLabelDQM.set_linear_case#

CaseLabelDQM.set_linear_case(v, case, bias)[source]#

The linear bias associated with case case of variable v.

Parameters:
  • v – A variable in the discrete quadratic model.

  • case – The case of v.

  • bias (float) – The linear bias.