Radomir Stevanovic

Results 141 issues of Radomir Stevanovic

Call user-provided ``default()`` to serialize non-finite floats (inf, -inf, nan) if ``allow_nan=False``. Breaking change(?): if ``default()`` not provided, and ``allow_nan=False``, fail with:: TypeError: inf is not JSON serializable instead of...

It would be great to be able to handle serialization of non JSON serializable floats (the non-finites: ``inf``, ``-inf``, ``nan``). Preferably, in a manner consistent with the existing mechanisms for...

Consider building/shipping [`musllinux` wheels](https://peps.python.org/pep-0656/). Alpine linux uses musl libc instead of glibc, so Ocean install requires building all binary packages (todo: check if they even build on alpine). [Trivial](https://cibuildwheel.readthedocs.io/en/stable/options/#linux-image) to...

With #123 merged, we should consider using [RtD's server-side search](https://docs.readthedocs.io/en/stable/server-side-search.html) powered by Elasticsearch, as an alternative to the sphinx-powered on-page search (see the [search](https://docs.readthedocs.io/en/stable/config-file/v2.html#search) option).

docs

It's hard to tell which version of Ocean [/stable](https://docs.ocean.dwavesys.com/en/stable/) vs [/latest](https://docs.ocean.dwavesys.com/en/latest/) docs are about. Ideally, version of each package included would be visible as well, but that might become less...

As the number of users on arm64-backed linux/macos grows, we need to start building arm64 wheels for our binary packages.

feature

Current implementation of [`dimod.Sampler.from_qubo`](https://github.com/dwavesystems/dimod/blob/a56318dba98c1321e0caf946e1c10582a83f0ec5/dimod/core/sampler.py#L239) and [`dimod.Sampler.from_ising`](https://github.com/dwavesystems/dimod/blob/a56318dba98c1321e0caf946e1c10582a83f0ec5/dimod/core/sampler.py#L210) uses `dimod.BinaryQuadraticModel` as an intermediate BQM sent to `.sample`. `LeapHybridSampler` subclasses `dimod.Sampler` and inherits these methods. Consequently, submitting (say) a large dict QUBO to...

When running unittests, we currently [get](https://app.circleci.com/pipelines/github/dwavesystems/dwave-system/133/workflows/95228ddf-dfb1-4998-ad49-86dca51ce6c2/jobs/4060) 11 `DeprecationWarning`s mostly related to dimod and minorminer use.

[`EmbeddingComposite`](https://github.com/dwavesystems/dwave-system/blob/9c447fe73589e9ee4fee713a8b6d6eed1ff63366/dwave/system/composites/embedding.py#L46) et al. currently use a fixed default value for `chain_strength` (`1.0`), regardless of actual problem bias/coupling magnitudes. It would be useful to provide a utility for estimating a better...

feature-request/enhancement

`FixedEmbeddingComposite` currently accepts invalid embeddings (in a sense that chains are not disjoint). Sampling might succeed, but the effective problem that ran on the child sampler is probably not what...