版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、多目标规划问题,BY CAO,Multiobjective Optimization,OPtim_tb.pdf P131140 选做作业:1)MATLAB中的多目标优化思路! 2)多目标优化算法讨论 3)有关多目标优化实例分析 Algorithm Improvements for Goal Attainment Method,x = fgoalattain(fun,x0,goal,weight) x = fgoalattain(fun,x0,goal,weight,A,b) x = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq) x = fgoalatt
2、ain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub) x = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub,nonlcon) x = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,. lb,ub,nonlcon,options) x = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,. lb,ub,nonlcon,options,P1,P2,.) x,fval = fgoalattain(.) x,fval,attainfactor
3、= fgoalattain(.) x,fval,attainfactor,exitflag = fgoalattain(.) x,fval,attainfactor,exitflag,output = fgoalattain(.) x,fval,attainfactor,exitflag,output,lambda = fgoalattain(.),The arguments passed into the function are described in Table 4-1. The arguments returned by the function are described in T
4、able 4-2. Details relevant to fgoalattain are included below for fun, goal, nonlcon, options, weight, attainfactor, exitflag, lambda, and output.,The function to be minimized. fun takes a vector x and returns a vector F of the objective functions evaluated at x. You can specify fun to be an inline o
5、bject. For example, fun = inline(sin(x.*x); Alternatively, fun can be a string containing the name of a function (an M-file, a built-in function, or a MEX-file). If fun=myfun then the M-file function myfun.m would have the form function F = myfun(x) F = . % Compute function values at x,To make an ob
6、jective function as near as possible to a goal value, (i.e., neither greater than nor less than) set options.GoalsExactAchieve to the number of objectives required to be in the neighborhood of the goal values. Such objectives must be partitioned into the first elements of the vector F returned by fu
7、n. If the gradient of the objective function can also be computed and options.GradObj is on, as set by options = optimset(GradObj,on),then the function fun must return, in the second output argument, the gradient value G, a matrix, at x.Note that by checking the value of nargout the function can avo
8、id computing G when myfun is called with only one output argument (in the case where the optimization algorithm only needs the value of F but not G): function F,G = myfun(x) F = . % compute the function values at x if nargout 1 % two output arguments G = . % gradients evaluated at x end,The gradient
9、 is the partial derivatives dF/dx of each F at the point x. If F is a vector of length m and x has length n, then the gradient G of F(x) is an n-by-m matrix where G(i,j) is the partial derivative of F(j) with respect to x(i) (i.e., the jth column of G is the gradient of the jth objective function F(
10、j). goal Vector of values that the objectives attempt to attain. The vector is the same length as the number of objectives F returned by fun. fgoalattain attempts to minimize the values in the vector F to attain the goal values given by goal.,nonlcon,The function that computes the nonlinear inequali
11、ty constraints c(x) =0 and nonlinear equality constraints ceq(x)=0. nonlcon is a string containing the name of a function (an M-file, a built-in, or a MEX-file). nonlcon takes a vector x and returns two arguments, a vector c of the nonlinear inequalities evaluated at x and a vector ceq of the nonlin
12、ear equalities evaluated at x. For example, if nonlcon=mycon then the M-file mycon.m would have the form function c,ceq = mycon(x) c = . % Compute nonlinear inequalities at x ceq = . % Compute the nonlinear equalities at x,If the gradients of the constraints can also be computed and options.GradCons
13、tr is on, as set by options = optimset(GradConstr,on) then the function nonlcon must also return, in the third and fourth output arguments, GC, the gradient of c(x), and GCeq, the gradient of ceq(x). Note that by checking the value of nargout the function can avoid computing GC and GCeq when nonlcon
14、 is called with only two output arguments (in the case where the optimization algorithm only needs the values of c and ceq but not GC and GCeq):,function c,ceq,GC,GCeq = mycon(x) c = . % nonlinear inequalities at x ceq = . % nonlinear equalities at x if nargout 2 % nonlcon called with 4 outputs GC =
15、 . % gradients of the inequalities GCeq = . % gradients of the equalities end,If nonlcon returns a vector c of m components and x has length n, then the gradient GC of c(x) is an n-by-m matrix, where GC(i,j) is the partial derivative of c(j) with respect to x(i) (i.e., the jth column of GC is the gr
16、adient of the jth inequality constraint c(j). Likewise, if ceq has p components, the gradient GCeq of ceq(x) is an n-by-p matrix, where GCeq(i,j) is the partial derivative of ceq(j) with respect to x(i) (i.e., the jth column of GCeq is the gradient of the jth equality constraint ceq(j).,options,Opti
17、mization parameter options. You can set or change the values of these parameters using the optimset function. DerivativeCheck Compare user-supplied derivatives (gradients of objective or constraints) to finite-differencing derivatives. Diagnostics Print diagnostic information about the function to b
18、e minimized or solved. DiffMaxChange Maximum change in variables for finite-difference gradients.,DiffMinChange Minimum change in variables for finite-difference gradients. Display Level of display. off displays no output; iter displays output at each iteration; final displays just the final output.
19、 GoalExactAchieve Specifies the number of goals to “just” achieve, that is, do not try to over- or underachieve. GradConstr Gradient for the constraints defined by user. See the description of nonlcon under the Arguments section above to see how to define the gradient in nonlcon.,GradObj Gradient fo
20、r the objective function defined by user. See the description of fun under the Arguments section above to see how to define the gradient in fun. The gradient must be provided to use the large-scale method. It is optional for the medium-scale method. MaxFunEvals Maximum number of function evaluations
21、 allowed.,MaxIter Maximum number of iterations allowed. MeritFunction Use goal attainment/minimax merit function if set to multiobj. Use fmincon merit function if set to singleobj. TolCon Termination tolerance on the constraint violation. TolFun Termination tolerance on the function value. TolX Term
22、ination tolerance on x.,weight,A weighting vector to control the relative under-attainment or over-attainment of the objectives in fgoalattain.When the values of goal are all nonzero, to ensure the same percentage of under- or over-attainment of the active objectives, set the weighting function to a
23、bs(goal). (The active objectives are the set of objectives that are barriers to further improvement of the goals at the solution.) Note: Setting weight=abs(goal) when any of the goal values are zero will cause that goal constraint to be treated like a hard constraint rather than as a goal constraint
24、.,When the weighting function weight is positive, fgoalattain attempts to make the objectives less than the goal values. To make the objective functions greater than the goal values, set weight to be negative rather than positive. To make an objective function as near as possible to a goal value, us
25、e the GoalsExactAchieve parameter and put that objective as the first element of the vector returned by fun (see the description of fun and options above).,attainfactor,attainfactor is the amount of over- or underachievement of the goals. If attainfactor is negative, the goals have been over-achieve
26、d; if attainfactor is positive, the goals have been under-achieved. exitflag Describes the exit condition: 0 indicates that the function converged to a solution x. 0 indicates that the maximum number of function evaluations or iterations was reached. 0 indicates that the function did not converge to
27、 a solution.,lambda,A structure containing the Lagrange multipliers at the solution x (separated by constraint type): lambda.lower for the lower bounds lb lambda.upper for the upper bounds ub lambda.ineqlin for the linear inequalities lambda.eqlin for the linear equalities lambda.ineqnonlin for the nonlinear inequalities lambda.eqnonlin for the nonlinear equalities,output,A st
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025鱼油提取物市场发展动态调研及科研投入规划与品牌推广策略分析报告
- 2025香茅精油提取技术工艺进步及投资效益平衡优化规划报告行业
- 2025预防医学服务市场规模全面分析及未来发展方向与商业模式创新报告
- 2025上海生物技术学院招聘生物技术学院课题组动物实验研究助理岗位1人笔试考试备考题库及答案解析
- 2025四川宜宾钲兴智造科技有限公司第二批项目制员工招聘4人考试笔试模拟试题及答案解析
- 2025预制菜品牌发展策略研究及市场竞争力分析报告
- 2025韩国船舶工业行业市场全面分析及投资前景与发展策略研究报告
- 气囊材料环保材料应用-洞察及研究
- 2025东风汽车集团股份有限公司战略规划部招聘2人笔试考试参考题库及答案解析
- 贝类养殖氮循环微生物研究-洞察及研究
- 2025年甘肃省酒泉市中级人民法院招聘聘用制司法警察参考模拟试题及答案解析
- 2025年西安市工会系统工会社会工作者招聘备考题库(61人)含答案详解(培优)
- 2025贵州省人才培训中心有限公司招聘2人笔试考试参考题库及答案解析
- 2025北京交响乐团第二次招聘3人笔试备考题库附答案解析(夺冠)
- 2025年保险从业资格考试保险基础知识试卷及答案
- 护理方法:青少年精神分裂症表现解读及护理指导
- 2026中国人民银行直属事业单位招聘60人备考题库及答案详解(历年真题)
- (新教材)2025年人教版七年级上册历史期末复习常考知识点梳理复习提纲(教师版)
- 2025年《刑事诉讼法》重点程序及修正案解析知识考试题库及答案解析
- 具身智能+建筑维修智能检测系统方案可行性报告
- 小学五年级上册语文期中期末必背1-8单元高频考点复习
评论
0/150
提交评论