how to find global minimum in python optimization with bounds?
问题 I have a Python function with 64 variables, and I tried to optimise it using L-BFGS-B method in the minimise function, however this method have quite a strong dependence on the initial guess, and failed to find the global minimum. But I liked its ability to set bounds for the variables. Is there a way/function to find the global minimum while having boundaries for the variables ? 回答1: This can be done with scipy.optimize.basinhopping . Basinhopping is a function designed to find the global