I'm attempting to use cvxpy. I have installed version 1.1.0a1 into my conda environment using pip and cloned the cvxpy github repository. When trying to run their SVM-example jupyter notebook, prob.solve()
throws the following error message:
SolverError: Solver 'OSQP' failed. Try another solver, or solve with verbose=True for more information.
Setting verbose=True
and adding some print statements reveals that the solver terminates with
status: maximum iterations reached
number of iterations: 10000
run time: 1.07e+00s
optimal rho estimate: 2.03e-01
for regulariation parameter Lambda = 0.010974987654930561
, while parameter Lambda = 0.010476157527896646
gives the result
status: solved inaccurate
number of iterations: 10000
optimal objective: 0.8437
run time: 1.06e+00s
optimal rho estimate: 1.68e-01
Since this is "official" example code, I'm guessing that my problem is in some form of unexpected interaction with other packages, but don't even know where to begin to look.