SlideShare ist ein Scribd-Unternehmen logo
1 von 28
DUALITY
Duality Theory ,[object Object],[object Object],[object Object],[object Object]
Rules for converting Primal to Dual ,[object Object],[object Object],[object Object],[object Object]
Dual Problem Primal LP  : Max  z = c 1 x 1  + c 2 x 2  + ... + c n x n subject to: a 11 x 1  + a 12 x 2  + ... + a 1n x n  ≤ b 1 a 21 x 1  + a 22 x 2  + ... + a 2n x n  ≤ b 2 : a m1 x 1  + a m2 x 2  + ... + a mn x n  ≤ b m  x 1  ≥ 0, x 2  ≥ 0,…….x j  ≥ 0,……., x n  ≥ 0. Associated Dual LP  : Min. z = b 1 y 1  + b 2 y 2  + ... + b m y m subject to: a 11 y 1  + a 21 y 2  + ... + a m1 y m  ≥ c 1 a 12 y 1  + a 22 y 2  + ... + a m2 y m  ≥ c 2 : a 1n y 1  + a 2n y 2  + ... + a mn y m  ≥ c n y 1  ≥ 0, y 2  ≥ 0,…….y j  ≥ 0,……., y m  ≥ 0.
Example Primal Max. Z = 3x 1 +5x 2 Subject to constraints: x 1  <  4  y 1 2x 2  <  12  y 2 3x 1 +2x 2  <  18  y 3 x 1 , x 2  >  0 The Primal has: 2 variables and 3 constraints. So the Dual has: 3 variables and 2 constraints Dual Min. Z’ = 4y 1 +12y 2  +18y 3 Subject to constraints: y 1  + 3y 3  >  3  2y 2  +2y 3  >  5  y 1 , y 2 , y 3  >  0 We define one dual variable for each primal constraint.
Example Primal Min.. Z = 10x 1 +15x 2 Subject to constraints: 5x 1  +  7x 2  >  80  6x 1  + 11x 2  >  100  x 1 , x 2  >  0
Solution Dual Max.. Z’ = 80y 1 +100y 2 Subject to constraints: 5y 1  +  6y 2  <  10  7y 1  + 11y 2  <  15  y 1 , y 2  >  0
Example Primal Max. Z = 12x 1 + 4x 2 Subject to constraints: 4x 1  + 7x 2  <   56  2x 1  + 5x 2  >  20  5x 1  +  4x 2  = 40  x 1 , x 2  >  0
Solution ,[object Object],[object Object],[object Object],[object Object],[object Object]
Cont… The primal problem can now take the following standard form: Max. Z = 12x 1 + 4x 2 Subject to constraints: 4x 1  + 7x 2  <   56 -2x 1  - 5x 2  <   -20 5x 1  +  4x 2  <  40 -5x 1  -  4x 2  <   -40 x 1 , x 2  >  0
Cont… Min. Z’ = 56y 1  -20y 2  + 40y 3  – 40y 4 Subject to constraints: 4y 1  – 2y 2  +  5y 3  – 5y 4   >  12  7y 1  - 5y 2  +  4y 3  – 4y 4  >  4  y 1 , y 2 , y 3 , y 4  >  0 The dual of this problem can now be obtained as follows:
Example Primal Min.. Z = 2x 2  + 5x 3 Subject to constraints: x 1  + x 2  >  2  2x 1  + x 2  +6x 3  <  6  x 1  - x 2  +3x 3  = 4  x 1 , x 2 , x 3  >  0
Solution Primal in standard form  : Max.. Z = -2x 2  - 5x 3 Subject to constraints: -x 1  - x 2  <   -2  2x 1  + x 2  +6x 3  <  6  x 1  - x 2  +3x 3  <  4  - x 1  + x 2  - 3x 3  <   -4  x 1 , x 2 , x 3  >  0
Cont… Dual Min. Z’ = -2y 1  + 6y 2  + 4y 3  – 4y 4 Subject to constraints: -y 1  + 2y 2  + y 3  – y 4   >  0  -y 1  + y 2  - y 3  + y 4  >   -2  6y 2  + 3y 3  - 3y 4  >   -5 y 1 , y 2 , y 3 , y 4  >  0
DUAL SIMPLEX METHOD
Introduction Suppose a “basic solution” satisfies the optimality condition but not feasible, then we apply dual simplex method. In regular Simplex method, we start with a Basic Feasible solution (which is not optimal) and move towards optimality always retaining feasibility. In the dual simplex method, the exact opposite occurs. We start with a “optimal” solution (which is not feasible) and move towards feasibility always retaining optimality condition.The algorithm ends once we obtain feasibility.
Dual Simplex Method ,[object Object],[object Object],[object Object]
Example Min. Z = 3x 1  + 2x 2 Subject to constraints: 3x 1  + x 2  >  3 4x 1  + 3x 2  >  6 x 1  + x 2  <  3 x 1 , x 2  >  0
Cont… Step I: The first two inequalities are multiplied by –1 to convert them to  <  constraints and convert the objective function into maximization function. Max. Z’ = -3x 1  - 2x 2  where Z’= -Z  Subject to constraints: -3x 1  - x 2  <  -3  -4x 1  - 3x 2  <  -6 x 1  + x 2  <  3 x 1 , x 2  >  0
Cont… Let S 1 , S 2  , S 3  be three slack variables Model can rewritten as: Z’ + 3x 1  + 2x 2  = 0 -3x 1  - x 2  +S 1  =  -3  -4x 1  - 3x 2  +S 2  = -6 x 1  + x 2  +S 3  = 3 Initial BS is : x 1 = 0, x 2 = 0,  S 1 = -3,  S 2 = -6, S 3 = 3 and Z=0.
Cont… ,[object Object],[object Object],[object Object],[object Object],- - - 2/3 3/4 -  Ratio 3 1 0 0 1 1 0 S 3 -6 0 1 0 -3 -4 0 S 2 -3 0 0 1 -1 -3 0 S 1 0 0 0 0 2 3 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of:  Basic Variable
Cont… Therefore, S 1  is the departing variable and x 1  is the entering variable.  - 2 - - 1/5 -  Ratio 1 1 1/3 0 0 -1/3 0 S 3 2 0 -1/3 0 1 4/3 0 x 2 -1 0 -1/3 1 0 -5/3 0 S 1 4 0 2/3 0 0 1/3 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of:  Basic Variable
Cont… Optimal Solution is :  x 1 = 3/5, x 2 = 6/5, Z= 21/5 6/5 1 2/5 -1/5 0 0 0 S 3 6/5 0 -3/5 4/5 1 0 0 x 2 3/5 0 1/5 -3/5 0 1 0 x 1 21/5 0 3/5 1/5 0 0 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of:  Basic Variable
Example Max. Z = -x 1  - x 2 Subject to constraints: x 1  + x 2  <  8 x 2  >  3 -x 1  + x 2  <  2 x 1 , x 2  >  0
Cont… Let S 1 , S 2  , S 3  be three slack variables Model can rewritten as: Z  + x 1  + x 2  = 0 x 1  + x 2  + S 1  =  8 -x 2  + S 2  = -3 -x 1  + x 2  + S 3  = 2 x 1 , x 2  >  0 Initial BS is : x 1 = 0, x 2 = 0,  S 1 = 8,  S 2 = -3, S 3 = 2 and Z=0.
Cont… Therefore, S 2  is the departing variable and x 2  is the entering variable.  - - - 1 - -  Ratio 2 1 0 0 1 -1 0 S 3 -3 0 1 0 -1 0 0 S 2 8 0 0 1 1 1 0 S 1 0 0 0 0 1 1 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of:  Basic Variable
Cont… Therefore, S 3  is the departing variable and x 1  is the entering variable.  - - - - 1 -  Ratio -1 1 1 0 0 -1 0 S 3 3 0 -1 0 1 0 0 x 2 5 0 1 1 0 1 0 S 1 -3 0 1 0 0 1 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of:  Basic Variable
Cont… Optimal Solution is :  x 1 = 1, x 2 = 3, Z= -4 1 -1 -1 0 0 1 0 x 1 3 0 -1 0 1 0 0 x 2 4 0 2 1 0 0 0 S 1 -4 1 2 0 0 0 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of:  Basic Variable

