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?

Was ist angesagt? (20)

Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Big m method
Big m methodBig m method
Big m method
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
simplex method
simplex methodsimplex method
simplex method
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Linear programing
Linear programingLinear programing
Linear programing
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copy
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Big-M Method Presentation
Big-M Method PresentationBig-M Method Presentation
Big-M Method Presentation
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
Linear programing
Linear programingLinear programing
Linear programing
 
Post-optimal analysis of LPP
Post-optimal analysis of LPPPost-optimal analysis of LPP
Post-optimal analysis of LPP
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
Linear Programming
Linear  ProgrammingLinear  Programming
Linear Programming
 

Andere mochten auch

primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problemYash Lad
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebramdaglis
 
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 SERVICEPremium Assignment Help
 
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 STUDYIAEME Publication
 
Common Emitter With Emitter Resistance Re
Common Emitter With Emitter Resistance ReCommon Emitter With Emitter Resistance Re
Common Emitter With Emitter Resistance ReHamdard University
 
How sound is converted to energy
How sound is converted to energyHow sound is converted to energy
How sound is converted to energyAdrita Majumder
 
Noise to electric Energy Conversion
Noise to electric Energy ConversionNoise to electric Energy Conversion
Noise to electric Energy ConversionChintan Shah
 
Sound energy and electricity
Sound energy and electricitySound energy and electricity
Sound energy and electricityAdrita Majumder
 
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 soundsukhvinder343
 
Minterm and maxterm
Minterm and maxtermMinterm and maxterm
Minterm and maxtermparsa.khan64
 
Lesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear ProgrammingLesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear ProgrammingMatthew Leingang
 
linear programming metode simplex
linear programming metode simplexlinear programming metode simplex
linear programming metode simplexBambang Kristiono
 
Sound Energy to Electric Energy
Sound Energy to Electric EnergySound Energy to Electric Energy
Sound Energy to Electric EnergyDebayon Saha
 

Andere mochten auch (20)

Principal of duality
Principal of dualityPrincipal of duality
Principal of duality
 
Duality concept
Duality conceptDuality concept
Duality concept
 
primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problem
 
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
 
Duality
DualityDuality
Duality
 
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
 

Ähnlich wie Duality

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
simplex method-maths 4 mumbai university
simplex method-maths 4 mumbai universitysimplex method-maths 4 mumbai university
simplex method-maths 4 mumbai universityshobhakedari59
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 
Simplex Method
Simplex MethodSimplex Method
Simplex Methodkzoe1996
 
7.3_Nonlinear Programming-LagrangeExamples.pptx
7.3_Nonlinear Programming-LagrangeExamples.pptx7.3_Nonlinear Programming-LagrangeExamples.pptx
7.3_Nonlinear Programming-LagrangeExamples.pptxethannguyen1618
 
Simplex method
Simplex methodSimplex method
Simplex methodtatteya
 
An Introduction to Linear Programming
An Introduction to Linear ProgrammingAn Introduction to Linear Programming
An Introduction to Linear ProgrammingMinh-Tri Pham
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notesTarig Gibreel
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex MethodDivyansh Verma
 
Limits by Factoring
Limits by FactoringLimits by Factoring
Limits by FactoringPablo Antuna
 
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 FactoringPablo Antuna
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –itsvineeth209
 
OR presentation simplex.pptx
OR presentation simplex.pptxOR presentation simplex.pptx
OR presentation simplex.pptxpranalpatilPranal
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variableDevyaneeDevyanee2007
 

Ä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
 
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
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Simplex Method
Simplex MethodSimplex Method
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 & definitionsSachin MK
 
St & internationalization
St & internationalizationSt & internationalization
St & internationalizationSachin MK
 
Software testing techniques
Software testing techniquesSoftware testing techniques
Software testing techniquesSachin MK
 
Rapid software testing
Rapid software testingRapid software testing
Rapid software testingSachin MK
 
Model based software testing
Model based software testingModel based software testing
Model based software testingSachin MK
 
Growth of software testing
Growth of software testingGrowth of software testing
Growth of software testingSachin MK
 
Software testing primer nick jenkins
Software testing primer nick jenkinsSoftware testing primer nick jenkins
Software testing primer nick jenkinsSachin MK
 
Testing quotes neww
Testing quotes newwTesting quotes neww
Testing quotes newwSachin MK
 
Email marketing ver 1.001 [autosaved]
Email marketing ver 1.001 [autosaved]Email marketing ver 1.001 [autosaved]
Email marketing ver 1.001 [autosaved]Sachin MK
 
Database Management Systems Tutorial
Database Management Systems TutorialDatabase Management Systems Tutorial
Database Management Systems TutorialSachin MK
 
Sql Commands
Sql CommandsSql Commands
Sql CommandsSachin MK
 
Inroduction Of Or
Inroduction Of OrInroduction Of Or
Inroduction Of OrSachin MK
 
Grievance Process
Grievance ProcessGrievance Process
Grievance ProcessSachin MK
 
Factors Influencing Employee Remuneration
Factors Influencing Employee RemunerationFactors Influencing Employee Remuneration
Factors Influencing Employee RemunerationSachin MK
 
Compensation
CompensationCompensation
CompensationSachin MK
 
Sources Financing Nsb
Sources  Financing NsbSources  Financing Nsb
Sources Financing NsbSachin 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

Genesis 1:8 || Meditate the Scripture daily verse by verse
Genesis 1:8  ||  Meditate the Scripture daily verse by verseGenesis 1:8  ||  Meditate the Scripture daily verse by verse
Genesis 1:8 || Meditate the Scripture daily verse by versemaricelcanoynuay
 
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
 
