SlideShare a Scribd company logo
1 of 47
Duality Theory in LP
A model consisting of linear relationships representing a firm’s objective and resource constraints Linear Programming LP is a mathematical modeling technique used to determine a level of operational activity in order to achieve an objective, subject to restrictions called constraints
LP Model Formulation Decision variables mathematical symbols representing levels of activity of an operation Objective function a linear relationship reflecting the objective of an operation most frequent objective of business firms is to maximize profit most frequent objective of individual operational units (such as a production or packaging department) is to minimize cost Constraint a linear relationship representing a restriction on decision making
LP Model Formulation (cont.) Max/min            z = c1x1 + c2x2 + ... + cnxn subject to: 			a11x1 + a12x2 + ... + a1nxn (≤, =, ≥) b1 			a21x1 + a22x2 + ... + a2nxn (≤, =, ≥) b2 				: 		 	am1x1 + am2x2 + ... + amnxn (≤, =, ≥) bm xj = decision variables 	bi = constraint levels cj= objective function coefficients aij = constraint coefficients
Geometry of the Prototype Example Max    3 P1 + 5  P2 s.t.        P1   +          <  4    (Plant 1)                         2 P2 < 12   (Plant 2)             3 P1 + 2 P2 < 18   (Plant 3)               P1, P2       > 0     (nonnegativity) P2 Every point in this nonnegative quadrant  is associated with a specific production alternative. ( point = decision = solution ) P1 0
Geometry of the Prototype Example Max    3 P1 + 5  P2 s.t.        P1   +          <  4    (Plant 1)                         2 P2 < 12   (Plant 2)             3 P1 + 2 P2 < 18   (Plant 3)               P1, P2       > 0     (nonnegativity) P2 P1 (4,0) (0,0)
Geometry of the Prototype Example Max    3 P1 + 5  P2 s.t.        P1   +          <  4    (Plant 1) 2 P2 < 12   (Plant 2)             3 P1 + 2 P2 < 18   (Plant 3)               P1, P2       > 0     (nonnegativity) P2 (0,6) P1 (4,0) (0,0)
Geometry of the Prototype Example Max    3 P1 + 5  P2 s.t.        P1   +          <  4    (Plant 1) 2 P2 < 12   (Plant 2) 3 P1 + 2 P2 < 18   (Plant 3)               P1, P2       > 0     (nonnegativity) P2 (0,6) (2,6) (4,3) (9,0) P1 (4,0) (0,0)
Geometry of the Prototype Example Max    3 P1 + 5  P2 s.t.        P1   +          <  4    (Plant 1) 2 P2 < 12   (Plant 2) 3 P1 + 2 P2 < 18   (Plant 3)               P1, P2       > 0     (nonnegativity) P2 (0,6) (2,6) (4,3) (9,0) P1 (4,0) (0,0)
Max    3 P1 + 5  P2 In Feasible Region P2 (0,6) (2,6) Feasible region is the set of points (solutions) that simultaneously satisfy all the constraints. There are infinitely many feasible points (solutions). (4,3) (9,0) P1 (4,0) (0,0)
Geometry of the Prototype Example Max    3 P1 + 5  P2 P2 (0,6) (2,6) Objective function contour (iso-profit line) (4,3) (9,0) P1 (4,0) 3 P1 + 5 P2 = 12 (0,0)
Geometry of the Prototype Example Max    3 P1 + 5  P2 s.t.        P1   +          <  4    (Plant 1) 2 P2 < 12   (Plant 2) 3 P1 + 2 P2 < 18   (Plant 3)               P1, P2       > 0     (nonnegativity) 3 P1 + 5 P2 = 36 P2 (0,6) (2,6) Optimal Solution: the solution for the simultaneous boundary equations of two active constraints (4,3) (9,0) P1 (4,0) (0,0)
LP Terminology solution (decision, point): any specification of values for all decision variables, regardless of whether it is a desirable or even allowable choice feasible solution: a solution for which all the constraints are satisfied. feasible region (constraint set, feasible set): the collection of all feasible solution optimal solution (optimum): a feasible solution that has the most favorable value of the objective function optimal (objective) value: the value of the objective function evaluated at an optimal solution
Unbounded or Infeasible Case On the left, the objective function is unbounded On the right, the feasible set is empty
LP Model: Example RESOURCE REQUIREMENTS Labor	Clay	Revenue PRODUCT	(hr/unit)	(lb/unit)	($/unit) Bowl	1	4	40	 Mug	2	3	50 	There are 40 hours of labor and 120 pounds of clay available each day Decision variables x1 = number of bowls to produce x2 = number of mugs to produce
LP Formulation: Example Maximize Z = $40 x1 + 50 x2 Subject to 	x1	+	2x2	40 hr	(labor constraint) 	4x1	+	3x2	120 lb	(clay constraint) 			x1 , x2	0 Solution is 	x1 = 24 bowls 	x2 = 8 mugs 	Revenue = $1,360
Graphical Solution Method Plot model constraint on a set of coordinates in a plane Identify the feasible solution space on the graph where all constraints are satisfied simultaneously Plot objective function to find the point on boundary of this space that maximizes (or minimizes) value of objective function
50 – 40 – 30 – 20 – 10 – 0 – x2 4 x1 + 3 x2 120 lb Area common to both constraints x1 + 2 x2 40 hr | 10 | 60 | 50 | 20 | 30 | 40 x1 Graphical Solution: Example
40 – 30 – 20 – 10 – 0 – x2 x1	+	2x2	=	40 	4x1	+	3x2	=	120 	4x1	+	8x2	=	160 	-4x1	-	3x2	=	-120 			5x2	=	40 			x2	=	8 	x1	+	2(8)	=	40 x1			=	24 4 x1 + 3 x2 120 lb x1 + 2 x2 40 hr x1 | 10 | 20 | 30 | 40 Z = $50(24) + $50(8) = $1,360 Computing Optimal Values 8 24
Extreme Corner Points x1 = 0 bowls x2 =20 mugs Z = $1,000 x2 x1 = 224 bowls x2 =8 mugs Z = $1,360 40 – 30 – 20 – 10 – 0 – x1 = 30 bowls x2 =0 mugs Z = $1,200 A B C | 20 | 30 | 40 | 10 x1
Theory of Linear Programming An LP problem falls in one of three cases: Problem is infeasible: Feasible region is empty. Problem is unbounded: Feasible region is unbounded towards the optimizing direction. Problem is feasible and bounded: then there exists an optimal point; an optimal point is on the boundary of the feasible region; and there is always at least one optimal corner point (if the feasible region has a corner point). When the problem is feasible and bounded, There  may be a unique optimal point or multiple optima (alternative optima). If a corner point is not “worse” than all its neighbor corners, then it is optimal.
Duality Theory    The theory of duality is a very elegant and important concept within the field of operations  research.  This theory was first developed in relation to linear programming, but it has many applications, and perhaps even a more natural and intuitive interpretation, in several related areas such  as nonlinear programming, networks and game theory.
Duality Theory ,[object Object]
it is the relationship between the primal and its  dual, both on a mathematical and economic level, that is truly the essence of duality theory. ,[object Object],[object Object]
[object Object],[object Object],[object Object]
Standard form of the Primal Problem
Standard form of the Dual Problem
   Definition Dual Problem Primal Problem b is not assumed to be non-negative
