SlideShare a Scribd company logo
1 of 51
Water Resources Development and Management
Optimization
(Linear Programming)
CVEN 5393
Feb 25, 2013
Acknowledgements
• Dr. Yicheng Wang (Visiting
Researcher, CADSWES during Fall
2009 – early Spring 2010) for
slides from his Optimization
course during Fall 2009
• Introduction to Operations
Research by Hillier and Lieberman,
McGraw Hill
Today’s Lecture
• Simplex Method
– Recap of algebraic form
– Simplex Method in Tabular form
• Simplex Method for other forms
– Equality Constraints
– Minimization Problems
(Big M and Twophase methods)
• Sensitivity / Shadow Prices
• R-resources / demonstration
(2) Setting Up the Simplex Method
Original Form of the Model
Augmented Form of the Model
SIMPLEX METHOD
(TABULAR FORM)
The Simplex Method in Tabular Form
The tabular form is more convenient form for performing the required calculations.
The logic for the tabular form is identical to that for the algebraic form.
Summary of the Simplex Method in Tabular Form
TABLE 4.3b The Initial Simplex Tableau
TABLE 4.3b The Initial Simplex Tableau
Iteration1
Iteration2
Step1: Choose the entering basic variable to be x1
Step2: Choose the leaving basic variable to be x5
Step3: Solve for the new BF solution.
Optimality test: The solution (2,6,2,0,0) is optimal.
The new BF solution is (2,6,2,0,0) with Z =36
Tie Breaking in the Simplex Method
Tie for the Entering Basic Variable
The answer is that the selection between these contenders
may be made arbitrarily.
The optimal solution will be reached eventually, regardless
of the tied variable chosen.
Tie for the Entering Basic Variable
Tie for the Leaving Basci Variable-Degeneracy
If two or more basic variables tie for being the leaving basic
variable, choose any one of the tied basic variables to be the leaving
basic variable. One or more tied basic variables not chosen to be
the leaving basic variable will have a value of zero.
If a basic variable has a value of zero, it is called degenerate.
For a degenerate problem, a perpetual loop in computation is
theoretically possible, but it has rarely been known to occur in
practical problems. If a loop were to occur, one could always get
out of it by changing the choice of the leaving basic variable.
No Leaving Basic Variable – Unbounded Z
If every coefficient in the pivot column of the simplex tableau is
either negative or zero, there is no leaving basic variable. This case
has an unbound objective function Z
If a problem has an unbounded objective function, the model
probably has been misformulated, or a computational mistake may
have occurred.
Multiple Optimal Solution
In this example, Points C and D are two CPF Solutions, both of
which are optimal. So every point on the line segment CD is
optimal.
Fig. 3.5 The Wyndor Glass Co.
problem would have multiple optimal
solutions if the objective function
were changed to Z = 3x1 + 2x2
C (2,6)
E (4,3)
Therefore, all optimal
solutions are a weighted
average of these two optimal
CPF solutions.
Multiple Optimal Solution
Any linear programming problem with multiple optimal solutions
has at least two CPF solutions that are optimal. All optimal
solutions are a weighted average of these two optimal CPF
solutions.
Consequently, in augmented form, any linear programming
problem with multiple optimal solutions has at least two BF
solutions that are optimal. All optimal solutions are a weighted
average of these two optimal BF solutions.
Multiple Optimal Solution
These two are the only BF solutions that are optimal, and all other
optimal solutions are a convex combination of these .
SENSITIVITY
(SHADOW PRICES & SIGNIFICANCE)
Shadow Prices
(0)
(1)
(2)
(3)
Resource bi = production time available in Plant i for the new
products.
How will the objective function value change if any bi is
increased by 1 ?
b2: from 12 to 13
Z: from 36 to 37.5
△Z=3/2
b1: from 4 to 5
Z: from 36 to 36
△Z=0
b3: from 18 to 19
Z: from 36 to 37
△Z=1
indicates that adding 1 more hour of production time in Plant 2 for the two
new products would increase the total profit by $1,500.
The constraint on resource 1 is
not binding on the optimal
solution, so there is a surplus of
this resource. Such resources are
called free goods
The constraints on resources 2 and
3 are binding constraints. Such
resources are called scarce goods.
H(0,9)
Sensitivity Analysis
Maximize
b, c, and a are parameters whose values will not be known exactly
until the alternative given by linear programming is implemented in
the future.
The main purpose of sensitivity analysis is to identify the sensitive
parameters.
A parameter is called a sensitive parameter if the optimal solution
changes with the parameter.
How are the sensitive parameters identified?
In the case of bi , the shadow price is used to determine if a parameter
is a sensitive one.
For example, if > 0 , the optimal solution changes with the bi.
However, if = 0 , the optimal solution is not sensitive to at least
small changes in bi.
For c2 =5, we have
c1 =3 can be changed to any other value
from 0 to 7.5 without affecting the
optimal solution (2,6)
Parametric Linear Programming
Sensitivity analysis involves changing one parameter at a time in the
original model to check its effect on the optimal solution.
By contrast, parametric linear programming involves the
systematic study of how the optimal solution changes as many of
the parameters change simultaneously over some range.
ADAPTING SIMPLEX TO OTHER FORMS
(MINIMIZATION, EQUALITY AND
GREATER THAN EQUAL CONSTRAINTS, )
Adapting to Other Model Forms
Original Form of the Model Augmented Form of the Model
Artificial-Variable Technique
The purpose of artificial-variable technique is to obtain an initial BF solution.
The procedure is to construct an artificial problem that has the same optimal solution as the
real problem by making two modifications of the real problem.
Augmented Form of the Artificial Problem
Initial Form of the Artificial Problem The Real Problem
The feasible region of the Real Problem The feasible region of the Artificial Problem
Converting Equation (0) to Proper Form
The system of equations after the artificial problem is augmented is
To algebraically eliminate from Eq. (0), we need to subtract from Eq. (0)
the product, M times Eq. (3)
Application of the Simplex Method
The new Eq. (0) gives Z in terms of just the nonbasic variables (x1, x2)
The coefficient can be expressed as a linear function aM+b, where a is
called multiplicative factor and b is called additive term.
When multiplicative factors a’s are not equal, use just multiplicative
factors to conduct the optimality test and choose the entering basic
variable.
When multiplicative factors are equal, use the additive term to conduct
the optimality test and choose the entering basic variable.
M only appears in Eq. (0), so there’s no need to take into account M
when conducting the minimum ratio test for the leaving basic variable.
Solution to the Artificial Problem
Functional Constraints in ≥ Form
The Big M method is applied to solve the following artificial problem
(in augmented form)
The minimization problem is converted to the maximization problem by
Solving the Example
The simplex method is applied to solve the following example.
The following operation shows how Row 0 in the simplex tableau is
obtained.
The Real Problem The Artificial Problem
The Two-Phase Method
Since the first two coefficients are negligible compared to M, the two-phase
method is able to drop M by using the following two objectives.
The optimal solution of Phase 1 is a BF solution for the real problem, which
is used as the initial BF solution.
Summary of the Two-Phase Method
Phase 1 Problem (The above example)
Example:
Phase2 Problem
Example:
Solving Phase 1 Problem
Preparing to Begin Phase 2
Solving Phase 2 Problem
How to identify the problem with no feasible solutons
The artificial-variable technique and two-phase method are used to find the
initial BF solution for the real problem.
If a problem has no feasible solutions, there is no way to find an initial BF
solution.
The artificial-variable technique or two-phrase method can provide the
information to identify the problems with no feasible solutions.
To illustrate, let us change the first constraint in the last example as follows.
The solution to the revised example is shown as follows.