MEIDUNIDADE COM JESUS PALESTRA ESPIRITA1.pptx
MEIDUNIDADE COM JESUS  PALESTRA ESPIRITA1.pptxMEIDUNIDADE COM JESUS  PALESTRA ESPIRITA1.pptx
MEIDUNIDADE COM JESUS PALESTRA ESPIRITA1.pptxMneasEntidades
 
Genesis 1:5 - Meditate the Scripture Daily bit by bit
Genesis 1:5 - Meditate the Scripture Daily bit by bitGenesis 1:5 - Meditate the Scripture Daily bit by bit
Genesis 1:5 - Meditate the Scripture Daily bit by bitmaricelcanoynuay
 
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_WorksNetwork Bible Fellowship
 
VADODARA CALL GIRL AVAILABLE 7568201473 call me
VADODARA CALL GIRL AVAILABLE 7568201473 call meVADODARA CALL GIRL AVAILABLE 7568201473 call me
VADODARA CALL GIRL AVAILABLE 7568201473 call meshivanisharma5244
 
Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...
Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...
Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...baharayali
 
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...makhmalhalaaay
 
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
 
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
 
Genesis 1:7 || Meditate the Scripture daily verse by verse
Genesis 1:7  ||  Meditate the Scripture daily verse by verseGenesis 1:7  ||  Meditate the Scripture daily verse by verse
Genesis 1:7 || Meditate the Scripture daily verse by versemaricelcanoynuay
 
Peaceful Meditation | Peaceful Way by Kabastro
Peaceful Meditation | Peaceful Way by KabastroPeaceful Meditation | Peaceful Way by Kabastro
Peaceful Meditation | Peaceful Way by KabastroKabastro
 
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
 
Exploring the Meaning of Jesus’ Ascension
Exploring the Meaning of Jesus’ AscensionExploring the Meaning of Jesus’ Ascension
Exploring the Meaning of Jesus’ AscensionbluetroyvictorVinay
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Hire Best Next Js Developer For Your Project
Hire Best Next Js Developer For Your ProjectHire Best Next Js Developer For Your Project
Hire Best Next Js Developer For Your ProjectCyanic lab
 
Codex Singularity: Search for the Prisca Sapientia
Codex Singularity: Search for the Prisca SapientiaCodex Singularity: Search for the Prisca Sapientia
Codex Singularity: Search for the Prisca Sapientiajfrenchau
 
St. John's Church Parish Magazine - May 2024
St. John's Church Parish Magazine - May 2024St. John's Church Parish Magazine - May 2024
St. John's Church Parish Magazine - May 2024Chris Lyne
 

Kürzlich hochgeladen (20)

Genesis 1:8 || Meditate the Scripture daily verse by verse
Genesis 1:8  ||  Meditate the Scripture daily verse by verseGenesis 1:8  ||  Meditate the Scripture daily verse by verse
Genesis 1:8 || Meditate the Scripture daily verse by verse
 
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...
 
MEIDUNIDADE COM JESUS PALESTRA ESPIRITA1.pptx
MEIDUNIDADE COM JESUS  PALESTRA ESPIRITA1.pptxMEIDUNIDADE COM JESUS  PALESTRA ESPIRITA1.pptx
MEIDUNIDADE COM JESUS PALESTRA ESPIRITA1.pptx
 
Genesis 1:5 - Meditate the Scripture Daily bit by bit
Genesis 1:5 - Meditate the Scripture Daily bit by bitGenesis 1:5 - Meditate the Scripture Daily bit by bit
Genesis 1:5 - Meditate the Scripture Daily bit by bit
 
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
 
VADODARA CALL GIRL AVAILABLE 7568201473 call me
VADODARA CALL GIRL AVAILABLE 7568201473 call meVADODARA CALL GIRL AVAILABLE 7568201473 call me
VADODARA CALL GIRL AVAILABLE 7568201473 call me
 
Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...
Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...
Popular Kala Jadu, Black magic specialist in Sialkot and Kala ilam specialist...
 
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
 
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 ...
 
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:7 || Meditate the Scripture daily verse by verse
Genesis 1:7  ||  Meditate the Scripture daily verse by verseGenesis 1:7  ||  Meditate the Scripture daily verse by verse
Genesis 1:7 || Meditate the Scripture daily verse by verse
 
Peaceful Meditation | Peaceful Way by Kabastro
Peaceful Meditation | Peaceful Way by KabastroPeaceful Meditation | Peaceful Way by Kabastro
Peaceful Meditation | Peaceful Way by Kabastro
 
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...
 
Exploring the Meaning of Jesus’ Ascension
Exploring the Meaning of Jesus’ AscensionExploring the Meaning of Jesus’ Ascension
Exploring the Meaning of Jesus’ Ascension
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
Hire Best Next Js Developer For Your Project
Hire Best Next Js Developer For Your ProjectHire Best Next Js Developer For Your Project
Hire Best Next Js Developer For Your Project
 
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
 
Codex Singularity: Search for the Prisca Sapientia
Codex Singularity: Search for the Prisca SapientiaCodex Singularity: Search for the Prisca Sapientia
Codex Singularity: Search for the Prisca Sapientia
 
St. Louise de Marillac and Galley Prisoners
St. Louise de Marillac and Galley PrisonersSt. Louise de Marillac and Galley Prisoners
St. Louise de Marillac and Galley Prisoners
 
St. John's Church Parish Magazine - May 2024
St. John's Church Parish Magazine - May 2024St. John's Church Parish Magazine - May 2024
St. John's Church Parish Magazine - May 2024
 

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