Clean the solver before adding new ones