The bfgs object does not have a logfunc attribute or method
The bfgs object does not have a logfunc attribute or method