Skip to content
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

Merged
merged 40 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
814abc9
starting SolutionReceiver
phstratmann Nov 30, 2023
313881a
transferring unit test from spikeIO
phstratmann Dec 5, 2023
597e9d5
spikeIO working via LMT
phstratmann Dec 5, 2023
3b70b6d
starting unittest for SolutionReadout
phstratmann Dec 5, 2023
2646faf
Remove NxToPy adapters from SolutionReadout
AlessandroPierro Dec 7, 2023
02def67
Implement SolutionReceiver with a single port
AlessandroPierro Dec 7, 2023
20e2675
Incremental update to spikeio readout
AlessandroPierro Dec 8, 2023
e80b96e
revising CostIntegrator
phstratmann Dec 12, 2023
341e778
ensure that run_async also stops if no solution found
phstratmann Dec 12, 2023
f34707d
passing unit tests for new CostIntegrator
phstratmann Dec 13, 2023
3808fc2
nebm_sa: first revision, untested
phstratmann Dec 14, 2023
add481c
spikeIO running in unit test, but no msgs arriving yet
phstratmann Dec 15, 2023
8b7e118
Merge remote-tracking branch 'optimization_origin/qubo_readout' into …
phstratmann Dec 15, 2023
e840f92
spikeIO msgs arriving
phstratmann Dec 15, 2023
c946c7d
unit tests passing for SolutionReceiver and SolutionReadout, Spiker32…
phstratmann Dec 21, 2023
8bcfbe9
revised nebm_sa, old unit tests pass
phstratmann Dec 22, 2023
6dc1607
Add synapses NEBM -> SpikeIntegrators
AlessandroPierro Jan 12, 2024
8a13b22
Merge branch 'main' into qubo_readout
phstratmann Jan 15, 2024
2784092
SolutionReadout functional and tested
phstratmann Jan 16, 2024
d17e085
Renamend SolutionReadout
phstratmann Jan 18, 2024
e35212d
Bug fix in SolutionReadout
AlessandroPierro Jan 19, 2024
0216983
refractor
phstratmann Jan 22, 2024
40617b8
refractor
phstratmann Jan 22, 2024
a34329f
lintin
phstratmann Jan 22, 2024
53ab268
input validation and docstrings
phstratmann Jan 23, 2024
87f14e1
added timeout in SolutionReceiver
phstratmann Jan 23, 2024
b532d53
linting
phstratmann Jan 23, 2024
4bc6814
Merge branch 'main' into qubo_readout
phstratmann Jan 23, 2024
9fa1245
licenses
phstratmann Jan 24, 2024
6b7bc37
Merge remote-tracking branch 'optimization_origin/qubo_readout' into …
phstratmann Jan 24, 2024
c54bd49
Bugfix in SolutionReceiver pymodel
AlessandroPierro Feb 6, 2024
ee9d48a
Merge remote-tracking branch 'origin/main' into qubo_readout
AlessandroPierro Feb 6, 2024
f18037c
Expose steps_per_temperature as var in Annealing
AlessandroPierro Feb 7, 2024
4052cda
Draft re-initialization of QUBOSolver
AlessandroPierro Feb 8, 2024
08c5641
Enables re-initialization of QUBOSolver
AlessandroPierro Feb 12, 2024
1327f4e
Add printing to SolutionReadout
AlessandroPierro Feb 13, 2024
1fcf242
renamed best_state
phstratmann Feb 15, 2024
e2bcb81
Generalize SolutionReadout
phstratmann Feb 21, 2024
4ea4180
remove QUBO
phstratmann Feb 29, 2024
b3c927a
Merge branch 'main' into qubo_readout
phstratmann Feb 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ def __init__(
self.delta_temperature_out = OutPort(shape=shape)

self.temperature = Var(shape=shape, init=np.int_(max_temperature))
self.steps_per_temperature = Var(
shape=shape, init=np.int_(steps_per_temperature)
)
self.temperature_counter = Var(
shape=shape, init=np.int_(steps_per_temperature)
)

@property
def shape(self) -> ty.Tuple[int, ...]:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022 Intel Corporation
# Copyright (C) 2022-2024 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# See: https://spdx.org/licenses/
import numpy as np
Expand Down
4 changes: 4 additions & 0 deletions src/lava/lib/optimization/solvers/generic/nebm/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2022-2024 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# See: https://spdx.org/licenses/

import numpy as np

from lava.lib.optimization.solvers.generic.nebm.process import NEBM
Expand Down
Loading