SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,Dronak Sahu
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING karishma gupta
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method pptDereje Tigabu
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation CaseJoseph Konnully
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear ProgrammingSukhpalRamanand
 
Canonical form and Standard form of LPP
Canonical form and Standard form of LPPCanonical form and Standard form of LPP
Canonical form and Standard form of LPPSundar B N
 
Simplex Method
Simplex MethodSimplex Method
Simplex Methodkzoe1996
 
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 methodRoshan Kumar Patel
 
Graphical Method
Graphical MethodGraphical Method
Graphical MethodSachin MK
 
Vogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodVogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodKaushik Maitra
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copyKiran Jadhav
 

Tendances (20)

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
simplex method
simplex methodsimplex method
simplex method
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual 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 - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Canonical form and Standard form of LPP
Canonical form and Standard form of LPPCanonical form and Standard form of LPP
Canonical form and Standard form of LPP
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Bisection method
Bisection methodBisection method
Bisection method
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
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
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Vogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodVogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution Method
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copy
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 

En vedette

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
 

En vedette (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
 

Similaire à Duality

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 
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
 
Trig substitution
Trig substitutionTrig substitution
Trig substitutiondynx24
 
Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Osama Zahid
 

Similaire à Duality (20)

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Big m method
Big   m methodBig   m method
Big m method
 
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
 
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
 
Trig substitution
Trig substitutionTrig substitution
Trig substitution
 
Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)Math lecture 6 (System of Linear Equations)
Math lecture 6 (System of Linear Equations)
 

Plus de 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
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation LppSachin 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
 

Plus de 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
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
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
 

Dernier

empathy map for students very useful.pptx
empathy map for students very useful.pptxempathy map for students very useful.pptx
empathy map for students very useful.pptxGeorgePhilips7
 
Prach Autism AI - Artificial Intelligence
Prach Autism AI - Artificial IntelligencePrach Autism AI - Artificial Intelligence
Prach Autism AI - Artificial Intelligenceprachaibot
 
Financial Lessons To Be Learnt From Navratri
Financial Lessons To Be Learnt From NavratriFinancial Lessons To Be Learnt From Navratri
Financial Lessons To Be Learnt From NavratriRuchi Rathor
 
Deerfoot Church of Christ Bulletin 3 31 24
Deerfoot Church of Christ Bulletin 3 31 24Deerfoot Church of Christ Bulletin 3 31 24
Deerfoot Church of Christ Bulletin 3 31 24deerfootcoc
 
A357 Hate can stir up strife, but love can cover up all mistakes. hate, love...
A357 Hate can stir up strife, but love can cover up all mistakes.  hate, love...A357 Hate can stir up strife, but love can cover up all mistakes.  hate, love...
A357 Hate can stir up strife, but love can cover up all mistakes. hate, love...franktsao4
 
The-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdf
The-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdfThe-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdf
The-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdfSana Khan
 
Deerfoot Church of Christ Bulletin 4 14 24
Deerfoot Church of Christ Bulletin 4 14 24Deerfoot Church of Christ Bulletin 4 14 24
Deerfoot Church of Christ Bulletin 4 14 24deerfootcoc
 
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
 
Interesting facts about Hindu Mythology.pptx
Interesting facts about Hindu Mythology.pptxInteresting facts about Hindu Mythology.pptx
Interesting facts about Hindu Mythology.pptxaskganesha.com
 
PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!spy7777777guy
 
Secrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. Helwa
Secrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. HelwaSecrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. Helwa
Secrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. HelwaNodd Nittong
 
"There are probably more Nobel Laureates who are people of faith than is gen...
 "There are probably more Nobel Laureates who are people of faith than is gen... "There are probably more Nobel Laureates who are people of faith than is gen...
"There are probably more Nobel Laureates who are people of faith than is gen...Steven Camilleri
 
PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!spy7777777guy
 
