Chapter One
Chapter One
1.1 introduction
Optimization consists linear and non linear programming problems. Under linear
programming problem , the decision variables may take continuous or discrete values.
Integer programming problem is when the decision variables take discrete value.
Integer programming (IP) is an LP in which some or all values of decision variables are
integer ( discrete).
There are three types of integer programming problems.
1) Pure integer programming
An IP in which all the values of decision variable must be integer.
Optimize Z = Cx
s.t Ax = B, x
Ex maximize Z= 3x + 4y
S.t 2x + y 12
x- y 8 x ,y
Integer programming
2. Mixed integer programming problem
Optimize Z= C xi
s.t A xi = B, i = 1,2,3,……n xi for i = 1,2,3,….m (m < n)
Ex maximize Z= 3x + 4y
S.t 2x + y 12
x- y 8 x
3. Binary integer programming problem
Optimize Z= Cx
s.t Ax = B x ,y {0,1}
Ex maximize Z= 3x + 4y
S.t 2x + 10y 12
x- y 8 x ,y {0,1}
Note that 1 and 2 can also have binary solution.
Challenge: compare and contrast the three types of IP above.
Integer programming
00-04 5
04-08 10
08-12 20
12-16 12
16-20 22
20-24 8
According to the shift schedule a driver may join for duty at mid
night, 04, 08, 12, 16, and 20hrs and work continuously for 8hrs.
Formulate the problem as LP model for optimal shift plan.
Integer programming
3. Five projects are launched by Du staff for being evaluated over
3 years planning horizon. The table below is with expected
returns for each project and the associated yearly
expenditures. Which projects should be selected over the 3
year horizon?
Expenditure in thousands of $ per year Returns in
Year 1 2 3 thousands of $
Project
1 5 1 8 20
2 4 7 10 40
3 3 9 2 20
4 7 4 1 15
5 8 6 10 30
Available funds 25 25 25 -
thousands of $
METHODS OF SOLVING IP
BRANCH AND BOUND METHOD
Procedure
• Solve LPPR
• Find the upper and lower bound of objective
function
• Branch the value of a basic variable if the value
is not integer
• Check the feasibility of each branch
• Solve each branch by simplex for feasible
branches by LPPR approach
Some terms in branch and bound method
Relaxation: Assuming the values of all the decision variables are not integer.
Branch: If the optimal solution of LPPR is not integer, we partition the original
problem in to some other smaller IP problems which is known as branch.
Bound: For each branch, we compute the maximum and minimum values of the
objective function which is the lower or upper bound of the optimal value of the
original problem. If the problem is maximization the optimal value of IP is less than
or equal to the upper bound whereas the optimal value of IP is greater than or
equal to the lower bound, if the problem is minimization.
0 S1 3 1 0 0 12 4
0 S2 1 1 0 1 5 5
Zj 0 0 0 0 0
Cj-Zj 5 2 0 0
Branch and bound method
Cj 5 2 0 0
cbv bv X1 X2 S1 S2 RHS R
5 X1 1 1/3 1/3 0 4 12
0 S2 0 2/3 -1/3 1 1 3/2
Zj 5 5/3 5/3 0 20
Cj-Zj 0 1/3 -5/3 0
5 X1 1 0 1/2 -1/2 7/2
2 X2 0 1 -1/2 3/2 3/2
Zj 5 2 3/2 1/2 41/2
Cj-Zj 0 0 -3/2 -1/2
Branch and bound
bv x1 x2 S1 S2 RHS
S1 3 1 1 0 12
S2 1 1 0 1 5
Z -5 -2 0 0 0
x1 1 1/3 1/3 0 4
S2 0 2/3 -1/3 1 1
Z 0 -1/3 5/3 0 20
x1 1 0 1/2 -1/2 7/2
x2 0 1 -1/2 3/2 3/2
Z 0 0 3/2 1/2 41/2
Cutting plane method
basis x1 x2 S1 S2 S3 RHS
x1 1 0 ½ -1/2 0 7/2
x2 0 1 -1/2 3/2 0 3/2
S3 0 0 -1/2 -1/2 1 -1/2
Z 0 0 3/2 ½ 0 41/2
x1 1 0 1 0 -1 4
x2 0 1 -2 0 3 0
S2 0 0 1 1 -2 1
Z 0 0 1 0 1 20