dimod.AdjDictBQM.fix_variables

AdjDictBQM.fix_variables(fixed)[source]

Fix the value of the variables and remove them.

Parameters

fixed (dict/iterable) – A dictionary or an iterable of 2-tuples of variable assignments.