For the Basing-Hoping method on a multivariable function with specific boundaries, I write the code as follows:
import scipy.optimize as opt bnds = ((1, 100), (1,