SlideShare a Scribd company logo
1 of 63
Download to read offline
Integer Programming Problem
1
1. The LP divisibility assumption (fractional
solutions are permissible) is not always
valid.
2. Binary variables allow powerful new
techniques like logical constraints.
3. Many different real-life situations can be
modeled as integer programs (IPs).
4. There are efficient algorithms to solve IPs.
Why study integer programming?
2
Applications
• Project Selection Problem (Knapsack Problem)
• Facility Location Problem
• Fixed Charge Problem
• Cutting Stock Problem
• Set Covering Problem
3
Project Selection Problem (Knapsack Problem)
• You have 5 Projects
• Your budget is Rs. 18000. Which Projects will you
choose so that total net profit is maximized?
4
Project Cost Net profit
P1 5000 4000
P2 6000 4500
P3 3500 3000
P4 8000 9500
P5 7500 6400
Project Selection: Formulation
Decision Variable
xi =1, if project Pi is selected
0, otherwise for all i = 1, 2, …,5
Max 4000 x1+ 4500 x2+ 3000 x3+ 9500 x4+ 6400 x5
s.t. 5000 x1+ 6000 x2+ 3500 x3+ 8000 x4+ 7500 x5≤ 18000
xi ∈ {0,1}, for all i = 1, 2, …,5
• Additional Constraints:
i. At most three projects can be selected
ii. If project 2 is selected then project 1 must be selected
iii. If Project 2 is selected then project 4 cannot be selected
5
Project Selection: Formulation
Decision Variable
xi =1, if project Pi is selected
0, otherwise for all i = 1, 2, …,5
Max 4000 x1+ 4500 x2+ 3000 x3+ 9500 x4+ 6400 x5
s.t. 5000 x1+ 6000 x2+ 3500 x3+ 8000 x4+ 7500 x5≤ 18000
xi ∈ {0,1}, for all i = 1, 2, …,5
• Additional Constraints:
i. At most three projects can be selected: x1+ x2+ x3+ x4+ x5≤ 3
ii. If project 2 is selected then project 1 must be selected: x2 ≤ x1
iii. If Project 2 is selected then project 4 cannot be selected: x2+x4 ≤ 1
6
Rounding down a LP solution is okay in
these cases
x1
x2
LP
optimum
IP
optimum
Increasing
objective
function value
8
You can go wrong here
x1
x2
LP
optimum
IP
optimum
Increasing
objective
function value
■ Rounding non-integer solution values up to the nearest integer
value can result in an infeasible solution.
9
You could go wrong
➢ If you have a particularly pointed feasible
region
➢ If you use LP to predict the solution for an IP
where variables can have only 0-1 values
(Typically in take/leave situations).
10
What an Integer Program looks like?
Linear Program
0
,
6
12
3
4
6
3
S.t.
2
3
Min
2
1
2
1
2
1
2
1
2
1


+

+

+
+
x
x
x
x
x
x
x
x
x
x
Integer Program
Integer
,
0
,
6
12
3
4
6
3
S.t.
2
3
Min
2
1
2
1
2
1
2
1
2
1


+

+

+
+
x
x
x
x
x
x
x
x
x
x
11
Binary (or 0-1) IP
(xj = 0 or 1)
PURE IP
(all xj integer)
Mixed IP
(some xj ≥ 0 & remaining xj
integer)
Integer Programming (IP)
(LP problem + xj are integers)
i.e., Integer Linear Programming (ILP) Problem
12
Machine
Required
Floor Space (ft.2
) Purchase Price
Press
Lathe
15
30
$8,000
4,000
Pure Integer Model
■ Machine shop obtaining new presses and lathes.
■ Marginal profitability: each press $100/day; each lathe $150/day.
■ Resource constraints: $40,000 budget, 200 sq. ft. floor space.
■ Machine purchase prices and space requirements:
13
Pure Integer Model: Formulation
Integer Programming Model:
Maximize Z = $100x1 + $150x2
subject to:
$8,000x1 + 4,000x2  $40,000
15x1 + 30x2  200 ft2
x1, x2  0 and integer
x1 = number of presses
x2 = number of lathes
14
■ Recreation facilities selection to maximize daily usage by residents.
■ Resource constraints: $120,000 budget; 12 acres of land.
■ Selection constraint: either swimming pool or tennis center (not
both).
Recreation
Facility
Expected Usage
(people/day) Cost ($)
Land Requirement
(acres)
Swimming pool
Tennis Center
Athletic field
Gymnasium
300
90
400
150
35,000
10,000
25,000
90,000
4
2
7
3
0 - 1 Integer Model
15
Integer Programming Model:
Maximize Z = 300x1 + 90x2 + 400x3 + 150x4
subject to:
$35,000x1 + 10,000x2 + 25,000x3 + 90,000x4  $120,000
4x1 + 2x2 + 7x3 + 3x4  12 acres
x1 + x2  1 facility
x1, x2, x3, x4 = 0 or 1
x1 = construction of a swimming pool
x2 = construction of a tennis center
x3 = construction of an athletic field
x4 = construction of a gymnasium
0 - 1 Integer Model Formulation
16
Mixed Integer Model
■ $250,000 available for investments providing greatest return after
one year.
■ Data:
▪ Condo cost $50,000/unit; $9,000 profit if sold after one year.
▪ Land cost $12,000/ acre; $1,500 profit if sold after one year.
▪ Municipal bond cost $8,000/bond; $1,000 profit if sold after
one year.
▪ Only 4 condominiums, 15 acres of land, and 20 municipal bonds
available.
17
Integer Programming Model:
Maximize Z = $9,000x1 + 1,500x2 + 1,000x3
subject to:
50,000x1 + 12,000x2 + 8,000x3  $250,000
x1  4 condos
x2  15 acres
x3  20 bonds
x2  0
x1, x3  0 and integer
x1 = condominiums purchased
x2 = acres of land purchased
x3 = bonds purchased
A Mixed Integer Model: Formulation
18
Linear Program Solution Space
(1.2, 2.4)
x1
x2
LP Optimal Solution
Feasible Solution Space
0
,
6
12
3
4
6
3
S.t.
2
3
Min
2
1
2
1
2
1
2
1
2
1


