Lecture 12-1: Duality#
Download the original slides: CMSE382-Lec12_1.pdf
Warning
This is an AI-generated transcript of the lecture slides and may contain errors or inaccuracies. Please refer to the original course materials for authoritative content.
This Lecture#
Topics:
Motivation for Duality
Definition and weak duality
Announcements:
Homework 5 is due today, Friday April 10, at 11:59pm.
Motivation#
Duality Motivation#

The optimal value (val) of unconstrained problem is lower bound for the constrained one.
\(\text{val}(unconstrained) \leq \text{val}(constrained)\)
Interested in finding lower bounds for constrained optimization by solving unconstrained problems.
Obtaining lower bounds#
Approach#1: Drop constraints
\(\text{val}(unconstrained) \leq \text{val}(constrained)\)
May not be the best lower bound.
We want the largest lower bound.
Obtaining lower bounds#
Approach#2: Optimize for best lower bounds
\(\text{val}(\text{P}_{\mu}) \leq \text{val}(\text{P})\) for all \(\mu \in \mathbb{R}\).
Best lower bound is the solution to
Primal and Dual Problems#
Primal Problem
Dual Problem
Duality Definition#
Dual objective function#
Consider the general model referred to as the primal model
and \(f, g_i,h_j\) are functions defined on \(X\).
The Lagrangian of the problem is
The dual objective function \(q: \mathbb{R}_+^m \times \mathbb{R}^p \to \mathbb{R} \cup \{-\infty\}\) is
Dual problem#
Definition (Dual Problem)
The dual problem is given by
where the domain of the dual objective function is
Convexity of the dual problem#
Theorem (Convexity of the dual problem)
Let the dual problem be given by
where \(f,g_1, \ldots, g_m, h_1,\ldots, h_p\) are functions defined on \(X \subseteq \mathbb{R}^n\), and \(q(\boldsymbol{\lambda},\boldsymbol{\mu})=\min_{\mathbf{x}\in X}{L(\mathbf{x},\boldsymbol{\lambda},\boldsymbol{\mu})}\). Then
(a) \(\text{dom}(q)\) is a convex set.
(b) \(q\) is a concave function over \(\text{dom}(q)\).
Maximizing a concave function over a convex set defines a convex problem.
Weak duality theorem#
Primal Problem
and \(f, g_i,h_j\) are functions defined on \(X\).
Dual Problem
where \(\text{dom}(q)=\{(\boldsymbol{\lambda},\boldsymbol{\mu}) \in \mathbb{R}_{+}^m \times \mathbb{R}^p: q(\boldsymbol{\lambda},\boldsymbol{\mu}) > -\infty\}\), and \(q(\boldsymbol{\lambda},\boldsymbol{\mu})=\min_{\mathbf{x}\in X}{L(\mathbf{x},\boldsymbol{\lambda},\boldsymbol{\mu})}\).
Theorem (Weak duality theorem)
Consider the primal problem and its dual. Then \(q^* \leq f^*\), where \(q^*, f^*\) are the optimal dual and primal values, respectively.