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

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
Dronak Sahu
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
Sachin MK
 
Duality in lpp
Duality in lppDuality in lpp
Duality in lpp
Abu Bashar
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
itsvineeth209
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
Sachin MK
 

What's hot (20)

Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
linear programming
linear programminglinear programming
linear programming
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Integer programming
Integer programmingInteger programming
Integer programming
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Linear programing
Linear programingLinear programing
Linear programing
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Big m method
Big m methodBig m method
Big m method
 
Duality in lpp
Duality in lppDuality in lpp
Duality in lpp
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Game theory ppt
Game theory pptGame theory ppt
Game theory ppt
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of 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
 
LP special cases and Duality.pptx
LP special cases and Duality.pptxLP special cases and Duality.pptx
LP special cases and Duality.pptx
 
Linear Programming Problems : Dr. Purnima Pandit
Linear Programming Problems : Dr. Purnima PanditLinear Programming Problems : Dr. Purnima Pandit
Linear Programming Problems : Dr. Purnima Pandit
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
 

Similar to Duality in Linear Programming

Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014
Shakti Ranjan
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
Joseph Konnully
 
Taylor introms10 ppt_02
Taylor introms10 ppt_02Taylor introms10 ppt_02
Taylor introms10 ppt_02
QA Cmu
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
chaitu87
 
lecture 1
lecture 1lecture 1
lecture 1
sajinsc
 
beyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensionsbeyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensions
Angelica Angelo Ocon
 

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
 
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
 
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
 
Em8720 e
Em8720 eEm8720 e
Em8720 e
 
Integer Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdfInteger Programming PPt.ernxzamnbmbmspdf
Integer Programming PPt.ernxzamnbmbmspdf
 
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
 
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- Leacture-16-lp1.pptx
Linear Programming- Leacture-16-lp1.pptxLinear Programming- Leacture-16-lp1.pptx
Linear Programming- Leacture-16-lp1.pptx
 
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
 
Annie
AnnieAnnie
Annie
 

Recently uploaded

Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
bleessingsbender
 
Contact +971581248768 for 100% original and safe abortion pills available for...
Contact +971581248768 for 100% original and safe abortion pills available for...Contact +971581248768 for 100% original and safe abortion pills available for...
Contact +971581248768 for 100% original and safe abortion pills available for...
DUBAI (+971)581248768 BUY ABORTION PILLS IN ABU dhabi...Qatar
 

Recently uploaded (20)

How does a bike-share company navigate speedy success? - Cyclistic
How does a bike-share company navigate speedy success? - CyclisticHow does a bike-share company navigate speedy success? - Cyclistic
How does a bike-share company navigate speedy success? - Cyclistic
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Managerial Accounting 5th Edition by Stacey Whitecotton test bank.docx
Managerial Accounting 5th Edition by Stacey Whitecotton test bank.docxManagerial Accounting 5th Edition by Stacey Whitecotton test bank.docx
Managerial Accounting 5th Edition by Stacey Whitecotton test bank.docx
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
A DAY IN THE LIFE OF A SALESPERSON .pptx
A DAY IN THE LIFE OF A SALESPERSON .pptxA DAY IN THE LIFE OF A SALESPERSON .pptx
A DAY IN THE LIFE OF A SALESPERSON .pptx
 
Goal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptx
Goal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptxGoal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptx
Goal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptx
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
UJJAIN CALL GIRL ❤ 8272964427❤ CALL GIRLS IN UJJAIN ESCORTS SERVICE PROVIDE
UJJAIN CALL GIRL ❤ 8272964427❤ CALL GIRLS IN UJJAIN ESCORTS SERVICE PROVIDEUJJAIN CALL GIRL ❤ 8272964427❤ CALL GIRLS IN UJJAIN ESCORTS SERVICE PROVIDE
UJJAIN CALL GIRL ❤ 8272964427❤ CALL GIRLS IN UJJAIN ESCORTS SERVICE PROVIDE
 
Thompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptx
Thompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptxThompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptx
Thompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptx
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Moradia Isolada com Logradouro; Detached house with patio in Penacova
Moradia Isolada com Logradouro; Detached house with patio in PenacovaMoradia Isolada com Logradouro; Detached house with patio in Penacova
Moradia Isolada com Logradouro; Detached house with patio in Penacova
 
Top Quality adbb 5cl-a-d-b Best precursor raw material
Top Quality adbb 5cl-a-d-b Best precursor raw materialTop Quality adbb 5cl-a-d-b Best precursor raw material
Top Quality adbb 5cl-a-d-b Best precursor raw material
 
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptxQSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
 
PALWAL CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN PALWAL ESCORTS
PALWAL CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN PALWAL ESCORTSPALWAL CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN PALWAL ESCORTS
PALWAL CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN PALWAL ESCORTS
 
Contact +971581248768 for 100% original and safe abortion pills available for...
Contact +971581248768 for 100% original and safe abortion pills available for...Contact +971581248768 for 100% original and safe abortion pills available for...
Contact +971581248768 for 100% original and safe abortion pills available for...
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Progress Report - Oracle's OCI Analyst Summit 2024
Progress Report - Oracle's OCI Analyst Summit 2024Progress Report - Oracle's OCI Analyst Summit 2024
Progress Report - Oracle's OCI Analyst Summit 2024
 

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