Primal-Dual relationship
Example
Dual
Standard form!
Primal-Dual relationship  Primal Problem Dual Problem opt=max opt=min Variable i : yi >= 0 yiurs Constraint  j:                 >=  form                   =   form Constraint i :                 <= form                   = form Variable j: xj >= 0 xjurs
♣ Duality in LP In LP models, scarce resources are allocated, so they     should be, valued Whenever we solve an LP problem, we solve two     problems: the primal resource allocation problem,     and the dual resource valuation problem If the primal problem has nvariables and m constraints,     the dual problem will have mvariables and nconstraints
                    Primal and Dual Algebra Primal Dual
Example Primal Dual
General Rules for Constructing Dual 1. The number of variables in the dual problem is equal to the number of constraints in the original (primal) problem. The number of constraints in the dual problem is equal to the number of variables in the original problem. 2. Coefficient of the objective function in the dual problem come from the right-hand side of the original problem. 3. If the original problem is amax model, the dual is aminmodel; if the original problem is amin model, the dual problem is themaxproblem. 4. The coefficient of the first constraint function for the dual problem are the coefficients of the first variable in the constraints for the original problem, and the similarly for other constraints. 5. The right-hand sides of the dual constraints come from the objective function coefficients in the original problem.
Relations between Primal and Dual 1. 	The dual of the dual problem is again the primal problem. 2. 	Either of the two problems has an optimal solution if and only if the other does; if one problem is feasible but unbounded, then the other is infeasible; if one is infeasible, then the other is either infeasible or feasible/unbounded. 3.Weak Duality Theorem: The objective function value of the primal (dual) to be maximized evaluated at any primal (dual) feasible solution cannot exceed the dual (primal) objective function value evaluated at a dual (primal) feasible solution. cTx  >=  bTy     (in the standard equality form)
Relations between Primal and Dual (continued) 4.Strong Duality Theorem: When there is an optimal solution, the optimal objective value of the primal is the same as the optimal objective value of the dual. cTx*  =  bTy*
Weak Duality  DLP provides upper bound (in the case of maximization) to the solution of the PLP. Ex) maximum flow vs. minimum cut Weak duality : any feasible solution to the primal linear program has a value no greater than that of any feasible solution to the dual linear program.  Lemma : Let x and y be any feasible solution to the PLP and DLP respectively. Then cTx≤ yTb.
Strong Duality  Strong duality : if PLP is feasible and has a finite optimum then DLP is feasible and has a finite optimum.  Furthermore, if x*  and  y* are optimal solutions for PLP and DLP then cTx*= y*Tb
Four Possible Primal Dual Problems
Jyothimon C M.Tech Technology Management University of Kerala Send your feedbacks and queries to jyothimonc@yahoo.com
Duality in Linear Programming
Duality in Linear Programming
Duality in Linear Programming

