- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
fmincon(fmincon)
fmincon(fmincon) The specific format of function fmincon () is: X=fmincon (fun, x0, A, b), X=fmincon (fun, x0, A, B, Ub, Aeq, Beq, Lb,) X=fmincon (fun, x0, A, B, Aeq, Beq, Lb, Ub, nonlcon, options) [X, Fval, exitflag, output]=fmincon (fun, x0),... ) [X, Fval, exitflag, output, lambda, grad, Hessian]=fmincon (fun, x0),... ) The fun in the parameter is the objective function, x0 is the initial value of the variable, and X is the value of the returned variable satisfying the requirement. A and B represent the linear inequality constraints, Aeq, Beq Lb and Ub linear equality constraints, respectively lower and upper bound variables, nonlcon nonlinear constraints, options optimization parameter vector control optimization process. The return value Fval is the objective function. Exitflag0 indicates that the optimization result converges to the solution, and exitflag=0 indicates that the optimization exceeds the number of times the function value is calculated, and exitflag0 indicates that the optimization is not convergent. Lambda is the Lagrange multiplier, which shows that the constraint is valid. Grad represents the gradient, and Hessian represents the Hansen matrix. Example: make the objective function obtain the minimum under the constraint condition. The design process is as follows: first, the objective function and constraints are written into separate M files, note that such a m file must start with function, and the file name must be consistent with the function name. The object function files are: function, f=objfun (x), f=exp (x (1)) *, (4*x (1), ^2+2*x (2), ^2+4*x (1), *x (2), +2*x (2) +1); The constraints of the document are: function, [c, ceq]=confun (x), c=[1.5+x (1), *x (2), -x (1), -x (2), -x (1), *x (2) -10];% represents inequality, nonlinear constraint ceq=[];% represents equality, nonlinear constraint The optimized procedure is as follows: Clear x0=[-1 1]; Options=optimset (largescale,off,display,iter); [x, Fval, exitflag, output]=fmincon (@objfun, x
您可能关注的文档
- 英文病历对照(English medical record control).doc
- 英文翻译中文的八大翻译技巧(Eight translation techniques in English translation).doc
- 英美刑法严格责任(Strict liability of British and American Criminal Law).doc
- 英美文学选读顺口溜(Selected readings in English and American literature jingle).doc
- 英美概况!(Overview of Britain and america!).doc
- 英译汉教程第一章练习答案(The first chapter of English Chinese translation exercises).doc
- 英语 动词短语(English Phrasal Verbs).doc
- 英语4级词汇 S开头(English level 4 vocabulary S begins).doc
- 英文服装缩语(English dress abbreviation).doc
- 英语-蒙题(English covered questions).doc
- fpc设计规则及流程和电路抗干扰设计(FPC design rules and processes and circuit anti-interference design).doc
- fms(FMS).doc
- fn功能键大全(FN function keys Daquan).doc
- fpga ddr2读写控制器时序代码(FPGA DDR2 read and write controller timing code).doc
- fp机械轴承hhe(FP mechanical bearing HHE).doc
- from 天涯 今天在食堂遇到了高手...(From Tianya meets a superior in the cafeteria today...).doc
- frontpage网页制作作业题目(Frontpage web page production exercises).doc
- frontpage 新增14道题(Frontpage added 14 questions).doc
- fttb+lan宽带小区的几种布线设计方法(Several routing design methods for fttb+lan broadband cell).doc
- frountpage(frountpage).doc
最近下载
- 医院中层领导干部任期审计及离任审计实施办法.doc VIP
- 《危险化学品企业特殊作业安全规范》GB30871-2022应用问答.pdf VIP
- 中国柠檬醛项目商业计划书.docx VIP
- 社会调查教程(第七版)教学课件第10章.pptx VIP
- 合力叉车 电动仓储车维修手册.pdf
- 《建设工程施工合同(示范文本)》(GF-2017-0201).doc
- 2025年黑龙江、吉林、辽宁、内蒙古高考化学真题及答案.pdf
- 建设工程施工合同GF-2017年-0201住建部.doc VIP
- 对招投标违规违纪行为为的案例剖析97课件.pptx VIP
- 2025至2030离心机行业市场深度调研及发展趋势与投资报告.docx
文档评论(0)