Ayodhya Temple saw its first Big Navratri Festival!
Ayodhya Temple saw its first Big Navratri Festival!Ayodhya Temple saw its first Big Navratri Festival!
Ayodhya Temple saw its first Big Navratri Festival!All in One Trendz
 
Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)
Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)
Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)Darul Amal Chishtia
 
A Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptx
A Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptxA Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptx
A Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptxOH TEIK BIN
 
The King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptx
The King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptxThe King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptx
The King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptxOH TEIK BIN
 

Dernier (20)

empathy map for students very useful.pptx
empathy map for students very useful.pptxempathy map for students very useful.pptx
empathy map for students very useful.pptx
 
English - The Dangers of Wine Alcohol.pptx
English - The Dangers of Wine Alcohol.pptxEnglish - The Dangers of Wine Alcohol.pptx
English - The Dangers of Wine Alcohol.pptx
 
Prach Autism AI - Artificial Intelligence
Prach Autism AI - Artificial IntelligencePrach Autism AI - Artificial Intelligence
Prach Autism AI - Artificial Intelligence
 
Financial Lessons To Be Learnt From Navratri
Financial Lessons To Be Learnt From NavratriFinancial Lessons To Be Learnt From Navratri
Financial Lessons To Be Learnt From Navratri
 
Deerfoot Church of Christ Bulletin 3 31 24
Deerfoot Church of Christ Bulletin 3 31 24Deerfoot Church of Christ Bulletin 3 31 24
Deerfoot Church of Christ Bulletin 3 31 24
 
Top 8 Krishna Bhajan Lyrics in English.pdf
Top 8 Krishna Bhajan Lyrics in English.pdfTop 8 Krishna Bhajan Lyrics in English.pdf
Top 8 Krishna Bhajan Lyrics in English.pdf
 
A357 Hate can stir up strife, but love can cover up all mistakes. hate, love...
A357 Hate can stir up strife, but love can cover up all mistakes.  hate, love...A357 Hate can stir up strife, but love can cover up all mistakes.  hate, love...
A357 Hate can stir up strife, but love can cover up all mistakes. hate, love...
 
The-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdf
The-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdfThe-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdf
The-Clear-Quran,-A-Thematic-English-Translation-by-Dr-Mustafa-Khattab.pdf
 
Deerfoot Church of Christ Bulletin 4 14 24
Deerfoot Church of Christ Bulletin 4 14 24Deerfoot Church of Christ Bulletin 4 14 24
Deerfoot Church of Christ Bulletin 4 14 24
 
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
 
The spiritual moderator of vincentian groups
The spiritual moderator of vincentian groupsThe spiritual moderator of vincentian groups
The spiritual moderator of vincentian groups
 
Interesting facts about Hindu Mythology.pptx
Interesting facts about Hindu Mythology.pptxInteresting facts about Hindu Mythology.pptx
Interesting facts about Hindu Mythology.pptx
 
PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!
 
Secrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. Helwa
Secrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. HelwaSecrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. Helwa
Secrets of Divine Love - A Spiritual Journey into the Heart of Islam - A. Helwa
 
"There are probably more Nobel Laureates who are people of faith than is gen...
 "There are probably more Nobel Laureates who are people of faith than is gen... "There are probably more Nobel Laureates who are people of faith than is gen...
"There are probably more Nobel Laureates who are people of faith than is gen...
 
PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!PROPHECY-- The End Of My People Forever!
PROPHECY-- The End Of My People Forever!
 
Ayodhya Temple saw its first Big Navratri Festival!
Ayodhya Temple saw its first Big Navratri Festival!Ayodhya Temple saw its first Big Navratri Festival!
Ayodhya Temple saw its first Big Navratri Festival!
 
Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)
Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)
Monthly Khazina-e-Ruhaniyaat April’2024 (Vol.14, Issue 12)
 
A Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptx
A Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptxA Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptx
A Tsunami Tragedy ~ Wise Reflections for Troubled Times (Eng. & Chi.).pptx
 
The King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptx
The King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptxThe King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptx
The King 'Great Goodness' Part 1 Mahasilava Jataka (Eng. & Chi.).pptx
 

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