Update solvers.py