I managed to get it to work with the NelderMeadSim...
# mathematics
b
I managed to get it to work with the NelderMeadSimplex