Problem 1
Let C ⊆ R n C\sube \mathbb{R}^n C ⊆ R n be a non-empty closed convex set and I C \mathbb{I}_C I C denote its associated indicator function; i.e.,I C ( x ) = { 0 i f x ∈ C , + ∞ o t h e r w i s e .
\mathbb{I}_C (x) = \left\{
\begin{aligned}
&0& \ \ \ \ \ \ \ if \ x\in C,\\
&+\infty& \ \ \ \ \ \ otherwise.
\end{aligned}
\right.
I C ( x ) = { 0 + ∞ i f x ∈ C , o t h er w i se . (a) Argue directly using the definition of the subdifferential that for any x ∈ C x\in C x ∈ C ,∂ I C ( x ) = { s ∈ R n : s T ( y − x ) ≤ 0 for all y ∈ C } .
\partial \mathbb{I}_C(x) = \{s\in \mathbb{R}^n: s^T (y-x) \leq 0\ \text{for all} \ y\in C\}.
∂ I C ( x ) = { s ∈ R n : s T ( y − x ) ≤ 0 for all y ∈ C } . (b)Using the result in (a), show that for any x ∈ R + n x\in \mathbb{R}_{+}^n x ∈ R + n ,∂ I R + n = { s ∈ R n : s ≤ 0 , x T s = 0 }
\partial \mathbb{I}_{\mathbb{R}_{+}^n} = \{s\in \mathbb{R}^n:\ s\leq 0,\ x^Ts = 0\}
∂ I R + n = { s ∈ R n : s ≤ 0 , x T s = 0 } Solution :
(a)考虑 s ∈ R n ,对于任意的 x 0 ∈ C , x ∈ C I C ( x ) ≥ f ( x 0 ) + s T ( x − x 0 ) s T ( x − x 0 ) + 0 ≤ 0 故 ∂ I C ( x ) = { s ∈ R n : s T ( y − x ) ≤ 0 for all y ∈ C } .
\\
\text{考虑}s\in \mathbb{R}^n,对于任意的x_0\in C,x\in C
\\
\mathbb{I}_C(x) \geq f(x_0)+s^T(x-x_0)
\\
s^T(x-x_0)+0\leq 0
\\
故\partial \mathbb{I}_C(x) = \{s\in \mathbb{R}^n: s^T (y-x) \leq 0\ \text{for all} \ y\in C\}.
考虑 s ∈ R n ,对于任意的 x 0 ∈ C , x ∈ C I C ( x ) ≥ f ( x 0 ) + s T ( x − x 0 ) s T ( x − x 0 ) + 0 ≤ 0 故 ∂ I C ( x ) = { s ∈ R n : s T ( y − x ) ≤ 0 for all y ∈ C } . (b)根据 ( a ) 中的结论,我们有: ∂ I R + n = { s ∈ R n : s T ( y − x ) ≤ 0 for all y ∈ R + n } 于是 s T y ≤ s T x for all y ∈ R + n 于是 s T x = 0 , s T y ≤ 0 由于 y ∈ R + n , s ≤ 0 故 ∂ I R + n = { s ∈ R n : s ≤ 0 , x T s = 0 }
根据(a)中的结论,我们有:
\\
\partial\mathbb{I}_{\mathbb{R}_{+}^n} = \{s\in \mathbb{R}^n:\ s^T(y-x)\leq 0 \ \text{for all} \ y\in \mathbb{R}_+^n\}
\\
于是s^Ty\leq s^T x \ \text{for all }y\in\mathbb{R}_+^n
\\
于是s^Tx = 0, \ s^T y \leq 0
\\
由于y\in\mathbb{R}_+^n, s\leq0
\\
故
\partial \mathbb{I}_{\mathbb{R}_{+}^n} = \{s\in \mathbb{R}^n:\ s\leq 0,\ x^Ts = 0\}
根据 ( a ) 中的结论,我们有: ∂ I R + n = { s ∈ R n : s T ( y − x ) ≤ 0 for all y ∈ R + n } 于是 s T y ≤ s T x for all y ∈ R + n 于是 s T x = 0 , s T y ≤ 0 由于 y ∈ R + n , s ≤ 0 故 ∂ I R + n = { s ∈ R n : s ≤ 0 , x T s = 0 }
Problem 2 Let f : R 2 → R ∪ { + ∞ } f: \mathbb{R}^2 \to \mathbb{R} \cup \{+\infty\} f : R 2 → R ∪ { + ∞ } be the function given byf ( x 1 , x 2 ) = { 0 , 当 ∥ ( x 1 , x 2 ) ∥ 2 < 1 , ∈ [ 0 , + ∞ ) , 当 ∥ ( x 1 , x 2 ) ∥ 2 = 1 , + ∞ , 当 ∥ ( x 1 , x 2 ) ∥ 2 > 1.
f(x_1, x_2) = \begin{cases} 0, & \text{当 } \| (x_1, x_2) \|_2 < 1, \\ \in [0, +\infty), & \text{当 } \| (x_1, x_2) \|_2 = 1, \\ +\infty, & \text{当 } \| (x_1, x_2) \|_2 > 1. \end{cases}
f ( x 1 , x 2 ) = ⎩ ⎨ ⎧ 0 , ∈ [ 0 , + ∞ ) , + ∞ , 当 ∥ ( x 1 , x 2 ) ∥ 2 < 1 , 当 ∥ ( x 1 , x 2 ) ∥ 2 = 1 , 当 ∥ ( x 1 , x 2 ) ∥ 2 > 1. Show that f f f is convex.
Solution :考虑两个点 M , N ∈ R 2 ,其中 ∣ ∣ M ∣ ∣ 2 ≤ ∣ ∣ N ∣ ∣ 2 考虑任意的 α , β ≥ 0 那么有如下几种情况: 1. ∣ ∣ M ∣ ∣ 2 ≤ ∣ ∣ N ∣ ∣ 2 ≤ 1 此时 ∣ ∣ α M + β N ∣ ∣ 2 ≤ 1 α f ( M ) + β f ( N ) ≥ f ( α M + β N ) 2. ∣ ∣ M ∣ ∣ 2 ≤ 1 ≤ ∣ ∣ N ∣ ∣ 2 此时 f ( α M + β N ) ≤ + ∞ = α f ( M ) + β f ( N ) 3.1 ≤ ∣ ∣ M ∣ ∣ 2 ≤ ∣ ∣ N ∣ ∣ 2 此时 f ( α M + β N ) ≤ ( α + β ) ∞ ≤ α f ( M ) + β f ( N )
考虑两个点M,N\in\mathbb{R}^2,其中||M||_2\leq ||N||_2
\\
考虑任意的\alpha,\beta \geq 0
那么有如下几种情况:
\\
1. ||M||_2\leq ||N||_2 \leq 1
\\
此时||\alpha M + \beta N||_2\leq 1
\\
\alpha f(M)+ \beta f(N) \geq f(\alpha M + \beta N)
\\
2. ||M||_2 \leq 1\leq ||N||_2
\\
此时f(\alpha M + \beta N) \leq +\infty = \alpha f(M) + \beta f(N)
\\
3. 1\leq ||M||_2 \leq ||N||_2
\\
此时f(\alpha M + \beta N) \leq (\alpha + \beta )\infty\leq\alpha f(M) + \beta f(N)
考虑两个点 M , N ∈ R 2 ,其中 ∣∣ M ∣ ∣ 2 ≤ ∣∣ N ∣ ∣ 2 考虑任意的 α , β ≥ 0 那么有如下几种情况: 1.∣∣ M ∣ ∣ 2 ≤ ∣∣ N ∣ ∣ 2 ≤ 1 此时 ∣∣ α M + βN ∣ ∣ 2 ≤ 1 α f ( M ) + β f ( N ) ≥ f ( α M + βN ) 2.∣∣ M ∣ ∣ 2 ≤ 1 ≤ ∣∣ N ∣ ∣ 2 此时 f ( α M + βN ) ≤ + ∞ = α f ( M ) + β f ( N ) 3.1 ≤ ∣∣ M ∣ ∣ 2 ≤ ∣∣ N ∣ ∣ 2 此时 f ( α M + βN ) ≤ ( α + β ) ∞ ≤ α f ( M ) + β f ( N )
Problem 3 Let A ∈ R m × n A \in \mathbb{R}^{m \times n} A ∈ R m × n be given. Show that exactly one system in each of the following pairs has a solution.
(a)
(I) A x < 0 , x ≥ 0 \text{(I)} \quad A x < 0, \quad x \geq 0 (I) A x < 0 , x ≥ 0
(II) A T y ≥ 0 , y ≥ 0 , y ≠ 0 \text{(II)} \quad A^T y \geq 0, \quad y \geq 0, \quad y \neq 0 (II) A T y ≥ 0 , y ≥ 0 , y = 0
(b)
(I) A x ≥ 0 , A x ≠ 0 \text{(I)} \quad A x \geq 0, \quad A x \neq 0 (I) A x ≥ 0 , A x = 0
(II) A T y = 0 , y > 0 \text{(II)} \quad A^T y = 0, \quad y > 0 (II) A T y = 0 , y > 0
Solution :
(a)假设 ( I ) 和 ( I I ) 都有解 x ˉ 和 y ˉ 那么我们可以知道 A T y ˉ ≥ 0 于是 y ˉ T A ≥ 0 所以 y ˉ T A x ˉ ≥ 0 又 A x ˉ < 0 所以 y ˉ T A x ˉ < 0 矛盾,故 ( I ) 和 ( I I ) 不可能同时成立 考虑 A x < 0 , x ≥ 0 ( I ′ ) A x + s = c , 其中 x , s ≥ 0 , c < 0 若 ( I ′ ) 不成立,根据 F a r k a s 引理有: A T w ≤ 0 , b w > 0 , 其中 b ∈ R n , w ≤ 0 那么取 b = − e T , y = − w 有 A T y ≥ 0 , y > 0 成立
假设(I)和(II)都有解\bar{x}和\bar{y}
\\
那么我们可以知道A^T\bar{y}\geq 0
\\
于是\bar{y}^TA \geq 0
\\
所以\bar{y}^TA\bar{x}\geq0
\\
又A\bar{x}< 0
\\
所以\bar{y}^TA\bar{x}<0
\\矛盾,故(I)和(II)不可能同时成立
\\
考虑Ax < 0,\ x\geq0
\\
(I')Ax + s = c, 其中x,\ s\geq 0,\ c < 0
\\
若(I')不成立,根据Farkas引理有:
\\
A^Tw\leq 0, \ bw>0,\ 其中b\in \mathbb{R}^n,\ w \leq 0
\\
那么取b = -e^T,\ y = -w
\\
有A^Ty \geq0, y>0 成立
假设 ( I ) 和 ( II ) 都有解 x ˉ 和 y ˉ 那么我们可以知道 A T y ˉ ≥ 0 于是 y ˉ T A ≥ 0 所以 y ˉ T A x ˉ ≥ 0 又 A x ˉ < 0 所以 y ˉ T A x ˉ < 0 矛盾,故 ( I ) 和 ( II ) 不可能同时成立 考虑 A x < 0 , x ≥ 0 ( I ′ ) A x + s = c , 其中 x , s ≥ 0 , c < 0 若 ( I ′ ) 不成立,根据 F a r ka s 引理有: A T w ≤ 0 , b w > 0 , 其中 b ∈ R n , w ≤ 0 那么取 b = − e T , y = − w 有 A T y ≥ 0 , y > 0 成立 (b)考虑 ( I ′ ) : ( − A x ) ≤ 0 , e T A x > 0 假设 ( I ′ ) 没有解,根据 F a r k a s 引理: ( I I ′ ) : − A T w = e T A , w ≥ 0 有解 于是 ( w + e T ) A = 0 令 y = w + e T 即证明完毕
考虑(I'): (-Ax) \leq 0,\ e^TAx >0\\
假设(I')没有解,根据Farkas引理:\\
(II'):\ -A^Tw = e^TA ,\ w\geq 0有解\\
于是 (w+e^T)A=0\\
令y= w+e^T即证明完毕
考虑 ( I ′ ) : ( − A x ) ≤ 0 , e T A x > 0 假设 ( I ′ ) 没有解,根据 F a r ka s 引理: ( I I ′ ) : − A T w = e T A , w ≥ 0 有解 于是 ( w + e T ) A = 0 令 y = w + e T 即证明完毕
Problem 4 令 A ∈ R m × n A \in \mathbb{R}^{m \times n} A ∈ R m × n 且 b ∈ R + m b \in \mathbb{R}^m_+ b ∈ R + m 已知,考虑以下线性系统:A x = b , x ≥ 0 (1)
Ax = b, \quad x \geq 0 \tag{1}
A x = b , x ≥ 0 ( 1 ) 以及相关的线性规划问题(LP):minimize e T y subject to A x + I y = b , x ≥ 0 , y ≥ 0 (2)
\text{minimize } e^T y\\
\text{subject to } Ax + Iy = b, \quad x \geq 0, \, y \geq 0 \tag{2}
minimize e T y subject to A x + I y = b , x ≥ 0 , y ≥ 0 ( 2 ) 其中,e = ( 1 , … , 1 ) ∈ R m e = (1, \dots, 1) \in \mathbb{R}^m e = ( 1 , … , 1 ) ∈ R m 是一个全为 1 的向量,I I I 是m × m m \times m m × m 的单位矩阵。这个线性规划问题 (2) 通常称为 Phase One Problem。
(a) 写出问题 (2) 的对偶问题。
(b) 证明问题 (2) 总有最优解。
(c) 证明系统 (1) 有解,当且仅当问题 (2) 的最优值为零。
Solution:
(a)maxmize e T y subject to A x + I y > b , x ≥ 0 , y ≥ 0
\text{maxmize } e^Ty\\
\text{subject to }Ax + Iy > b,\ x \geq 0, \ y\geq 0
maxmize e T y subject to A x + I y > b , x ≥ 0 , y ≥ 0