最速下降法与牛顿法结合求无约束最优值(Unconstrained optimization by combining steepest descent method with Newton method).docVIP
- 1、本文档共8页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
最速下降法与牛顿法结合求无约束最优值(Unconstrained optimization by combining steepest descent method with Newton method)
最速下降法与牛顿法结合求无约束最优值(Unconstrained optimization by combining steepest descent method with Newton method)
The steepest descent method combines Newtons method with an unconstrained optimal value,.Txt, to value life -- God keeps you alive, and certainly has his plans. Lei Feng does good without seeking recognition, but everything diary. Ha ha, I have achieved the steepest descent French Newton combination, and can also animate the iterative process of solving its optimal value. Have been implemented on the program. (matlab) when running, the steepest descent accuracy should not be too small, and the Newton accuracy at the back can be taken as an arbitrary value.
Tic
CLC; clear;
SYMS X1 x2
G=[];
G=input (` enter, want x1^2, x2^2, x1*x2, x1, X2, constant coefficients, such as [1,2,3,4,5,6] coefficient vector = = );
A=G (1,1); b=G (1,2); c=G (1,3); d=G (1,4); e=G (1,5); g=G (1,6);
F=a*x1^2+b*x2^2+c*x1*x2+d*x1+e*x2+g;
% draw the original image
Figure;
X11=-100:0.5:100;
X22=x11;
[x11, x22]=meshgrid (X11, X22);
F11=a.*x11.^2+b*x22.^2+c*x11.*x22+d.*x11+e.*x22+g;
Surf (F11), grid, on, hold, on;
% draw the original image
Df1=diff (F, x1); df2=diff (F, x2);% for function first order
DF=[df1; df2];
Df11=diff (DF1, x1); df12=diff (DF1, X2);
Df21=diff (df2, x1); df22=diff (df2, x2);%; here, the two derivative of the function is obtained
DEE=[df11, DF12, DF21, df22];
X=input (\ enter the initial value of X is x=[x1, x2], x=: );
X=x;
E=input (enter the precision of the steepest descent method you want (usually 3~5) E=: ;
%, here are some calculations of the relevant initial values
T=[];
D=T;
T ((1) =subs (DF, [x1, x2],, [x (1), X (2))];
TH=subs (DEE, [x1, x2], [x (1), X (2));
%, here are some calculations of the relevant initial values
Disp (because you enter the initial value, here will start the steepest descent search: );
For k=1:100000
D ((1) =-T (: 1);%d (k) is x (k+1), =x (k), +A (k), *d (k)
A (1) = (T ((1)*T) (/: 1)) / (T ((:) 1)*TH*T ((: 1));
TH=subs (DEE, [x1, x2], [x (1, K),
您可能关注的文档
- 快题设计注意事项(Quick question design notice).doc
- 怎样养成好习惯(How do you form good habits).doc
- 怎样复习(How to review).doc
- 怎样削螺旋桨(航模制作)(How to cut propellers).doc
- 怎样强化园林绿化施工及管理(How to strengthen the construction and management of landscaping).doc
- 怎样打尼拉塞克a5key_kn面面观(How do I play Nila Seck a5key_kn).doc
- 怎样提高口语水平(How to improve oral English).doc
- 怎样提高太极拳水平(How to improve Taijiquan level).doc
- 怎样提高赏石水平(How to improve the level of Mr.).doc
- 怎样正确地制定年度营销预算(How to formulate annual marketing budget correctly).doc
- 联合利华多品牌运营策略下的渠道管理优化策略报告.docx
- 2025年港口自动化升级对港口运营成本降低的案例分析.docx
- 2025年城市地下空间综合开发利用项目环境影响评估报告.docx
- 课程思政在实验动物学教学中的重要性与发展趋势.docx
- 阳高健身房工程施工方案(3篇).docx
- 基于大数据的2025年家庭教育指导服务市场潜力分析报告.docx
- 2025年乡村生态养殖休闲旅游融合乡村旅游体验式教育报告.docx
- 无人机物流配送技术升级,2025年行业应用创新案例研究.docx
- 无人机物流商业模式创新在低空经济中的应用与政策支持分析.docx
- 城市垃圾转运站智能化管理系统效果评估报告(2025).docx
最近下载
- 小学奥数教师版(合辑)1-1-2-3 分数四则混合运算综合.pdf VIP
- 小学奥数合辑(学生用书)1-1-2-3 分数四则混合运算综合.pdf VIP
- 心电监护操作流程课件(PPT 34张).pptx VIP
- 高考数学三年真题(2023-2025年)《统计与概率》真题分类汇编含答案.docx VIP
- 高斯小学奥数五年级上册含答案_分数应用题.doc VIP
- 药食同源发酵项目可行性研究报告建议书新建申请备案案例范文解读.doc VIP
- 2024年广东省高考政治试卷(真题+答案).pdf VIP
- 小学数学 奥数思维《计算:小数的巧算》专项训练2(含解析).docx VIP
- 智慧城市排水防涝系统改造与优化创新研究.docx VIP
- 核心稳定性与核心力量训练.ppt
文档评论(0)