Week 4:Duality of Linear Programming, LP

  • 1 Making the dual
  • 2 Weak duality
  • 3 Strong duality
  • 4 Applying duality
  • 5 Complementray slackness

1 Making the dual

min⁡xcTxs.t.Ax≤b\begin{aligned} \min_x& \quad c^Tx\\ s.t.& \quad Ax\leq b \end{aligned}xmin​s.t.​cTxAx≤b​

⇔\Leftrightarrow⇔

min⁡xmax⁡p≤0cTx+pT(b−Ax)\min_x \max_{p\leq 0} c^Tx+p^T(b-Ax)minx​maxp≤0​cTx+pT(b−Ax) ≥\geq≥

max⁡p≤0min⁡xcTx+pT(b−Ax)\max_{p\leq 0} \min_x c^Tx+p^T(b-Ax)maxp≤0​minx​cTx+pT(b−Ax) ⇔\Leftrightarrow⇔ max⁡p≥0min⁡x(cT−pTA)x+pTb\max_{p\geq 0} \min_x (c^T-p^TA)x+p^Tbmaxp≥0​minx​(cT−pTA)x+pTb

⇔\Leftrightarrow⇔

min⁡xbTps.t.ATp=c\begin{aligned} \min_x& \quad b^Tp\\ s.t.& \quad A^Tp=c \end{aligned}xmin​s.t.​bTpATp=c​

  • The constraints on penalty variables and dual constraints are determined by making the corresponding terms zero.

2 Weak duality

For any function f(x,y)f(x,y)f(x,y):
min⁡xmax⁡yf(x,y)≥max⁡ymin⁡xf(x,y)\min_x \max_y f(x,y)\geq \max_y \min_xf(x,y)xmin​ymax​f(x,y)≥ymax​xmin​f(x,y)

Assume min⁡xcTx\min_x c^Txminx​cTx and max⁡ppTb\max_p p^Tbmaxp​pTb, and xxx and ppp are feasible, then cTx≥pTbc^Tx\geq p^TbcTx≥pTb

3 Strong duality

  • If both primal and dual are feasible, and
  • primal optimum x∗x^*x∗
  • dual optimum p∗p^*p∗
  • cTx∗=bTp∗c^{T}x^*=b^Tp^{*}cTx∗=bTp∗

4 Applying duality

If either the primal or the dual is feasible and has a bounded optimal solution, then so is the other, and the values are equal. (Strong duality)

If the primal is unbounded the dual is infeasible. (weak duality)

If the dual is unbounded the primal is infeasible. (weak duality)

It is possible for both to be infeasible.

If the dual is feasible, the primal is either feasible, or infeasible, but cannot be unbounded. (weak duality)

5 Complementray slackness

Complementary slackness holds as written, for any formulation of primal and dual.

  • If a constraint in the primal optimal (resp. dual) is not tight, then the corresponding dual optimal (resp. primal) variable must be equal to zero.
  • If a variable in the primal optimal (resp. dual) is not equal to zero, then the corresponding constraint in the dual optimal (resp. primal) must be tight.

min⁡xcTxs.t.Ax≥bx≥0\begin{aligned} \min_x& \quad c^Tx\\ s.t.& \quad Ax\geq b\\ &\quad x\geq 0 \end{aligned}xmin​s.t.​cTxAx≥bx≥0​ \quad\quad\quad min⁡xbTys.t.ATy≤cy≥0\begin{aligned} \min_x& \quad b^Ty\\ s.t.& \quad A^Ty\leq c\\ &\quad y\geq0 \end{aligned}xmin​s.t.​bTyATy≤cy≥0​

Therom

  • If xxx is primal feasible
  • yyy is dual feasible
  • Then x,yx,yx,y are (respectively) optimal iff:
    (bi−∑jaijxj)yi=0(b_i-\sum_j a_{ij}x_j)y_i=0(bi​−∑j​aij​xj​)yi​=0, (b−Ax)∗y(b-Ax)*y(b−Ax)∗y, for all iii
    (cj−∑iaijyi)xj=0(c_j-\sum_i a_{ij}y_i)x_j=0(cj​−∑i​aij​yi​)xj​=0, (c−ATy)∗x(c-A^Ty)*x(c−ATy)∗x for all jjj

