Worksheet 12-2: Duality#
Download: CMSE382-WS12_2.pdf
Warning
This is an AI-generated transcript of the worksheet and may contain errors or inaccuracies. Please refer to the original course materials for authoritative content.
Worksheet 12-2: Q1#
Consider the problem
Does strong duality hold? You need to check whether the problem is convex, and whether the constraints satisfy the generalized Slater’s condition.
Now, determine \(q^*\) using the following steps:
a. What is the Lagrangian, \(L(x,y,\lambda)\), and the gradient of the Lagrangian \(\nabla_{x,y}L(x,y,\lambda)\)?
b. When is the gradient of the Lagrangian zero? Solve for \(x\) and \(y\) in terms of \(\lambda\).
c. For a fixed \(\lambda\), what is the minimum value of \(L(x,y,\lambda)\) over \(x,y\)? Use this to write \(q(\lambda) = \inf_{x,y} L(x,y,\lambda)\).
d. What is \(q^*=\max_{\lambda} q(\lambda)\)?
What do you know about \(f^*\), the optimal value of the primal problem?
Worksheet 12-2: Q2#
Consider the problem
Does strong duality hold? You need to check whether the problem is convex, and whether the constraints satisfy the generalized Slater’s condition.
What are the matrices \(A\), \(\mathbf{b}\), and \(\mathbf{c}\) such that the problem can be written as
What is the dual problem?
Solve the dual problem to find \(q^*\).
Use this desmos to visualize the primal problem. What is \(f^*\), the optimal value of the primal problem? Is it the same as your \(q^*\)?
Worksheet 12-2: Q3#
Consider the problem
This is a linear programming problem. What are the matrices \(A\), \(\mathbf{b}\), and \(\mathbf{c}\) such that the problem can be written as
What is the dual problem?
Solve the dual problem to find \(q^*\).
What is \(f^*\), the optimal value of the primal problem? Justify your answer.