Comments (1)
MCVE boils down to:
import dimod, hybrid
bqm = dimod.BQM({0: -1, 1: 0.01}, {}, 0, 'BINARY')
workflow = hybrid.PopulationAnnealing(num_reads=1, num_iter=2, num_sweeps=1)
workflow.run(hybrid.State.from_problem(bqm)).result()
It fails with:
/home/radomir/work/dwave-hybrid/hybrid/reference/pa.py:65: RuntimeWarning: overflow encountered in exp
w = np.exp(-beta * ss.record.energy)
/home/radomir/work/dwave-hybrid/hybrid/reference/pa.py:66: RuntimeWarning: invalid value encountered in true_divide
p = w / sum(w)
Traceback (most recent call last):
...
idx = self.random.choice(len(ss), len(ss), p=p)
File "mtrand.pyx", line 928, in numpy.random.mtrand.RandomState.choice
ValueError: probabilities contain NaN
from dwave-hybrid.
Related Issues (20)
- Kerberos and KerberosSampler unexpected sampler selection HOT 4
- SplatComposer produces a numpy.float64 sampleset
- Performance of Parallel Tempering
- Feature request: make Kerberos's default max_subproblem_size topology-dependent HOT 1
- How should the `racing_context` parameter be used with a third-party framework? HOT 1
- Difference b/w D Wave leap hybrid solver and QBsolv? HOT 1
- `SteepestDescentProblemSampler` not using `SteepestDescentSolver`
- Expose QPU timing info in `timers`
- CI not sweeping dimod versions properly
- Clique Embedding not working HOT 3
- Solution refinement using ReverseAnnealingAutoEmbeddingSampler
- Specifying init_sample as a SampleSet when sampling from KerberosSampler results in error HOT 4
- Bug in flip_energy_gains causes a TypeError HOT 2
- Hybrid solver execution on CPU! HOT 1
- Several tests fail HOT 8
- Flaky test for `hybrid.Log` to shared queue HOT 1
- latticeLNLS docs need fixing
- Clarify/update `SplatComposer` behavior
- Purely subsampler based flow fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwave-hybrid.