Weitere ähnliche Inhalte

Was ist angesagt?

Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
Sachin MK
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
Joseph Konnully
 

Was ist angesagt? (20)

Game theory
Game theoryGame theory
Game theory
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copy
 
Game theory (Operation Research)
Game theory (Operation Research)Game theory (Operation Research)
Game theory (Operation Research)
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problem
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
Integer programming
Integer programmingInteger programming
Integer programming
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex method
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
Game theory
Game theoryGame theory
Game theory
 
Post-optimal analysis of LPP
Post-optimal analysis of LPPPost-optimal analysis of LPP
Post-optimal analysis of LPP
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
simplex method
simplex methodsimplex method
simplex method
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Duality
DualityDuality
Duality
 

Andere mochten auch

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
mdaglis
 
Minterm and maxterm
Minterm and maxtermMinterm and maxterm
Minterm and maxterm
parsa.khan64
 

Andere mochten auch (20)

Principal of duality
Principal of dualityPrincipal of duality
Principal of duality
 
Duality concept
Duality conceptDuality concept
Duality concept
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
UNIT 26: PLANNING AND MANAGING FOOD PRODUCTION AND BEVERAGE SERVICE
UNIT 26: PLANNING AND MANAGING FOOD PRODUCTION AND BEVERAGE SERVICEUNIT 26: PLANNING AND MANAGING FOOD PRODUCTION AND BEVERAGE SERVICE
UNIT 26: PLANNING AND MANAGING FOOD PRODUCTION AND BEVERAGE SERVICE
 
