Minor changes to solver_algorithms.py.