More Related Content

What's hot

Duality in lpp
Duality in lppDuality in lpp
Duality in lppAbu Bashar
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming ProblemRAVI PRASAD K.J.
 
3. linear programming senstivity analysis
3. linear programming senstivity analysis3. linear programming senstivity analysis
3. linear programming senstivity analysisHakeem-Ur- Rehman
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,Dronak Sahu
 
Transportation and Assignment
Transportation and AssignmentTransportation and Assignment
Transportation and AssignmentLokesh Payasi
 
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingSalah A. Skaik - MBA-PMP®
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplexSHAMJITH KM
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear ProgrammingSukhpalRamanand
 
Two persons zero sum game
Two persons zero sum gameTwo persons zero sum game
Two persons zero sum gameYasir Hashmi
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation ResearchR A Shah
 

What's hot (20)

Duality in lpp
Duality in lppDuality in lpp
Duality in lpp
 
Big m method
Big m methodBig m method
Big m method
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
3. linear programming senstivity analysis
3. linear programming senstivity analysis3. linear programming senstivity analysis
3. linear programming senstivity analysis
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Goal programming
Goal programmingGoal programming
Goal programming
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
Integer programming
Integer programmingInteger programming
Integer programming
 
simplex method
simplex methodsimplex method
simplex method
 
Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
 
Transportation and Assignment
Transportation and AssignmentTransportation and Assignment
Transportation and Assignment
 
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
Linear programing
Linear programingLinear programing
Linear programing
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Two persons zero sum game
Two persons zero sum gameTwo persons zero sum game
Two persons zero sum game
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation Research
 

Similar to Duality in Linear Programming

Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014Shakti Ranjan
 
Chapter 4 Duality & sensitivity analysis hand out last .pdf
Chapter 4 Duality & sensitivity analysis hand out last .pdfChapter 4 Duality & sensitivity analysis hand out last .pdf
Chapter 4 Duality & sensitivity analysis hand out last .pdfTsegay Berhe
 
primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problemYash Lad
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game TheoryPurnima Pandit
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical MethodJoseph Konnully
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMINGrashi9
 
