Alexander Condello
Alexander Condello
It would nice to be able to set the default values for `Sampler.sample` keyword arguments on sampler construction. Something like ``` class ASampler(dimod.Sampler): ... def sample(self, bqm, a=1, b=1, c=1):...
https://github.com/dwavesystems/dimod/pull/963 was an attempt to fix this issue, but that approach fails. More investigation needed. Failing examples ``` samples = dimod.SampleSet( np.rec.array([([0.], 1., 1, True, [])], dtype=[('sample', '
It would be nice to get the label of one-variable BQMs and QMs. E.g. ```python >>> i = dimod.Integer('i') >>> i.name 'i' ``` Has a similar problem to the ones...
The inverse of `CQM.from_bqm` added in https://github.com/dwavesystems/dimod/pull/936. Cases this would need to handle to be fully featured: - [ ] Integer variables - [ ] binary encoding - [ ]...
Something like ```python import warnings from typing import Collection, Dict, Hashable, Mapping, Optional, Tuple import dimod try: from dimod.typing import Variable except ImportError: # dimod < 0.10 Variable = Hashable...
printing samplesets fails when one of the datafields is more than one dimension and has float biases
``` rec = np.recarray(5, dtype=[('sample', '
For requests like https://github.com/dwavesystems/dimod/issues/921, it would be nice to have some way of detecting whether a `BQM`/`QM` are scalars or single variables. Something like ``` def is_variable(self): return self.num_variables ==...
SciPy has an existing set of [sparse matrix formats](https://docs.scipy.org/doc/scipy/reference/sparse.html), we could support construction of the BQMs added in #533 from these formats. Notes: * We probably do not want to...
For very large CQMs, it would be helpful to have something like [numpy.memmap](https://numpy.org/doc/stable/reference/generated/numpy.memmap.html). It would wrap a CQM file, as generated by `CQM.to_file`. Constraints and objectives could then be added...
See comments in https://github.com/dwavesystems/dimod/pull/865