资源描述:
《matlab多目标优化模型教程》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、fgoalattainSolvemultiobjectivegoalattainmentproblemsEquationFindstheminimumofaproblemspecifiedbyx,weight,goal,b,beq,lb,andubarevectors,AandAeqarematrices,andc(x),ceq(x),andF(x)arefunctionsthatreturnvectors.F(x),c(x),andceq(x)canbenonlinearfunctions.Syntaxx=fgoalatta
2、in(fun,x0,goal,weight)x=fgoalattain(fun,x0,goal,weight,A,b)x=fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq)x=fgoalattain(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,n
3、onlcon,...options)x=fgoalattain(problem)[x,fval]=fgoalattain(...)[x,fval,attainfactor]=fgoalattain(...)[x,fval,attainfactor,exitflag]=fgoalattain(...)[x,fval,attainfactor,exitflag,output]=fgoalattain(...)[x,fval,attainfactor,exitflag,output,lambda]=fgoalattain(...)D
4、escriptionfgoalattainsolvesthegoalattainmentproblem,whichisoneformulationforminimizingamultiobjectiveoptimizationproblem.Note PassingExtraParametersexplainshowtopassextraparameterstotheobjectivefunctionsandnonlinearconstraintfunctions,ifnecessary.x=fgoalattain(fun,
5、x0,goal,weight)triestomaketheobjectivefunctionssuppliedbyfunattainthegoalsspecifiedbygoalbyvaryingx,startingatx0,withweightspecifiedbyweight.x=fgoalattain(fun,x0,goal,weight,A,b)solvesthegoalattainmentproblemsubjecttothelinearinequalitiesA*x ≤ b.x=fgoalattain(fun,x0
6、,goal,weight,A,b,Aeq,beq)solvesthegoalattainmentproblemsubjecttothelinearequalitiesAeq*x=beqaswell.SetA=[]andb=[]ifnoinequalitiesexist.x=fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub)definesasetoflowerandupperboundsonthedesignvariablesinx,sothatthesolutionisalway
7、sintherangelb ≤ x ≤ ub.x=fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub,nonlcon)subjectsthegoalattainmentproblemtothenonlinearinequalitiesc(x)ornonlinearequalityconstraintsceq(x)definedinnonlcon.fgoalattainoptimizessuchthatc(x) ≤ 0andceq(x) = 0.Setlb=[]and/orub=[]
8、ifnoboundsexist.x=fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub,nonlcon,...options)minimizeswiththeoptimizationoptionsspecifiedinthestr