椭球法应用-课件

上传人:痛*** 文档编号:241542419 上传时间:2024-07-03 格式:PPTX 页数:56 大小:994.18KB
返回 下载 相关 举报
椭球法应用-课件_第1页
第1页 / 共56页
椭球法应用-课件_第2页
第2页 / 共56页
椭球法应用-课件_第3页
第3页 / 共56页
点击查看更多>>
资源描述
椭球法应用Optimization-Lecture 4,Part 1M.Pawan KumarSlides available online“Recap”of Linear ProgrammingPolyhedronAx bA:m x n matrixb:m x 1 vectorBounded Polyhedron=PolytopeAx bA:m x n matrixb:m x 1 vectorVertexz is a vertex of P=x,Ax bz is not a convex combination of two points in PThere does not exist x,y P and 0 1x z and y zsuch that z=x+(1-)y Vertexz is a vertex of P=x,Ax bAz is a submatrix of AContains all rows of A such that aiTz=biRecall A is an m x n matrixVertexz is a vertex of PRank of Az=nProof?See“hidden”slidesLinear ProgrammingDualitySolving the LPOutlineLinear ProgramMaximize a linear functionOver a polyhedral feasible regions.t.A x bmaxx cTxA:m x n matrixb:m x 1 vectorc:n x 1 vectorObjective functionConstraintsx:n x 1 vectorExample4x1 x2 8maxx x1+x22x1+x2 105x1-2x2 -2x1 0 x2 0s.t.What is c?A?b?Examplex1 0 x2 0Example4x1 x2=8x1 0 x2 0Example4x1 x2 8x1 0 x2 0Example4x1 x2 82x1+x2 10 x1 0 x2 0Example4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0Example4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0maxx x1+x2x1+x2=0Example4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0maxx x1+x2x1+x2=8Optimal solutionLinear ProgrammingDualitySolving the LPOutlineExample2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.3 x2 x7 xScale the constraints,add them up3x1+x2+2x3 90Upper bound on solutionExample2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.1 x1 xScale the constraints,add them up3x1+x2+2x3 36Upper bound on solutionExample2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.1 x1 xScale the constraints,add them up3x1+x2+2x3 36Tightest upper bound?Example2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.y4y1y2y3y5y6y1,y2,y3,y4,y5,y6 0We should be able to add up the inequalitiesExample2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.y4y1y2y3y5y6-y1+y4+2y5+4y6=3Coefficient of x1 should be 3Example2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.y4y1y2y3y5y6-y2+y4+2y5+y6=1Coefficient of x2 should be 1Example2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.y4y1y2y3y5y6-y3+3y4+5y5+2y6=2Coefficient of x3 should be 2Example2x1+2x2+5x3 24maxx 3x1+x2+2x34x1+x2+2x3 36-x1 0,-x2 0,-x3 0 x1+x2+3x3 30s.t.y4y1y2y3y5y6miny 30y4+24y5+36y6Upper bound should be tightestDualminy 30y4+24y5+36y6s.t.y1,y2,y3,y4,y5,y6 0-y1+y4+2y5+4y6=3-y2+y4+2y5+y6=1-y3+3y4+5y5+2y6=2Original problem is called primalDual of dual is primalDuals.t.A x bmaxx cTxDual-yT(A x b)maxx cTxminy0KKT Condition?ATy=cminy0bTys.t.ATy=cminy0bTys.t.ATy=cs.t.A x bmaxx cTxPrimalDualStrong Dualityminy0bTys.t.ATy=cs.t.A x bmaxx cTxPrimalDualp=d=If p or d ,then p=d.Skipping the proofThink back to the intuition of dualQuestions.t.A1 x b1maxx cTxA2 x b2A3 x=b3Dual?Linear ProgrammingDualitySolving the LPOutlineGraphical Solution4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0maxx x1+x2x1+x2=8Optimal solution at a vertexGraphical Solution4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0maxx x1x1=3Optimal solution at a vertexGraphical Solution4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0maxx x2x2=6Optimal solution at a vertexGraphical Solution4x1 x2 82x1+x2 105x1-2x2 -2x1 0 x2 0An optimal solution always at a vertexProof?maxx cTxDantzig(1951):Simplex MethodSearch over vertices of the polyhedraWorst-case complexity is exponentialSmoothed complexity is polynomialKhachiyan(1979,1980):Ellipsoid MethodPolynomial time complexityLP is a P optimization problemKarmarkar(1984):Interior-point MethodPolynomial time complexityCompetitive with Simplex MethodSolving the LPPlenty of standard software availableMosek()C+APIMatlab APIPython APIFree academic licenseSolving the LP
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 管理文书 > 施工组织


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

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


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