Anda di halaman 1dari 17

CONTOH MILP BRANCH

AND BOUND
Pertemuan 15
Contoh Branch and Bound untuk MILP

 Maksimasi Z = 3x1 + x2
dengan pembatas-pembatas:
5x1 + 2x2  10
4x1 + x2 7
x1, x2 ≥ 0 dan x2 Integer
Ilustrasi Penerapan Algoritma BB untuk MILP

X1 = 1,33
X2 = 1,67
LP-1 Z=5,67
 LP-1
 Maksimasi Z = 3x1 + x2

dengan pembatas-pembatas:
5x1 + 2x2  10
4x1 + x2 7
x 1, x 2 ≥ 0
Ilustrasi Penerapan Algoritma BB

X1 = 1,33
X2 = 1,67
Z=5,67
LP-1
X2 ≤ 1
X2 ≥ 2

LP-2 LP-3
 LP-2 (LP-1 + Constraint x2 ≤1)
 Maximasi Z = 3x1 + x2

dengan pembatas-pembatas:
5x1 + 2x2  10
4x1 + x2 7
x2 ≤ 1
x 1, x 2 ≥ 0
 LP-3 (LP-1 + Constraint x2 ≥2)
 Maximasi Z = 3x1 + x2

dengan pembatas-pembatas:
5x1 + 2x2  10
4x1 + x2 7
x2 ≥ 2
x 1, x 2 ≥ 0
Ilustrasi Penerapan Algoritma BB

X1 = 1,33
X2 = 1,67
Z=5,67
LP-1
X1 = 1,5 X2 ≤ 1 X1 = 1,2
X2 ≥ 2
X2 = 1 X2 = 2
Z=5,5 Z = 5,6
LP-2 LP-3
Ilustrasi Penerapan Algoritma BB

X1 = 1,33
X2 = 1,67
Z=5,67
LP-1
X1 = 1,5 X2 ≤ 1 X1 = 1,2
X2 ≥ 2
X2 = 1 X2 = 2
Z=5,5 Z = 5,6
LP-2 LP-3

Solusi bilangan bulat optimal


x1 = 1,2 x2 = 2
Z = 5,6
Contoh Branch and Bound untuk MILP

 Minimasi Z = x1 + 3x2
dengan pembatas-pembatas:
x1 + 5x2 ≥ 8
x1 + 2x2 ≥ 4
x1, x2 ≥ 0 dan x1 Integer
Ilustrasi Penerapan Algoritma BB untuk MILP

X1 = 1,33
X2 = 1,33
LP-1 Z=5,33
 LP 1
 Minimasi Z = x1 + 3x2

dengan pembatas-pembatas:
x1 + 5x2 ≥ 8
x1 + 2x2 ≥ 4
x 1, x 2 ≥ 0
Ilustrasi Penerapan Algoritma BB

X1 = 1,33
X2 = 1,33
Z=5,33
LP-1
X1 ≤ 1
X1 ≥ 2

LP-2 LP-3
 LP-2 (LP-1 + Constraint x1 ≤1)
 Minimasi Z = x1 + 3x2

dengan pembatas-pembatas:
x1 + 5x2 ≥ 8
x1 + 2x2 ≥ 4
x1 ≤1
x 1, x 2 ≥ 0
 LP-3 (LP-1 + Constraint x1 ≥2)
 Minimasi Z = x1 + 3x2

dengan pembatas-pembatas:
x1 + 5x2 ≥ 8
x1 + 2x2 ≥ 4
x1 ≥2
x 1, x 2 ≥ 0
Ilustrasi Penerapan Algoritma BB

X1 = 1,33
X2 = 1,33
Z=5,33
LP-1
X1 = 1 X2 ≤ 1 X1 = 2
X2 ≥ 2
X2 = 1,5 X2 = 1,2
Z=5,5 Z = 5,6
LP-2 LP-3
Ilustrasi Penerapan Algoritma BB

X1 = 1,33
X2 = 1,33
Z=5,33
LP-1
X1 = 1 X2 ≤ 1 X1 = 2
X2 ≥ 2
X2 = 1,5 X2 = 1,2
Z=5,5 Z = 5,6
LP-2 LP-3

Solusi bilangan bulat optimal


x1 = 1 x2 = 1,5
Z = 5,5

Anda mungkin juga menyukai