dwave.preprocessing.presolve.pypresolve.Presolver.restore_samples¶
- Presolver.restore_samples()[source]¶
Restore the original variable labels to a set of reduced samples.
- Parameters
samples_like – A
dimod.types.SamplesLike
. The samples must be index-labeled.- Returns
A 2-tuple where the first entry is the restored samples and the second is the original labels.
- Return type
Tuple