Replies: 1 comment
-
For completeness, this was addressed in #866. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When minimising a residual using
lmfit.minimize
withmethod='lbfgsb'
, settingmax_nfev
to a value greater than the default value ofmaxiter
(15000) ofscipy.optimize.fmin_l_bfgs_b
results in the minimisation still terminating atnfev=15000
. Setting the keyword argumentmaxiter=50000
givesRuntimeWarning: ignoring 'maxiter' argument to 'Minimizer()'. Use 'max_nfev' instead.
.What am I doing wrong?
A Minimal, Complete, and Verifiable example
Error message:
Version information
Python: 3.9.4 (tags/v3.9.4:1f2e308, Apr 6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)]
lmfit: 1.2.0, scipy: 1.6.3, numpy: 1.21.4,asteval: 0.9.29, uncertainties: 3.1.7
Beta Was this translation helpful? Give feedback.
All reactions