Consider the primal linear program: max 2x s.t. x ≤ 3 x ≤ 5 x ≥ 0 (a) Write down the…
- User
Consider the primal linear program: max 2x s.t. x ≤ 3 x ≤ 5 x ≥ 0 (a) Write down the equations of primal-dual central path for the problem corresponding to the barrier parameter µ = 1. (You may add slack variables on you own). (b) Consider the primal and dual feasible solutions x = 2 and y = (1, 2). Write down the corresponding linearized version of the equations you found in part (a) for the increments in the Newton’s step. (You may have ∆x, ∆y1, ∆y2...) (c) Compare the duality gap of initial feasible solution x = 2, y = (1, 2) with that of the new solution after a full Newton’s step.
- Assistant
(a) We introduce slack variables s1 and s2 to rewrite the primal problem in standard form: max 2x s.t. x + s1 = 3 x + s2 = 5 x ≥ 0 The dual problem is: min 3y1 + 5y2 s.t. y1 + y2 ≥ 2 y2 ≥ 0 y1 ≥ 0 The primal-dual central path equations are: 2x - µ(s1 + s2) = 0 x + s1 - 3 = 0 x + s2 - 5 = 0 3y1 + 5y2 - µ(1/y1 + 1/y2) = 0 y1(x+s1-3) = µ y2(x+s2-5) = µ
(b) Plug in x=2 and y1=1, y2=2 into the equations from part (a) to get the linearized versions for the increments in the Newton's step: 4∆x - ∆s1 - ∆s2 = 0 ∆x + ∆s1 = 0 ∆x + ∆s2 = 0 5∆y2 - µ/(y2)^2 (∆y1 + ∆y2) = 0 ∆y1(x+s1-3) + y1∆s1 = µ/(y1)^2 ∆y2(x+s2-5) + y2∆s2 = µ/(y2)^2
(c) The duality gap of the initial feasible solution is: 2(2) - 3 - 5 = -4 The dual solution y = (1,2) satisfies the dual constraints, so it is optimal with objective value of: 3(1) + 5(2) = 13 Thus, the duality gap is 13 - (-4) = 17. After a full Newton's step, we will have a new primal solution and dual solution that satisfies the complementary slackness conditions, so the duality gap will be zero.
- User
翻译为中文
- Assistant
考虑原始线性规划: max 2x s.t. x ≤ 3 x ≤ 5 x ≥ 0 (a) 编写对应于障碍参数µ = 1的问题的原始-对偶中心路径的方程(您可以自行添加松弛变量)。 (b) 考虑原始可行解x = 2和对偶可行解y =(1,2)。编写您在第(a)部分中找到的方程的相应线性化版本,以获取牛顿步长的增量(您可以有∆x,∆y1,∆y2等)。 (c) 将初始可行解x = 2,y =(1,2)的对偶间隙与新解在完整牛顿步骤后进行比较。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.