Objective of pull request:
This PR resolves two issues in the QUBO solver:
1) Calculate correct local cost, in order to decide on switching binary variables.
2) Separate out the temperature annealing into a separate neuron model. This allows to save CX state in the NEBM0-SA neuron, to have 16bit temperature resolution, and to save 1 ucode pass for all NEBM-SA neurons per time step.
Pull request checklist
[x] Issue created that explains the change and why it's needed
[x] Tests are part of the PR (for bug fixes / features)
[ ] Docs reviewed and added / updated if needed (for bug fixes / features)
Issue Number: 356, 360 in lava-on-loihi
Objective of pull request: This PR resolves two issues in the QUBO solver: 1) Calculate correct local cost, in order to decide on switching binary variables. 2) Separate out the temperature annealing into a separate neuron model. This allows to save CX state in the NEBM0-SA neuron, to have 16bit temperature resolution, and to save 1 ucode pass for all NEBM-SA neurons per time step.
Pull request checklist
flakeheaven lint src/lava tests/
) and (bandit -r src/lava/.
) pass locallypytest
) passes locallyPull request type