摘要: 1 import numpy as np 2 import matplotlib.pyplot as plt 3 plt.rcParams['font.sans-serif']=['Microsoft YaHei'] 4 5 def f(y): #目标函数 6 f_x=y[0]**2+10*y[1] 阅读全文
posted @ 2024-02-28 19:39 来者可追2019 阅读(25) 评论(0) 推荐(0) 编辑