15-780 – Graduate Artificial Intelligence: Integer programming
- J. Zico Kolter (this lecture) and Nihar Shah
Carnegie Mellon University Spring 2020
1
15-780 Graduate Artificial Intelligence: Integer programming J. - - PowerPoint PPT Presentation
15-780 Graduate Artificial Intelligence: Integer programming J. Zico Kolter (this lecture) and Nihar Shah Carnegie Mellon University Spring 2020 1 Outline Introduction Integer programming Solving integer programs Extensions and
1
2
3
4
Profit = 2x1 + x2
5
6
7
8
9
10
푥
푥
11
푥
12
13
14
푥
15
푥
푛 ⊂ 0,1 푛
16
푥
⋆ = {1
17
푥
18
19
20
푥
21
푥
22
Search tree 𝑔⋆ = −0.143, 𝑦⋆ = 0.43,1,1 , 𝒟 = {}
Frontier
푥
23
Search tree
𝑔⋆ = −0.143, 𝑦⋆ = 0.43,1,1 , 𝒟 = {} 𝑔⋆ = 0.2, 𝑦⋆ = 1, 0.2, 1 , 𝒟 = 𝑦1 = 1 𝑔⋆ = ∞, 𝑦⋆ = ∅, 𝒟 = 𝑦1 = 0 Frontier
푥
24
Search tree
𝑔⋆ = −0.143, 𝑦⋆ = 0.43,1,1 , 𝒟 = {} 𝑔⋆ = 0.2, 𝑦⋆ = 1, 0.2, 1 , 𝒟 = 𝑦1 = 1 𝑔⋆ = 1, 𝑦⋆ = 1,1, 1 , 𝒟 = 𝑦1 = 1, 𝑦2 = 1 𝑔⋆ = ∞, 𝑦⋆ = ∅, 𝒟 = 𝑦1 = 0 𝑔⋆ = ∞, 𝑦⋆ = ∅, 𝒟 = 𝑦1 = 1, 𝑦2 = 0 Frontier
푥
25
Search tree
𝑔⋆ = −0.143, 𝑦⋆ = 0.43,1,1 , 𝒟 = {} 𝑔⋆ = 0.2, 𝑦⋆ = 1, 0.2, 1 , 𝒟 = 𝑦1 = 1 𝑔⋆ = 1, 𝑦⋆ = 1,1, 1 , 𝒟 = 𝑦1 = 1, 𝑦2 = 1 𝑔⋆ = ∞, 𝑦⋆ = ∅, 𝒟 = 𝑦1 = 0 𝑔⋆ = ∞, 𝑦⋆ = ∅, 𝒟 = 𝑦1 = 1, 𝑦2 = 0 Frontier
26
27
28
5 10 15 20 25 50 60 70 80 Iteration Objective Lower bound Optimal
푖 ≤ ℓ1 ∨ 𝑦2 푖 ≤ ℓ2 ∨ 𝑦1 푖 ≥ 𝑣1 ∨ 𝑦2 푖 ≥ 𝑣2
29
푖 ∈ {0,1} and consider the constraint
푖 ≤ ℓ1 + 𝑨1 푖 𝑁
푖 = 0 this is the same as the original constraint, but if 𝑨1 푖 = 1 this constraint
푖 ≤ ℓ1 + 𝑨1 푖 𝑁,
푖 ≤ ℓ2 + 𝑨2 푖 𝑁
푖 ≥ 𝑣1 + 𝑨3 푖 𝑁,
푖 ≥ 𝑣2 + 𝑨4 푖 𝑁
푖 + 𝑨2 푖 + 𝑨3 푖 + 𝑨4 푖 ≤ 3,
30
50 100 150 0.32 0.34 0.36 0.38 0.4 0.42 0.44 0.46 Iteration Objective Lower bound Feasible upper bound
31
32
33
−1𝐵, where
−1𝑐 is not integer valued (call the row ̃
푇 𝑦 ≥
34
35