SciPy - Advanced Optimization
Examine the following code:
What is the issue here?
from scipy.optimize import dual_annealing
def f(x):
return x[0] + x[1]
result = dual_annealing(f, bounds=[(0, 1)])
print(result.fun)What is the issue here?
