SlideShare a Scribd company logo
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
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

What's hot

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
Dronak Sahu
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
Mayurkumarpatil1
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
DagnaygebawGoshme
 
Module 3 lp-simplex
Module 3 lp-simplexModule 3 lp-simplex
Module 3 lp-simplex
raajeeradha
 
Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex methodShivek Khurana
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
SukhpalRamanand
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
Kamel Attar
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
Divyansh Verma
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
kzoe1996
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
RAVI PRASAD K.J.
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
DagnaygebawGoshme
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
karishma gupta
 
Simplex Method.pptx
Simplex Method.pptxSimplex Method.pptx
Simplex Method.pptx
byuvashreeitITDept
 
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
Salah A. Skaik - MBA-PMP®
 
Operations research
Operations researchOperations research
Operations research
Rosmary Mendoza
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
Shivani Gautam
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
Dereje Tigabu
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical MethodJoseph Konnully
 
Nonlinear programming 2013
Nonlinear programming 2013Nonlinear programming 2013
Nonlinear programming 2013sharifz
 

What's hot (20)

Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Module 3 lp-simplex
Module 3 lp-simplexModule 3 lp-simplex
Module 3 lp-simplex
 
Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex method
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Simplex Method.pptx
Simplex Method.pptxSimplex Method.pptx
Simplex Method.pptx
 
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
 
Operations research
Operations researchOperations research
Operations research
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
Nonlinear programming 2013
Nonlinear programming 2013Nonlinear programming 2013
Nonlinear programming 2013
 

Similar to Unit.4.integer programming

Balaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptBalaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.ppt
gokulkumaraguru8
 
Balaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.pptBalaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.ppt
JamesGreen666883
 
Daa chapter4
Daa chapter4Daa chapter4
Daa chapter4
B.Kirron Reddi
 
376951072-3-Greedy-Method-new-ppt.ppt
376951072-3-Greedy-Method-new-ppt.ppt376951072-3-Greedy-Method-new-ppt.ppt
376951072-3-Greedy-Method-new-ppt.ppt
RohitPaul71
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
Tsegay Berhe
 
Deep learning Unit1 BasicsAllllllll.pptx
Deep learning Unit1 BasicsAllllllll.pptxDeep learning Unit1 BasicsAllllllll.pptx
Deep learning Unit1 BasicsAllllllll.pptx
FreefireGarena30
 
Solving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptxSolving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptx
mahnish khatri
 
Global Optimization with Descending Region Algorithm
Global Optimization with Descending Region AlgorithmGlobal Optimization with Descending Region Algorithm
Global Optimization with Descending Region Algorithm
Loc Nguyen
 
BranchandBoundAlgorithms[1].ppt
BranchandBoundAlgorithms[1].pptBranchandBoundAlgorithms[1].ppt
BranchandBoundAlgorithms[1].ppt
chetanvchaudhari
 
simplex method
simplex methodsimplex method
simplex method
Karishma Chaudhary
 
02.03 Artificial Intelligence: Search by Optimization
02.03 Artificial Intelligence: Search by Optimization02.03 Artificial Intelligence: Search by Optimization
02.03 Artificial Intelligence: Search by Optimization
Andres Mendez-Vazquez
 
Unit 4
Unit 4Unit 4
Unit 4
guna287176
 
Simplex method material for operation .pptx
Simplex method material for operation .pptxSimplex method material for operation .pptx
Simplex method material for operation .pptx
bizuayehuadmasu1
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1irsa javed
 
linear programming
linear programming linear programming
linear programming
DagnaygebawGoshme
 
Lecture 8 dynamic programming
Lecture 8 dynamic programmingLecture 8 dynamic programming
Lecture 8 dynamic programmingOye Tu
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
Pulchowk Campus
 

Similar to Unit.4.integer programming (20)

Balaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptBalaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.ppt
 
Balaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.pptBalaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.ppt
 
Daa chapter4
Daa chapter4Daa chapter4
Daa chapter4
 
376951072-3-Greedy-Method-new-ppt.ppt
376951072-3-Greedy-Method-new-ppt.ppt376951072-3-Greedy-Method-new-ppt.ppt
376951072-3-Greedy-Method-new-ppt.ppt
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
 
Deep learning Unit1 BasicsAllllllll.pptx
Deep learning Unit1 BasicsAllllllll.pptxDeep learning Unit1 BasicsAllllllll.pptx
Deep learning Unit1 BasicsAllllllll.pptx
 
Solving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptxSolving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptx
 
Global Optimization with Descending Region Algorithm
Global Optimization with Descending Region AlgorithmGlobal Optimization with Descending Region Algorithm
Global Optimization with Descending Region Algorithm
 
BranchandBoundAlgorithms[1].ppt
BranchandBoundAlgorithms[1].pptBranchandBoundAlgorithms[1].ppt
BranchandBoundAlgorithms[1].ppt
 
simplex method
simplex methodsimplex method
simplex method
 
02.03 Artificial Intelligence: Search by Optimization
02.03 Artificial Intelligence: Search by Optimization02.03 Artificial Intelligence: Search by Optimization
02.03 Artificial Intelligence: Search by Optimization
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4
Unit 4Unit 4
Unit 4
 
