Solver in Problem Class, now bfgs uses that.