Computational Optimization
Duality Theory (MW 12.9)
- Prof. K. Bennett
Bennek@rpi.edu
http://www.rpi.edu/~bennek/compopt/
Computational Optimization Duality Theory (MW 12.9) Prof. K. - - PowerPoint PPT Presentation
Computational Optimization Duality Theory (MW 12.9) Prof. K. Bennett Bennek@rpi.edu http://www.rpi.edu/~bennek/compopt/ DRUG TRIVIA In 1999 USA $25B/yr for R&D of pharmaceuticals (33% clinicals) Worth their weight in gold
http://www.rpi.edu/~bennek/compopt/
RENSSELAER
DRUG TRIVIA
HIV Reverse-Transcriptase Inhibition modeling: Have a few Molecules that have been tested: Can we predict if new molecule will inhibit HIV? HELP WORLD HIV PROBLEM
N N HN X R R1
S HN N O O O HO R
N N O O R2 O OTBDMS S O O O H2N TBDMSO R1 N O OTBDMS S O O O H2N TBDMSO N N R1 R2
N N S O N O R2 R1
The bioactivities of a small set of molecules Many descriptors for each molecules: Molecular Weight Electrostatic Potential Ionization Potential Can we predict molecules bioactivity?
What do we know?
1
( ) '
n j j j
f x sign w x b sign w x b y
=
⎛ ⎞ = − = − ≈ ⎜ ⎟ ⎝ ⎠
2 1 2 1 1 1 1
i i i i i i i i i i i
α
∈ ∈ − ∈ ∈ −
Maximize distance Between two para supporting planes Distance = “Margin” =
|| || w δ β −
1 2 2 , ,
w i i
δ β
( ) ( )
2 2 , , 1 1 1
1 1 2 2 . . 1 1 . .
i i i w i i i i i i i
y x w s t s t x w x w
α δ β
α δ β δ α α α β
= ∈ ∈−
− + = = ⇔ ⋅ − ≥ ≥ − ⋅ + ≥
i
1
i i i i i
=
min ( ) : diff : diff ( ) . . 1, ,
n r n i i
f x f R R g R R g x s t i m → → ≥ = …
1 1
j j j j m x x i x j i
= =
i i
1
m x i x j i
λ
=
Primal Feasibility Dual Feasibility
i
Complimentarity
Base Problem Lagrangian function
1
( , ) ( ) ( ( ))
j j j j
L x u f x g x λ
=
= −∑
Primal objective: Primal problem (min max):
*
λ
≥
*
x X x X
λ
∈ ∈ ≥
Primal objective Primal problem
*
( ) max ( , ) ( ) if ( ) max ( ) ' ( ) ( ) L x L x f x g x f x g x g x
λ λ
λ λ
≥ ≥
= ≥ = − = ∞ <
*
min ( ) min max ( , ) min ( ) . . ( )
x X x X
L x L x f x s t g x
λ
λ
∈ ∈ ≥
= = ≥
Dual objective: Dual problem (max min):
*( )
x
∈Χ
*
x X
λ λ
∈ ≥ ≥
Dual objective: Dual problem (max min):
*( )
x
∈Χ
*
x X
λ λ
∈ ≥ ≥
L* is always concave!!!!!!
Some problems have explicit form of dual objective Exploit differentiability and convexity
*
1 ( , ) 1/ ( ) log(1/ ) ( 1/ 1) log( ) 1
xL x
x x L λ λ λ λ λ λ λ λ λ ∇ = − + = ⇒ = = − − − + = − −
*
max log( ) . . 1 ( ) min log( ) ( 1)
x
x s t x L x x λ λ ≤ = − − − +
1 2 3 4 5 6 7 8 9 10x X
∈
( , ) x λ
,
x x
λ
*( )
x
* 1
x m x x i x j i
=
*
x
λ λ
≥ ≥
,
x x
λ
xL x λ
If they equal they must be optimal!
Primal – minimizes the primal function subject to primal constraints Dual maximizes the dual function with respect to the dual variables λ≥0 At optimality the primal and dual functions are equal (requires assumptions – strong duality)
1 2 2 , , 1 2 2 1 1
w i i i i i i i i
δ β
∈ ∈−
1 1 1 1
Primal Feasibility: 1 Dual Feasibility: ( , , ) ( , , ) 1 ( , , ) 1 plus complementarity 1
i i w i i i i i i i i i i i
x w i C x w i lass L w Class L w w x w x L
δ β
β α δ β α δ β δ β α δ α α
∈ ∈− ∈ ∈−
⋅ ≤ ∈ − ≥ ∇ = − + = ∇ = ⋅ ≥ − = ∇ = − ∈ + =
1 1 1 1
max ( , , ) 1 1
i i i i i i i i i i i
x x L α δ α α β α α
∈ ∈− ∈ ∈−
− = = ≥
Remove w by substitution and simplify Convert to min problem
2 1 2 1 1 1 1
i i i i i i i i i i i i i i i
α
∈ ∈ ∈ ∈ −
min ' . . ( , ) ' '( )
x b x
s t Ax c L x y b x y Ax c >= = − −
,
max ' '( ) . . ( , ) '
x y x
b x y Ax c s t L x y b A y y − − ∇ = − = ≥ max ' . . '
y c y
s t A y b y = ≥ ' ( , ) '( ' )
x
x L x y x b A y ∇ = − =
Primal Dual
min ( ) . . ( ) ( )
x
f x s t g x h x ≥ =
, ,
max ( ) ' ( ) ' ( ) . . ( ) ( ) ( ) 0,
x u v x i x i i x j i j
f x u g x v h x s t f x u g x v h x u v unconstrained − − ∇ − ∇ − ∇ = ≥
May have nicer structure like easier constraints or function Dual problem always is max of concave
Dual provides lower bound on primal function – use to check optimality and generate cuts/constraints Exploit in algorithms - e.g. augmented Lagrangian and primal dual interior point algorithms.