Mpro 2
Mpro 2
Robust Optimization:
Static Case
V. Leclère (ENPC)
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 1 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 1 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
An optimization problem
min L(x)
x
s.t. g (x) ≤ 0
where
x is the decision variable
L is the objective function
g is the constraint function
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 4 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
finding a solution that is less sensible to modified data, without a great increase of
price
choosing an uncertainty set R that:
offer robustness guarantee
yield an easily solved optimization problem
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 6 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
min L(x)
x
s.t. g (x, ξ) ≤ 0 ∀ξ ∈ R
min L(x)
x
s.t. g (x, ξ) ≤ 0 ∀ξ ∈ R
min L(x)
x
s.t. g (x, ξ) ≤ 0 ∀ξ ∈ R
min L(x)
x
s.t. g (x, ξ) ≤ 0 ∀ξ ∈ R
Note that we are solving a problem similar to the deterministic problem with an
increasing number of constraints.
Note that we are solving a problem similar to the deterministic problem with an
increasing number of constraints.
Note that we are solving a problem similar to the deterministic problem with an
increasing number of constraints.
Reformulation principle
We can write the robust optimization problem as
min L(x)
x
s.t. sup g (x, ξ) ≤ 0
ξ∈R
Reformulation principle
We can write the robust optimization problem as
min L(x)
x
s.t. sup g (x, ξ) ≤ 0
ξ∈R
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 9 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 9 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
s.t. Ax ≤ b
Without loss of generality we can consider a deterministic cost:
min θ
x≥0,θ
s.t. Ax ≤ b ∀(A, b, c) ∈ R
c ⊤x ≤ θ ∀(A, b, c) ∈ R
That can be written as
min θ
x≥0,θ
s.t. Ax ≤ b
Without loss of generality we can consider a deterministic cost:
min θ
x≥0,θ
s.t. Ax ≤ b ∀(A, b, c) ∈ R
c ⊤x ≤ θ ∀(A, b, c) ∈ R
That can be written as
min θ
x≥0,θ
s.t. Ax ≤ b
Without loss of generality we can consider a deterministic cost:
min θ
x≥0,θ
s.t. Ax ≤ b ∀(A, b, c) ∈ R
c ⊤x ≤ θ ∀(A, b, c) ∈ R
That can be written as
min θ
x≥0,θ
min c ⊤ x
x≥0
fi (x, ξi ) ≤ 0, ∀i ∈ [m], ∀ξ ∈ R
⇐⇒ fi (x, ξi ) ≤ 0, ∀i ∈ [m], ∀ξ ∈ R1 × · · · × Rm
⇐⇒ fi (x, ξi ) ≤ 0, ∀ξi , ∈ Ri ∀i ∈ [m]
min c ⊤ x
x≥0
fi (x, ξi ) ≤ 0, ∀i ∈ [m], ∀ξ ∈ R
⇐⇒ fi (x, ξi ) ≤ 0, ∀i ∈ [m], ∀ξ ∈ R1 × · · · × Rm
⇐⇒ fi (x, ξi ) ≤ 0, ∀ξi , ∈ Ri ∀i ∈ [m]
min c ⊤ x
x≥0
fi (x, ξi ) ≤ 0, ∀i ∈ [m], ∀ξ ∈ R
⇐⇒ fi (x, ξi ) ≤ 0, ∀i ∈ [m], ∀ξ ∈ R1 × · · · × Rm
⇐⇒ fi (x, ξi ) ≤ 0, ∀ξi , ∈ Ri ∀i ∈ [m]
min c ⊤ x
x≥0
min c ⊤ x
x≥0
s.t. a ⊤ x − b ≤ 0 ∀(a , b ) ∈ R ,
min c ⊤ x
x≥0
s.t. a ⊤ x − b ≤ 0 ∀(a , b ) ∈ R ,
a = ā + Pζ b = b̄ + p ⊤ ζ
where (ā, b̄) are the nominal value, and ζ is the primitive/residual uncertainty.
min c ⊤ x
x≥0
s.t. a ⊤ x − b ≤ 0 ∀(a , b ) ∈ R ,
a = ā + Pζ b = b̄ + p ⊤ ζ
where (ā, b̄) are the nominal value, and ζ is the primitive/residual uncertainty.
The robust constraint now reads
Example: assume that a is a random variable with mean ā and covariance Σ. Then, a
natural reformulation would be
a = ā + Σ1/2 ζ,
so that ζ is centered with uncorrelated coordinates.
Example: assume that a is a random variable with mean ā and covariance Σ. Then, a
natural reformulation would be
a = ā + Σ1/2 ζ,
so that ζ is centered with uncorrelated coordinates.
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 13 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
= ā x + ρ∥P ⊤ x∥2
⊤
Hence, constraint
sup ξ ⊤ x ≤ b
ξ∈R
can be written
ā⊤ x + ρ∥P ⊤ x∥2 ≤ b
V. Leclère Robust Optimization: Static Case November 24, 2023 14 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
= ā x + ρ∥P ⊤ x∥2
⊤
Hence, constraint
sup ξ ⊤ x ≤ b
ξ∈R
can be written
ā⊤ x + ρ∥P ⊤ x∥2 ≤ b
V. Leclère Robust Optimization: Static Case November 24, 2023 14 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
= ā x + ρ∥P ⊤ x∥2
⊤
Hence, constraint
sup ξ ⊤ x ≤ b
ξ∈R
can be written
ā⊤ x + ρ∥P ⊤ x∥2 ≤ b
V. Leclère Robust Optimization: Static Case November 24, 2023 14 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
SOCP problem
∥Ax + b∥2 ≤ c ⊤ x + d
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 15 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
s.t. Dξ ≤ d
as the same value as
min η ⊤ d
η
s.t. η⊤ D = x
η≥0
Thus,
sup ξ ⊤ x ≤ b ⇐⇒ min η⊤ d ≤ b
ξ:Dξ≤d η≥0:η ⊤ D=x
⇐⇒ ∃η ≥ 0, η ⊤ D = x, η⊤ d ≤ b
V. Leclère Robust Optimization: Static Case November 24, 2023 16 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
s.t. Dξ ≤ d
as the same value as
min η ⊤ d
η
s.t. η⊤ D = x
η≥0
Thus,
sup ξ ⊤ x ≤ b ⇐⇒ min η⊤ d ≤ b
ξ:Dξ≤d η≥0:η ⊤ D=x
⇐⇒ ∃η ≥ 0, η ⊤ D = x, η⊤ d ≤ b
V. Leclère Robust Optimization: Static Case November 24, 2023 16 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Polyhedral uncertainty
We consider a polyhedral uncertainty set
n o
R= a | Da ≤ d
s.t. sup a⊤ x ≤ b
a∈R
reads
min c ⊤x
x≥0,η≥0
s.t. η⊤ d ≤ b
η⊤ D = x
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 17 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Soyster model
The problem
min c ⊤x
x
Ãx ≤ b ∀Ã ∈ R
x ≤ x ≤ x̄
where each coefficient ãij ∈ [āij − δij , āij + δij ]
Soyster model
The problem
min c ⊤x
x
sup Ãx ≤ b
Ã∈R
x ≤ x ≤ x̄
where each coefficient ãij ∈ [āij − δij , āij + δij ]
Soyster model
The problem
min c ⊤x
x
sup Ãx ≤ b
Ã∈R
x ≤ x ≤ x̄
where each coefficient ãij ∈ [āij − δij , āij + δij ]
can be written
min c ⊤x
x
X X
āij xj + δij |xj | ≤ bi ∀i
j j
x ≤ x ≤ x̄
Soyster model
The problem
min c ⊤x
x
sup Ãx ≤ b
Ã∈R
x ≤ x ≤ x̄
where each coefficient ãij ∈ [āij − δij , āij + δij ]
can be written
min c ⊤x
x
X X
āij xj + δij yj ≤ bi ∀i
j j
x ≤ x ≤ x̄
yj ≥ xj , yj ≥ −xj
V. Leclère Robust Optimization: Static Case November 24, 2023 18 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Cardinality constrained LP I
min c ⊤x
x,y
X X
āij xj + max δij yj ≤ bi ∀i
Si :|Si |=Γi
j j∈Si
x ≤ x ≤ x̄
yj ≥ xj , yj ≥ −xj
Cardinality constrained LP I
min c ⊤ x
x,y
X
āij xj + βi ≤ bi ∀i
j
X
max δij yj ≤ βi
Si :|Si |=Γi
j∈Si
x ≤ x ≤ x̄
yj ≥ xj , yj ≥ −xj
Cardinality constrained LP II
zij ∈ {0, 1}
Cardinality constrained LP II
zij ≤ 1
Cardinality constrained LP II
zij ≤ 1 [µij ]
X
βi (x, Γi ) = max δij |xj |zij
z≥0
j
X
zij ≤ Γi [λi ]
j
zij ≤ 1 [µij ]
X
βi (x, Γi ) = max δij |xj |zij
z≥0
j
X
zij ≤ Γi [λi ]
j
zij ≤ 1 [µij ]
X X X
βi (x, Γi ) = max min δij |xj |zij + λi Γi − zij + µij 1 − zij
z≥0 λ,µ≥0
j j j
X
βi (x, Γi ) = max δij |xj |zij
z≥0
j
X
zij ≤ Γi [λi ]
j
zij ≤ 1 [µij ]
X X X
βi (x, Γi ) = max min δij |xj |zij + λi Γi − zij + µij 1 − zij
z≥0 λ,µ≥0
j j j
X X
= min max λ i Γi + µij + zij δij |xj | − λi − µij
λ,µ≥0 z≥0
j j
X
βi (x, Γi ) = max δij |xj |zij
z≥0
j
X
zij ≤ Γi [λi ]
j
zij ≤ 1 [µij ]
X X X
βi (x, Γi ) = max min δij |xj |zij + λi Γi − zij + µij 1 − zij
z≥0 λ,µ≥0
j j j
X
= min λ i Γi + µij
λ,µ≥0
j
Cardinality constrained LP IV
In the end we obtain
min c ⊤x
x,β,λ,µ
X
āij xj + βi ≤ bi ∀i
j
X
λi Γi + µij ≤ βi ∀i
j
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 22 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Definition
We say that, for a given set of probability measures P ∈ P, the constraint
g (x, ξ) ≤ 0, ∀ξ ∈ R,
2 /2
implies a probabilistic guarantee of level 1 − e −Ω .
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 24 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
min max c̃ ⊤ x
x∈{0,1}N c̃∈R
s.t. x ∈X
where R is such that each c̃i ∈ [c̄i , c̄i + δi ], with at most Γ coefficient deviating from c̄i .
Thus, the problem reads
X
(P) min c̄ ⊤ x + max δi xi
x∈{0,1}N |S|≤Γ
i∈S
s.t. x ∈ X
wlog we assume that the i are ordered by decreasing cost uncertainty span:
δ1 ≥ δ2 ≥ · · · ≥ δn .
V. Leclère Robust Optimization: Static Case November 24, 2023 25 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
min max c̃ ⊤ x
x∈{0,1}N c̃∈R
s.t. x ∈X
where R is such that each c̃i ∈ [c̄i , c̄i + δi ], with at most Γ coefficient deviating from c̄i .
Thus, the problem reads
X
(P) min c̄ ⊤ x + max δi xi
x∈{0,1}N |S|≤Γ
i∈S
s.t. x ∈ X
wlog we assume that the i are ordered by decreasing cost uncertainty span:
δ1 ≥ δ2 ≥ · · · ≥ δn .
V. Leclère Robust Optimization: Static Case November 24, 2023 25 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
s.t. x ∈ X
yj + θ ≥ δj xj
yj , θ ≥ 0
s.t. x ∈ X
yj + θ ≥ δj xj
yj , θ ≥ 0
s.t. x ∈X
We can now decompose the problem for θ ∈ [δℓ , δℓ−1 ] where δn+1 = 0 and δ0 = +∞.
Therefore, we have
val(P) = min Z ℓ
ℓ∈[n]
where
ℓ−1
X
ℓ ⊤
Z = min c̄ x + Γθ + xj (δj − θ)
x∈X ,θ∈[δℓ ,δℓ−1 ]
j=1
s.t. x ∈X
We can now decompose the problem for θ ∈ [δℓ , δℓ−1 ] where δn+1 = 0 and δ0 = +∞.
Therefore, we have
val(P) = min Z ℓ
ℓ∈[n]
where
ℓ−1
X
ℓ ⊤
Z = min c̄ x + Γθ + xj (δj − θ)
x∈X ,θ∈[δℓ ,δℓ−1 ]
j=1
s.t. x ∈X
We can now decompose the problem for θ ∈ [δℓ , δℓ−1 ] where δn+1 = 0 and δ0 = +∞.
Therefore, we have
val(P) = min Z ℓ
ℓ∈[n]
where
ℓ−1
X
ℓ ⊤
Z = min c̄ x + Γθ + xj (δj − θ)
x∈X ,θ∈[δℓ ,δℓ−1 ]
j=1
where
n ℓ
X o
G ℓ = Γδℓ + min c̄ ⊤ x + (δj − δℓ ) xj
x∈X | {z }
j=1
≥0
n ℓ
X o
G ℓ = Γδℓ + min c̄ ⊤ x + (δi − δℓ )xj
x∈X
i=1
Contents
1 Introduction and motivations
How to add uncertainty in an optimization problem
Why shall you do Robust Optimization ?
2 Solving the robust optimization problem
3 Robust optimization for Linear Programm
Reformulating the problem
Ellipsoidal uncertainty set
Polyhedral uncertainty set
Cardinality constrained LP
4 Probability guarantee
5 Robust Combinatorial Problem
6 Conclusion
V. Leclère Robust Optimization: Static Case November 24, 2023 30 / 34
Introduction Solution approaches Robust LP Probability guarantee Robust combinatorial Conclusion
Yes: with some assumption over the randomness (e.g. bounded and symmetric
around ā) some uncertainty set (e.g. ellipsoidal) have a probabilistic guarantee:
∀ξ ∈ Rε , g (x, ξ) ≤ 0 =⇒ P g (x, ξ) ≤ 0 ≥ 1 − ε
Yes: in some cases approximation scheme for nominal problem can be extended to
robust problem (e.g. cardinal uncertainty in combinatorial problem)
Yes: using relevant data we can use statistical tools to construct a robust set R
that imply a probabilistic guarantee