I need to find global minimum of a complex function. I use basinhopping from scipy.optimize. when I changed method, example method="nelder-mead" vs "L-BFGS-B" or initial guess x0, they gave me different results, especially in values of x which I need to get to use in next steps. x[5] = 0.6 with "nelder-mead" but x[5]=0.0008 with "L-BFGS-B" although the function value is similar 2055.7795 vs 2055.7756 (all of these has "success: TRUE"). I thought basinhopping finds global minimum. So it should give the same result, no matter what method or initial guess I use. Anyone can explain why please? and suggest what I should do to find global minimum and check if it is global (not local).
Thank you
a=([]) – Helena Jan 14 '22 at 09:08