dimod.binary.BinaryQuadraticModel.clear

BinaryQuadraticModel.clear() None[source]

Remove the offset and all variables and interactions from the model.