京都大学 情報学研究科 数理工学専攻 2023年8月実施 凸最適化
Author
Casablanca, 祭音Myyura
Description
日本語版
English Version
Let c=(c1,c2,…,cn) , where the superscript ⊤ denotes transposition.
Consider the following linear programming problem P:
P:Minimizesubject to c⊤yi=1∑nyi≤1y≥0
where the decision variable of problem P is the vector y=(y1,y2,…yn)⊤∈R⊤.
Answer the following questions (i) and (ii)
(i) write out a dual problem of problem P.
(ii) Show that problem P has an optimal solution.
Let Y be the set of optimal solutions of problem P.
Answer the following quetions (iii) and (iv).
(iii) Show that Y is a convex set.
(iv) Suppose that c1=c2=⋯=cn and c1<0.
Consider the following optimization problem Q:
Q:Minimizesubject to21x⊤x−c⊤xx∈Y
where the decision variable of problem Q is the vector x∈Rn.
Obtain an optimal solution of problem Q by using Karush-Kuhn-Tucker conditions.
题目描述
设 c=(c1,c2,…,cn)⊤,其中 ⊤ 表示转置。考虑以
y=(y1,…,yn)⊤ 为变量的线性规划
P:最小化c⊤y满足i=1∑nyi≤1,y≥0.
回答:
- 写出 P 的对偶问题。
- 证明 P 有最优解。
令 Y 为 P 的最优解集合,继续回答:
-
证明 Y 是凸集。
-
假设 c1=c2=⋯=cn 且 c1<0。考虑
Q:最小化21(x⊤x−c⊤x)满足x∈Y,
其中 x∈Rn。利用 KKT 条件求 Q 的一个最优解。
Kai
(i)
We have Lagrangian: L(y,λ,ν)=c⊤y+λ(1⊤y−1)−ν⊤y.
Obtain Lagrange dual function: d(λ,ν)=infy((c⊤+λ1⊤−ν⊤)y−λ)=−λ.
Then we write the dual problem D:
D:Maximizesubject to −λc+λ1−ν=0λ≥0,ν⪰0
(ii)
The feasible region
{y∈Rn:y⪰0, 1⊤y≤1}
is nonempty and compact. Since c⊤y is continuous, P has an optimal solution.
(iii)
For any y1,y2∈Y , we know that for any y which satisfies the constraints of P,
c⊤y1≤c⊤y,c⊤y2≤c⊤y
for θ∈[0,1],
θy1+(1−θ)y2⪰0,
1⊤(θy1+(1−θ)y2)≤1
c⊤(θy1+(1−θ)y2)=θc⊤y1+(1−θ)c⊤y2≤c⊤y
then θy1+(1−θ)y2∈Y, Y is a convex set.
(iv)
Since c1=c2=…cn<0, Y={y∣y⪰0,1⊤y=1}, we can rewrite Q as
Q:Minimizesubject to21(x⊤x−c⊤x)x⪰0,1⊤x=1
Thus, consistently with the stated objective, the Lagrangian is
L(x,λ,μ)=21(x⊤x−c⊤x)−λ⊤x+μ(1−1⊤x).
Then the KKT-condition:
KKT-conditions: ⎩⎨⎧x−21c−λ−μ1λ⪰0,−λ⊤xx1⊤x=0=0⪰0=1
it is obviously that
x∗=[n1,n1,…,n1]⊤,λ∗=0,μ∗=n1−2c1
satisfy the KKT conditions. Since Q is convex, x∗ is its optimal solution.