Alexander Condello

Results 146 issues of Alexander Condello

It would be good to have something similar to [load_sampler_bqm_tests](https://github.com/dwavesystems/dimod/blob/de40db8c2b55f56bfbdadaf2b9a4981fa4899b98/dimod/testing/sampler.py#L180) for for CQMs for smoke testing lots of different CQM structures.

enhancement

It would be good to add [stub files](https://mypy.readthedocs.io/en/stable/stubs.html#stub-files) for some of the most commonly used cython packages because cython current does not support type annotations. Especially `dimod.cyvariables` and `dimod.cyutilities` would...

enhancement

`BQM.to_numpy_matrix()` was removed in dimod 0.10.0, however creating a dense matrix from a BQM is still of interest to some users. It can currently be done with ```python import dimod...

enhancement

We currently allow `BINARY` and `SPIN` variables in higher order models in the `BinaryPolynomial` class. It would be good to add a `QuadraticModel` analogue that permits `REAL` and `INTEGER` variables,...

enhancement

It's a bit uglier, but more explicit.

enhancement

Since https://github.com/dwavesystems/dimod/pull/1135 we remove deprecated features two minor version releases after the deprecation. So if a feature was deprecated in 0.11.2, it will be removed in 0.13.0. This is similar...

It would be useful to add a `SampleSet.as_completed()` method, similar to [`Future.as_completed()`](https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.as_completed).

enhancement

See https://github.com/dwavesystems/dwave-ocean-sdk/pull/191 for an example of why this is useful

It would be nice to be able to do ```python >>> x = dimod.BinaryArray(size=(5, 5)) ``` this can be done now with ```python >>> x = dimod.BinaryArray(range(25)).reshape((5, 5)) ``` applies...

enhancement