We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The ReadGate doesn't work with timeout=None when running on CPU.
To reproduce current behavior Steps to reproduce the behavior:
from lava.lib.optimization.problems.problems import QUBO from lava.lib.optimization.solvers.generic.solver import OptimizationSolver import numpy as np Q = np.array([[11, -5, 2, 0, -6], [-5, -13, -1, -3, 10], [2, -1, 0, 2, 10], [0, -3, 2, 2, -1], [-6, 10, 10, -1, -3]]) problem = QUBO(Q) solver = OptimizationSolver(problem) solution = solver.solve(timeout=50, target_cost=None )
TypeError: '<=' not supported between instances of 'int' and 'NoneType'
Expected behavior The OptimizationSolver should run until the timeout is reached.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
AlessandroPierro
No branches or pull requests
Describe the bug
The ReadGate doesn't work with timeout=None when running on CPU.
To reproduce current behavior
Steps to reproduce the behavior:
Expected behavior
The OptimizationSolver should run until the timeout is reached.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: