资源描述:
《非线性优化-matlab函数库-optimset》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、非线性优化-matlab函数库-optimset2010-03-2410:20创建或编辑一个最优化参数选项句法规则options=optimset('param1',value1,'param2',value2,...)%设置所有参数及其值,未设置的为默认值options=optimset(optimfun) %设置与最优化函数有关的参数为默认options=optimset(oldopts,'param1',value1,...) %复制一个已存在的
2、选项,修改特定项options=optimset(oldopts,newopts) %用另一个新选项合并目前选项因素ParameterValueDescriptionDisplay'off'
3、'iter'
4、'final'
5、'notify''off'表示不显示输出;'iter'显示每次迭代的结果;'final'只显示最终结果;'notify'只在函数不收敛的时候显示结果.MaxFunEvalspositiveinteger函数允许估值的最大值.MaxIterpositiveinteger迭代次数的最
6、大值.TolFunpositivescalar函数迭代的终止误差.TolXpositivescalar结束迭代的X值.·L-只用于大规模数据拟合·M-中等规模·B-两者都可以ParameterNameDescriptionL,M,BUsedbyFunctionsDerivativeCheck Compareuser-suppliedanalyticderivatives(gradientsorJacobian)tofinitedifferencingderivatives.Mfgoalattain,fmincon,fminimax,fm
7、inunc,fseminf,fsolve,lsqcurvefit,lsqnonlinDiagnosticsPrintdiagnosticinformationaboutthefunctiontobeminimizedorsolved.BAllbutfminbnd,fminsearch,fzero,andlsqnonnegDiffMaxChangeMaximumchangeinvariablesforfinitedifferencederivatives.Mfgoalattain,fmincon,fminimax,fminunc,fseminf,fs
8、olve,lsqcurvefit,lsqnonlinDiffMinChangeMinimumchangeinvariablesforfinitedifferencederivatives.Mfgoalattain,fmincon,fminimax,fminunc,fseminf,fsolve,lsqcurvefit,lsqnonlinDisplayLevelofdisplay.'off'displaysnooutput;BAll.Seetheindividual'iter'displaysoutputateachiteration;'final'd
9、isplaysjustthefinaloutput;'notify'displaysoutputonlyiffunctiondoesnotconverge.functionreferencepagesforthevaluesthatapply.GoalsExactAchieveNumberofgoalstoachieveexactly(donotover-orunderachieve).MfgoalattainGradConstrGradientsforthenonlinearconstraintsdefinedbytheuser.Mfgoalat
10、tain,fmincon,fminimaxGradObjGradient(s)fortheobjectivefunction(s)definedbytheuser.Bfgoalattain,fmincon,fminimax,fminunc,fseminfHessianIf'on',functionusesuser-definedHessian,orHessianinformation(whenusingHessMult),fortheobjectivefunction.If'off',functionapproximatestheHessianus
11、ingfinitedifferences.Lfmincon,fminuncHessMultHessianmultiplyf