Taylor introms10 ppt_02
Taylor introms10 ppt_02Taylor introms10 ppt_02
Taylor introms10 ppt_02QA Cmu
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptMayurkumarpatil1
 
Chapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfChapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfTsegay Berhe
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
Graphical Method
Graphical MethodGraphical Method
Graphical MethodSachin MK
 
Integer Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdfInteger Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdfRaja Manyam
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdfTsegay Berhe
 
lecture 1
lecture 1lecture 1
lecture 1sajinsc
 
beyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensionsbeyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensionsAngelica Angelo Ocon
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabiManzoor Wani
 
Proyecto parcial ii_grupo2.docx
Proyecto parcial ii_grupo2.docxProyecto parcial ii_grupo2.docx
Proyecto parcial ii_grupo2.docxLuisCuevaFlores
 

Similar to Duality in Linear Programming (20)

Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014
 
Ms(lpgraphicalsoln.)[1]
Ms(lpgraphicalsoln.)[1]Ms(lpgraphicalsoln.)[1]
Ms(lpgraphicalsoln.)[1]
 
Chapter 4 Duality & sensitivity analysis hand out last .pdf
Chapter 4 Duality & sensitivity analysis hand out last .pdfChapter 4 Duality & sensitivity analysis hand out last .pdf
Chapter 4 Duality & sensitivity analysis hand out last .pdf
 
primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problem
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
linearprogramming.pdf
linearprogramming.pdflinearprogramming.pdf
linearprogramming.pdf
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Taylor introms10 ppt_02
Taylor introms10 ppt_02Taylor introms10 ppt_02
Taylor introms10 ppt_02
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
 
Chapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfChapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdf
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
Em8720 e
Em8720 eEm8720 e
Em8720 e
 
Integer Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdfInteger Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdf
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
 
lecture 1
lecture 1lecture 1
lecture 1
 
beyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensionsbeyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensions
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabi
 
Proyecto parcial ii_grupo2.docx
Proyecto parcial ii_grupo2.docxProyecto parcial ii_grupo2.docx
Proyecto parcial ii_grupo2.docx
 

Recently uploaded

Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfOnline Income Engine
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseri bangash
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdftbatkhuu1
 

Recently uploaded (20)

Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdf
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdf
 

