Week 1 : Modelling tricks Flashcards
1
Q
Either-or restrictions
A
a_1^Tx ≤ b1 ∨ a_2^Tx ≤ b2
Becomes:
0 ≤ x ≤ u
a_1^Tx − b1 ≤ M1(1 − z1)
a_2^Tx−b2 ≤ M2(1 − z2)
z1 + z2 = 1
zi ∈ B
with
Mi ≥ max{a_i^Tx−bi : 0≤ x ≤u}
Or:
a_1^Tx − b1 ≤ M1(1 − z)
a_2^Tx−b2 ≤ M2 z
2
Q
If-then restriction
A
0 ≤ x ≤ u
If a_1^T x > b1 then a_2^⊤x ≤ b2
is the same as 0 ≤ x ≤ u
¬a_1^⊤ x > b1 ∨ a_2^⊤x ≤ b