Moved solver protocol code into mbar_solvers.py