SlideShare a Scribd company logo
10
Most read
11
Most read
12
Most read
Chapter Four
Integer Programming
By;-Dagnaygebaw Goshme (MSc.)
4.1.Need For Integer Programming
Integer:-Values such as 0, 1, 2, 3, etc. are perfectly
valid for these variables as long as these values
satisfy all model constraints.)
In LPP all the decision variables were allowed to take
any non-negative values as it is quite possible and
appropriate to have fractional values in many
situations.
However, there are several conditions in business
and industry that lead to planning models involving
integer valued variables.
That is, many practical problems involve decision
variables that must be integer valued.
There are cases that the fractional values of
variables may be meaningless in the context of
the actual decision problem.
For example:
In production, manufacturing is frequently scheduled
interims of discrete quantities like labor, tables, chairs,
machines …
Production of livestock involves discrete number of
animals
Integer programming models require all of the
assumptions implicit in linear programming
models except that certain specific variables must be
integer valued.
When all the variables are constrained to be
integers, it is called a pure-integer programming
model, and
In case only some of the variables are restricted
to have integer values, the problem is said to be a
mixed-integer programming problem.
There are two methods used to solve IPP, namely
1.Gomory’s fractional cut method
2. Branch and bound method (search method)
1. Gomory’s Fractional Cut Method
This method consists of first solving the IPP as an
ordinary LPP by ignoring the restriction of integer
values
introducing a new constraint to the problem such
that the new set of feasible solution includes all the
original feasible integer solution, but does not
include the optimum non-integer solution initially
found.
This new constraint is called Fractional Cut or
Gomorian constraint.
Then the revised problem is solved using simplex till an
optimal integer solution is obtained.
Gomory’s Fractional Cut Method involves the
following steps:
1st. Solve the IPP as an ordinary LPP by ignoring the
restriction of integer values
2nd .Test the integrality of the optimum solution.
If all Xbi ≥ 0 and are integers, an optimum
integer solution is obtained
If at least one bi is not an integer then go to the
next step
3rd .Select the source row
If only one Xbi is non-integer, the row
corresponding to non-integer solution will be the
source row
If more than one Xbi is non-integer, choose the
row having the largest fractional part (fi) as a
source row.
In this case write each Xbi as (Xbi = xbi +fi):
Where xbi is integer part of Xbi (solution) and fi
is the positive fractional part of Xbi. 0< fi<1
If there is a tie when two or more rows have the
same positive larger fi), select arbitrarily.
4th.Find the new constraint (Gomorian constraint) from the
source row.
i. ∑aijXj = Xbi
ii.∑((aij)+fi)Xj = xbi +fi
iii. ∑fiXj ≥ fi
iv.∑(-fi)Xj ≤ -fi
v. ∑ (-fi)Xj + Gi = -fi Gomorian constraint and G is
Gomorian slack.
5th .Add the new (Gomorian) constraint at the bottom of the
simplex table obtained in step 1 and find the new feasible
solution.
Note that Gomorian slack enter in to the objective function with
zero coefficient
6th. Test the integrality of the new solution
Again if at least one Xbi (solution) is not an integer, go to step 3
and repeat the procedure until an optimal integer solution is
obtained.
Example: Find the optimal integer solution for the
following LPP
Max Z = x1+x2
Subject to:
3x1 + 2x2 ≤ 5,
x2≤ 2,
x1, x2 ≥ 0 and are integers
Solution
1st. Solve the IPP as an ordinary LPP by ignoring the
restriction of integer values
Max Z = x1+x2 + 0s1+0s2
Subject to:
3x1 + 2x2 +s1= 5,
x2 +s2= 2,
x1, x2 , s1, s2 ≥ 0 and are integers
Unit.4.integer programming
2nd.Test the integrality of the optimum solution.
The solution is x1 =1/3, x2=2 and Z=7/3. Since x1
=1/3 is non-integer solution so that the current
feasible solution is not optimal integer solution.
3rd. Select the source row.  The row corresponding
to non-integer solution.
x1 + 1/3s1- 2/3s2 = 1/3,
4th.Find the new constraint (Gomorian constraint)
from the source row.
x1 + 1/3s1- 2/3s2 = 1/3,
(1+0) x1 + (0+1/3) s1 + (-1+ 1/3) s2 = 0+1/3, and
eliminate the integer part
1/3s1+1/3s2 ≥ 1/3
-1/3s1-1/3s2 ≤ -1/3
-1/3s1-1/3s2 +G1= -1/3Gomorian constraint and G is
Gomorian slack.
5th.Add the new (Gomorian) constraint at the bottom
of the simplex table obtained in step 1 and find the
new feasible solution.
The solution is not feasible because the solution (G1=-1/3) is –ve. Therefore, G1 will leave
the base.
Select the new constraint as a pivot row. In order to select the entering variable, use:
)
0
,
( 

ij
ij
j
a
a
Max
Entering variable is known by
dividing
Zj-Cj /aij in G raw and fimally sellect
maximum value variable
Row operation is applied .
Since all ∆j ≥ 0 and all Xbi ≥ 0 and are integers, the
current feasible solution is optimal integer solution.
Therefore, the solution is x1=0, x2=2 and Z=2
2. Branch and bound method (search
method)
Reading assignment
………………..

More Related Content

PPTX
Sensitivity analysis linear programming copy
PPT
Linear Programming 1
PDF
Chapter 4 Simplex Method ppt
PDF
linear programming
PPTX
primal and dual problem
PPTX
LP special cases and Duality.pptx
DOCX
Simplex method - Maximisation Case
PDF
Duality in Linear Programming Problem
Sensitivity analysis linear programming copy
Linear Programming 1
Chapter 4 Simplex Method ppt
linear programming
primal and dual problem
LP special cases and Duality.pptx
Simplex method - Maximisation Case
Duality in Linear Programming Problem

What's hot (20)

PPTX
Integer Linear Programming
PDF
Integer programming
PDF
Integer Programming, Gomory
PPT
Simplex Method
PDF
Integer Programming, Goal Programming, and Nonlinear Programming
PPT
4-The Simplex Method.ppt
PDF
Unit.3. duality and sensetivity analisis
PDF
3. linear programming senstivity analysis
PPT
simplex method
PPTX
Operations Research - The Dual Simplex Method
PPTX
NON LINEAR PROGRAMMING
PPT
simplex method
PPTX
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
PPT
Simplex method
PPTX
Duality in Linear Programming
PPTX
Simplex method concept,
PPT
Graphical Method
PPTX
linear programming
PDF
Simplex method
PPT
Mba i qt unit-1.3_linear programming in om
Integer Linear Programming
Integer programming
Integer Programming, Gomory
Simplex Method
Integer Programming, Goal Programming, and Nonlinear Programming
4-The Simplex Method.ppt
Unit.3. duality and sensetivity analisis
3. linear programming senstivity analysis
simplex method
Operations Research - The Dual Simplex Method
NON LINEAR PROGRAMMING
simplex method
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Simplex method
Duality in Linear Programming
Simplex method concept,
Graphical Method
linear programming
Simplex method
Mba i qt unit-1.3_linear programming in om
Ad

Similar to Unit.4.integer programming (20)

PPT
ippseminar
PDF
Gomory's cutting plane method
PDF
Integer Programming - MNIT Jaipur - Taha et al
 
PPTX
Linear mixed integer programs for chemical engineering
PDF
A Decomposition Technique For Solving Integer Programming Problems
PDF
Chapter 6-INTEGER PROGRAMMING note.pdf
PDF
Optimum Engineering Design - Day 4 - Clasical methods of optimization
DOCX
Mb0048 operations research
PDF
Integer Programming PPt.ernxzamnbmbmspdf
PDF
An algorithm for solving integer linear programming problems
PDF
An algorithm for solving integer linear programming problems
PDF
An algorithm for solving integer linear programming problems
PDF
An algorithm for solving integer linear programming
PDF
Optimum Solution of Quadratic Programming Problem: By Wolfe’s Modified Simple...
PDF
Chapter 3.Simplex Method hand out last.pdf
PPT
Simplex Method for Linear Programming - Operations Research
 
PPTX
MFCS2-Module1.pptx
PPTX
performance management and Resource optimization part-2.pptx
PPTX
Solution of LPP by Simplex Method with Examples
PDF
Kolev skalna2018 article-exact_solutiontoa_parametricline
ippseminar
Gomory's cutting plane method
Integer Programming - MNIT Jaipur - Taha et al
 
Linear mixed integer programs for chemical engineering
A Decomposition Technique For Solving Integer Programming Problems
Chapter 6-INTEGER PROGRAMMING note.pdf
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Mb0048 operations research
Integer Programming PPt.ernxzamnbmbmspdf
An algorithm for solving integer linear programming problems
An algorithm for solving integer linear programming problems
An algorithm for solving integer linear programming problems
An algorithm for solving integer linear programming
Optimum Solution of Quadratic Programming Problem: By Wolfe’s Modified Simple...
Chapter 3.Simplex Method hand out last.pdf
Simplex Method for Linear Programming - Operations Research
 
MFCS2-Module1.pptx
performance management and Resource optimization part-2.pptx
Solution of LPP by Simplex Method with Examples
Kolev skalna2018 article-exact_solutiontoa_parametricline
Ad

Recently uploaded (20)

PPTX
kyc aml guideline a detailed pt onthat.pptx
PDF
Topic Globalisation and Lifelines of National Economy.pdf
PPTX
Basic Concepts of Economics.pvhjkl;vbjkl;ptx
PPT
E commerce busin and some important issues
PDF
Bitcoin Layer August 2025: Power Laws of Bitcoin: The Core and Bubbles
PDF
Understanding University Research Expenditures (1)_compressed.pdf
PPTX
fastest_growing_sectors_in_india_2025.pptx
PDF
financing insitute rbi nabard adb imf world bank insurance and credit gurantee
PDF
Blockchain Pesa Research by Samuel Mefane
PDF
NAPF_RESPONSE_TO_THE_PENSIONS_COMMISSION_8 _2_.pdf
PDF
Dr Tran Quoc Bao the first Vietnamese speaker at GITEX DigiHealth Conference ...
PDF
Predicting Customer Bankruptcy Using Machine Learning Algorithm research pape...
PPTX
Unilever_Financial_Analysis_Presentation.pptx
PPTX
How best to drive Metrics, Ratios, and Key Performance Indicators
PPTX
Antihypertensive_Drugs_Presentation_Poonam_Painkra.pptx
PDF
Spending, Allocation Choices, and Aging THROUGH Retirement. Are all of these ...
PDF
caregiving tools.pdf...........................
PDF
Dialnet-DynamicHedgingOfPricesOfNaturalGasInMexico-8788871.pdf
PPTX
The discussion on the Economic in transportation .pptx
PDF
Circular Flow of Income by Dr. S. Malini
kyc aml guideline a detailed pt onthat.pptx
Topic Globalisation and Lifelines of National Economy.pdf
Basic Concepts of Economics.pvhjkl;vbjkl;ptx
E commerce busin and some important issues
Bitcoin Layer August 2025: Power Laws of Bitcoin: The Core and Bubbles
Understanding University Research Expenditures (1)_compressed.pdf
fastest_growing_sectors_in_india_2025.pptx
financing insitute rbi nabard adb imf world bank insurance and credit gurantee
Blockchain Pesa Research by Samuel Mefane
NAPF_RESPONSE_TO_THE_PENSIONS_COMMISSION_8 _2_.pdf
Dr Tran Quoc Bao the first Vietnamese speaker at GITEX DigiHealth Conference ...
Predicting Customer Bankruptcy Using Machine Learning Algorithm research pape...
Unilever_Financial_Analysis_Presentation.pptx
How best to drive Metrics, Ratios, and Key Performance Indicators
Antihypertensive_Drugs_Presentation_Poonam_Painkra.pptx
Spending, Allocation Choices, and Aging THROUGH Retirement. Are all of these ...
caregiving tools.pdf...........................
Dialnet-DynamicHedgingOfPricesOfNaturalGasInMexico-8788871.pdf
The discussion on the Economic in transportation .pptx
Circular Flow of Income by Dr. S. Malini

Unit.4.integer programming

  • 2. 4.1.Need For Integer Programming Integer:-Values such as 0, 1, 2, 3, etc. are perfectly valid for these variables as long as these values satisfy all model constraints.) In LPP all the decision variables were allowed to take any non-negative values as it is quite possible and appropriate to have fractional values in many situations. However, there are several conditions in business and industry that lead to planning models involving integer valued variables. That is, many practical problems involve decision variables that must be integer valued.
  • 3. There are cases that the fractional values of variables may be meaningless in the context of the actual decision problem. For example: In production, manufacturing is frequently scheduled interims of discrete quantities like labor, tables, chairs, machines … Production of livestock involves discrete number of animals Integer programming models require all of the assumptions implicit in linear programming models except that certain specific variables must be integer valued.
  • 4. When all the variables are constrained to be integers, it is called a pure-integer programming model, and In case only some of the variables are restricted to have integer values, the problem is said to be a mixed-integer programming problem. There are two methods used to solve IPP, namely 1.Gomory’s fractional cut method 2. Branch and bound method (search method)
  • 5. 1. Gomory’s Fractional Cut Method This method consists of first solving the IPP as an ordinary LPP by ignoring the restriction of integer values introducing a new constraint to the problem such that the new set of feasible solution includes all the original feasible integer solution, but does not include the optimum non-integer solution initially found. This new constraint is called Fractional Cut or Gomorian constraint. Then the revised problem is solved using simplex till an optimal integer solution is obtained.
  • 6. Gomory’s Fractional Cut Method involves the following steps: 1st. Solve the IPP as an ordinary LPP by ignoring the restriction of integer values 2nd .Test the integrality of the optimum solution. If all Xbi ≥ 0 and are integers, an optimum integer solution is obtained If at least one bi is not an integer then go to the next step
  • 7. 3rd .Select the source row If only one Xbi is non-integer, the row corresponding to non-integer solution will be the source row If more than one Xbi is non-integer, choose the row having the largest fractional part (fi) as a source row. In this case write each Xbi as (Xbi = xbi +fi): Where xbi is integer part of Xbi (solution) and fi is the positive fractional part of Xbi. 0< fi<1 If there is a tie when two or more rows have the same positive larger fi), select arbitrarily.
  • 8. 4th.Find the new constraint (Gomorian constraint) from the source row. i. ∑aijXj = Xbi ii.∑((aij)+fi)Xj = xbi +fi iii. ∑fiXj ≥ fi iv.∑(-fi)Xj ≤ -fi v. ∑ (-fi)Xj + Gi = -fi Gomorian constraint and G is Gomorian slack. 5th .Add the new (Gomorian) constraint at the bottom of the simplex table obtained in step 1 and find the new feasible solution. Note that Gomorian slack enter in to the objective function with zero coefficient 6th. Test the integrality of the new solution Again if at least one Xbi (solution) is not an integer, go to step 3 and repeat the procedure until an optimal integer solution is obtained.
  • 9. Example: Find the optimal integer solution for the following LPP Max Z = x1+x2 Subject to: 3x1 + 2x2 ≤ 5, x2≤ 2, x1, x2 ≥ 0 and are integers Solution 1st. Solve the IPP as an ordinary LPP by ignoring the restriction of integer values Max Z = x1+x2 + 0s1+0s2 Subject to: 3x1 + 2x2 +s1= 5, x2 +s2= 2, x1, x2 , s1, s2 ≥ 0 and are integers
  • 11. 2nd.Test the integrality of the optimum solution. The solution is x1 =1/3, x2=2 and Z=7/3. Since x1 =1/3 is non-integer solution so that the current feasible solution is not optimal integer solution. 3rd. Select the source row.  The row corresponding to non-integer solution. x1 + 1/3s1- 2/3s2 = 1/3,
  • 12. 4th.Find the new constraint (Gomorian constraint) from the source row. x1 + 1/3s1- 2/3s2 = 1/3, (1+0) x1 + (0+1/3) s1 + (-1+ 1/3) s2 = 0+1/3, and eliminate the integer part 1/3s1+1/3s2 ≥ 1/3 -1/3s1-1/3s2 ≤ -1/3 -1/3s1-1/3s2 +G1= -1/3Gomorian constraint and G is Gomorian slack. 5th.Add the new (Gomorian) constraint at the bottom of the simplex table obtained in step 1 and find the new feasible solution.
  • 13. The solution is not feasible because the solution (G1=-1/3) is –ve. Therefore, G1 will leave the base. Select the new constraint as a pivot row. In order to select the entering variable, use: ) 0 , (   ij ij j a a Max Entering variable is known by dividing Zj-Cj /aij in G raw and fimally sellect maximum value variable
  • 14. Row operation is applied . Since all ∆j ≥ 0 and all Xbi ≥ 0 and are integers, the current feasible solution is optimal integer solution. Therefore, the solution is x1=0, x2=2 and Z=2
  • 15. 2. Branch and bound method (search method) Reading assignment ………………..