Or lpp
Or lppOr lpp
Or lpp
 
Simplex method material for operation .pptx
Simplex method material for operation .pptxSimplex method material for operation .pptx
Simplex method material for operation .pptx
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
linear programming
linear programming linear programming
linear programming
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
Lecture 8 dynamic programming
Lecture 8 dynamic programmingLecture 8 dynamic programming
Lecture 8 dynamic programming
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 

Recently uploaded

Proposer Builder Separation Problem in Ethereum
Proposer Builder Separation Problem in EthereumProposer Builder Separation Problem in Ethereum
Proposer Builder Separation Problem in Ethereum
RasoulRamezanian1
 
how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.
DOT TECH
 
Chương 6. Ancol - phenol - ether (1).pdf
Chương 6. Ancol - phenol - ether (1).pdfChương 6. Ancol - phenol - ether (1).pdf
Chương 6. Ancol - phenol - ether (1).pdf
va2132004
 
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdfWhich Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
Kezex (KZX)
 
The European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population agingThe European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population aging
GRAPE
 
what is a pi whale and how to access one.
what is a pi whale and how to access one.what is a pi whale and how to access one.
what is a pi whale and how to access one.
DOT TECH
 
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
Falcon Invoice Discounting
 
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
Amil baba
 
Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024
Commercial Bank of Ceylon PLC
 
how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.
DOT TECH
 
一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理
一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理
一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理
ydubwyt
 
Summary of financial results for 1Q2024
Summary of financial  results for 1Q2024Summary of financial  results for 1Q2024
Summary of financial results for 1Q2024
InterCars
 
how can I sell pi coins after successfully completing KYC
how can I sell pi coins after successfully completing KYChow can I sell pi coins after successfully completing KYC
how can I sell pi coins after successfully completing KYC
DOT TECH
 
NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad, Mandi Bah...
NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad,  Mandi Bah...NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad,  Mandi Bah...
NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad, Mandi Bah...
Amil Baba Dawood bangali
 
USDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptxUSDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptx
marketing367770
 
when will pi network coin be available on crypto exchange.
when will pi network coin be available on crypto exchange.when will pi network coin be available on crypto exchange.
when will pi network coin be available on crypto exchange.
DOT TECH
 
how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.
DOT TECH
 
Introduction to Indian Financial System ()
Introduction to Indian Financial System ()Introduction to Indian Financial System ()
Introduction to Indian Financial System ()
Avanish Goel
 
Webinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont BraunWebinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont Braun
FinTech Belgium
 
655264371-checkpoint-science-past-papers-april-2023.pdf
655264371-checkpoint-science-past-papers-april-2023.pdf655264371-checkpoint-science-past-papers-april-2023.pdf
655264371-checkpoint-science-past-papers-april-2023.pdf
morearsh02
 

Recently uploaded (20)

Proposer Builder Separation Problem in Ethereum
Proposer Builder Separation Problem in EthereumProposer Builder Separation Problem in Ethereum
Proposer Builder Separation Problem in Ethereum
 
how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.
 
Chương 6. Ancol - phenol - ether (1).pdf
Chương 6. Ancol - phenol - ether (1).pdfChương 6. Ancol - phenol - ether (1).pdf
Chương 6. Ancol - phenol - ether (1).pdf
 
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdfWhich Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
 
The European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population agingThe European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population aging
 
what is a pi whale and how to access one.
what is a pi whale and how to access one.what is a pi whale and how to access one.
what is a pi whale and how to access one.
 
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
 
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
 
Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024
 
how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.
 
一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理
一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理
一比一原版BCU毕业证伯明翰城市大学毕业证成绩单如何办理
 
Summary of financial results for 1Q2024
Summary of financial  results for 1Q2024Summary of financial  results for 1Q2024
Summary of financial results for 1Q2024
 
how can I sell pi coins after successfully completing KYC
how can I sell pi coins after successfully completing KYChow can I sell pi coins after successfully completing KYC
how can I sell pi coins after successfully completing KYC
 
NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad, Mandi Bah...
NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad,  Mandi Bah...NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad,  Mandi Bah...
NO1 Uk Black Magic Specialist Expert In Sahiwal, Okara, Hafizabad, Mandi Bah...
 
USDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptxUSDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptx
 
when will pi network coin be available on crypto exchange.
when will pi network coin be available on crypto exchange.when will pi network coin be available on crypto exchange.
when will pi network coin be available on crypto exchange.
 
how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.
 
Introduction to Indian Financial System ()
Introduction to Indian Financial System ()Introduction to Indian Financial System ()
Introduction to Indian Financial System ()
 
Webinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont BraunWebinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont Braun
 
655264371-checkpoint-science-past-papers-april-2023.pdf
655264371-checkpoint-science-past-papers-april-2023.pdf655264371-checkpoint-science-past-papers-april-2023.pdf
655264371-checkpoint-science-past-papers-april-2023.pdf
 

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
  • 10.
  • 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 ………………..