I'm trying to use the Python package CVXPY to solve a convex quadratic programming problem of the first form here: https://www.cvxpy.org/examples/basic/quadratic_program.html, using the following code
x = np.variable(2 * N)
prob = cp.Problem(cp.Minimize((1/2) * cp.quad_form(x, P) + q @ x), [G @ x <= h, A @ x == b])
prob.solve(solver=cp.OSQP, verbose=True)
However, for certain data, it gives me the error
ArpackNoConvergence: ARPACK error -1: No convergence (1001 iterations, 0/1 eigenvectors converged)
From searching the internet, it seems like this can be addressed either by increasing the number of iterations in ARPACK, or by increasing the tolerance. CVXPY has options for both max_iters and for absolute accuracy, but these don't seem to affect the number of iterations in ARPACK, and I assume they apply to some higher level part of the solver.
I can't find any references online to this specific problem, or indeed to ARPACK in conjunction with CVXPY. I'm pretty stumped by this, and would really appreciate any help.