dimod.binary.BinaryQuadraticModel.update#

BinaryQuadraticModel.update(other: BinaryQuadraticModel)[source]#

Add the variables, interactions, offset and biases from another binary quadratic model.

Parameters:

other – Binary quadratic model from which to add values.