Sound to elelectricity
Sound to elelectricitySound to elelectricity
Sound to elelectricity
 
CONVERTING SOUND ENERGY INTO ELECTRICITY USING PIEZOELECTRIC MATERIAL: A STUDY
CONVERTING SOUND ENERGY INTO ELECTRICITY USING PIEZOELECTRIC MATERIAL: A STUDYCONVERTING SOUND ENERGY INTO ELECTRICITY USING PIEZOELECTRIC MATERIAL: A STUDY
CONVERTING SOUND ENERGY INTO ELECTRICITY USING PIEZOELECTRIC MATERIAL: A STUDY
 
Mobile charging using voice
Mobile charging using voiceMobile charging using voice
Mobile charging using voice
 
Voice usage mobile charging
Voice usage mobile chargingVoice usage mobile charging
Voice usage mobile charging
 
Common Emitter With Emitter Resistance Re
Common Emitter With Emitter Resistance ReCommon Emitter With Emitter Resistance Re
Common Emitter With Emitter Resistance Re
 
How sound is converted to energy
How sound is converted to energyHow sound is converted to energy
How sound is converted to energy
 
Noise to electric Energy Conversion
Noise to electric Energy ConversionNoise to electric Energy Conversion
Noise to electric Energy Conversion
 
Sound energy and electricity
Sound energy and electricitySound energy and electricity
Sound energy and electricity
 
green noise or production of electricity from noise or sound
green noise or production of electricity from noise or soundgreen noise or production of electricity from noise or sound
green noise or production of electricity from noise or sound
 
Minterm and maxterm
Minterm and maxtermMinterm and maxterm
Minterm and maxterm
 
Lesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear ProgrammingLesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear Programming
 
linear programming metode simplex
linear programming metode simplexlinear programming metode simplex
linear programming metode simplex
 
Sound Energy to Electric Energy
Sound Energy to Electric EnergySound Energy to Electric Energy
Sound Energy to Electric Energy
 
Dual simplexmethod
Dual simplexmethodDual simplexmethod
Dual simplexmethod
 
Phonetics
PhoneticsPhonetics
Phonetics
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment model
 

Ähnlich wie Duality

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
chaitu87
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
itsvineeth209
 

Ähnlich wie Duality (20)

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Big m method
Big   m methodBig   m method
Big m method
 
simplex method-maths 4 mumbai university
simplex method-maths 4 mumbai universitysimplex method-maths 4 mumbai university
simplex method-maths 4 mumbai university
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
Dual formulation example
Dual formulation exampleDual formulation example
Dual formulation example
 
