摘要: import numpy as np from scipy.optimize import minimize, Bounds def func(x): return np.sum(np.sqrt(x)) def con(x): return 1000 - np.sum(x * np.arange(1 阅读全文
posted @ 2024-10-15 11:42 2839663913 阅读(31) 评论(0) 推荐(0)