-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUBO] Minor improvements #283
Conversation
…bit now supports signed
Co-authored-by: Philipp Stratmann <phstratmann@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you agree on another chat to move the flagged files to lava-loihi, I'll add the proper review of these there alongside the rest of the code. Feel free to merge once these files are removed here and added there.
src/lava/lib/optimization/solvers/qubo/cost_integrator/process.py
Outdated
Show resolved
Hide resolved
src/lava/lib/optimization/solvers/qubo/simulated_annealing/process.py
Outdated
Show resolved
Hide resolved
src/lava/lib/optimization/solvers/qubo/solution_readout/models.py
Outdated
Show resolved
Hide resolved
src/lava/lib/optimization/solvers/qubo/solution_readout/process.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Philipp Stratmann <phstratmann@users.noreply.github.com>
Co-authored-by: Philipp Stratmann <phstratmann@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
Objective of pull request:
This PR enables readout of the QUBO solution via spikeIO. This is required to scale to multi-chip systems.
Please note that this PR adds a fully new QUBOSolver class with corresponding Process and Model. It thus does not change the OptimizationSolver class.
For review, I would suggest to start with the QUBOSolver class, and then look into QUBOSolverProcess and QUBOSolverModel.
Has a corresponding PR in lava-on-loihi.
New features/advantages of this PR:
Pull request checklist
Your PR fulfills the following requirements:
flakeheaven lint src/lava tests/
) and (bandit -r src/lava/.
) pass locallypytest
) passes locallyPull request type