Replies: 2 comments 6 replies
-
Hi @elrond91, Thanks for initiating a discussion. You do not seem to be preconditioning the problem before using it in the Loihi Solver. That could be one of the reasons why the solutions don't match. The QP solver for Lava is a solver that uses first-order dynamics and hence ill-conditioned systems will not work well without some form of preconditioning. cvxopt would internally take care of these issues. |
Beta Was this translation helpful? Give feedback.
-
Hi, TypeError: ufunc 'right_shift' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''. I am afraid that the exception is due to right shift operation performed on alpha which is float64 dtype. |
Beta Was this translation helpful? Give feedback.
-
I compared the performance of the QP solver provided by Lava against the optimization solver cvxopt (https://cvxopt.org/), and I got very different values; I have tried modifying iterations numbers with alpha and beta values, but still is the same behavior. Am I missing something?
Packages:
lava-nc 0.2.0
cvxopt 1.2.7
Code:
Output:
Beta Was this translation helpful? Give feedback.
All reactions