Chap06 Integer Linear Programming
Chap06 Integer Linear Programming
Cliff T. Ragsdale
0
0 1 2 3 4 X1
2014 Cengage Learning. All Rights Reserved. May not
be scanned, copied or duplicated, or posted to a publicly
accessible website, in whole or in part.
Solving ILP Problems
2
optimal relaxed solution
0
0 1 2 3 4 X1
2014 Cengage Learning. All Rights Reserved. May not
be scanned, copied or duplicated, or posted to a publicly
accessible website, in whole or in part.
Branch-and-Bound
1, if project i is selected
X i 1,2,...,6
i 0, otherwise
Capital Constraints
75X1 + 90X2 + 60X3 + 30X4 + 100X5 + 50X6 <= 250 } year 1
25X1 + 35X2 +15X3 + 20X4 + 25X5 + 20X6 <= 75 } year 2
20X1 + 0X2 + 15X3 + 10X4 + 20X5 + 10X6 <= 50 } year 3
15X1 + 0X2 + 15X3 + 5X4 + 20X5 + 30X6 <= 50 } year 4
10X1 +30X2 +15X3 + 5X4 + 20X5 + 40X6 <= 50 } year 5
Binary Constraints
All Xi must be binary
1, if Xi 0
Yi i = 1, 2, 3
0, if Xi 0
Consider,
X3 <= M3Y3
X3 >= 40 Y3
Side constraints:
Co. 1 will not supply orders of less than 150
tons for any project
Co. 2 can supply more than 200 tons to no
more than one of the projects
Co. 3 will accept only orders that total 200,
400, or 550 tons
Yij binary
0
0 1 2 3 4 X1
2014 Cengage Learning. All Rights Reserved. May not
be scanned, copied or duplicated, or posted to a publicly
accessible website, in whole or in part.
The Branch-And-Bound Algorithm
Problem I MAX: 2X1 + 3X2
S.T. X1 + 3X2 <= 8.25
2.5X1 + X2 <= 8.75
X1 <= 2
X1, X2 >= 0 and integer
Problem II
0
0 1 2 3 4 X1
2014 Cengage Learning. All Rights Reserved. May not
be scanned, copied or duplicated, or posted to a publicly
accessible website, in whole or in part.
The Branch-And-Bound Algorithm
Problem III MAX: 2X1 + 3X2
S.T. X1 + 3X2 <= 8.25
2.5X1 + X2 <= 8.75
X1 <= 2
X2 <= 2
X1, X2 >= 0 and integer
2
Problem II
0
0 1 2 3 4 X1
2014 Cengage Learning. All Rights Reserved. May not
be scanned, copied or duplicated, or posted to a publicly
accessible website, in whole or in part.
B&B Summary
Original Problem
X1=2.769
X2=1.826
Obj = 11.019 X1>=3
X1<=2
Problem II
Problem I
X1=2 X1=3
X2=2.083 X2=1.25
Obj = 10.25 Obj = 9.75
X2<=2 X2>=3
http://www.solver.com