Duality in Linear Programming

  • 2. A model consisting of linear relationships representing a firm’s objective and resource constraints Linear Programming LP is a mathematical modeling technique used to determine a level of operational activity in order to achieve an objective, subject to restrictions called constraints
  • 3. LP Model Formulation Decision variables mathematical symbols representing levels of activity of an operation Objective function a linear relationship reflecting the objective of an operation most frequent objective of business firms is to maximize profit most frequent objective of individual operational units (such as a production or packaging department) is to minimize cost Constraint a linear relationship representing a restriction on decision making
  • 4. LP Model Formulation (cont.) Max/min z = c1x1 + c2x2 + ... + cnxn subject to: a11x1 + a12x2 + ... + a1nxn (≤, =, ≥) b1 a21x1 + a22x2 + ... + a2nxn (≤, =, ≥) b2 : am1x1 + am2x2 + ... + amnxn (≤, =, ≥) bm xj = decision variables bi = constraint levels cj= objective function coefficients aij = constraint coefficients
  • 5. Geometry of the Prototype Example Max 3 P1 + 5 P2 s.t. P1 + < 4 (Plant 1) 2 P2 < 12 (Plant 2) 3 P1 + 2 P2 < 18 (Plant 3) P1, P2 > 0 (nonnegativity) P2 Every point in this nonnegative quadrant is associated with a specific production alternative. ( point = decision = solution ) P1 0
  • 6. Geometry of the Prototype Example Max 3 P1 + 5 P2 s.t. P1 + < 4 (Plant 1) 2 P2 < 12 (Plant 2) 3 P1 + 2 P2 < 18 (Plant 3) P1, P2 > 0 (nonnegativity) P2 P1 (4,0) (0,0)
  • 7. Geometry of the Prototype Example Max 3 P1 + 5 P2 s.t. P1 + < 4 (Plant 1) 2 P2 < 12 (Plant 2) 3 P1 + 2 P2 < 18 (Plant 3) P1, P2 > 0 (nonnegativity) P2 (0,6) P1 (4,0) (0,0)
  • 8. Geometry of the Prototype Example Max 3 P1 + 5 P2 s.t. P1 + < 4 (Plant 1) 2 P2 < 12 (Plant 2) 3 P1 + 2 P2 < 18 (Plant 3) P1, P2 > 0 (nonnegativity) P2 (0,6) (2,6) (4,3) (9,0) P1 (4,0) (0,0)
  • 9. Geometry of the Prototype Example Max 3 P1 + 5 P2 s.t. P1 + < 4 (Plant 1) 2 P2 < 12 (Plant 2) 3 P1 + 2 P2 < 18 (Plant 3) P1, P2 > 0 (nonnegativity) P2 (0,6) (2,6) (4,3) (9,0) P1 (4,0) (0,0)
  • 10. Max 3 P1 + 5 P2 In Feasible Region P2 (0,6) (2,6) Feasible region is the set of points (solutions) that simultaneously satisfy all the constraints. There are infinitely many feasible points (solutions). (4,3) (9,0) P1 (4,0) (0,0)
  • 11. Geometry of the Prototype Example Max 3 P1 + 5 P2 P2 (0,6) (2,6) Objective function contour (iso-profit line) (4,3) (9,0) P1 (4,0) 3 P1 + 5 P2 = 12 (0,0)
  • 12. Geometry of the Prototype Example Max 3 P1 + 5 P2 s.t. P1 + < 4 (Plant 1) 2 P2 < 12 (Plant 2) 3 P1 + 2 P2 < 18 (Plant 3) P1, P2 > 0 (nonnegativity) 3 P1 + 5 P2 = 36 P2 (0,6) (2,6) Optimal Solution: the solution for the simultaneous boundary equations of two active constraints (4,3) (9,0) P1 (4,0) (0,0)
  • 13. LP Terminology solution (decision, point): any specification of values for all decision variables, regardless of whether it is a desirable or even allowable choice feasible solution: a solution for which all the constraints are satisfied. feasible region (constraint set, feasible set): the collection of all feasible solution optimal solution (optimum): a feasible solution that has the most favorable value of the objective function optimal (objective) value: the value of the objective function evaluated at an optimal solution
  • 14. Unbounded or Infeasible Case On the left, the objective function is unbounded On the right, the feasible set is empty
  • 15. LP Model: Example RESOURCE REQUIREMENTS Labor Clay Revenue PRODUCT (hr/unit) (lb/unit) ($/unit) Bowl 1 4 40 Mug 2 3 50 There are 40 hours of labor and 120 pounds of clay available each day Decision variables x1 = number of bowls to produce x2 = number of mugs to produce
  • 16. LP Formulation: Example Maximize Z = $40 x1 + 50 x2 Subject to x1 + 2x2 40 hr (labor constraint) 4x1 + 3x2 120 lb (clay constraint) x1 , x2 0 Solution is x1 = 24 bowls x2 = 8 mugs Revenue = $1,360
  • 17. Graphical Solution Method Plot model constraint on a set of coordinates in a plane Identify the feasible solution space on the graph where all constraints are satisfied simultaneously Plot objective function to find the point on boundary of this space that maximizes (or minimizes) value of objective function
  • 18. 50 – 40 – 30 – 20 – 10 – 0 – x2 4 x1 + 3 x2 120 lb Area common to both constraints x1 + 2 x2 40 hr | 10 | 60 | 50 | 20 | 30 | 40 x1 Graphical Solution: Example
  • 19. 40 – 30 – 20 – 10 – 0 – x2 x1 + 2x2 = 40 4x1 + 3x2 = 120 4x1 + 8x2 = 160 -4x1 - 3x2 = -120 5x2 = 40 x2 = 8 x1 + 2(8) = 40 x1 = 24 4 x1 + 3 x2 120 lb x1 + 2 x2 40 hr x1 | 10 | 20 | 30 | 40 Z = $50(24) + $50(8) = $1,360 Computing Optimal Values 8 24
  • 20. Extreme Corner Points x1 = 0 bowls x2 =20 mugs Z = $1,000 x2 x1 = 224 bowls x2 =8 mugs Z = $1,360 40 – 30 – 20 – 10 – 0 – x1 = 30 bowls x2 =0 mugs Z = $1,200 A B C | 20 | 30 | 40 | 10 x1
  • 21. Theory of Linear Programming An LP problem falls in one of three cases: Problem is infeasible: Feasible region is empty. Problem is unbounded: Feasible region is unbounded towards the optimizing direction. Problem is feasible and bounded: then there exists an optimal point; an optimal point is on the boundary of the feasible region; and there is always at least one optimal corner point (if the feasible region has a corner point). When the problem is feasible and bounded, There may be a unique optimal point or multiple optima (alternative optima). If a corner point is not “worse” than all its neighbor corners, then it is optimal.
  • 22. Duality Theory The theory of duality is a very elegant and important concept within the field of operations research. This theory was first developed in relation to linear programming, but it has many applications, and perhaps even a more natural and intuitive interpretation, in several related areas such as nonlinear programming, networks and game theory.
  • 23.
  • 24.
  • 25.
  • 26. Standard form of the Primal Problem
  • 27. Standard form of the Dual Problem
  • 28. Definition Dual Problem Primal Problem b is not assumed to be non-negative
  • 31.
  • 32. Dual
  • 34. Primal-Dual relationship Primal Problem Dual Problem opt=max opt=min Variable i : yi >= 0 yiurs Constraint j: >= form = form Constraint i : <= form = form Variable j: xj >= 0 xjurs
  • 35. ♣ Duality in LP In LP models, scarce resources are allocated, so they should be, valued Whenever we solve an LP problem, we solve two problems: the primal resource allocation problem, and the dual resource valuation problem If the primal problem has nvariables and m constraints, the dual problem will have mvariables and nconstraints
  • 36. Primal and Dual Algebra Primal Dual
  • 38. General Rules for Constructing Dual 1. The number of variables in the dual problem is equal to the number of constraints in the original (primal) problem. The number of constraints in the dual problem is equal to the number of variables in the original problem. 2. Coefficient of the objective function in the dual problem come from the right-hand side of the original problem. 3. If the original problem is amax model, the dual is aminmodel; if the original problem is amin model, the dual problem is themaxproblem. 4. The coefficient of the first constraint function for the dual problem are the coefficients of the first variable in the constraints for the original problem, and the similarly for other constraints. 5. The right-hand sides of the dual constraints come from the objective function coefficients in the original problem.
  • 39. Relations between Primal and Dual 1. The dual of the dual problem is again the primal problem. 2. Either of the two problems has an optimal solution if and only if the other does; if one problem is feasible but unbounded, then the other is infeasible; if one is infeasible, then the other is either infeasible or feasible/unbounded. 3.Weak Duality Theorem: The objective function value of the primal (dual) to be maximized evaluated at any primal (dual) feasible solution cannot exceed the dual (primal) objective function value evaluated at a dual (primal) feasible solution. cTx >= bTy (in the standard equality form)
  • 40. Relations between Primal and Dual (continued) 4.Strong Duality Theorem: When there is an optimal solution, the optimal objective value of the primal is the same as the optimal objective value of the dual. cTx* = bTy*
  • 41. Weak Duality DLP provides upper bound (in the case of maximization) to the solution of the PLP. Ex) maximum flow vs. minimum cut Weak duality : any feasible solution to the primal linear program has a value no greater than that of any feasible solution to the dual linear program. Lemma : Let x and y be any feasible solution to the PLP and DLP respectively. Then cTx≤ yTb.
  • 42. Strong Duality Strong duality : if PLP is feasible and has a finite optimum then DLP is feasible and has a finite optimum. Furthermore, if x* and y* are optimal solutions for PLP and DLP then cTx*= y*Tb
  • 43. Four Possible Primal Dual Problems
  • 44. Jyothimon C M.Tech Technology Management University of Kerala Send your feedbacks and queries to jyothimonc@yahoo.com