+

+

+
+
x
x
x
x
x
x
x
x
x
x
19
Integer Program Solution Space
x1
x2
IP Optimal Solution (1, 3)
Feasible solution
Integer
,
0
,
6
12
3
4
6
3
S.t.
2
3
Min
2
1
2
1
2
1
2
1
2
1


+

+

+
+
x
x
x
x
x
x
x
x
x
x
20
▪ Enumeration Techniques
- Exhaustive Enumeration
- Branch and Bound
▪ Cutting Plane Approach
▪ Exhaustive Enumeration
Systematically generate and evaluate all
possible solutions and choose the (feasible)
solution with the optimal (best) value
Solving Integer Linear Programming Problem
21
Exhaustive Enumeration (contd…)
P0: Max 3x1 + 2x2
s.t. x1 + x2 ≤ 3
x1, x2 }
1
,
0
{

P1: Max 3x1 + 2x2
s.t. x1 + x2 ≤ 3
x1 = 1
x2 }
1
,
0
{

P4: Max 3x1 + 2x2
s.t. x1 + x2 ≤ 3
x1 = 1
x2 = 0
P0
P2
P6
P5
P4
P3
P1 x1= 1
x2=?
x1=?
x2=?
x1= 0
x2=?
x1=0
x2=0
x1=1
x2=0
x1=0
x2=1
x1=1
x2=1
Branching
on x1
Branching
on x2
22
x1= 1 x1= 0
x2=1 x2=0
x2=1 x2=0
OBJ Value: 5 3 2 0
➢A way of systematically enumerating a small
fraction (hopefully) of feasible solutions to come
up with the optimal solution.
➢The concept of this method is that of divide and
conquer, where we break down the large difficult
problem into smaller sub-problems.
• 2 mechanisms:
– A mechanism to generate branches when searching
the solution space
– A mechanism to generate a bound so that many
braches can be terminated
Branch and Bound
23
These three basic steps:
➢ Branching
➢ Bounding, and
➢ Fathoming
Branching:
Choose one of the variables whose value will be fixed to create new
subproblems.
Branch and Bound (contd…)
24
Bounding: A bound is an optimistic estimate of the
solution of a problem. Solving the LP relaxation of a
subproblem will yield an optimistic estimate of solution
- In case of Minimization problems, the value of the bound
will be less than the optimal solution (ZLP ≤ Z*)
- In case of Maximization problems, the value of the
bound will be greater than the optimal solution (ZLP ≥ Z*)
A general bound for ILP
The LP relaxation of an ILP is a valid bound for ILP.
Branch and Bound (contd…)
25
FATHOMING CRITERIA
There are three situations that will arise that lets us know when
we no longer need to break down problems.
A subproblem is fathomed if
• Its LP relaxation's optimal solution is integral
• Its bound is worse than the best solution found so far
• Its LP relaxation has no feasible solution
Branch and Bound (contd…)
26
Branch and Bound Algorithm (Maximization Case)
27
Branch and Bound (contd…)
integer
,
;
0
,
45
5
9
6
S.t.
5
8
Max Z
2
1
2
1
2
1
2
1
2
1
x
x
x
x
x
x
x
x
x
x


+

+
+
=
Pure Integer Programming Problem
0
,
45
5
9
6
S.t.
5
8
Max Z
2
1
2
1
2
1
2
1


+

+
+
=
x
x
x
x
x
x
x
x
LP relaxation of the original problem
Subproblem P0:
28
Branch and Bound (contd…)
P0
x1
x2
IP Feasible solution
Optimal Solution for LP Bound for
P0
(3.75, 2.25)
29
0
,
45
5
9
6
S.t.
5
8
Max Z
2
1
2
1
2
1
2
1


+

+
+
=
x
x
x
x
x
x
x
x
Subproblem P0
Branch and Bound (contd…)
LP Bound Solution of P0:
Branching on x1 of P0 creates two subproblems:
P1: P0 + Constraint: x1 ≥ 4
P2: P0 + Constraint: x1 ≤ 3
P0: ZLP=41.25
(x1=3.75, x2=2.25)
30
1 2
1 2
1 2
1 2
Max Z 8 5
S.t. 6
9 5 45
P
, 0
0
x x
x x
x x
x x
= +
+ 
+ 

Branch and Bound (contd…)
x1
x2
P2
P1
Optimal Solution for LP Bound for P1
Optimal Solution for LP Bound for P2
IP Feasible solution
31
Branch and Bound (contd…)
P0: ZLP=41.25
(x1=3.75, x2=2.25)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=41
(x1=4, x2=1.8)
P2: ZLP=39
(x1=3, x2=3)
Fathomed
Branching on x2 of P1 creates two subproblems:
P3: P1 + x2 ≥ 2
P4: P1 + x2 ≤ 1
32
Branch and Bound (contd…)
x1
x2
Optimal Solution for LP Bound for P4
No feasible region for P3: Infeasible solution
P4
IP Feasible solution
33
Branch and Bound (contd…)
P0: ZLP=41.25
(x1=3.75, x2=2.25)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=41
(x1=4, x2=1.8)
P2: ZLP=39
(x1=3, x2=3)
Fathomed
Branching on x1 of P4 creates two subproblems:
P5: P4 + x1 ≥ 5
P6: P4 + x1 ≤ 4
P3: Infeasible
Fathomed
P4: ZLP=40.56
(x1=4.44, x2=1)
x2 ≥ 2 x2 ≤ 1
34
Branch and Bound (contd…)
x1
x2
Optimal Solution for LP Bound for P5
Optimal Solution for LP Bound for P6
35
P0: ZLP=41.25
(x1=3.75, x2=2.25)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=41
(x1=4, x2=1.8)
P2: ZLP=39
(x1=3, x2=3)
Fathomed
P3: Infeasible
Fathomed
P4: ZLP=40.56
(x1=4.44, x2=1)
x2 ≥ 2 x2 ≤ 1
P5: ZLP=40
(x1=5, x2= 0)
Fathomed
P6: ZLP=37
(x1=4, x2=1)
Fathomed
x1 ≥ 5 x1 ≤ 4
Branch and Bound (contd…)
Z* = 40; (x1=5, x2= 0)
36
Another Example: (LP relaxation of the original problem)
Max P0
St Max
St
Bound: LP Relaxation
Problem Selection: Newest Problem (LIFO rule)
Branch and Bound (contd…)
2
1 77
78 x
x
Z +
=
82
4
11 2
1 
+ x
x
77
33
87 2
1 
+
− x
x
2
1, x
x ≥ and integer
37
2
1 77
78 x
x
Z +
=
82
4
11 2
1 
+ x
x
77
33
87 2
1 
+
− x
x
1 2
, 0
x x 
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
Z* = Bound = −M
38
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
x2 ≥ 10 x2 ≤ 9
Z* = Bound = −M
39
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10 x2 ≤ 9
Z* = Bound = −M
40
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x1 ≥ 5 x1 ≤ 4
x2 ≤ 9
Z* = Bound = −M
41
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
x1 ≥ 5 x1 ≤ 4
x2 ≥ 7
x2 ≤ 9
Z* = Bound = −M
42
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
x2 ≥ 7
x2 ≤ 9
Z* = Bound = −M
43
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
x1 ≥ 6 x1 ≤ 5 Z* = Bound = −M
44
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
P7: ZLP=776
(x1=6, x2=4)
FATHOMED
x1 ≥ 6 x1 ≤ 5 Z* = Bound = 776
45
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
P7: ZLP=776
(x1=6, x2=4)
FATHOMED
x1 ≥ 6 x1 ≤ 5
P8: ZLP=852
(x1=5, x2=6)
FATHOMED
Z* = Bound = 852
46
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
P7: ZLP=776
(x1=6, x2=4)
FATHOMED
x1 ≥ 6 x1 ≤ 5
P8: ZLP=852
(x1=5, x2=6)
FATHOMED
P9: ZLP=1005
(x1=4, x2=9)
FATHOMED
Z* = Bound = 1005
47
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
P7: ZLP=776
(x1=6, x2=4)
FATHOMED
x1 ≥ 6 x1 ≤ 5
P8: ZLP=852
(x1=5, x2=6)
FATHOMED
P9: ZLP=1005
(x1=4, x2=9)
FATHOMED
P10: ZLP=1022.7
(x1=3, x2=10.24)
x2 ≤ 10
x2 ≥ 11
Z* = Bound = 1005
48
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
P7: ZLP=776
(x1=6, x2=4)
FATHOMED
x1 ≥ 6 x1 ≤ 5
P8: ZLP=852
(x1=5, x2=6)
FATHOMED
P9: ZLP=1005
(x1=4, x2=9)
FATHOMED
P10: ZLP=1022.7
(x1=3, x2=10.24)
P11: Infeasible
FATHOMED
x2 ≤ 10
x2 ≥ 11
Z* = Bound = 1005
49
Branch and Bound (contd…)
P0: ZLP=1127.4
(x1=3.37, x2=11.22)
x1 ≥ 4 x1 ≤ 3
P1: ZLP=1043.5
(x1=4, x2=9.5)
P2: Infeasible
FATHOMED
x2 ≥ 10
P3: ZLP=1019.2
(x1=4.2, x2=9)
x2 ≤ 6
P4: ZLP=909.8
(x1=5, x2=6.75)
P5: Infeasible
FATHOMED
x1 ≥ 5 x1 ≤ 4
P6: ZLP=873.3
(x1=5.3, x2=6)
x2 ≥ 7
x2 ≤ 9
P7: ZLP=776
(x1=6, x2=4)
FATHOMED
x1 ≥ 6 x1 ≤ 5
P8: ZLP=852
(x1=5, x2=6)
FATHOMED
P9: ZLP=1005
(x1=4, x2=9)
FATHOMED
P10: ZLP=1022.7
(x1=3, x2=10.24)
P11: Infeasible
FATHOMED
P12: ZLP=1004
(x1=3, x2=10)
FATHOMED
x2 ≤ 10
x2 ≥ 11
Z* = Bound = 1005
50
Branch-and-bound: binary integer programs
Modification: When branching on a binary variable xi, which has a fractional value xi*
in the current LP solution, the two new sub-problems are created by setting
xi = 0 and xi = 1.
}
1
,
0
{
,
,
,
0
0
1
10
2
5
3
6
S.t.
4
6
5
9
Max Z
4
3
2
1
4
2
3
1
4
3
4
3
2
1
4
3
2
1


+
−

+
−

+

+
+
+
+
+
+
=
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
LP relaxation of the original problem
Subproblem P0:
Example
4
,
3
,
2
,
1
for
,
1
0
0
0
1
10
2
5
3
6
S.t.
4
6
5
9
Max Z
4
2
3
1
4
3
4
3
2
1
4
3
2
1
=



+
−

+
−

+

+
+
+
+
+
+
=
j
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
j 51
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
Z* = Bound = - M
Branch-and-bound: binary integer programs(Contd…)
52
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = - M
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
Subproblem P1 = ?
Branch-and-bound: binary integer programs(Contd…)
53
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = - M
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
x4 = 1 x4 = 0
Subproblem P2 = ?
Branch-and-bound: binary integer programs(Contd…)
54
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = - M
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
P3: Infeasible
FATHOMED
x4 = 1 x4 = 0
Subproblem P3 = ?
Branch-and-bound: binary integer programs(Contd…)
55
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = - M
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
P3: Infeasible
FATHOMED
x4 = 1 x4 = 0
P4: ZLP=15.2
(x1=1, x2=1, x3=0.2, x4=0)
x3 = 1 x3 = 0
Subproblem P4 = ?
Branch-and-bound: binary integer programs(Contd…)
56
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = - M
Branch-and-bound: binary integer programs
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
P3: Infeasible
FATHOMED
x4 = 1 x4 = 0
P4: ZLP=15.2
(x1=1, x2=1, x3=0.2, x4=0)
x3 = 1 x3 = 0
P5: Infeasible
FATHOMED
Subproblem P5 = ?
57
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = 14
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
P3: Infeasible
FATHOMED
x4 = 1 x4 = 0
P4: ZLP=15.2
(x1=1, x2=1, x3=0.2, x4=0)
x3 = 1 x3 = 0
P5: Infeasible
FATHOMED
P6: ZLP=14
(x1=1, x2=1, x3=0, x4=0)
FATHOMED
Subproblem P6 = ?
Branch-and-bound: binary integer programs(Contd…)
58
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = 14
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
P3: Infeasible
FATHOMED
x4 = 1 x4 = 0
P4: ZLP=15.2
(x1=1, x2=1, x3=0.2, x4=0)
x3 = 1 x3 = 0
P5: Infeasible
FATHOMED
P6: ZLP=14
(x1=1, x2=1, x3=0, x4=0)
FATHOMED
P7: ZLP=13.8
(x1=1, x2=0, x3=0.8, x4=0)
FATHOMED
Subproblem P7 = ?
P7 Fathomed. why?
Branch-and-bound: binary integer programs(Contd…)
59
P0: ZLP=16.5
(x1=0.83, x2=1, x3=0, x4=1)
x1 = 1 x1 = 0
x2 = 1 x2 = 0
Z* = Bound = 14
P1: ZLP=16.2
(x1=1, x2=0.8, x3=0, x4=0.8)
P2: ZLP=16
(x1=1, x2=1, x3=0, x4=0.5)
P3: Infeasible
FATHOMED
x4 = 1 x4 = 0
P4: ZLP=15.2
(x1=1, x2=1, x3=0.2, x4=0)
x3 = 1 x3 = 0
P5: Infeasible
FATHOMED
P6: ZLP=14
(x1=1, x2=1, x3=0, x4=0)
FATHOMED
P7: ZLP=13.8
(x1=1, x2=0, x3=0.8, x4=0)
FATHOMED
P8: ZLP=9
(x1=0, x2=1, x3=0, x4=1)
FATHOMED
Subproblem P8 = ?
Branch-and-bound: binary integer programs(Contd…)
60
Cutting Plane Algorithm
61
62
Optimal Tableau for LP Relaxation
Cut
63
64
Optimal Tableau for LP Relaxation
Optimal Solution for IP

More Related Content

Similar to Integer Programming PPt.ernxzamnbmbmspdf

240591lecture_5_graphical_solution-1688128227959.pptx
240591lecture_5_graphical_solution-1688128227959.pptx240591lecture_5_graphical_solution-1688128227959.pptx
240591lecture_5_graphical_solution-1688128227959.pptxKushaalvarma
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game TheoryPurnima Pandit
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear ProgrammingSukhpalRamanand
 
Optimization Techniques.pdf
Optimization Techniques.pdfOptimization Techniques.pdf
Optimization Techniques.pdfanandsimple
 
LP special cases and Duality.pptx
LP special cases and Duality.pptxLP special cases and Duality.pptx
LP special cases and Duality.pptxSnehal Athawale
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the thesanjaibalajeessn
 
Lp and ip programming cp 9
Lp and ip programming cp 9Lp and ip programming cp 9
Lp and ip programming cp 9M S Prasad
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdfTsegay Berhe
 
Dynamic Programming.pptx
Dynamic Programming.pptxDynamic Programming.pptx
Dynamic Programming.pptxThanga Ramya S
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programmingjyothimonc
 
dynamic programming Rod cutting class
dynamic programming Rod cutting classdynamic programming Rod cutting class
dynamic programming Rod cutting classgiridaroori
 
Backtracking & branch and bound
Backtracking & branch and boundBacktracking & branch and bound
Backtracking & branch and boundVipul Chauhan
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notesTarig Gibreel
 
super vector machines algorithms using deep
super vector machines algorithms using deepsuper vector machines algorithms using deep
super vector machines algorithms using deepKNaveenKumarECE
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Prashant Khandelwal
 

Similar to Integer Programming PPt.ernxzamnbmbmspdf (20)

240591lecture_5_graphical_solution-1688128227959.pptx
240591lecture_5_graphical_solution-1688128227959.pptx240591lecture_5_graphical_solution-1688128227959.pptx
240591lecture_5_graphical_solution-1688128227959.pptx
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Dynamic pgmming
Dynamic pgmmingDynamic pgmming
Dynamic pgmming
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Optimization Techniques.pdf
Optimization Techniques.pdfOptimization Techniques.pdf
Optimization Techniques.pdf
 
LP special cases and Duality.pptx
LP special cases and Duality.pptxLP special cases and Duality.pptx
LP special cases and Duality.pptx
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the the
 
Lp and ip programming cp 9
Lp and ip programming cp 9Lp and ip programming cp 9
Lp and ip programming cp 9
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
 
Linear Programming Review.ppt
Linear Programming Review.pptLinear Programming Review.ppt
Linear Programming Review.ppt
 
Dynamic Programming.pptx
Dynamic Programming.pptxDynamic Programming.pptx
Dynamic Programming.pptx
 
Lenier Equation
Lenier EquationLenier Equation
Lenier Equation
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
dynamic programming Rod cutting class
dynamic programming Rod cutting classdynamic programming Rod cutting class
dynamic programming Rod cutting class
 
Backtracking & branch and bound
Backtracking & branch and boundBacktracking & branch and bound
Backtracking & branch and bound
 
Boyd 4.6, 4.7
Boyd 4.6, 4.7Boyd 4.6, 4.7
Boyd 4.6, 4.7
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notes
 
super vector machines algorithms using deep
super vector machines algorithms using deepsuper vector machines algorithms using deep
super vector machines algorithms using deep
 
Ms(lpgraphicalsoln.)[1]
Ms(lpgraphicalsoln.)[1]Ms(lpgraphicalsoln.)[1]
Ms(lpgraphicalsoln.)[1]
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem
 

More from Raja Manyam

Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptxRaja Manyam
 
science ppt final.pptx
science ppt final.pptxscience ppt final.pptx
science ppt final.pptxRaja Manyam
 
UNIT-1 Material.pdf
UNIT-1 Material.pdfUNIT-1 Material.pdf
UNIT-1 Material.pdfRaja Manyam
 
MEchatronics lab.pptx
MEchatronics lab.pptxMEchatronics lab.pptx
MEchatronics lab.pptxRaja Manyam
 
IEM UNIT 4 PLANT LOCATION.ppt
IEM UNIT 4 PLANT LOCATION.pptIEM UNIT 4 PLANT LOCATION.ppt
IEM UNIT 4 PLANT LOCATION.pptRaja Manyam
 
Organisational_Behavior_OVERALL_PPT_ppt.ppt
Organisational_Behavior_OVERALL_PPT_ppt.pptOrganisational_Behavior_OVERALL_PPT_ppt.ppt
Organisational_Behavior_OVERALL_PPT_ppt.pptRaja Manyam
 
Presentation_about_Fundamentals_Of_Project_Management.ppt
Presentation_about_Fundamentals_Of_Project_Management.pptPresentation_about_Fundamentals_Of_Project_Management.ppt
Presentation_about_Fundamentals_Of_Project_Management.pptRaja Manyam
 

More from Raja Manyam (20)

Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptx
 
DEC.pptx
DEC.pptxDEC.pptx
DEC.pptx
 
WIND ENERGY.pdf
WIND ENERGY.pdfWIND ENERGY.pdf
WIND ENERGY.pdf
 
EMA UNIT-3.pptx
EMA UNIT-3.pptxEMA UNIT-3.pptx
EMA UNIT-3.pptx
 
EMA UNIT-3.pdf
EMA UNIT-3.pdfEMA UNIT-3.pdf
EMA UNIT-3.pdf
 
science ppt final.pptx
science ppt final.pptxscience ppt final.pptx
science ppt final.pptx
 
UNIT-2.pdf
UNIT-2.pdfUNIT-2.pdf
UNIT-2.pdf
 
UNIT-1.pdf
UNIT-1.pdfUNIT-1.pdf
UNIT-1.pdf
 
UNIT-1 Material.pdf
UNIT-1 Material.pdfUNIT-1 Material.pdf
UNIT-1 Material.pdf
 
PPC.pdf
PPC.pdfPPC.pdf
PPC.pdf
 
MEchatronics lab.pptx
MEchatronics lab.pptxMEchatronics lab.pptx
MEchatronics lab.pptx
 
UNIT-3.pptx
UNIT-3.pptxUNIT-3.pptx
UNIT-3.pptx
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 
UNIT-1.pptx
UNIT-1.pptxUNIT-1.pptx
UNIT-1.pptx
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 
1. UNIT-1.pdf
1. UNIT-1.pdf1. UNIT-1.pdf
1. UNIT-1.pdf
 
IEM UNIT 4 PLANT LOCATION.ppt
IEM UNIT 4 PLANT LOCATION.pptIEM UNIT 4 PLANT LOCATION.ppt
IEM UNIT 4 PLANT LOCATION.ppt
 
Organisational_Behavior_OVERALL_PPT_ppt.ppt
Organisational_Behavior_OVERALL_PPT_ppt.pptOrganisational_Behavior_OVERALL_PPT_ppt.ppt
Organisational_Behavior_OVERALL_PPT_ppt.ppt
 
Presentation_about_Fundamentals_Of_Project_Management.ppt
Presentation_about_Fundamentals_Of_Project_Management.pptPresentation_about_Fundamentals_Of_Project_Management.ppt
Presentation_about_Fundamentals_Of_Project_Management.ppt
 
UNIT-3.pdf
UNIT-3.pdfUNIT-3.pdf
UNIT-3.pdf
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 

Integer Programming PPt.ernxzamnbmbmspdf

  • 2. 1. The LP divisibility assumption (fractional solutions are permissible) is not always valid. 2. Binary variables allow powerful new techniques like logical constraints. 3. Many different real-life situations can be modeled as integer programs (IPs). 4. There are efficient algorithms to solve IPs. Why study integer programming? 2
  • 3. Applications • Project Selection Problem (Knapsack Problem) • Facility Location Problem • Fixed Charge Problem • Cutting Stock Problem • Set Covering Problem 3
  • 4. Project Selection Problem (Knapsack Problem) • You have 5 Projects • Your budget is Rs. 18000. Which Projects will you choose so that total net profit is maximized? 4 Project Cost Net profit P1 5000 4000 P2 6000 4500 P3 3500 3000 P4 8000 9500 P5 7500 6400
  • 5. Project Selection: Formulation Decision Variable xi =1, if project Pi is selected 0, otherwise for all i = 1, 2, …,5 Max 4000 x1+ 4500 x2+ 3000 x3+ 9500 x4+ 6400 x5 s.t. 5000 x1+ 6000 x2+ 3500 x3+ 8000 x4+ 7500 x5≤ 18000 xi ∈ {0,1}, for all i = 1, 2, …,5 • Additional Constraints: i. At most three projects can be selected ii. If project 2 is selected then project 1 must be selected iii. If Project 2 is selected then project 4 cannot be selected 5
  • 6. Project Selection: Formulation Decision Variable xi =1, if project Pi is selected 0, otherwise for all i = 1, 2, …,5 Max 4000 x1+ 4500 x2+ 3000 x3+ 9500 x4+ 6400 x5 s.t. 5000 x1+ 6000 x2+ 3500 x3+ 8000 x4+ 7500 x5≤ 18000 xi ∈ {0,1}, for all i = 1, 2, …,5 • Additional Constraints: i. At most three projects can be selected: x1+ x2+ x3+ x4+ x5≤ 3 ii. If project 2 is selected then project 1 must be selected: x2 ≤ x1 iii. If Project 2 is selected then project 4 cannot be selected: x2+x4 ≤ 1 6
  • 7. Rounding down a LP solution is okay in these cases x1 x2 LP optimum IP optimum Increasing objective function value 8
  • 8. You can go wrong here x1 x2 LP optimum IP optimum Increasing objective function value ■ Rounding non-integer solution values up to the nearest integer value can result in an infeasible solution. 9
  • 9. You could go wrong ➢ If you have a particularly pointed feasible region ➢ If you use LP to predict the solution for an IP where variables can have only 0-1 values (Typically in take/leave situations). 10
  • 10. What an Integer Program looks like? Linear Program 0 , 6 12 3 4 6 3 S.t. 2 3 Min 2 1 2 1 2 1 2 1 2 1   +  +  + + x x x x x x x x x x Integer Program Integer , 0 , 6 12 3 4 6 3 S.t. 2 3 Min 2 1 2 1 2 1 2 1 2 1   +  +  + + x x x x x x x x x x 11
  • 11. Binary (or 0-1) IP (xj = 0 or 1) PURE IP (all xj integer) Mixed IP (some xj ≥ 0 & remaining xj integer) Integer Programming (IP) (LP problem + xj are integers) i.e., Integer Linear Programming (ILP) Problem 12
  • 12. Machine Required Floor Space (ft.2 ) Purchase Price Press Lathe 15 30 $8,000 4,000 Pure Integer Model ■ Machine shop obtaining new presses and lathes. ■ Marginal profitability: each press $100/day; each lathe $150/day. ■ Resource constraints: $40,000 budget, 200 sq. ft. floor space. ■ Machine purchase prices and space requirements: 13
  • 13. Pure Integer Model: Formulation Integer Programming Model: Maximize Z = $100x1 + $150x2 subject to: $8,000x1 + 4,000x2  $40,000 15x1 + 30x2  200 ft2 x1, x2  0 and integer x1 = number of presses x2 = number of lathes 14
  • 14. ■ Recreation facilities selection to maximize daily usage by residents. ■ Resource constraints: $120,000 budget; 12 acres of land. ■ Selection constraint: either swimming pool or tennis center (not both). Recreation Facility Expected Usage (people/day) Cost ($) Land Requirement (acres) Swimming pool Tennis Center Athletic field Gymnasium 300 90 400 150 35,000 10,000 25,000 90,000 4 2 7 3 0 - 1 Integer Model 15
  • 15. Integer Programming Model: Maximize Z = 300x1 + 90x2 + 400x3 + 150x4 subject to: $35,000x1 + 10,000x2 + 25,000x3 + 90,000x4  $120,000 4x1 + 2x2 + 7x3 + 3x4  12 acres x1 + x2  1 facility x1, x2, x3, x4 = 0 or 1 x1 = construction of a swimming pool x2 = construction of a tennis center x3 = construction of an athletic field x4 = construction of a gymnasium 0 - 1 Integer Model Formulation 16
  • 16. Mixed Integer Model ■ $250,000 available for investments providing greatest return after one year. ■ Data: ▪ Condo cost $50,000/unit; $9,000 profit if sold after one year. ▪ Land cost $12,000/ acre; $1,500 profit if sold after one year. ▪ Municipal bond cost $8,000/bond; $1,000 profit if sold after one year. ▪ Only 4 condominiums, 15 acres of land, and 20 municipal bonds available. 17
  • 17. Integer Programming Model: Maximize Z = $9,000x1 + 1,500x2 + 1,000x3 subject to: 50,000x1 + 12,000x2 + 8,000x3  $250,000 x1  4 condos x2  15 acres x3  20 bonds x2  0 x1, x3  0 and integer x1 = condominiums purchased x2 = acres of land purchased x3 = bonds purchased A Mixed Integer Model: Formulation 18
  • 18. Linear Program Solution Space (1.2, 2.4) x1 x2 LP Optimal Solution Feasible Solution Space 0 , 6 12 3 4 6 3 S.t. 2 3 Min 2 1 2 1 2 1 2 1 2 1   +  +  + + x x x x x x x x x x 19
  • 19. Integer Program Solution Space x1 x2 IP Optimal Solution (1, 3) Feasible solution Integer , 0 , 6 12 3 4 6 3 S.t. 2 3 Min 2 1 2 1 2 1 2 1 2 1   +  +  + + x x x x x x x x x x 20
  • 20. ▪ Enumeration Techniques - Exhaustive Enumeration - Branch and Bound ▪ Cutting Plane Approach ▪ Exhaustive Enumeration Systematically generate and evaluate all possible solutions and choose the (feasible) solution with the optimal (best) value Solving Integer Linear Programming Problem 21
  • 21. Exhaustive Enumeration (contd…) P0: Max 3x1 + 2x2 s.t. x1 + x2 ≤ 3 x1, x2 } 1 , 0 {  P1: Max 3x1 + 2x2 s.t. x1 + x2 ≤ 3 x1 = 1 x2 } 1 , 0 {  P4: Max 3x1 + 2x2 s.t. x1 + x2 ≤ 3 x1 = 1 x2 = 0 P0 P2 P6 P5 P4 P3 P1 x1= 1 x2=? x1=? x2=? x1= 0 x2=? x1=0 x2=0 x1=1 x2=0 x1=0 x2=1 x1=1 x2=1 Branching on x1 Branching on x2 22 x1= 1 x1= 0 x2=1 x2=0 x2=1 x2=0 OBJ Value: 5 3 2 0
  • 22. ➢A way of systematically enumerating a small fraction (hopefully) of feasible solutions to come up with the optimal solution. ➢The concept of this method is that of divide and conquer, where we break down the large difficult problem into smaller sub-problems. • 2 mechanisms: – A mechanism to generate branches when searching the solution space – A mechanism to generate a bound so that many braches can be terminated Branch and Bound 23
  • 23. These three basic steps: ➢ Branching ➢ Bounding, and ➢ Fathoming Branching: Choose one of the variables whose value will be fixed to create new subproblems. Branch and Bound (contd…) 24
  • 24. Bounding: A bound is an optimistic estimate of the solution of a problem. Solving the LP relaxation of a subproblem will yield an optimistic estimate of solution - In case of Minimization problems, the value of the bound will be less than the optimal solution (ZLP ≤ Z*) - In case of Maximization problems, the value of the bound will be greater than the optimal solution (ZLP ≥ Z*) A general bound for ILP The LP relaxation of an ILP is a valid bound for ILP. Branch and Bound (contd…) 25
  • 25. FATHOMING CRITERIA There are three situations that will arise that lets us know when we no longer need to break down problems. A subproblem is fathomed if • Its LP relaxation's optimal solution is integral • Its bound is worse than the best solution found so far • Its LP relaxation has no feasible solution Branch and Bound (contd…) 26
  • 26. Branch and Bound Algorithm (Maximization Case) 27
  • 27. Branch and Bound (contd…) integer , ; 0 , 45 5 9 6 S.t. 5 8 Max Z 2 1 2 1 2 1 2 1 2 1 x x x x x x x x x x   +  + + = Pure Integer Programming Problem 0 , 45 5 9 6 S.t. 5 8 Max Z 2 1 2 1 2 1 2 1   +  + + = x x x x x x x x LP relaxation of the original problem Subproblem P0: 28
  • 28. Branch and Bound (contd…) P0 x1 x2 IP Feasible solution Optimal Solution for LP Bound for P0 (3.75, 2.25) 29 0 , 45 5 9 6 S.t. 5 8 Max Z 2 1 2 1 2 1 2 1   +  + + = x x x x x x x x Subproblem P0
  • 29. Branch and Bound (contd…) LP Bound Solution of P0: Branching on x1 of P0 creates two subproblems: P1: P0 + Constraint: x1 ≥ 4 P2: P0 + Constraint: x1 ≤ 3 P0: ZLP=41.25 (x1=3.75, x2=2.25) 30 1 2 1 2 1 2 1 2 Max Z 8 5 S.t. 6 9 5 45 P , 0 0 x x x x x x x x = + +  +  
  • 30. Branch and Bound (contd…) x1 x2 P2 P1 Optimal Solution for LP Bound for P1 Optimal Solution for LP Bound for P2 IP Feasible solution 31
  • 31. Branch and Bound (contd…) P0: ZLP=41.25 (x1=3.75, x2=2.25) x1 ≥ 4 x1 ≤ 3 P1: ZLP=41 (x1=4, x2=1.8) P2: ZLP=39 (x1=3, x2=3) Fathomed Branching on x2 of P1 creates two subproblems: P3: P1 + x2 ≥ 2 P4: P1 + x2 ≤ 1 32
  • 32. Branch and Bound (contd…) x1 x2 Optimal Solution for LP Bound for P4 No feasible region for P3: Infeasible solution P4 IP Feasible solution 33
  • 33. Branch and Bound (contd…) P0: ZLP=41.25 (x1=3.75, x2=2.25) x1 ≥ 4 x1 ≤ 3 P1: ZLP=41 (x1=4, x2=1.8) P2: ZLP=39 (x1=3, x2=3) Fathomed Branching on x1 of P4 creates two subproblems: P5: P4 + x1 ≥ 5 P6: P4 + x1 ≤ 4 P3: Infeasible Fathomed P4: ZLP=40.56 (x1=4.44, x2=1) x2 ≥ 2 x2 ≤ 1 34
  • 34. Branch and Bound (contd…) x1 x2 Optimal Solution for LP Bound for P5 Optimal Solution for LP Bound for P6 35
  • 35. P0: ZLP=41.25 (x1=3.75, x2=2.25) x1 ≥ 4 x1 ≤ 3 P1: ZLP=41 (x1=4, x2=1.8) P2: ZLP=39 (x1=3, x2=3) Fathomed P3: Infeasible Fathomed P4: ZLP=40.56 (x1=4.44, x2=1) x2 ≥ 2 x2 ≤ 1 P5: ZLP=40 (x1=5, x2= 0) Fathomed P6: ZLP=37 (x1=4, x2=1) Fathomed x1 ≥ 5 x1 ≤ 4 Branch and Bound (contd…) Z* = 40; (x1=5, x2= 0) 36
  • 36. Another Example: (LP relaxation of the original problem) Max P0 St Max St Bound: LP Relaxation Problem Selection: Newest Problem (LIFO rule) Branch and Bound (contd…) 2 1 77 78 x x Z + = 82 4 11 2 1  + x x 77 33 87 2 1  + − x x 2 1, x x ≥ and integer 37 2 1 77 78 x x Z + = 82 4 11 2 1  + x x 77 33 87 2 1  + − x x 1 2 , 0 x x 
  • 37. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 Z* = Bound = −M 38
  • 38. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) x2 ≥ 10 x2 ≤ 9 Z* = Bound = −M 39
  • 39. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 x2 ≤ 9 Z* = Bound = −M 40
  • 40. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x1 ≥ 5 x1 ≤ 4 x2 ≤ 9 Z* = Bound = −M 41
  • 41. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) x1 ≥ 5 x1 ≤ 4 x2 ≥ 7 x2 ≤ 9 Z* = Bound = −M 42
  • 42. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 x2 ≥ 7 x2 ≤ 9 Z* = Bound = −M 43
  • 43. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 x1 ≥ 6 x1 ≤ 5 Z* = Bound = −M 44
  • 44. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 P7: ZLP=776 (x1=6, x2=4) FATHOMED x1 ≥ 6 x1 ≤ 5 Z* = Bound = 776 45
  • 45. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 P7: ZLP=776 (x1=6, x2=4) FATHOMED x1 ≥ 6 x1 ≤ 5 P8: ZLP=852 (x1=5, x2=6) FATHOMED Z* = Bound = 852 46
  • 46. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 P7: ZLP=776 (x1=6, x2=4) FATHOMED x1 ≥ 6 x1 ≤ 5 P8: ZLP=852 (x1=5, x2=6) FATHOMED P9: ZLP=1005 (x1=4, x2=9) FATHOMED Z* = Bound = 1005 47
  • 47. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 P7: ZLP=776 (x1=6, x2=4) FATHOMED x1 ≥ 6 x1 ≤ 5 P8: ZLP=852 (x1=5, x2=6) FATHOMED P9: ZLP=1005 (x1=4, x2=9) FATHOMED P10: ZLP=1022.7 (x1=3, x2=10.24) x2 ≤ 10 x2 ≥ 11 Z* = Bound = 1005 48
  • 48. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 P7: ZLP=776 (x1=6, x2=4) FATHOMED x1 ≥ 6 x1 ≤ 5 P8: ZLP=852 (x1=5, x2=6) FATHOMED P9: ZLP=1005 (x1=4, x2=9) FATHOMED P10: ZLP=1022.7 (x1=3, x2=10.24) P11: Infeasible FATHOMED x2 ≤ 10 x2 ≥ 11 Z* = Bound = 1005 49
  • 49. Branch and Bound (contd…) P0: ZLP=1127.4 (x1=3.37, x2=11.22) x1 ≥ 4 x1 ≤ 3 P1: ZLP=1043.5 (x1=4, x2=9.5) P2: Infeasible FATHOMED x2 ≥ 10 P3: ZLP=1019.2 (x1=4.2, x2=9) x2 ≤ 6 P4: ZLP=909.8 (x1=5, x2=6.75) P5: Infeasible FATHOMED x1 ≥ 5 x1 ≤ 4 P6: ZLP=873.3 (x1=5.3, x2=6) x2 ≥ 7 x2 ≤ 9 P7: ZLP=776 (x1=6, x2=4) FATHOMED x1 ≥ 6 x1 ≤ 5 P8: ZLP=852 (x1=5, x2=6) FATHOMED P9: ZLP=1005 (x1=4, x2=9) FATHOMED P10: ZLP=1022.7 (x1=3, x2=10.24) P11: Infeasible FATHOMED P12: ZLP=1004 (x1=3, x2=10) FATHOMED x2 ≤ 10 x2 ≥ 11 Z* = Bound = 1005 50
  • 50. Branch-and-bound: binary integer programs Modification: When branching on a binary variable xi, which has a fractional value xi* in the current LP solution, the two new sub-problems are created by setting xi = 0 and xi = 1. } 1 , 0 { , , , 0 0 1 10 2 5 3 6 S.t. 4 6 5 9 Max Z 4 3 2 1 4 2 3 1 4 3 4 3 2 1 4 3 2 1   + −  + −  +  + + + + + + = x x x x x x x x x x x x x x x x x x LP relaxation of the original problem Subproblem P0: Example 4 , 3 , 2 , 1 for , 1 0 0 0 1 10 2 5 3 6 S.t. 4 6 5 9 Max Z 4 2 3 1 4 3 4 3 2 1 4 3 2 1 =    + −  + −  +  + + + + + + = j x x x x x x x x x x x x x x x j 51
  • 51. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 Z* = Bound = - M Branch-and-bound: binary integer programs(Contd…) 52
  • 52. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = - M P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) Subproblem P1 = ? Branch-and-bound: binary integer programs(Contd…) 53
  • 53. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = - M P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) x4 = 1 x4 = 0 Subproblem P2 = ? Branch-and-bound: binary integer programs(Contd…) 54
  • 54. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = - M P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) P3: Infeasible FATHOMED x4 = 1 x4 = 0 Subproblem P3 = ? Branch-and-bound: binary integer programs(Contd…) 55
  • 55. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = - M P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) P3: Infeasible FATHOMED x4 = 1 x4 = 0 P4: ZLP=15.2 (x1=1, x2=1, x3=0.2, x4=0) x3 = 1 x3 = 0 Subproblem P4 = ? Branch-and-bound: binary integer programs(Contd…) 56
  • 56. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = - M Branch-and-bound: binary integer programs P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) P3: Infeasible FATHOMED x4 = 1 x4 = 0 P4: ZLP=15.2 (x1=1, x2=1, x3=0.2, x4=0) x3 = 1 x3 = 0 P5: Infeasible FATHOMED Subproblem P5 = ? 57
  • 57. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = 14 P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) P3: Infeasible FATHOMED x4 = 1 x4 = 0 P4: ZLP=15.2 (x1=1, x2=1, x3=0.2, x4=0) x3 = 1 x3 = 0 P5: Infeasible FATHOMED P6: ZLP=14 (x1=1, x2=1, x3=0, x4=0) FATHOMED Subproblem P6 = ? Branch-and-bound: binary integer programs(Contd…) 58
  • 58. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = 14 P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) P3: Infeasible FATHOMED x4 = 1 x4 = 0 P4: ZLP=15.2 (x1=1, x2=1, x3=0.2, x4=0) x3 = 1 x3 = 0 P5: Infeasible FATHOMED P6: ZLP=14 (x1=1, x2=1, x3=0, x4=0) FATHOMED P7: ZLP=13.8 (x1=1, x2=0, x3=0.8, x4=0) FATHOMED Subproblem P7 = ? P7 Fathomed. why? Branch-and-bound: binary integer programs(Contd…) 59
  • 59. P0: ZLP=16.5 (x1=0.83, x2=1, x3=0, x4=1) x1 = 1 x1 = 0 x2 = 1 x2 = 0 Z* = Bound = 14 P1: ZLP=16.2 (x1=1, x2=0.8, x3=0, x4=0.8) P2: ZLP=16 (x1=1, x2=1, x3=0, x4=0.5) P3: Infeasible FATHOMED x4 = 1 x4 = 0 P4: ZLP=15.2 (x1=1, x2=1, x3=0.2, x4=0) x3 = 1 x3 = 0 P5: Infeasible FATHOMED P6: ZLP=14 (x1=1, x2=1, x3=0, x4=0) FATHOMED P7: ZLP=13.8 (x1=1, x2=0, x3=0.8, x4=0) FATHOMED P8: ZLP=9 (x1=0, x2=1, x3=0, x4=1) FATHOMED Subproblem P8 = ? Branch-and-bound: binary integer programs(Contd…) 60
  • 61. 62 Optimal Tableau for LP Relaxation Cut
  • 62. 63
  • 63. 64 Optimal Tableau for LP Relaxation Optimal Solution for IP