Professional Documents
Culture Documents
13,14 Integer Programming 9.4 5
13,14 Integer Programming 9.4 5
Dedy Suryadi
Parahyangan Catholic University
2020
1
For educational purpose only.
Source: Wayne Winston, Operations Research Applications and Algorithms 4th. Edition, 2003
2
Mixed IP
• In the Mixed IP, some variables are required to
be integers while others are free. Example:
• It becomes a candidate
solution, next we solve
subproblem 3.
4
Subproblem 3
• We solve subproblem 3.
5
6
Knapsack Problem
• A knapsack problem is an IP with a single constraint.
7
0-1 IP
• If each variable must equal 0 or 1,
branching on xi will yield xi=0 and xi=1.
8
Example: Knapsack
• Subproblem 1: LP Relaxation
x7=1 → remaining space = 70
x2=1 → remaining space = 20
x4=1 → remaining space = 10
x1=1/4 → remaining space = 0
→ Next we branch on x1 9
Subproblem 1
z = 160
x7=1
x2=1
x4=1
x1=1/4
x1=0 x1=1
Subproblem 2 Subproblem 3
x1=0 → remaining space = 100 x1=1→ remaining space = 60
10
Exercise: Stockco
11
12