SlideShare a Scribd company logo
1 of 22
CHAPTER 09 – THE DUAL SIMPLEX METHOD
OPERATIONS RESEARCH
PRIMAL SIMPLEX
 Maximize or Minimize Z= 𝑗=1
𝑛
𝑐𝑗 𝑥𝑗
 Subject to 𝑗=1
𝑛
𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖, i= 1,2,…,m. 𝑥𝑗 ≥ 0. j= 1,2,…,n
RULES OF CONSTRUCTING DUALITY
 For every primal constraint there is a dual variable.
 For every primal variable there is a dual constraint.
 The constraint coefficients of a primal variable from the left-hand side
coefficients of the corresponding dual constraint and its objective function
coefficient of the same variable becomes the right-hand side of the dual
constraints.
 If the primal objective function is maximize (minimize), then the dual problem
is minimize (maximize).
 If the primal problem is maximize (minimize), then the dual constraints must
be >= (<=).
 All dual variables are originally unrestricted.
EXAMPLE 1
 Primal
 Min Z= 15x1 + 12x2
 Subject to: x1 + 2x2 >= 3
2x1 - 4x2 <= 5
x1, x2 >= 0
EXAMPLE 1
 Standard from
 Min Z= 15x1 + 12x2
 Subject to: x1 + 2x2 – x3 = 3
2x1 - 4x2 + x4 = 5
x1, x2, x3, x4 >= 0
EXAMPLE 1
 The dual problem
 Max W = 3y1 + 5y2
 Subject to: y1 + 2y2 <= 15
2y1 – 4y2 <= 12
-y1 + 0y2 <= 0 y1 >= 0
0y1 + y2 <= 0 y2 <= 0, y2 is unrestricted
EXAMPLE 2
 Primal
 Max Z= 5x1 + 12x2 +4x3
 Subject to: x1 + 2x2 + x3 <= 10
2x1 - x2 + 3x3 = 8
x1, x2, x3 >= 0
EXAMPLE 2
 Standard form
 Max Z= 5x1 + 12x2 +4x3
 Subject to: x1 + 2x2 + x3 + x4 = 10
2x1 - x2 + 3x3 + 0x4 = 8
x1, x2, x3, x4 >= 0
EXAMPLE 2
 The dual problem
 Min W= 10y1 + 8y2
 Subject to: y1 + 2y2 >= 5
2y1 - y2 >= 12
y1 + 3y2 >= 4
y1 + 0y2 >= 0 y1 >= 0, y2 is unrestricted
EXAMPLE 2 BY TWO PHASE METHOD
 By two phase method
 Min W= 10y1 + 8y2
 Subject to: y1 + 2y2 >= 5
2y1 - y2 >= 12
y1 + 3y2 >= 4
y1 + 0y2 >= 0 y1 >= 0, y2 is unrestricted
 When y is unrestricted its equal to y’-y’’
EXAMPLE 2 BY TWO PHASE METHOD
 Chanocial form
 Min W= 10y1 + (8y2’ – 8y2’’)
 Subject to: y1 + (2y2’ – 2y2’’) – y3 + y6 = 5, (y3 is surplus, y6 is artificial)
2y1 – (y2’ – y2’’) – y4 + y7 = 12, (y4 is surplus, y7 is artificial)
y1 + (3y2’ – 3y2’’) – y5 + y8 = 4, (y5 is surplus, y8 is artificial)
EXAMPLE 2 BY TWO PHASE METHOD
 Phase 1:
 Min W’= y6 + y7 + y8
 Subject to: y1 + 2y2’ – 2y2’’ – y3 + y6 = 5