More Related Content

Similar to Balaji-opt-lecture3-sp13.pptx

Linear programming models - U2.pptx
Linear programming models - U2.pptxLinear programming models - U2.pptx
Linear programming models - U2.pptxMariaBurgos55
 
Numerical analysis simplex method 2
Numerical analysis  simplex method 2Numerical analysis  simplex method 2
Numerical analysis simplex method 2SHAMJITH KM
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisyahmed51236
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex methodRoshan Kumar Patel
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method pptDereje Tigabu
 
Solving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptxSolving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptxmahnish khatri
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methodsMayurjyotiNeog
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxKOUSHIkPIPPLE
 
M3L4.ppt
M3L4.pptM3L4.ppt
M3L4.pptRufesh
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptxDejeneDay
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptxDejeneDay
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxGodisgoodtube
 
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...Martha Brown
 
Mat 540 quiz 5
Mat 540 quiz 5Mat 540 quiz 5
Mat 540 quiz 5oking2777
 
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
 
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...kongara
 

Similar to Balaji-opt-lecture3-sp13.pptx (20)

Linear programming models - U2.pptx
Linear programming models - U2.pptxLinear programming models - U2.pptx
Linear programming models - U2.pptx
 
Numerical analysis simplex method 2
Numerical analysis  simplex method 2Numerical analysis  simplex method 2
Numerical analysis simplex method 2
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisy
 
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
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Solving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptxSolving linear programming model by Simplex method.pptx
Solving linear programming model by Simplex method.pptx
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
M3L4.ppt
M3L4.pptM3L4.ppt
M3L4.ppt
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
 
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
A General Purpose Exact Solution Method For Mixed Integer Concave Minimizatio...
 
Mat 540 quiz 5
Mat 540 quiz 5Mat 540 quiz 5
Mat 540 quiz 5
 
beyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensionsbeyond linear programming: mathematical programming extensions
beyond linear programming: mathematical programming extensions
 
Linear programing
Linear programing Linear programing
Linear programing
 
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
 
Optimization techniques
Optimization techniquesOptimization techniques
Optimization techniques
 

More from Mayurkumarpatil1

cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...Mayurkumarpatil1
 
Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...Mayurkumarpatil1
 
ChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significantChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significantMayurkumarpatil1
 
pressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdfpressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdfMayurkumarpatil1
 
320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.pptMayurkumarpatil1
 
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.pptMayurkumarpatil1
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptMayurkumarpatil1
 
Heat integration of_crude_organic_distil
Heat integration of_crude_organic_distilHeat integration of_crude_organic_distil
Heat integration of_crude_organic_distilMayurkumarpatil1
 
259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3Mayurkumarpatil1
 

More from Mayurkumarpatil1 (13)

cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...cache teaching  analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
cache teaching analogy dataa naylatics Download PDF(Updated Curriculum in Bo...
 
Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...Crystallization, or crystallisation, is the process of atoms or molecules arr...
Crystallization, or crystallisation, is the process of atoms or molecules arr...
 
ChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significantChatGPT Optional Anlysis with significant
ChatGPT Optional Anlysis with significant
 
pressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdfpressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdf
 
320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt
 
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
106730260-Sttp-Cad-Hens-Day1-Sec1.ppt
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
 
Linear Programming-1.ppt
Linear Programming-1.pptLinear Programming-1.ppt
Linear Programming-1.ppt
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
 
Heat integration of_crude_organic_distil
Heat integration of_crude_organic_distilHeat integration of_crude_organic_distil
Heat integration of_crude_organic_distil
 
259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3
 

Recently uploaded

Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRdollysharma2066
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Servicejennyeacort
 
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一diploma 1
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一lvtagr7
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxmapanig881
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一F La
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 

Recently uploaded (20)

Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
 
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
 
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonCheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
 
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptx
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 

Balaji-opt-lecture3-sp13.pptx

  • 1. Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 25, 2013
  • 2. Acknowledgements • Dr. Yicheng Wang (Visiting Researcher, CADSWES during Fall 2009 – early Spring 2010) for slides from his Optimization course during Fall 2009 • Introduction to Operations Research by Hillier and Lieberman, McGraw Hill
  • 3. Today’s Lecture • Simplex Method – Recap of algebraic form – Simplex Method in Tabular form • Simplex Method for other forms – Equality Constraints – Minimization Problems (Big M and Twophase methods) • Sensitivity / Shadow Prices • R-resources / demonstration
  • 4. (2) Setting Up the Simplex Method Original Form of the Model Augmented Form of the Model
  • 6. The Simplex Method in Tabular Form The tabular form is more convenient form for performing the required calculations. The logic for the tabular form is identical to that for the algebraic form.
  • 7. Summary of the Simplex Method in Tabular Form TABLE 4.3b The Initial Simplex Tableau
  • 8. TABLE 4.3b The Initial Simplex Tableau
  • 10.
  • 11.
  • 12.
  • 13. Iteration2 Step1: Choose the entering basic variable to be x1 Step2: Choose the leaving basic variable to be x5
  • 14. Step3: Solve for the new BF solution. Optimality test: The solution (2,6,2,0,0) is optimal. The new BF solution is (2,6,2,0,0) with Z =36
  • 15. Tie Breaking in the Simplex Method Tie for the Entering Basic Variable The answer is that the selection between these contenders may be made arbitrarily. The optimal solution will be reached eventually, regardless of the tied variable chosen. Tie for the Entering Basic Variable
  • 16. Tie for the Leaving Basci Variable-Degeneracy If two or more basic variables tie for being the leaving basic variable, choose any one of the tied basic variables to be the leaving basic variable. One or more tied basic variables not chosen to be the leaving basic variable will have a value of zero. If a basic variable has a value of zero, it is called degenerate. For a degenerate problem, a perpetual loop in computation is theoretically possible, but it has rarely been known to occur in practical problems. If a loop were to occur, one could always get out of it by changing the choice of the leaving basic variable.
  • 17. No Leaving Basic Variable – Unbounded Z If every coefficient in the pivot column of the simplex tableau is either negative or zero, there is no leaving basic variable. This case has an unbound objective function Z If a problem has an unbounded objective function, the model probably has been misformulated, or a computational mistake may have occurred.
  • 18. Multiple Optimal Solution In this example, Points C and D are two CPF Solutions, both of which are optimal. So every point on the line segment CD is optimal. Fig. 3.5 The Wyndor Glass Co. problem would have multiple optimal solutions if the objective function were changed to Z = 3x1 + 2x2 C (2,6) E (4,3) Therefore, all optimal solutions are a weighted average of these two optimal CPF solutions.
  • 19. Multiple Optimal Solution Any linear programming problem with multiple optimal solutions has at least two CPF solutions that are optimal. All optimal solutions are a weighted average of these two optimal CPF solutions. Consequently, in augmented form, any linear programming problem with multiple optimal solutions has at least two BF solutions that are optimal. All optimal solutions are a weighted average of these two optimal BF solutions.
  • 21.
  • 22. These two are the only BF solutions that are optimal, and all other optimal solutions are a convex combination of these .
  • 24. Shadow Prices (0) (1) (2) (3) Resource bi = production time available in Plant i for the new products. How will the objective function value change if any bi is increased by 1 ?
  • 25. b2: from 12 to 13 Z: from 36 to 37.5 △Z=3/2 b1: from 4 to 5 Z: from 36 to 36 △Z=0 b3: from 18 to 19 Z: from 36 to 37 △Z=1
  • 26.
  • 27. indicates that adding 1 more hour of production time in Plant 2 for the two new products would increase the total profit by $1,500. The constraint on resource 1 is not binding on the optimal solution, so there is a surplus of this resource. Such resources are called free goods The constraints on resources 2 and 3 are binding constraints. Such resources are called scarce goods. H(0,9)
  • 28. Sensitivity Analysis Maximize b, c, and a are parameters whose values will not be known exactly until the alternative given by linear programming is implemented in the future. The main purpose of sensitivity analysis is to identify the sensitive parameters. A parameter is called a sensitive parameter if the optimal solution changes with the parameter.
  • 29. How are the sensitive parameters identified? In the case of bi , the shadow price is used to determine if a parameter is a sensitive one. For example, if > 0 , the optimal solution changes with the bi. However, if = 0 , the optimal solution is not sensitive to at least small changes in bi. For c2 =5, we have c1 =3 can be changed to any other value from 0 to 7.5 without affecting the optimal solution (2,6)
  • 30. Parametric Linear Programming Sensitivity analysis involves changing one parameter at a time in the original model to check its effect on the optimal solution. By contrast, parametric linear programming involves the systematic study of how the optimal solution changes as many of the parameters change simultaneously over some range.
  • 31. ADAPTING SIMPLEX TO OTHER FORMS (MINIMIZATION, EQUALITY AND GREATER THAN EQUAL CONSTRAINTS, )
  • 32. Adapting to Other Model Forms Original Form of the Model Augmented Form of the Model
  • 33. Artificial-Variable Technique The purpose of artificial-variable technique is to obtain an initial BF solution. The procedure is to construct an artificial problem that has the same optimal solution as the real problem by making two modifications of the real problem.
  • 34. Augmented Form of the Artificial Problem Initial Form of the Artificial Problem The Real Problem
  • 35. The feasible region of the Real Problem The feasible region of the Artificial Problem
  • 36. Converting Equation (0) to Proper Form The system of equations after the artificial problem is augmented is To algebraically eliminate from Eq. (0), we need to subtract from Eq. (0) the product, M times Eq. (3)
  • 37. Application of the Simplex Method The new Eq. (0) gives Z in terms of just the nonbasic variables (x1, x2) The coefficient can be expressed as a linear function aM+b, where a is called multiplicative factor and b is called additive term. When multiplicative factors a’s are not equal, use just multiplicative factors to conduct the optimality test and choose the entering basic variable. When multiplicative factors are equal, use the additive term to conduct the optimality test and choose the entering basic variable. M only appears in Eq. (0), so there’s no need to take into account M when conducting the minimum ratio test for the leaving basic variable.
  • 38. Solution to the Artificial Problem
  • 40. The Big M method is applied to solve the following artificial problem (in augmented form) The minimization problem is converted to the maximization problem by
  • 41. Solving the Example The simplex method is applied to solve the following example. The following operation shows how Row 0 in the simplex tableau is obtained.
  • 42.
  • 43. The Real Problem The Artificial Problem
  • 44. The Two-Phase Method Since the first two coefficients are negligible compared to M, the two-phase method is able to drop M by using the following two objectives. The optimal solution of Phase 1 is a BF solution for the real problem, which is used as the initial BF solution.
  • 45. Summary of the Two-Phase Method
  • 46. Phase 1 Problem (The above example) Example: Phase2 Problem Example:
  • 47. Solving Phase 1 Problem
  • 49. Solving Phase 2 Problem
  • 50. How to identify the problem with no feasible solutons The artificial-variable technique and two-phase method are used to find the initial BF solution for the real problem. If a problem has no feasible solutions, there is no way to find an initial BF solution. The artificial-variable technique or two-phrase method can provide the information to identify the problems with no feasible solutions.
  • 51. To illustrate, let us change the first constraint in the last example as follows. The solution to the revised example is shown as follows.