dimod.QuadraticModel.clear#

QuadraticModel.clear() None[source]#

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