Chapter four
Chapter fourChapter four
Chapter four
 
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 Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
 
7.3_Nonlinear Programming-LagrangeExamples.pptx
7.3_Nonlinear Programming-LagrangeExamples.pptx7.3_Nonlinear Programming-LagrangeExamples.pptx
7.3_Nonlinear Programming-LagrangeExamples.pptx
 
Simplex method
Simplex methodSimplex method
Simplex method
 
An Introduction to Linear Programming
An Introduction to Linear ProgrammingAn Introduction to Linear Programming
An Introduction to Linear Programming
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notes
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Limits by Factoring
Limits by FactoringLimits by Factoring
Limits by Factoring
 
Day 3 of Free Intuitive Calculus Course: Limits by Factoring
Day 3 of Free Intuitive Calculus Course: Limits by FactoringDay 3 of Free Intuitive Calculus Course: Limits by Factoring
Day 3 of Free Intuitive Calculus Course: Limits by Factoring
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
 
OR presentation simplex.pptx
OR presentation simplex.pptxOR presentation simplex.pptx
OR presentation simplex.pptx
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variable
 
Operations Research - The Two Phase Method
Operations Research - The Two Phase MethodOperations Research - The Two Phase Method
Operations Research - The Two Phase Method
 

Mehr von Sachin MK

Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitions
Sachin MK
 
St & internationalization
St & internationalizationSt & internationalization
St & internationalization
Sachin MK
 
Software testing techniques
Software testing techniquesSoftware testing techniques
Software testing techniques
Sachin MK
 
Rapid software testing
Rapid software testingRapid software testing
Rapid software testing
Sachin MK
 
Model based software testing
Model based software testingModel based software testing
Model based software testing
Sachin MK
 
Growth of software testing
Growth of software testingGrowth of software testing
Growth of software testing
Sachin MK
 
Software testing primer nick jenkins
Software testing primer nick jenkinsSoftware testing primer nick jenkins
Software testing primer nick jenkins
Sachin MK
 
Testing quotes neww
Testing quotes newwTesting quotes neww
Testing quotes neww
Sachin MK
 
Database Management Systems Tutorial
Database Management Systems TutorialDatabase Management Systems Tutorial
Database Management Systems Tutorial
Sachin MK
 
Sql Commands
Sql CommandsSql Commands
Sql Commands
Sachin MK
 
Inroduction Of Or
Inroduction Of OrInroduction Of Or
Inroduction Of Or
Sachin MK
 
Grievance Process
Grievance ProcessGrievance Process
Grievance Process
Sachin MK
 
Factors Influencing Employee Remuneration
Factors Influencing Employee RemunerationFactors Influencing Employee Remuneration
Factors Influencing Employee Remuneration
Sachin MK
 
Compensation
CompensationCompensation
Compensation
Sachin MK
 
Sources Financing Nsb
Sources  Financing NsbSources  Financing Nsb
Sources Financing Nsb
Sachin MK
 

Mehr von Sachin MK (20)

Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitions
 
St & internationalization
St & internationalizationSt & internationalization
St & internationalization
 
Software testing techniques
Software testing techniquesSoftware testing techniques
Software testing techniques
 
Rapid software testing
Rapid software testingRapid software testing
Rapid software testing
 
Model based software testing
Model based software testingModel based software testing
Model based software testing
 
Growth of software testing
Growth of software testingGrowth of software testing
Growth of software testing
 
Software testing primer nick jenkins
Software testing primer nick jenkinsSoftware testing primer nick jenkins
Software testing primer nick jenkins
 
Testing quotes neww
Testing quotes newwTesting quotes neww
Testing quotes neww
 
Email marketing ver 1.001 [autosaved]
Email marketing ver 1.001 [autosaved]Email marketing ver 1.001 [autosaved]
Email marketing ver 1.001 [autosaved]
 
Mis
MisMis
Mis
 
Database Management Systems Tutorial
Database Management Systems TutorialDatabase Management Systems Tutorial
Database Management Systems Tutorial
 
Html Tutor
Html TutorHtml Tutor
Html Tutor
 
Sql Commands
Sql CommandsSql Commands
Sql Commands
 
Inroduction Of Or
Inroduction Of OrInroduction Of Or
Inroduction Of Or
 
