下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
terminatedandtheminimumpointisfound.terminatedandtheminimumpointisfound.如果達到精度要求,通過比較中間點和xp的值大小選取小的那個點作為最優(yōu)點;否則的話繼續(xù)縮小區(qū)間;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變?yōu)橄麓斡嬎愕闹虚g點;fp<f2,xp>x2,newIUis[x2,x3]xp變?yōu)橄麓斡嬎愕闹虚g點;fpfxp<x2,newIUis[xp,x3]x2變?yōu)橄麓斡嬎愕闹虚g點;fp>f2,xp>x2,newIUis[x1,xp]x2變?yōu)橄麓斡嬎愕闹虚g點.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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026年醫(yī)務室服務合同
- 2025年智能溫控家居設備項目可行性研究報告
- 2025年綠色建筑設計與實施可行性研究報告
- 2025年產業(yè)園區(qū)綜合服務平臺項目可行性研究報告
- 2025年電商供應鏈優(yōu)化系統(tǒng)可行性研究報告
- 消費券發(fā)放協(xié)議書
- 純電車保價協(xié)議書
- 交房結算協(xié)議書
- 中韓薩德協(xié)議書
- 醫(yī)療器械注冊專員面試題及答案解析
- 晚會聘請導演協(xié)議書
- 電遷改監(jiān)理實施細則
- 《醫(yī)學美容技術》課件-實訓:VISIA皮膚檢測儀(理論)
- 促脈證中醫(yī)護理方案
- 排污許可合同模板
- 社區(qū)營養(yǎng)健康管理
- 《天皰瘡相關知識》課件
- 口服抗栓藥物相關消化道損傷防治專家共識(2021)解讀
- 敬老服務前臺工作總結
- 統(tǒng)編版(2024新版)七年級下冊歷史教材習題答案
- 《如何理解「銷售」》課件
評論
0/150
提交評論