SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M 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
 
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
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation Research
 
Big m method
Big m methodBig m method
Big m method
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
Operation research unit 1: LPP Big M and Two Phase method
Operation research unit 1: LPP Big M and Two Phase methodOperation research unit 1: LPP Big M and Two Phase method
Operation research unit 1: LPP Big M and Two Phase method
 
Game theory
Game theoryGame theory
Game theory
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Lp simplex 3_
Lp simplex 3_Lp simplex 3_
Lp simplex 3_
 

Destacado

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
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment modelpriyanka yadav
 

Destacado (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
 

Similar a 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
 
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
 
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
 

Similar a Duality (20)

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
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
 
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
 
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
 
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)
 

Más 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
 

Más 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
 

Último

(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...
(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...
(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...Sanjna Singh
 
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our EscortsVIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escortssonatiwari757
 
Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...
Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...
Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...Amil Baba Naveed Bangali
 
Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...
Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...
Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...anilsa9823
 
Famous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jadu
Famous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jaduFamous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jadu
Famous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jaduAmil Baba Naveed Bangali
 
CALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual serviceanilsa9823
 
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
 
NoHo First Good News online newsletter May 2024
NoHo First Good News online newsletter May 2024NoHo First Good News online newsletter May 2024
NoHo First Good News online newsletter May 2024NoHo FUMC
 
Flores de Mayo-history and origin we need to understand
Flores de Mayo-history and origin we need to understandFlores de Mayo-history and origin we need to understand
Flores de Mayo-history and origin we need to understandvillamilcecil909
 
St John's Church Parish Diary for May 2024
St John's Church Parish Diary for May 2024St John's Church Parish Diary for May 2024
St John's Church Parish Diary for May 2024Chris Lyne
 
Surah Yasin and Daily Spiritual Practices
Surah Yasin and Daily Spiritual PracticesSurah Yasin and Daily Spiritual Practices
Surah Yasin and Daily Spiritual Practicesaijazuddin14
 
Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️
Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️
Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️soniya singh
 
madina book to learn arabic part1
madina   book   to  learn  arabic  part1madina   book   to  learn  arabic  part1
madina book to learn arabic part1fa3el khair
 
The_Chronological_Life_of_Christ_Part_98_Jesus_Frees_Us
The_Chronological_Life_of_Christ_Part_98_Jesus_Frees_UsThe_Chronological_Life_of_Christ_Part_98_Jesus_Frees_Us
The_Chronological_Life_of_Christ_Part_98_Jesus_Frees_UsNetwork Bible Fellowship
 
CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service 👔
CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service  👔CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service  👔
CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service 👔anilsa9823
 
Study of the Psalms Chapter 1 verse 2 - wanderean
Study of the Psalms Chapter 1 verse 2 - wandereanStudy of the Psalms Chapter 1 verse 2 - wanderean
Study of the Psalms Chapter 1 verse 2 - wandereanmaricelcanoynuay
 
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...Amil Baba Mangal Maseeh
 
Elite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCR
Elite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCRElite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCR
Elite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCRDelhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...
CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...
CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...anilsa9823
 

Último (20)

(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...
(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...
(NISHA) Call Girls Sanath Nagar ✔️Just Call 7001035870✔️ HI-Fi Hyderabad Esco...
 
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our EscortsVIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
 
Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...
Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...
Top No 1 Amil baba in Islamabad Famous Amil baba in Pakistan Amil baba Contac...
 
Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...
Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...
Lucknow 💋 (Call Girls) in Lucknow | Book 8923113531 Extreme Naughty Call Girl...
 
Famous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jadu
Famous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jaduFamous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jadu
Famous No1 Amil baba in UK/Australia, Canada, Germany Amil baba Kala jadu
 
CALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Balaganj Lucknow best sexual service
 
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
 
NoHo First Good News online newsletter May 2024
NoHo First Good News online newsletter May 2024NoHo First Good News online newsletter May 2024
NoHo First Good News online newsletter May 2024
 
Flores de Mayo-history and origin we need to understand
Flores de Mayo-history and origin we need to understandFlores de Mayo-history and origin we need to understand
Flores de Mayo-history and origin we need to understand
 
St John's Church Parish Diary for May 2024
St John's Church Parish Diary for May 2024St John's Church Parish Diary for May 2024
St John's Church Parish Diary for May 2024
 
Surah Yasin and Daily Spiritual Practices
Surah Yasin and Daily Spiritual PracticesSurah Yasin and Daily Spiritual Practices
Surah Yasin and Daily Spiritual Practices
 
Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️
Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️
Call Girls in majnu ka tila Delhi 8264348440 ✅ call girls ❤️
 
madina book to learn arabic part1
madina   book   to  learn  arabic  part1madina   book   to  learn  arabic  part1
madina book to learn arabic part1
 
The_Chronological_Life_of_Christ_Part_98_Jesus_Frees_Us
The_Chronological_Life_of_Christ_Part_98_Jesus_Frees_UsThe_Chronological_Life_of_Christ_Part_98_Jesus_Frees_Us
The_Chronological_Life_of_Christ_Part_98_Jesus_Frees_Us
 
Call Girls In CP 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In CP 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In CP 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In CP 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service 👔
CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service  👔CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service  👔
CALL ON ➥8923113531 🔝Call Girls Singar Nagar Lucknow best Night Fun service 👔
 
Study of the Psalms Chapter 1 verse 2 - wanderean
Study of the Psalms Chapter 1 verse 2 - wandereanStudy of the Psalms Chapter 1 verse 2 - wanderean
Study of the Psalms Chapter 1 verse 2 - wanderean
 
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
 
Elite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCR
Elite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCRElite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCR
Elite Class ➥8448380779▻ Call Girls In Mehrauli Gurgaon Road Delhi NCR
 
CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...
CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...
CALL ON ➥8923113531 🔝Call Girls Indira Nagar Lucknow Lucknow best Night Fun s...
 

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