dimod.ConstrainedQuadraticModel.from_dqm#
- classmethod ConstrainedQuadraticModel.from_dqm(dqm: DiscreteQuadraticModel, *, relabel_func: Callable[[Variable, int], Variable] = <function ConstrainedQuadraticModel.<lambda>>) ConstrainedQuadraticModel [source]#
Alias for
from_discrete_quadratic_model()
.