I\'m trying to use the CVXOPT qp solver to compute the Lagrange Multipliers for a Support Vector Machine
def svm(X, Y, c): m = len(X) P = matrix(
Your matrix elements have to be of the floating-point type as well. So the error is removed by using A = A.astype('float') to cast it.
A = A.astype('float')