dwave.preprocessing.presolve.pypresolve.Presolver.detach_model

Presolver.detach_model()[source]

Create a dimod.ConstrainedQuadraticModel from the held model.

Subsequent attempts to access the held model raise a RuntimeError.