2y1 – y2’ + y2’’ – y4 + y7 = 12
y1 + 3y2’ – 3y2’’ – y5 + y8 = 4
EXAMPLE 2 BY TWO PHASE METHOD
leavingisy8so4,min{5,6,4}toequalitsandenteringisy1
1
1
0
0
).1,1,1(01
0
1
0
).1,1,1(0
1
0
0
1
).1,1,1(04
3
1
2
).1,1,1(0''
4
3
1
2
).1,1,1(0'4
1
2
1
).1,1,1(0
22W4.y812,y75,y6:Basic:1Iteration
54
32
21










































































CC
CC
CC
EXAMPLE 2 BY TWO PHASE METHOD
leavingisy7so4,2,-4/3}min{-5/2,1toequalitsandenteringis'y2'
3
1
0
0
).3,1,1(01
0
1
0
).3,1,1(0
1
0
0
1
).3,1,1(08
3
1
2
).3,1,1(0''
8
3
1
2
).3,1,1(0'
5W4.y14,y71,y6:Basic:2Iteration
100
2-10
1-01
B
1
0
0
1
2
1
p1
54
32
2
1-
































































































CC
CC
C
EXAMPLE 2 BY TWO PHASE METHOD
1phaseofEnd
leavingisy6so2,-40}min{3/5,2,toequalitsandenteringisy5
7/5
1
0
0
).7/5,7/1,1(0-1/7
0
1
0
).7/5,7/1,1(0
1
0
0
1
).7/5,7/1,1(00
3
1
2
).7/5,7/1,1(0'
3/7W40/7.y14/7,'y2'3/7,y6:Basic:3Iteration
1/73/70
2/7-1/70
5/7-1/7-1
B
0
1
0
3-
7
1
'p2'
54
32
1-


















































































CC
CC
EXAMPLE 2 BY TWO PHASE METHOD
 Phase 2:
 Min W’= 10y1 + 8y2’ – 8y2’’
 Subject to: y1 + 2y2’ – 2y2’’ – y3 = 5
2y1 – y2’ + y2’’ – y4 = 12
y1 + 3y2’ – 3y2’’ – y5 = 4
 Basic: y5=3/5, y2’’=2/5, y1=29/5, W=54.8
EXAMPLE 2 BY TWO PHASE METHOD
-2/52/5-0'y2'-y2'y2
54.8W
29/5y12/5,'y2'3/5,y5
optimalissolutionthevariable,enteringNo
22/7
0
1
0
).7/26,7/22,0(0
0
0
0
1
).7/26,7/22,0(00
3
1
2
).7/26,7/22,0(8'
4
32






































C
CC
OPTIMAL DUAL SOLUTION
 How to find the optimal solution of the dual problem, when the optimal
solution of the primal problem is known? By 2 methods.










































inverse
primal
Optimal
.
variablesbasicprimaloptimalof
tcoefficienobectiveoriginal
ofvectorRow
variablesdual
ofvaluesOptimal
2Method
xioftcoefficienobjectiveOriginal
xivariablestartingoftcoefficien-zprimalOptimal
yivariabledual
ofvalueOptimal
1Method
EXAMPLE 3
 Consider this problem
 Max Z= 5x1 + 12x2 + 4x3
 Subject to: x1 + 2x2 + x3 <= 10
2x1 - x2 + 3x3 = 8
x1, x2, x3 >= 0
EXAMPLE 3
 Standard form
 Max Z= 5x1 + 12x2 +4x3 – Mx5
 Subject to: x1 + 2x2 + x3 + x4 = 10, x4 is a slack
2x1 - x2 + 3x3 + x5 = 8, x5 is artificial
x1, x2, x3, x4, x5 >= 0
EXAMPLE 3
 The dual problem
 Min W= 10y1 + 8y2
 Subject to: y1 + 2y2 >= 5
2y1 - y2 >= 12
y1 + 3y2 >= 4
y1 + 0y2 >= 0 y1 >= 0, y2 is unrestricted
We now show how the optimal dual values are determined using the two methods
described before.
EXAMPLE 3
   
   
     29/5,-2/5
2/51/5
1/5-2/5
.12,5y2y1,
2Method
5/2M-2/5-My2
5/29029/5y1
1Method










More Related Content

What's hot (20)

Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Operation research - the revised simplex method
Operation research - the revised simplex methodOperation research - the revised simplex method
Operation research - the revised simplex method
 
Integer programming
Integer programmingInteger programming
Integer programming
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
simplex method
simplex methodsimplex method
simplex method
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
simplex method
simplex methodsimplex method
simplex method
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Big m method
Big   m methodBig   m method
Big m method
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Lenier Equation
Lenier EquationLenier Equation
Lenier Equation
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
Graphical method
Graphical methodGraphical method
Graphical method
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 

Viewers also liked (16)

Network analysis
Network analysisNetwork analysis
Network analysis
 
Into to simulation
Into to simulationInto to simulation
Into to simulation
 
6. assignment problems
6. assignment problems6. assignment problems
6. assignment problems
 
Goal programming
Goal programmingGoal programming
Goal programming
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
7. cqia (kaizen, 5 s, tpm)
7. cqia (kaizen, 5 s, tpm)7. cqia (kaizen, 5 s, tpm)
7. cqia (kaizen, 5 s, tpm)
 
The Passive
The PassiveThe Passive
The Passive
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
2. cost of quality
2. cost of quality2. cost of quality
2. cost of quality
 
Operations research
Operations researchOperations research
Operations research
 
M.c.a.(sem iii) operation research
M.c.a.(sem   iii) operation researchM.c.a.(sem   iii) operation research
M.c.a.(sem iii) operation research
 
PM using P6
PM using P6PM using P6
PM using P6
 
1. intro. to or &amp; lp
1. intro. to or &amp; lp1. intro. to or &amp; lp
1. intro. to or &amp; lp
 
5. transportation problems
5. transportation problems5. transportation problems
5. transportation problems
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
Qfd house of quality
Qfd house of qualityQfd house of quality
Qfd house of quality
 

Similar to Operations Research - The Dual Simplex Method

the two phase method - operations research
the two phase method - operations researchthe two phase method - operations research
the two phase method - operations research2013901097
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
Simultaneous equations
Simultaneous equations Simultaneous equations
Simultaneous equations fisayo omoniyi
 
Partial diferential good
Partial diferential goodPartial diferential good
Partial diferential goodgenntmbr
 
Ecuaciones grado1 blog
Ecuaciones grado1 blogEcuaciones grado1 blog
Ecuaciones grado1 blogMarta Martín
 
Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...
Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...
Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...Nish Kala Devi
 
Eight Regression Algorithms
Eight Regression AlgorithmsEight Regression Algorithms
Eight Regression Algorithmsguestfee8698
 
L5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shapeL5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shapeSam Alalimi
 
Introduction to Quantum Mechanics 2E.pdf
Introduction to Quantum Mechanics 2E.pdfIntroduction to Quantum Mechanics 2E.pdf
Introduction to Quantum Mechanics 2E.pdfBEATRIZJAIMESGARCIA
 
Solved exercises double integration
Solved exercises double integrationSolved exercises double integration
Solved exercises double integrationKamel Attar
 

Similar to Operations Research - The Dual Simplex Method (20)

Operations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simpOperations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simp
 
Operations Research - The Two Phase Method
Operations Research - The Two Phase MethodOperations Research - The Two Phase Method
Operations Research - The Two Phase Method
 
the two phase method - operations research
the two phase method - operations researchthe two phase method - operations research
the two phase method - operations research
 
Dual formulation example
Dual formulation exampleDual formulation example
Dual formulation example
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Sect5 1
Sect5 1Sect5 1
Sect5 1
 
Simultaneous equations
Simultaneous equations Simultaneous equations
Simultaneous equations
 
Chapter four
Chapter fourChapter four
Chapter four
 
Partial diferential good
Partial diferential goodPartial diferential good
Partial diferential good
 
Ecuaciones grado1 blog
Ecuaciones grado1 blogEcuaciones grado1 blog
Ecuaciones grado1 blog
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
Ch03 2
Ch03 2Ch03 2
Ch03 2
 
Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...
Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...
Dirty quant-shortcut-workshop-handout-inequalities-functions-graphs-coordinat...
 
Gr 11 equations
Gr 11   equationsGr 11   equations
Gr 11 equations
 
Eight Regression Algorithms
Eight Regression AlgorithmsEight Regression Algorithms
Eight Regression Algorithms
 
L5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shapeL5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shape
 
Sect1 1
Sect1 1Sect1 1
Sect1 1
 
Introduction to Quantum Mechanics 2E.pdf
Introduction to Quantum Mechanics 2E.pdfIntroduction to Quantum Mechanics 2E.pdf
Introduction to Quantum Mechanics 2E.pdf
 
Solved exercises double integration
Solved exercises double integrationSolved exercises double integration
Solved exercises double integration
 
Ch[1].2
Ch[1].2Ch[1].2
Ch[1].2
 

More from Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D

More from Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D (20)

Audio
AudioAudio
Audio
 
Relative Clauses
Relative ClausesRelative Clauses
Relative Clauses
 
Quantifiers
QuantifiersQuantifiers
Quantifiers
 
Present Simple and Continuous
Present Simple and ContinuousPresent Simple and Continuous
Present Simple and Continuous
 
Present Perfect Simple and Continuous
Present Perfect Simple and ContinuousPresent Perfect Simple and Continuous
Present Perfect Simple and Continuous
 
Prepositions
PrepositionsPrepositions
Prepositions
 
Past Simple and Continuous
Past Simple and ContinuousPast Simple and Continuous
Past Simple and Continuous
 
Obligation and Permission
Obligation and PermissionObligation and Permission
Obligation and Permission
 
Comparatives and Superlatives
Comparatives and SuperlativesComparatives and Superlatives
Comparatives and Superlatives
 
Auxiliary verbs
Auxiliary verbsAuxiliary verbs
Auxiliary verbs
 
Adjective ending in ed or ing
Adjective ending in ed or ingAdjective ending in ed or ing
Adjective ending in ed or ing
 
Operations Research - Game Theory
Operations Research - Game TheoryOperations Research - Game Theory
Operations Research - Game Theory
 
Operations Research - Sensitivity Analysis
Operations Research - Sensitivity AnalysisOperations Research - Sensitivity Analysis
Operations Research - Sensitivity Analysis
 
Operations Research - The Revised Simplex Method
Operations Research - The Revised Simplex MethodOperations Research - The Revised Simplex Method
Operations Research - The Revised Simplex Method
 
Operations Research - Simplex Method Tableau
Operations Research - Simplex Method TableauOperations Research - Simplex Method Tableau
Operations Research - Simplex Method Tableau
 
Operations Research - Simplex Method Principles
Operations Research - Simplex Method PrinciplesOperations Research - Simplex Method Principles
Operations Research - Simplex Method Principles
 
Operations Research - Simplex Method Introduction
Operations Research - Simplex Method IntroductionOperations Research - Simplex Method Introduction
Operations Research - Simplex Method Introduction
 
Operations Research - Introduction
Operations Research - IntroductionOperations Research - Introduction
Operations Research - Introduction
 
Computer Graphics - clipping
Computer Graphics - clippingComputer Graphics - clipping
Computer Graphics - clipping
 
Computer Graphics - Projections
Computer Graphics - ProjectionsComputer Graphics - Projections
Computer Graphics - Projections
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

Operations Research - The Dual Simplex Method

  • 1. CHAPTER 09 – THE DUAL SIMPLEX METHOD OPERATIONS RESEARCH
  • 2. PRIMAL SIMPLEX  Maximize or Minimize Z= 𝑗=1 𝑛 𝑐𝑗 𝑥𝑗  Subject to 𝑗=1 𝑛 𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖, i= 1,2,…,m. 𝑥𝑗 ≥ 0. j= 1,2,…,n
  • 3. RULES OF CONSTRUCTING DUALITY  For every primal constraint there is a dual variable.  For every primal variable there is a dual constraint.  The constraint coefficients of a primal variable from the left-hand side coefficients of the corresponding dual constraint and its objective function coefficient of the same variable becomes the right-hand side of the dual constraints.  If the primal objective function is maximize (minimize), then the dual problem is minimize (maximize).  If the primal problem is maximize (minimize), then the dual constraints must be >= (<=).  All dual variables are originally unrestricted.
  • 4. EXAMPLE 1  Primal  Min Z= 15x1 + 12x2  Subject to: x1 + 2x2 >= 3 2x1 - 4x2 <= 5 x1, x2 >= 0
  • 5. EXAMPLE 1  Standard from  Min Z= 15x1 + 12x2  Subject to: x1 + 2x2 – x3 = 3 2x1 - 4x2 + x4 = 5 x1, x2, x3, x4 >= 0
  • 6. EXAMPLE 1  The dual problem  Max W = 3y1 + 5y2  Subject to: y1 + 2y2 <= 15 2y1 – 4y2 <= 12 -y1 + 0y2 <= 0 y1 >= 0 0y1 + y2 <= 0 y2 <= 0, y2 is unrestricted
  • 7. EXAMPLE 2  Primal  Max Z= 5x1 + 12x2 +4x3  Subject to: x1 + 2x2 + x3 <= 10 2x1 - x2 + 3x3 = 8 x1, x2, x3 >= 0
  • 8. EXAMPLE 2  Standard form  Max Z= 5x1 + 12x2 +4x3  Subject to: x1 + 2x2 + x3 + x4 = 10 2x1 - x2 + 3x3 + 0x4 = 8 x1, x2, x3, x4 >= 0
  • 9. EXAMPLE 2  The dual problem  Min W= 10y1 + 8y2  Subject to: y1 + 2y2 >= 5 2y1 - y2 >= 12 y1 + 3y2 >= 4 y1 + 0y2 >= 0 y1 >= 0, y2 is unrestricted
  • 10. EXAMPLE 2 BY TWO PHASE METHOD  By two phase method  Min W= 10y1 + 8y2  Subject to: y1 + 2y2 >= 5 2y1 - y2 >= 12 y1 + 3y2 >= 4 y1 + 0y2 >= 0 y1 >= 0, y2 is unrestricted  When y is unrestricted its equal to y’-y’’
  • 11. EXAMPLE 2 BY TWO PHASE METHOD  Chanocial form  Min W= 10y1 + (8y2’ – 8y2’’)  Subject to: y1 + (2y2’ – 2y2’’) – y3 + y6 = 5, (y3 is surplus, y6 is artificial) 2y1 – (y2’ – y2’’) – y4 + y7 = 12, (y4 is surplus, y7 is artificial) y1 + (3y2’ – 3y2’’) – y5 + y8 = 4, (y5 is surplus, y8 is artificial)
  • 12. EXAMPLE 2 BY TWO PHASE METHOD  Phase 1:  Min W’= y6 + y7 + y8  Subject to: y1 + 2y2’ – 2y2’’ – y3 + y6 = 5 2y1 – y2’ + y2’’ – y4 + y7 = 12 y1 + 3y2’ – 3y2’’ – y5 + y8 = 4
  • 13. EXAMPLE 2 BY TWO PHASE METHOD leavingisy8so4,min{5,6,4}toequalitsandenteringisy1 1 1 0 0 ).1,1,1(01 0 1 0 ).1,1,1(0 1 0 0 1 ).1,1,1(04 3 1 2 ).1,1,1(0'' 4 3 1 2 ).1,1,1(0'4 1 2 1 ).1,1,1(0 22W4.y812,y75,y6:Basic:1Iteration 54 32 21                                                                           CC CC CC
  • 14. EXAMPLE 2 BY TWO PHASE METHOD leavingisy7so4,2,-4/3}min{-5/2,1toequalitsandenteringis'y2' 3 1 0 0 ).3,1,1(01 0 1 0 ).3,1,1(0 1 0 0 1 ).3,1,1(08 3 1 2 ).3,1,1(0'' 8 3 1 2 ).3,1,1(0' 5W4.y14,y71,y6:Basic:2Iteration 100 2-10 1-01 B 1 0 0 1 2 1 p1 54 32 2 1-                                                                                                 CC CC C
  • 15. EXAMPLE 2 BY TWO PHASE METHOD 1phaseofEnd leavingisy6so2,-40}min{3/5,2,toequalitsandenteringisy5 7/5 1 0 0 ).7/5,7/1,1(0-1/7 0 1 0 ).7/5,7/1,1(0 1 0 0 1 ).7/5,7/1,1(00 3 1 2 ).7/5,7/1,1(0' 3/7W40/7.y14/7,'y2'3/7,y6:Basic:3Iteration 1/73/70 2/7-1/70 5/7-1/7-1 B 0 1 0 3- 7 1 'p2' 54 32 1-                                                                                   CC CC
  • 16. EXAMPLE 2 BY TWO PHASE METHOD  Phase 2:  Min W’= 10y1 + 8y2’ – 8y2’’  Subject to: y1 + 2y2’ – 2y2’’ – y3 = 5 2y1 – y2’ + y2’’ – y4 = 12 y1 + 3y2’ – 3y2’’ – y5 = 4  Basic: y5=3/5, y2’’=2/5, y1=29/5, W=54.8
  • 17. EXAMPLE 2 BY TWO PHASE METHOD -2/52/5-0'y2'-y2'y2 54.8W 29/5y12/5,'y2'3/5,y5 optimalissolutionthevariable,enteringNo 22/7 0 1 0 ).7/26,7/22,0(0 0 0 0 1 ).7/26,7/22,0(00 3 1 2 ).7/26,7/22,0(8' 4 32                                       C CC
  • 18. OPTIMAL DUAL SOLUTION  How to find the optimal solution of the dual problem, when the optimal solution of the primal problem is known? By 2 methods.                                           inverse primal Optimal . variablesbasicprimaloptimalof tcoefficienobectiveoriginal ofvectorRow variablesdual ofvaluesOptimal 2Method xioftcoefficienobjectiveOriginal xivariablestartingoftcoefficien-zprimalOptimal yivariabledual ofvalueOptimal 1Method
  • 19. EXAMPLE 3  Consider this problem  Max Z= 5x1 + 12x2 + 4x3  Subject to: x1 + 2x2 + x3 <= 10 2x1 - x2 + 3x3 = 8 x1, x2, x3 >= 0
  • 20. EXAMPLE 3  Standard form  Max Z= 5x1 + 12x2 +4x3 – Mx5  Subject to: x1 + 2x2 + x3 + x4 = 10, x4 is a slack 2x1 - x2 + 3x3 + x5 = 8, x5 is artificial x1, x2, x3, x4, x5 >= 0
  • 21. EXAMPLE 3  The dual problem  Min W= 10y1 + 8y2  Subject to: y1 + 2y2 >= 5 2y1 - y2 >= 12 y1 + 3y2 >= 4 y1 + 0y2 >= 0 y1 >= 0, y2 is unrestricted We now show how the optimal dual values are determined using the two methods described before.
  • 22. EXAMPLE 3              29/5,-2/5 2/51/5 1/5-2/5 .12,5y2y1, 2Method 5/2M-2/5-My2 5/29029/5y1 1Method         