Grievance Process
Grievance ProcessGrievance Process
Grievance Process
 
Factors Influencing Employee Remuneration
Factors Influencing Employee RemunerationFactors Influencing Employee Remuneration
Factors Influencing Employee Remuneration
 
Fm
FmFm
Fm
 
Compensation
CompensationCompensation
Compensation
 
Sources Financing Nsb
Sources  Financing NsbSources  Financing Nsb
Sources Financing Nsb
 
Projections
ProjectionsProjections
Projections
 

Kürzlich hochgeladen

Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...
Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...
Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...
baharayali
 
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Amil Baba Naveed Bangali
 
Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...
Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...
Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...
baharayali
 
Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...
Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...
Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...
baharayali
 
Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...
Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...
Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...
No -1 Astrologer ,Amil Baba In Australia | Uk | Usa | Canada | Pakistan
 
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
baharayali
 
Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...
Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...
Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...
makhmalhalaaay
 
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
baharayali
 
Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Kürzlich hochgeladen (20)

Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...
Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...
Famous Kala Jadu, Black magic expert in UK and Kala ilam expert in Saudi Arab...
 
Genesis 1:10 || Meditate the Scripture daily verse by verse
Genesis 1:10  ||  Meditate the Scripture daily verse by verseGenesis 1:10  ||  Meditate the Scripture daily verse by verse
Genesis 1:10 || Meditate the Scripture daily verse by verse
 
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
 
Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...
Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...
Famous Kala Jadu, Black magic specialist in Rawalpindi and Bangali Amil baba ...
 
From The Heart v8.pdf xxxxxxxxxxxxxxxxxxx
From The Heart v8.pdf xxxxxxxxxxxxxxxxxxxFrom The Heart v8.pdf xxxxxxxxxxxxxxxxxxx
From The Heart v8.pdf xxxxxxxxxxxxxxxxxxx
 
Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...
Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...
Popular Kala Jadu, Kala ilam specialist in USA and Bangali Amil baba in Saudi...
 
Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...
Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...
Famous No -1 amil baba in Hyderabad ! Best No _ Astrologer in Pakistan, UK, A...
 
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
 
Peaceful Meditation | Peaceful Way by Kabastro
Peaceful Meditation | Peaceful Way by KabastroPeaceful Meditation | Peaceful Way by Kabastro
Peaceful Meditation | Peaceful Way by Kabastro
 
The_Chronological_Life_of_Christ_Part_99_Words_and_Works
The_Chronological_Life_of_Christ_Part_99_Words_and_WorksThe_Chronological_Life_of_Christ_Part_99_Words_and_Works
The_Chronological_Life_of_Christ_Part_99_Words_and_Works
 
Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...
Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...
Professional Amil baba, Black magic specialist in Lahore and Kala ilam expert...
 
Meaning of 22 numbers in Matrix Destiny Chart | 22 Energy Calculator
Meaning of 22 numbers in Matrix Destiny Chart | 22 Energy CalculatorMeaning of 22 numbers in Matrix Destiny Chart | 22 Energy Calculator
Meaning of 22 numbers in Matrix Destiny Chart | 22 Energy Calculator
 
The Revelation Chapter 4 Working Copy.docx
The Revelation Chapter 4 Working Copy.docxThe Revelation Chapter 4 Working Copy.docx
The Revelation Chapter 4 Working Copy.docx
 
Deerfoot Church of Christ Bulletin 5 12 24
Deerfoot Church of Christ Bulletin 5 12 24Deerfoot Church of Christ Bulletin 5 12 24
Deerfoot Church of Christ Bulletin 5 12 24
 
St. Louise de Marillac and Poor Children
St. Louise de Marillac and Poor ChildrenSt. Louise de Marillac and Poor Children
St. Louise de Marillac and Poor Children
 
Human Design Gates Cheat Sheet | Kabastro.com
Human Design Gates Cheat Sheet | Kabastro.comHuman Design Gates Cheat Sheet | Kabastro.com
Human Design Gates Cheat Sheet | Kabastro.com
 
Louise de Marillac and Care for the Elderly
Louise de Marillac and Care for the ElderlyLouise de Marillac and Care for the Elderly
Louise de Marillac and Care for the Elderly
 
