付費下載
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、SECTION 2NUMERICAL OPTIMIZATIONTABLE OF CONTENTSPAGEMINIMIZATION OF FUNCTIONS OF A SINGLE VARIABLE 2-3GRADIENTS 2-8UNCONSTRAINED MINIMIZATION METHODS 2-11KUHN-TUCKER CONDITIONS FOR OPTIMALITY 2-16SIMPLE CANTILEVER EXAMPLE 2-18SERIES APPROXIMATIONS 2-21SEQUENTIAL LINEAR PROGRAMMING 2-26METHOD OF FEAS
2、IBLE DIRECTIONS 2-29MODIFIED METHOD OF FEASIBLE DIRECTIONS 2-33SQP METHOD2-40NUMERICAL IDENTIFICATION OF ACTIVE AND VIOLATED CONSTRAINTS2-43MINIMIZATION OF FUNCTIONS OF A SINGLE VARIABLEConsider the following function of a single variable Xextremum is defined for X* at which The numerical optimizer
3、“samples” this continuous function and uses this data to estimate an extremum. For example, if the following information is available:we could use a quadratic polynomial approximation of the form:MINIMIZATION OF FUNCTIONS OF A SINGLE VARIABLE (Cont.)to construct 3 equations in 3 unknowns:From which:
4、MINIMIZATION OF FUNCTIONS OF A SINGLE VARIABLE (Cont.)ThereforeMinimum at X* if a2 0Maximum at X* if a2 0MINIMIZATION OF FUNCTIONS OF A SINGLE VARIABLE (Cont.)Unconstrained minimum:MINIMIZATION OF FUNCTIONS OF A SINGLE VARIABLE (Cont.)Constrained minimumSide ConstraintGRADIENTSMultivariate function
5、minimization in MSC.NASTRAN is gradient-based.Let:i.e., a scalar function of n independent variables.Gradient of a scalar function is defined as:where e1,e2,en are unit vectors in the nth direction.GRADIENTS (Cont.)Gradient operator is defined as:or in tensor notation as:Gradient of a scalar vector
6、fieldExample:(Note that this is the equation for a family of circles in the X1, X2 plane with centers at the origin and radii of .)GRADIENTS (Cont.)orf and f are continuous functionsGraphically: Note that f points in the direction of increasing function values.UNCONSTRAINED MINIMIZATION METHODSExamp
7、le: Equilibrium of two-spring systemTheoretical solution:minimum occurs atThe corresponding two-variable design space is illustrated on the next page.UNCONSTRAINED MINIMIZATION METHODS (Cont.)Steepest descent:Reductions in the objective function are sought by searching in a direction given by the ne
8、gative of the gradient.UNCONSTRAINED MINIMIZATION METHODS (Cont.)Design updates given by:WhereThis method is intuitively attractive, but inefficient. In MSC.NASTRAN we only use it as the first iteration of other, more efficient methods.UNCONSTRAINED MINIMIZATION METHODS (Cont.)Conjugate direction me
9、thod(Bias the new search direction with previous information)UNCONSTRAINED MINIMIZATION METHODS (Cont.)This method is easy to code and is a dramatic improvement over the steepest descent method.KUHN-TUCKER CONDITIONS FOR OPTIMALITYKuhn-Tucker conditions for optimality follow directly from a generali
10、zation of Lagrange multipliers.An optimum design is at hand if:X* is feasible k + m unrestricted in sign, but not used in MSC.NASTRANKUHN-TUCKER CONDITIONS FOR OPTIMALITY (Cont.)SIMPLE CANTILEVER EXAMPLEProblem descriptionSIMPLE CANTILEVER EXAMPLE (Cont.)Minimize V = B H LSubject to:SIMPLE CANTILEVE
11、R EXAMPLE (Cont.)The Design SpaceSERIES APPROXIMATIONSFunction gradient information can be used to construct first-order Taylor Series approximationswhereSERIES APPROXIMATIONS (Cont.)Using the Simple Cantilever to illustrate:Minimize V = B H LDesign variables B and HSubject to:SERIES APPROXIMATIONS
12、(Cont.)First-order approximations:AtSERIES APPROXIMATIONS (Cont.)The resultant linearized design spaceSERIES APPROXIMATIONS (Cont.)In this case, the approximate optimum actually violates some of the true constraints. It does, however, form a good starting point for the next iteration. This is the ba
13、sis of a “sequential linearization” method of solution.SEQUENTIAL LINEAR PROGRAMMINGFirst linearize:Solve this linear approximate problem using Simplex or other optimizer.Relinearize and repeat to convergence.This option is available in MSC.NASTRAN. (Set METHOD to 2 on the DOPTPRM Bulk Data entry.)j
14、 J, (J set of active constraints)SEQUENTIAL LINEAR PROGRAMMING (Cont.)Typical design cycle history:Boxes around each design represent move limits.SEQUENTIAL LINEAR PROGRAMMING (Cont.)Why move limits are necessary:Move limits are required because higher order terms have been ignoredMETHOD OF FEASIBLE
15、 DIRECTIONSIn contrast with SLP, the method of feasible directions treats active, nonlinear constraints directly (See Figure a)Usable search direction:Feasible search direction:Figure (a)Figure (b)METHOD OF FEASIBLE DIRECTIONS (Cont.)Determination of s (direction finding subproblem)To maintain feasi
16、bility:where j is the push-off factorTo maintain usability:A nonzero j and b ensure a search direction that reduces the objective function without violating the jth constraint for some finite move in that direction.It is apparent that we would like to maximize b in order to make the greatest possibl
17、e reductions in the objective.METHOD OF FEASIBLE DIRECTIONS (Cont.)Sequence of iterations using cantilever design space as an example:METHOD OF FEASIBLE DIRECTIONS (Cont.)The problem with the method is that it may tend to zigzag between active and inactive constraints as the optimum is approached.In
18、 structural applications, unnecessary function evaluations must be kept to a minimum.Faster convergence can usually be obtained if the constraint surfaces are “followed” to the optimum.MODIFIED METHOD OF FEASIBLE DIRECTIONSCombines best features of the method of feasible directions and generalized r
19、educed gradients. This method is the MSC.NASTRAN defaultIn the direction-finding problem, all push-off factors j are set to zeroMaximizeSubject to:MODIFIED METHOD OF FEASIBLE DIRECTIONS (Cont.)Search direction s (inequality constrained problem)If all gj 0, j = 1,.,muse or direction of steepest desce
20、nt. Use conjugate direction if unconstrained for more than one iterationIf some gj = 0, j J, within a specified tolerance (J = set of active constraint), use direction s that is obtained by solving the following sub-problem:Maximize Subject toMODIFIED METHOD OF FEASIBLE DIRECTIONS (Cont.)If design i
21、s not feasible, use a large push-off factor for violated constraints and find the search direction as in the method of feasible directions.MODIFIED METHOD OF FEASIBLE DIRECTIONS (Cont.)One-dimensional Search ModificationsA move in direction S will go into the infeasible region for nonlinear convex c
22、onstraints. Using the gradients of the active constraints, a step back to the constraint boundary is taken, so the design “follows” the constraints.First take a step an Evaluate the constraints and perturb the proposed design back to the constraint boundary by:where contains the gradients of the act
23、ive constraints and G contains the constraint values.This is effectively a “minimum norm” move back to the constraint boundary and may need several applications.MODIFIED METHOD OF FEASIBLE DIRECTIONS (Cont.)FeaturesRapidly obtains an optimum designDeals with both inequality and equality constraintsU
24、sually satisfies the constraints with high precision at the optimumMODIFIED METHOD OF FEASIBLE DIRECTIONS (Cont.)Sequence of iterations using cantilever design space as an exampleMODIFIED METHOD OF FEASIBLE DIRECTIONS (Cont.)Recovery from infeasible designsMinimize Objective FunctionCompromise Direc
25、tionSQP METHODThe basic concept is very similar to Sequential Linear Programming. A quadratic approximation for the objective function and a linear approximation for constraint functions. The following sub-problem is solved using the Modified Method of Feasible Directions to find search direction S
26、minimize subject to Matrix B is a positive definite matrix which is initially the identity matrix. At the optimum of this problem, B is updated to approach the Hessian of the Lagrangian functions. SQP METHOD(Cont.)At the optimum for this problem, the Lagrange multipliers j j = 1, m can be calculated. The
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 華信清潔公司財務制度
- 華為風險財務制度
- 企業(yè)對外財務制度
- 職工加班費財務制度
- 道路運輸協(xié)會財務制度
- 2026北京中央民族大學非事業(yè)編制合同制職工招聘2人備考題庫(第一批)含答案詳解
- 重大報告事項制度
- 2026山東臨沂市蘭山區(qū)部分事業(yè)單位公開招聘綜合類崗位工作人員28人備考題庫及一套答案詳解
- 2026年西安市經(jīng)開第二學校教師招聘備考題庫(4人)及答案詳解1套
- 2026上半年安徽事業(yè)單位聯(lián)考馬鞍山市直單位招聘88人備考題庫有完整答案詳解
- 巷道工程清包工合同范本
- 人工智能倫理規(guī)范
- 廣西鹿寨萬強化肥有限責任公司技改擴能10萬噸-年復混肥建設項目環(huán)評報告
- (2025年標準)彩禮收條協(xié)議書
- 校園禁毒管理辦法
- 飼料供應循環(huán)管理辦法
- 保險公司安責險
- 水泥穩(wěn)定碎石配合比驗證
- 尿路感染教學查房
- 2025年廣東省高考語文試卷(含標準答案)
- 2025北師大版一年級數(shù)學下冊全冊教案
評論
0/150
提交評論