下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
terminatedandtheminimumpointisfound.terminatedandtheminimumpointisfound.如果达到精度要求,通过比较中间点和xp的值大小选取小的那个点作为最优点;否则的话继续缩小区间;Taylorseriesofafunctionwithmultiplevariablesis:f(X)*(Xk)+叼(Xk沙(X-Xk)+2(x-Xk)tV2f(Xk)(x-Xk)Extremumconditions:i)Vf^X*)=0andV2fG*'ositivedefinite—Minimumii)Vf^X*)=0andV2fk*Negativedefinite—Maximumiii)Vf^X*)=0andV2fk*)ndefinite—NotaExtremum
TOC\o"1-5"\h\z1(x2 —x2 )f +(x2 —x2)f +(x2 —x2 )fx= 2 3 1 3 1 2 1 2 Tp2(x—x)f+(x—x)f+(x—x)f2 3 1 3 1 2 1 2 3ConvergenceJudgement:if|x2-xp|<E,thenthesearchcanbeShorteningthesearchinterval:fpfxp<x2,newIUis[x1,x2]xp变为下次计算的中间点;fp<f2,xp>x2,newIUis[x2,x3]xp变为下次计算的中间点;fpfxp<x2,newIUis[xp,x3]x2变为下次计算的中间点;fp>f2,xp>x2,newIUis[x1,xp]x2变为下次计算的中间点.ThealgorithmoftheGSM:1.initialpointX0,initialstephandtheconvergenceaccuracyearegiven;DetermineInitialsearchinterval[a,b];TheinterpolationpointsaregeneratedbyGSM,thefunctionvaluesarealsocomputed:X1=a+0.382(b-a) f1=f(X1)X2=a+0.618(b-a) f2=f(X2)Comparef1andf2todeterminethenewinterval:iff1<f2,thenthenewsearchintervalis[a,X2];iff1>f2,thenthenewsearchintervalis[X1,b];Convergencejudgement:whenb-a<eissatisfied,thealgorithmisterminatedandtheminimumpointisX*=(b+a)/2;otherwisegotocontinuethesearch.ThealgorithmoftheFSM:Fibonaccisequenceisgeneratedas:F=F=1F=F+Fk=2,3,…0 1 kk-1k-2Determinen:Fn,G—a)庇由此来确定n的值其余步骤与GSM相似,其中比例系数的计算如下:'广"L+1 ^T,2,…,^Theinterpolationpoints:X=a+-^~^(b-a)x=a+f1-~Fn-^K-a)1 F-k+1 2IF.k+1JThealgorithmoftheQIM:GiveninitialpointX0,initialstephandtheconvergenceaccuracye>0;Determineinitialsearchinterval[a,b]andanotherpointcinsidethisinterval;Letx1=a<x2=c<x3=bandf1=f(x1)>f2=f(x2)<f3=f(x3);Calculatetheinterpolationpointxpandfp=f(xp):ThealgorithmoftheCIM:1.Calculatef0=f(x0)andG0=andfeanddeterminea(normallyk=2).2.Evaluatefa=f(x0+a)andGa=;checkthatG0<0;八0+a)IfGa>0orfa>f0,gotoStep5;otherwisegotoStep4.Replaceaby2a,evaluatenewfa,Ga,backtoStep3.5.Interpolateontheinterval[0,a]forinterpolationformula:Z=G0+"3(f0-Ewr人G+Z+woT=G0+G^+2Zchoosekusingthecubic然后计算f(x0+Xm)以及G(x0+Xm)的值6.ReturntoStep5torepeattheinterpolationonsmallerinterval[0,气]Or[人机,a]ifff(x+人)>0Orff(x+人)<07.Stopif入miswithinedistancetotheendpointsorthelengthoftheintervalislessthane.ThealgorithmoftheSDM:1.GiveninitialpointX0andtheconvergenceaccuracye>0,andsetk=0.2.CalculatethegradientatthispointandconstructthesearchdirectionSk=-Vf3.Usethe1-Dsearchtofindthenewiterationpoint:f(X,+^Sk)=minf(X,+^Sk)求最小值时直接对a求导即可得到使f最小的a值,然后令Xk+1=Xk+aSk4.Convergencejudgment:ifV/Gk+1)V8,thenthesearchcanbeterminatedandtheoptimalsolutionisX*=Xk+1;otherwiseletk=k+1,gotoStep2continue.ThealgorithmoftheNewton’sMethod:GiveninitialpointX0andtheconvergenceaccuracye>0,andsetk=0;Calculatethegradient,theHessiananditsinverseatpointXk;ConstructNewton’sdirection:
J=g-gS=Xk+1-Xkletk=k+1,returntoStep2.以上为DFP算法,接下来是BFGS算法:步骤大致与DFP一样,但更新公式不同。yjtHsstHd=—H-1gH=H+—k_k——kkk——kkkkk+1k yTS STHSkkkkk共轭梯度法CGM:GiveninitialpointX0apdtheconvergenceaccuracyE>0,andsetk=0,S0=—g0=—VfG0)G0=V2fG0)Developthe1-DsearchalongthedirectionSktoobtainthesteplengthSkandthenextiterationpoint:
2.a=argminf^Xk+aS^Xk+1=Xk+aSk3.Sk+1=-vfGk+1)+pSk.kXk+1=Xk+aS;在基本牛顿法中a=1,而在阻尼牛顿法中,ka的取值与SDM算法中的步骤三一致;5.Convergencejudgment:if||V/Gk+1)V8,thenthesearchcanbeterminatedandtheoptimalsolutionisX*=Xk+1;otherwiseletk=k+1,andreturntoStep2andcontinue.gTGpr_gT(gCGM:6=k+\k+1kPRP:P= —kk pTGp kllgkl2收敛判断与拟牛顿法一致IgklI2ThealgorithmoftheQuasi-Newton’sMethod:1.X0'H01.X0'H0(usuallyH0given;Setk=0andcompute3.Choosedk=-Hkgk
asthesearchdirection.4.Develop1-Dsearchanddeterminetheoptimalsteplengtha,identifythenewiterationpointXk+1=Xk+E然后求得k5.Convergencejudgment:ifa=argminfGk+
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年仿生蜜蜂项目可行性研究报告
- 2026年国潮文化 传统工艺创新项目可行性研究报告
- 2026年储能安全预警系统项目可行性研究报告
- 2026年交通规则安全知识测试题库驾驶人交通安全教育习题
- 2026年教育行业教师资格证备考模拟题
- 2026年金融市场分析投融资决策练习题库
- 2026年建筑幕墙施工技术实操考核题目
- 2025年南阳市内乡县三支一扶考试真题
- 2026年护士执业资格考试中级模拟试题集
- 2026年高校教师招聘综合素质测试模拟题
- 2026年安徽马鞍山市高三高考一模数学试卷试题(含答案详解)
- (2025年)一级人力资源管理师考试真题及答案
- 2026湖南衡阳日报社招聘事业单位人员16人备考题库及答案详解(新)
- 生产车间首检巡检制度
- 摄食训练技术
- 2026年中考物理全真模拟试卷及答案(共五套)
- 备战高考:高三班级管理与激励策略
- 2025年生物多样性保护与生态修复项目可行性研究报告
- 临床检验科主任:检验技术在临床应用与质量控制
- 等离子切割技术应用要点
- 老年人抑郁症宣教
评论
0/150
提交评论