SlideShare a Scribd company logo
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.pptx
MariaBurgos55
 
Numerical analysis simplex method 2
Numerical analysis  simplex method 2Numerical analysis  simplex method 2
Numerical analysis simplex method 2
SHAMJITH KM
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisy
ahmed51236
 
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
Roshan Kumar Patel
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
Dereje 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.pptx
mahnish 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 methods
MayurjyotiNeog
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
KOUSHIkPIPPLE
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
asthashukla33
 
M3L4.ppt
M3L4.pptM3L4.ppt
M3L4.ppt
Rufesh
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
DagnaygebawGoshme
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
DejeneDay
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
DejeneDay
 
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
Godisgoodtube
 
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 5
oking2777
 
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 programing
Linear programing Linear programing
Linear programing
Deepak Pradhan
 
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 significant
Mayurkumarpatil1
 
pressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdfpressurevessellecturenoteppt-191114074157.pdf
pressurevessellecturenoteppt-191114074157.pdf
Mayurkumarpatil1
 
320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt320725879-Process-Engineering-Chiyoda.ppt
320725879-Process-Engineering-Chiyoda.ppt
Mayurkumarpatil1
 
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
Mayurkumarpatil1
 
LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
Mayurkumarpatil1
 
Linear Programming-1.ppt
Linear Programming-1.pptLinear Programming-1.ppt
Linear Programming-1.ppt
Mayurkumarpatil1
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
Mayurkumarpatil1
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
Mayurkumarpatil1
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
Mayurkumarpatil1
 
Heat integration of_crude_organic_distil
Heat integration of_crude_organic_distilHeat integration of_crude_organic_distil
Heat integration of_crude_organic_distil
Mayurkumarpatil1
 
259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3259443220 simple-and-steam-distillation-exp3
259443220 simple-and-steam-distillation-exp3
Mayurkumarpatil1
 

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

一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
smpc3nvg
 
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen DesignsTop 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
Finzo Kitchens
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
aaryangarg12
 
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
h7j5io0
 
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
7sd8fier
 
Research 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdfResearch 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdf
ameli25062005
 
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
9a93xvy
 
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
taqyed
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
AlecAnidul
 
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for DesignersBook Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
Confidence Ago
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
smpc3nvg
 
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
7sd8fier
 
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
h7j5io0
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
ResDraft
 
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
708pb191
 
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
ameli25062005
 
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Mansi Shah
 
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior designBorys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
boryssutkowski
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
cy0krjxt
 
White wonder, Work developed by Eva Tschopp
White wonder, Work developed by Eva TschoppWhite wonder, Work developed by Eva Tschopp
White wonder, Work developed by Eva Tschopp
Mansi Shah
 

Recently uploaded (20)

一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
 
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen DesignsTop 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
 
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
 
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
 
Research 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdfResearch 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdf
 
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
一比一原版(CITY毕业证书)谢菲尔德哈勒姆大学毕业证如何办理
 
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
 
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for DesignersBook Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
 
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
一比一原版(MMU毕业证书)曼彻斯特城市大学毕业证成绩单如何办理
 
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
 
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
 
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
 
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
 
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior designBorys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
 
White wonder, Work developed by Eva Tschopp
White wonder, Work developed by Eva TschoppWhite wonder, Work developed by Eva Tschopp
White wonder, Work developed by Eva Tschopp
 

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.