dwave.preprocessing.presolve.pypresolve.Presolver.normalize#

Presolver.normalize()[source]#

Normalize the held constrained quadratic model.

Returns:

A boolean indicating whether the model was modified by presolve.

Raises:

InvalidModelError – If the model is ill-constructed or otherwise not valid. This is disctinct from infeasibility.