QuadraticProgramming Wolfe
QuadraticProgramming Wolfe
QuadraticProgramming Wolfe
(Quadratic Programming)
Dedy Suryadi
2020
Source: Winston, W.L. & Goldberg, J.B. (2004). Operations research: applications and algorithms (4th ed).
Wolfe’s Method
• Wolfe’s method may be used to solve QPP in which all variables must
be nonnegative.
• Example:
Using Theorem 11’
(1) Checking Convexity
• Objective function
dz/dx1 = -1 + x1 – x2 d2z/dx12 = 1 1 −1
𝐻=
d2z/dx1x2 = -1 −1 2
dz/dx2 = -1 + 2x2 – x1 d2z/dx2x1 = -1 Principal minors = z is convex
d2z/dx22 = 2 1, 2, (1*2)-(-1*-1) = 1
(1) Checking Convexity
−1 + 2𝑥2 − 𝑥1 + 𝜆1 1 + 𝜆2 (−3) ≥ 0
ej =
Original Constraints
Simplex Algorithm:
Multiply by (-1) if the original rhs is negative
Standard Form:
Complete Formulation
First KT condition;
in standard form
Original constraints;
in standard form
Fourth
KT condition Third KT condition
Complete Formulation
bi – gi(x)
-6 – (-2x1-3x2)
-6 + 2x1 + 3x2
2x1 + 3x2 - 6
Second KT condition
(3) Solving the LP
• Use the Phase I of the two-phase method.
• To ensure that the solution satisfies the complementary slackness
constraints:
(3) Solving the LP
Old Row 0:
+
New Row 0
(3) Solving the LP
Old Row 0:
+
New Row 0
None
1/2
3/1
6/3
Can’t choose this
because s1’ is a BV
Optimal Solution
Wolfe’s Method: Optimal Solution
• Wolfe’s method is guaranteed to obtain the optimal solution if all
leading principal minors of the objective function’s Hessian are
positive.
Source: Winston, W.L. & Goldberg, J.B. (2004). Operations research: applications and algorithms (4th ed).