curve_fit(), minimize(f, x0, method="L-BFGS-B"), basinhopping用来找全局最优;可设置参数除了method外还有bounds, 如bounds=((0,10), ). minimize_scalar().
確定! 回上一頁