lava-optimization icon indicating copy to clipboard operation
lava-optimization copied to clipboard

Solver returns false solution with overflow

Open calixphd opened this issue 2 years ago • 2 comments

Objective of issue:

Lava version:

  • [ ] 0.3.0 (feature release)
  • [ ] 0.2.1 (bug fixes)
  • [x] 0.2.0 (current version)
  • [ ] 0.1.2

I'm submitting a ...

  • [x] bug report
  • [ ] feature request
  • [ ] documentation request

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

insert the output from lava debug here

calixphd avatar Nov 03 '22 20:11 calixphd

This error was observed when the QUBO matrix is scaled with w_mult = 40. Host: LMT notified network reached target cost: -3087632 Host: LMT notified network reached target cost: -3087632 Host: stopping simulation at step: 4045

Basically any set of hyperparameters will return a false solution.

calixphd avatar Nov 04 '22 15:11 calixphd

To add some info: If the synaptic weights are high, then the solver integrates the cost, gets to a very high value, and shows an integer overflow. As a result, it assumes that it found a very good solution (-high number) and stops. Maybe integer overflow in the dendritic accumulator of the cost integrator?

phstratmann avatar Nov 04 '22 16:11 phstratmann