BayesianOptimization icon indicating copy to clipboard operation
BayesianOptimization copied to clipboard

Maximum number of iterations has been exceeded

Open eegzheng opened this issue 1 month ago • 1 comments

Hello, sometimes I got the error below. I used init_points=5 and n_iter=300. Could you suggest how to fix this, e.g., increasing the number of iterations? Thanks!

\bayes_opt\acquisition.py", line 393, in _smart_minimize raise RuntimeError(msg) RuntimeError: Differential evolution optimization failed. Message: Maximum number of iterations has been exceeded.

eegzheng avatar Nov 14 '25 13:11 eegzheng

The DE is new, so I've never seen this. Can you give a full snippet to reproduce the problem?

till-m avatar Nov 17 '25 17:11 till-m