Optimization Week 4: Duality相关推荐

  1. 浅析SVM中的对偶问题

    浅析SVM中的对偶问题 关于SVM对偶问题求解的博客有很多,但是关于为什么要进行对偶问题的分析却很零散,这里做一个总结 1. 为什么要研究对偶问题? 广义上讲,将原问题的研究转换为对偶问题的研究主要有 ...

  2. Levenberg-Marquardt(LM算法)的理解

    Levenberg-Marquardt LM算法 的理解 1. convex optimization 1.1 convex set 1.2 convex function 1.3 optimizat ...

  3. 机器学习数学基础——最优化理论

    以下文章摘录自 <机器学习观止--核心原理与实践> 京东: https://item.jd.com/13166960.html 当当:http://product.dangdang.com ...

  4. 实用线性代数和凸优化 Convex Optimization

    If not specified, the following conditions are assumed. X∈Rn∗mA∈Rm∗nX \in R^{n*m} \\ A \in R^{m*n} X ...

  5. SVM——(三)对偶性和KKT条件(Lagrange duality and KKT condition)

    之前说到过拉格朗日乘数法以及推导过程,那么今天要说的就是拉格朗日对偶性以及KKT条件 1.Lagrange multipliers 一句话说,拉格朗日乘数法就是用来解决条件极值的一个方法,且约束条件都 ...

  6. 支持向量机_6:Duality

    在之前关于 support vector 的推导中,我们提到了 dual ,这里再来补充一点相关的知识.这套理论不仅适用于 SVM 的优化问题,而是对于所有带约束的优化问题都适用的,是优化理论中的一个 ...

  7. RN-Integer Programming:Lagrangian Relaxation and Duality Theory

    Content 1 Lagrangian Relaxation 2 Continuous Relaxation and Dual Relaxation 3 Dual Search 4 Conclusi ...

  8. Convex Optimization: Primal Problem to Dual problem clearly explained 详细

    往期文章链接目录 文章目录 往期文章链接目录 The Lagrange dual function Lower bound property Derive an analytical expressi ...

  9. TVM 图优化Graph Optimization

    TVM 图优化Graph Optimization Codegen

  10. 向量算子优化Vector Operation Optimization

    向量算子优化Vector Operation Optimization 查看MATLAB命令View MATLAB Command 示例显示Simulink®编码器™ ,将生成向量的块输出,设置为标量 ...

最新文章

  1. MySQL 性能优化的 9 种姿势,面试再也不怕了!
  2. 天然气阶梯是按年还是按月_社保断缴了,还有补缴的机会?新规下,今年起按这5种方式处理...
  3. JDBC与mysql同为CST时区导致数据库时间和客户端时间差13或者14小时
  4. 重磅嘉宾公布,第四范式AI新品发布会进入报名倒计时
  5. ArchSummit深圳APM专场总结:性能监控与调优实践干货分享
  6. TVM:在树莓派上部署预训练的模型
  7. 实现等待wx.login完成后在执行其他请求
  8. 8.23玩转linux第三天之history、alias、unalias 、mkdir、rmdir、tree命令(一)
  9. 拓端tecdat|Python中用Prophet模型对天气时间序列进行预测与异常检测
  10. linux确定字符行,linux小计,统计文件中包含指定字符串的行数
  11. ddpush java_DDPush-任意门消息推送-开源推送服务器-推送-消息推送-信息推送-物联网推送...
  12. 计算机的硬盘e找不到,计算机D驱动器E驱动器突然消失. 小编帮你找回了
  13. 【GIS开发】批量下载和拼接地图瓦片(Python)
  14. Android数据库框架Sugar的使用
  15. Vue基础学习笔记Day05_生命周期_axios
  16. mezzanine 历险记
  17. 四、jQuery 中的事件和动画(嘎嘎详细)
  18. 利用Python进行数据分析
  19. sqlserver ssis
  20. python 发送邮件附件很慢_python发送邮件附件

热门文章

  1. 关于安卓/苹果H5移动端上传视频
  2. dejavu项目笔记
  3. 专用集成电路 -- 运算电路 (加法器,乘法器,移位器)
  4. vue:监听浏览器地址栏变化
  5. leedcode.203移除链表元素
  6. 修改系统默认 alert 弹框样式
  7. 新冠数据整理和简单分析(二)——SIR及其变种
  8. python调用百度地图实现路径规划提取坐标点
  9. win7系统电脑蓝屏怎么解决,如何解决win7电脑蓝屏
  10. Python简介,第2章–字符串和列表