Emails, Facebook, WhatsApp and the Dhamma (English and Chinese).pdf
Emails, Facebook, WhatsApp and the Dhamma  (English and Chinese).pdfEmails, Facebook, WhatsApp and the Dhamma  (English and Chinese).pdf
Emails, Facebook, WhatsApp and the Dhamma (English and Chinese).pdf
 
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
 
Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Ponorogo ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Duality

  • 2.
  • 3.
  • 4. Dual Problem Primal LP : Max z = c 1 x 1 + c 2 x 2 + ... + c n x n subject to: a 11 x 1 + a 12 x 2 + ... + a 1n x n ≤ b 1 a 21 x 1 + a 22 x 2 + ... + a 2n x n ≤ b 2 : a m1 x 1 + a m2 x 2 + ... + a mn x n ≤ b m x 1 ≥ 0, x 2 ≥ 0,…….x j ≥ 0,……., x n ≥ 0. Associated Dual LP : Min. z = b 1 y 1 + b 2 y 2 + ... + b m y m subject to: a 11 y 1 + a 21 y 2 + ... + a m1 y m ≥ c 1 a 12 y 1 + a 22 y 2 + ... + a m2 y m ≥ c 2 : a 1n y 1 + a 2n y 2 + ... + a mn y m ≥ c n y 1 ≥ 0, y 2 ≥ 0,…….y j ≥ 0,……., y m ≥ 0.
  • 5. Example Primal Max. Z = 3x 1 +5x 2 Subject to constraints: x 1 < 4 y 1 2x 2 < 12 y 2 3x 1 +2x 2 < 18 y 3 x 1 , x 2 > 0 The Primal has: 2 variables and 3 constraints. So the Dual has: 3 variables and 2 constraints Dual Min. Z’ = 4y 1 +12y 2 +18y 3 Subject to constraints: y 1 + 3y 3 > 3 2y 2 +2y 3 > 5 y 1 , y 2 , y 3 > 0 We define one dual variable for each primal constraint.
  • 6. Example Primal Min.. Z = 10x 1 +15x 2 Subject to constraints: 5x 1 + 7x 2 > 80 6x 1 + 11x 2 > 100 x 1 , x 2 > 0
  • 7. Solution Dual Max.. Z’ = 80y 1 +100y 2 Subject to constraints: 5y 1 + 6y 2 < 10 7y 1 + 11y 2 < 15 y 1 , y 2 > 0
  • 8. Example Primal Max. Z = 12x 1 + 4x 2 Subject to constraints: 4x 1 + 7x 2 < 56 2x 1 + 5x 2 > 20 5x 1 + 4x 2 = 40 x 1 , x 2 > 0
  • 9.
  • 10. Cont… The primal problem can now take the following standard form: Max. Z = 12x 1 + 4x 2 Subject to constraints: 4x 1 + 7x 2 < 56 -2x 1 - 5x 2 < -20 5x 1 + 4x 2 < 40 -5x 1 - 4x 2 < -40 x 1 , x 2 > 0
  • 11. Cont… Min. Z’ = 56y 1 -20y 2 + 40y 3 – 40y 4 Subject to constraints: 4y 1 – 2y 2 + 5y 3 – 5y 4 > 12 7y 1 - 5y 2 + 4y 3 – 4y 4 > 4 y 1 , y 2 , y 3 , y 4 > 0 The dual of this problem can now be obtained as follows:
  • 12. Example Primal Min.. Z = 2x 2 + 5x 3 Subject to constraints: x 1 + x 2 > 2 2x 1 + x 2 +6x 3 < 6 x 1 - x 2 +3x 3 = 4 x 1 , x 2 , x 3 > 0
  • 13. Solution Primal in standard form : Max.. Z = -2x 2 - 5x 3 Subject to constraints: -x 1 - x 2 < -2 2x 1 + x 2 +6x 3 < 6 x 1 - x 2 +3x 3 < 4 - x 1 + x 2 - 3x 3 < -4 x 1 , x 2 , x 3 > 0
  • 14. Cont… Dual Min. Z’ = -2y 1 + 6y 2 + 4y 3 – 4y 4 Subject to constraints: -y 1 + 2y 2 + y 3 – y 4 > 0 -y 1 + y 2 - y 3 + y 4 > -2 6y 2 + 3y 3 - 3y 4 > -5 y 1 , y 2 , y 3 , y 4 > 0
  • 16. Introduction Suppose a “basic solution” satisfies the optimality condition but not feasible, then we apply dual simplex method. In regular Simplex method, we start with a Basic Feasible solution (which is not optimal) and move towards optimality always retaining feasibility. In the dual simplex method, the exact opposite occurs. We start with a “optimal” solution (which is not feasible) and move towards feasibility always retaining optimality condition.The algorithm ends once we obtain feasibility.
  • 17.
  • 18. Example Min. Z = 3x 1 + 2x 2 Subject to constraints: 3x 1 + x 2 > 3 4x 1 + 3x 2 > 6 x 1 + x 2 < 3 x 1 , x 2 > 0
  • 19. Cont… Step I: The first two inequalities are multiplied by –1 to convert them to < constraints and convert the objective function into maximization function. Max. Z’ = -3x 1 - 2x 2 where Z’= -Z Subject to constraints: -3x 1 - x 2 < -3 -4x 1 - 3x 2 < -6 x 1 + x 2 < 3 x 1 , x 2 > 0
  • 20. Cont… Let S 1 , S 2 , S 3 be three slack variables Model can rewritten as: Z’ + 3x 1 + 2x 2 = 0 -3x 1 - x 2 +S 1 = -3 -4x 1 - 3x 2 +S 2 = -6 x 1 + x 2 +S 3 = 3 Initial BS is : x 1 = 0, x 2 = 0, S 1 = -3, S 2 = -6, S 3 = 3 and Z=0.
  • 21.
  • 22. Cont… Therefore, S 1 is the departing variable and x 1 is the entering variable. - 2 - - 1/5 - Ratio 1 1 1/3 0 0 -1/3 0 S 3 2 0 -1/3 0 1 4/3 0 x 2 -1 0 -1/3 1 0 -5/3 0 S 1 4 0 2/3 0 0 1/3 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of: Basic Variable
  • 23. Cont… Optimal Solution is : x 1 = 3/5, x 2 = 6/5, Z= 21/5 6/5 1 2/5 -1/5 0 0 0 S 3 6/5 0 -3/5 4/5 1 0 0 x 2 3/5 0 1/5 -3/5 0 1 0 x 1 21/5 0 3/5 1/5 0 0 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of: Basic Variable
  • 24. Example Max. Z = -x 1 - x 2 Subject to constraints: x 1 + x 2 < 8 x 2 > 3 -x 1 + x 2 < 2 x 1 , x 2 > 0
  • 25. Cont… Let S 1 , S 2 , S 3 be three slack variables Model can rewritten as: Z + x 1 + x 2 = 0 x 1 + x 2 + S 1 = 8 -x 2 + S 2 = -3 -x 1 + x 2 + S 3 = 2 x 1 , x 2 > 0 Initial BS is : x 1 = 0, x 2 = 0, S 1 = 8, S 2 = -3, S 3 = 2 and Z=0.
  • 26. Cont… Therefore, S 2 is the departing variable and x 2 is the entering variable. - - - 1 - - Ratio 2 1 0 0 1 -1 0 S 3 -3 0 1 0 -1 0 0 S 2 8 0 0 1 1 1 0 S 1 0 0 0 0 1 1 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of: Basic Variable
  • 27. Cont… Therefore, S 3 is the departing variable and x 1 is the entering variable. - - - - 1 - Ratio -1 1 1 0 0 -1 0 S 3 3 0 -1 0 1 0 0 x 2 5 0 1 1 0 1 0 S 1 -3 0 1 0 0 1 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of: Basic Variable
  • 28. Cont… Optimal Solution is : x 1 = 1, x 2 = 3, Z= -4 1 -1 -1 0 0 1 0 x 1 3 0 -1 0 1 0 0 x 2 4 0 2 1 0 0 0 S 1 -4 1 2 0 0 0 1 Z Sol. S 3 S 2 S 1 x 2 x 1 Z Coefficients of: Basic Variable