Open randomir opened 2 months ago
Problem ID is available in SampleSet.info for other solver/samplers, but not in the LeapHybridNLSampler.SampleResult named tuple.
SampleSet.info
LeapHybridNLSampler.SampleResult
One option is to expand the SampleResult tuple with a third field, info, but that breaks backward compatibility.
SampleResult
info
Another option is to generalize the timing field, but that again breaks compatibility if the field is renamed.
timing
So the only "safe" option is to tuck problem_id in the timing dict, but that's too ugly.
problem_id
Problem ID is available in
SampleSet.info
for other solver/samplers, but not in theLeapHybridNLSampler.SampleResult
named tuple.One option is to expand the
SampleResult
tuple with a third field,info
, but that breaks backward compatibility.Another option is to generalize the
timing
field, but that again breaks compatibility if the field is renamed.So the only "safe" option is to tuck
problem_id
in thetiming
dict, but that's too ugly.