《线性优化问题》word版.doc

上传人:wux****ua 文档编号:7889339 上传时间:2020-03-25 格式:DOC 页数:3 大小:267KB
返回 下载 相关 举报
《线性优化问题》word版.doc_第1页
第1页 / 共3页
《线性优化问题》word版.doc_第2页
第2页 / 共3页
《线性优化问题》word版.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述
调用函数 linprog 使用格式x,fval,exitflag,output,lambda = linprog(f,A,b,Aeq,beq,lb,ub,x0,options)求 min z=f x 限制条件 Ax=b Aeq x= beq lb=x In linprog at 249 In xianxinyouhua at 9 Residuals: Primal Dual Duality Total Infeas Infeas Gap Rel A*x-b A*y+z-f x*z Error - Iter 0: 6.61e+002 7.16e+000 1.35e+003 2.00e+002 Iter 1: 4.29e+001 7.02e-016 1.28e+002 3.06e+000 Iter 2: 5.10e-015 4.58e-016 2.27e+001 1.13e+000 Iter 3: 3.08e-015 8.48e-015 1.10e+001 1.06e+000 Iter 4: 9.89e-013 4.97e-016 2.62e+000 2.42e-001 Iter 5: 9.57e-015 6.84e-014 1.44e-001 1.65e-002 Iter 6: 5.10e-015 9.93e-016 1.20e-005 1.38e-006Optimization terminated.x = 4.6667 0.0000 0.6667fval = -8.6667exitflag = 1output = iterations: 6 algorithm: large-scale: interior point cgiterations: 0 message: Optimization terminated. constrviolation: 3.5527e-015 firstorderopt: 4.3452e-006lambda = ineqlin: 2x1 double eqlin: 0.3333 upper: 3x1 double lower: 3x1 double
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 图纸专区 > 考试试卷


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!