Minimizing a numerical function

Ok, seems like an issue with the function you are minimizing, but it’s impossible to say without more information. Please at least post the full stacktrace and ideally a minimal reproducible example. See Please read: make it easier to help you for more information about making it easier for us to help you.

2 Likes