摘要: 习题5.4 import numpy as np from scipy.optimize import minimize def objective_function(x): return np.sum(np.sqrt(x)) def linear_constraint(x): weights = 阅读全文
posted @ 2024-10-14 21:50 cjl110 阅读(9) 评论(0) 推荐(0) 编辑