সম্পাদনা
from scipy import optimize result = optimize.minimize( lambda x: (x[0] - 3) ** 2 + (x[1] - 2) ** 2, [0, 0] ) print(result.x)
পূর্বরূপ