Basinhopping:
Results in:
{'niter': 200, 'T': 1.0, 'stepsize': 0.5, 'minimizer_kwargs': {'method': 'Nelder-Mead', 'options':{'disp': 'True', 'maxiter': 10000}}, 'take_step': None, 'accept_test': None, 'callback': None, 'interval': 50, 'disp': True, 'niter_success': None, 'seed': None}
This is as expected, since the options for Nelder-mead are correctly passed on as {'disp': 'True', 'maxiter': 10000}.
Now for SHGO:
minner = Minimizer(func, params, fcn_args=arg),sampling_method='sobol',n=600,minimizer_kwargs={'method':'Nelder-Mead','options':{'disp':'True','maxiter':10000}})
result = minner.minimize(method='shgo')
print(result.call_kws)
Results in:
{'constraints': None, 'n': 600, 'iters': 1, 'callback': None, 'minimizer_kwargs': {'method': 'Nelder-Mead', 'options': {}}, 'options': None, 'sampling_method': 'sobol'}
As you can see, suddenly the 'options' for Nelder-Mead is an empty dictionary. Any ideas on how to solve this issue?
Thanks!
Olivier
On Jun 30, 2021, at 3:44 PM, Olivier B. <garageb...@gmail.com> wrote:
Hi everyone,
--
You received this message because you are subscribed to the Google Groups "lmfit-py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lmfit-py+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lmfit-py/b36afca4-9301-4ab0-b459-18177b427ce2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lmfit-py/75A92CEF-3B7A-4F02-9107-64B7E4D05113%40gmail.com.