SlideShare a Scribd company logo
LINEAR PROGRAMMING
SIMPLEX METHOD
Introduction
 With only two decision variables it is possible
to use graphical methods to solve LP problems
 But most real life LP problems are too complex
for simple graphical procedures
 We need a more powerful procedure called the
simplex method
 The simplex method examines the corner
points in a systematic fashion using basic
algebraic concepts
 It does this in an iterative manner until an
optimal solution is found
 Each iteration moves us closer to the optimal
solution
Basic Terms
 Slack Variables – A variable added to
convert an inequality of equal to or less than
type (≤) to equality.
 Surplus Variable – A variable subtracted to
convert an equality of equal to or greater
than type (≥) to equality.
 Artificial Variable – A fictitious variable
included in the case of inequality of (≥) type
and equality (=), to satisfy the non negativity
condition of a basic feasible solution.
Particulars Slack Variable Surplus
Variable
Artificial
Variable
Meaning Unused
resources or
idle resources
Excess amount
of resources
utilized
No physical or
economic
meaning. It is
fictitious
When to be
used
(≤) inequality (≥) inequality (≥) and (=)
constraints
Co-efficient in
the constraint
+1 -1 +1
Co-efficient in
the objective
function Z
0 0 +M for
minimization
and –M for
maximization
Use as Initial
Program
Variable
Used as starting
point (Initial
Table)
Cannot be used
since unit
matrix condition
is not satisfied
Initially used
but later on
eliminated
Presence in
the Optimal
Table
Helps to
interpret idle &
key resources
- - - Indicates
infeasible
solution
Procedure for Maximization Problems
1. Set up the inequalities describing the
problem constraints.
2. Introduce slack variables and convert
inequalities into equations.
3. Enter the equalities into the simplex
table.
4. Calculate the Zj and Cj – Zj value for
this solution.
5. Determine the entering variable by
choosing the highest Cj – Zj.
6. Determine the row to be replaced from
the minimum ratio column (only
compute the ratios for rows whose
element is greater than zero).
7. Compute the value of the new key row.
8. Compute the values for remaining rows.
9. Calculate Cj and Zj value for this
solution.
10. If there is non-negative Cj – Zj value
and return to step 5 above.
11. If there is no non – negative Cj – Zj
values the final solution has been
obtained.
Procedure for Minimization Problems
1. Set up the inequalities describing the
problem constraints.
2. Convert any inequalities to equalities by
introducing surplus variables.
3. Add artificial variable to all equalities
involving surplus variables.
4. Enter the resulting equalities in the
simplex table.
5. Calculate Cj – Zj value for this solution.
6. Determine the entering variable selecting
the one with the largest negative Cj – Zj
values.
7. Determine the departing row by choosing
the smallest non – negative ratio ignoring
infinity and negative. Zero is positive for
the purpose.
8. Compute the values for the new key row.
9. Calculate the values for the remaining rows.
10. Calculate the Cj – Zj value for this solution.
11. If there is negative element in the Cj – Zj
row then return to step 6. If there is no
negative Cj – Zj then final solution has been
obtained.
Simplex Problem (Mixed Constraints)
1. A situation may arise when the
constraints are ≥ type or ≤ type or =
type i.e. mixed constraints.
2. If any constraint has –ve constant at
the RHS, then multiply both sides with -
1 and it will reverse the directions of
inequalities.
3. Introduce slack variable, in case of ≤
type constraint.
4. Introduce surplus variables and artificial
variables in case of ≥ type constraints.
5. Introduce artificial variables if the
constraint is ‘=‘ type.
6. Assign zero co-efficient to the slack
variables and surplus variables in the
objective function.
7. Assign +M in case of minimization and –M
in case of maximization problems to the
artificial variables in the objective
function.
8. In case of maximization, stop where Cj –
Zj row contains zero or negative elements.
9. In case of minimization, stop where Cj – Zj
row contains all elements zero or positive
values.
Special Cases
1. Tie for key column
2. Tie for key row (Degeneracy)
3. Unbounded problems
4. Multiple optimal solutions
5. Infeasible problems
6. Redundant constraints
7. Unrestricted variables
1. Tie for key column
 Problem can arise in case of tie
between identical Cj – Zj values,
i.e., two or more columns.
 In such a case, selection for key
column can be made arbitrarily.
 There is no wrong choice, although
selection of one variable may result
in more iteration.
2. Tie for key row (Degeneracy)
Degeneracy occurs when there is tie
for minimum ratio for choosing the
departing variable.
Methods to select the key row:
1. Choose arbitrarily.
2. Use alternate method.
Alternate Procedure for Degeneracy
i. Locate the rows in which smallest non-negative
ratio are tied (equal).
ii. Find the coefficient of the slack variables and divide
each coefficient by the corresponding positive
numbers of the key column in the row, starting
from left to right in order to break the tie.
iii. If the ratios do not break the tie, find the similar
ratios for the coefficients of decision variables.
iv. Compare the resulting ratio, column by column.
v. Select the row which contains smallest ratio. This
row becomes the key row.
vi. After the resolving of this tie, simplex method is
applied to obtain the optimum tie.
3. Unbounded problems
 It is a situation when key row
cannot be selected because
minimum ratio column contains all
negative or infinity, the solution is
unbounded.
 The table does not indicate optimal
solution, yet the simplex process is
prohibited from continuing.
4. Multiple optimal solutions
 In the final simplex table, if the
index row indicates the value of Cj
– Zj for a non-basic variable to
be zero, there exists an
alternative optimum solution.
5. Infeasible problems
 It is a situation when an artificial
variable is present as a basic
variable in the final solution.
 This condition occurs when the
problem has incompatible
constraints.
6. Redundant constraints
 When on constraint is less
restrictive than the other, it is
redundant constraint.
For example
4x1 + 3x2 < 12
4x1 + 3x2 < 16 (Redundant)
7. Unrestricted variables
 Unrestricted variable is that decision
variable which does not carry any
value.
 This variable can take positive,
negative and zero values.
 To solve the problem, this variable
can take two values one +ve and
one –ve because difference between
these two is zero.

More Related Content

What's hot

Regression analysis by akanksha Bali
Regression analysis by akanksha BaliRegression analysis by akanksha Bali
Regression analysis by akanksha Bali
Akanksha Bali
 
Math Module 4 Review
Math Module 4 ReviewMath Module 4 Review
Math Module 4 Review
MichaelSampson34
 
Polynomial regression
Polynomial regressionPolynomial regression
Polynomial regression
naveedaliabad
 
Regression: A skin-deep dive
Regression: A skin-deep diveRegression: A skin-deep dive
Regression: A skin-deep dive
abulyomon
 
Functional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | EonomicsFunctional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | Eonomics
Transweb Global Inc
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Muhammad Fazeel
 
Linear regression without tears
Linear regression without tearsLinear regression without tears
Linear regression without tears
Ankit Sharma
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Sohag Babu
 
Regression
RegressionRegression
Regression
nandini patil
 
Multiplying Monomials
Multiplying MonomialsMultiplying Monomials
Multiplying Monomials
Pinky Faith
 
Operations research - Chapter 04
Operations research - Chapter 04Operations research - Chapter 04
Operations research - Chapter 04
2013901097
 
CIS 1403 lab 4 selection
CIS 1403 lab 4 selectionCIS 1403 lab 4 selection
CIS 1403 lab 4 selection
Hamad Odhabi
 
Variable, constant, operators and control statement
Variable, constant, operators and control statementVariable, constant, operators and control statement
Variable, constant, operators and control statementEyelean xilef
 
Operators
OperatorsOperators
Precalc review
Precalc reviewPrecalc review
Precalc reviewtschmucker
 
Regression analysis on SPSS
Regression analysis on SPSSRegression analysis on SPSS
Regression analysis on SPSS
AntimDevMishraMTechE
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
nadiazaheer
 
Presentation on regression analysis
Presentation on regression analysisPresentation on regression analysis
Presentation on regression analysis
Sujeet Singh
 

What's hot (20)

Regression analysis by akanksha Bali
Regression analysis by akanksha BaliRegression analysis by akanksha Bali
Regression analysis by akanksha Bali
 
Math Module 4 Review
Math Module 4 ReviewMath Module 4 Review
Math Module 4 Review
 
Polynomial regression
Polynomial regressionPolynomial regression
Polynomial regression
 
Regression: A skin-deep dive
Regression: A skin-deep diveRegression: A skin-deep dive
Regression: A skin-deep dive
 
Functional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | EonomicsFunctional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | Eonomics
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Linear regression without tears
Linear regression without tearsLinear regression without tears
Linear regression without tears
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression
RegressionRegression
Regression
 
Multiplying Monomials
Multiplying MonomialsMultiplying Monomials
Multiplying Monomials
 
Operations research - Chapter 04
Operations research - Chapter 04Operations research - Chapter 04
Operations research - Chapter 04
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
CIS 1403 lab 4 selection
CIS 1403 lab 4 selectionCIS 1403 lab 4 selection
CIS 1403 lab 4 selection
 
Variable, constant, operators and control statement
Variable, constant, operators and control statementVariable, constant, operators and control statement
Variable, constant, operators and control statement
 
Operators
OperatorsOperators
Operators
 
Precalc review
Precalc reviewPrecalc review
Precalc review
 
Regression analysis on SPSS
Regression analysis on SPSSRegression analysis on SPSS
Regression analysis on SPSS
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Presentation on regression analysis
Presentation on regression analysisPresentation on regression analysis
Presentation on regression analysis
 
Simplifying+radicals
Simplifying+radicalsSimplifying+radicals
Simplifying+radicals
 

Similar to 6260966

Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
asthashukla33
 
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
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
Tsegay Berhe
 
PRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdf
PRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdfPRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdf
PRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdf
edwinllantoy2
 
Investigación de Operaciones 023 Programación Lineal solución por el método s...
Investigación de Operaciones 023 Programación Lineal solución por el método s...Investigación de Operaciones 023 Programación Lineal solución por el método s...
Investigación de Operaciones 023 Programación Lineal solución por el método s...
Jorge Pablo Rivas
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
Khwaja Bilal Hassan
 
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
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
Mayurkumarpatil1
 
SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptx
Tista3
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
Aizaz Ahmad
 
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
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
SubhamSatpathy2
 
Linear algebra application in linear programming
Linear algebra application in linear programming Linear algebra application in linear programming
Linear algebra application in linear programming
Lahiru Dilshan
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
Muhammad Kashif
 
Consistency of linear equations in two and three variables
Consistency of linear equations in two and three variablesConsistency of linear equations in two and three variables
Consistency of linear equations in two and three variables
Aamlan Saswat Mishra
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
Mayurkumarpatil1
 
Linear programming class 12 investigatory project
Linear programming class 12 investigatory projectLinear programming class 12 investigatory project
Linear programming class 12 investigatory project
Divyans890
 
Systems of 3 Equations in 3 Variables
Systems of 3 Equations in 3 VariablesSystems of 3 Equations in 3 Variables
Systems of 3 Equations in 3 Variables
Mid Michigan Community College
 

Similar to 6260966 (20)

Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
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
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
 
PRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdf
PRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdfPRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdf
PRIMER GRADO ECUACIONES Y DESIGUALDADES EN UNA VARIABLE.pdf
 
Investigación de Operaciones 023 Programación Lineal solución por el método s...
Investigación de Operaciones 023 Programación Lineal solución por el método s...Investigación de Operaciones 023 Programación Lineal solución por el método s...
Investigación de Operaciones 023 Programación Lineal solución por el método s...
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
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
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
 
SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptx
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
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
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
Linear algebra application in linear programming
Linear algebra application in linear programming Linear algebra application in linear programming
Linear algebra application in linear programming
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Consistency of linear equations in two and three variables
Consistency of linear equations in two and three variablesConsistency of linear equations in two and three variables
Consistency of linear equations in two and three variables
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
 
Linear programming class 12 investigatory project
Linear programming class 12 investigatory projectLinear programming class 12 investigatory project
Linear programming class 12 investigatory project
 
Systems of 3 Equations in 3 Variables
Systems of 3 Equations in 3 VariablesSystems of 3 Equations in 3 Variables
Systems of 3 Equations in 3 Variables
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 

Recently uploaded

plant biotechnology Lecture note ppt.pptx
plant biotechnology Lecture note ppt.pptxplant biotechnology Lecture note ppt.pptx
plant biotechnology Lecture note ppt.pptx
yusufzako14
 
insect morphology and physiology of insect
insect morphology and physiology of insectinsect morphology and physiology of insect
insect morphology and physiology of insect
anitaento25
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
ChetanK57
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
AADYARAJPANDEY1
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
muralinath2
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Penicillin...........................pptx
Penicillin...........................pptxPenicillin...........................pptx
Penicillin...........................pptx
Cherry
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
sachin783648
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
muralinath2
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
muralinath2
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
muralinath2
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
Richard Gill
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
NathanBaughman3
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
YOGESH DOGRA
 
Large scale production of streptomycin.pptx
Large scale production of streptomycin.pptxLarge scale production of streptomycin.pptx
Large scale production of streptomycin.pptx
Cherry
 

Recently uploaded (20)

plant biotechnology Lecture note ppt.pptx
plant biotechnology Lecture note ppt.pptxplant biotechnology Lecture note ppt.pptx
plant biotechnology Lecture note ppt.pptx
 
insect morphology and physiology of insect
insect morphology and physiology of insectinsect morphology and physiology of insect
insect morphology and physiology of insect
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Penicillin...........................pptx
Penicillin...........................pptxPenicillin...........................pptx
Penicillin...........................pptx
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
 
Large scale production of streptomycin.pptx
Large scale production of streptomycin.pptxLarge scale production of streptomycin.pptx
Large scale production of streptomycin.pptx
 

6260966

  • 2. Introduction  With only two decision variables it is possible to use graphical methods to solve LP problems  But most real life LP problems are too complex for simple graphical procedures  We need a more powerful procedure called the simplex method  The simplex method examines the corner points in a systematic fashion using basic algebraic concepts  It does this in an iterative manner until an optimal solution is found  Each iteration moves us closer to the optimal solution
  • 3. Basic Terms  Slack Variables – A variable added to convert an inequality of equal to or less than type (≤) to equality.  Surplus Variable – A variable subtracted to convert an equality of equal to or greater than type (≥) to equality.  Artificial Variable – A fictitious variable included in the case of inequality of (≥) type and equality (=), to satisfy the non negativity condition of a basic feasible solution.
  • 4. Particulars Slack Variable Surplus Variable Artificial Variable Meaning Unused resources or idle resources Excess amount of resources utilized No physical or economic meaning. It is fictitious When to be used (≤) inequality (≥) inequality (≥) and (=) constraints Co-efficient in the constraint +1 -1 +1 Co-efficient in the objective function Z 0 0 +M for minimization and –M for maximization Use as Initial Program Variable Used as starting point (Initial Table) Cannot be used since unit matrix condition is not satisfied Initially used but later on eliminated Presence in the Optimal Table Helps to interpret idle & key resources - - - Indicates infeasible solution
  • 5. Procedure for Maximization Problems 1. Set up the inequalities describing the problem constraints. 2. Introduce slack variables and convert inequalities into equations. 3. Enter the equalities into the simplex table. 4. Calculate the Zj and Cj – Zj value for this solution. 5. Determine the entering variable by choosing the highest Cj – Zj.
  • 6. 6. Determine the row to be replaced from the minimum ratio column (only compute the ratios for rows whose element is greater than zero). 7. Compute the value of the new key row. 8. Compute the values for remaining rows. 9. Calculate Cj and Zj value for this solution. 10. If there is non-negative Cj – Zj value and return to step 5 above. 11. If there is no non – negative Cj – Zj values the final solution has been obtained.
  • 7. Procedure for Minimization Problems 1. Set up the inequalities describing the problem constraints. 2. Convert any inequalities to equalities by introducing surplus variables. 3. Add artificial variable to all equalities involving surplus variables. 4. Enter the resulting equalities in the simplex table. 5. Calculate Cj – Zj value for this solution.
  • 8. 6. Determine the entering variable selecting the one with the largest negative Cj – Zj values. 7. Determine the departing row by choosing the smallest non – negative ratio ignoring infinity and negative. Zero is positive for the purpose. 8. Compute the values for the new key row. 9. Calculate the values for the remaining rows. 10. Calculate the Cj – Zj value for this solution. 11. If there is negative element in the Cj – Zj row then return to step 6. If there is no negative Cj – Zj then final solution has been obtained.
  • 9. Simplex Problem (Mixed Constraints) 1. A situation may arise when the constraints are ≥ type or ≤ type or = type i.e. mixed constraints. 2. If any constraint has –ve constant at the RHS, then multiply both sides with - 1 and it will reverse the directions of inequalities. 3. Introduce slack variable, in case of ≤ type constraint. 4. Introduce surplus variables and artificial variables in case of ≥ type constraints.
  • 10. 5. Introduce artificial variables if the constraint is ‘=‘ type. 6. Assign zero co-efficient to the slack variables and surplus variables in the objective function. 7. Assign +M in case of minimization and –M in case of maximization problems to the artificial variables in the objective function. 8. In case of maximization, stop where Cj – Zj row contains zero or negative elements. 9. In case of minimization, stop where Cj – Zj row contains all elements zero or positive values.
  • 11. Special Cases 1. Tie for key column 2. Tie for key row (Degeneracy) 3. Unbounded problems 4. Multiple optimal solutions 5. Infeasible problems 6. Redundant constraints 7. Unrestricted variables
  • 12. 1. Tie for key column  Problem can arise in case of tie between identical Cj – Zj values, i.e., two or more columns.  In such a case, selection for key column can be made arbitrarily.  There is no wrong choice, although selection of one variable may result in more iteration.
  • 13. 2. Tie for key row (Degeneracy) Degeneracy occurs when there is tie for minimum ratio for choosing the departing variable. Methods to select the key row: 1. Choose arbitrarily. 2. Use alternate method.
  • 14. Alternate Procedure for Degeneracy i. Locate the rows in which smallest non-negative ratio are tied (equal). ii. Find the coefficient of the slack variables and divide each coefficient by the corresponding positive numbers of the key column in the row, starting from left to right in order to break the tie. iii. If the ratios do not break the tie, find the similar ratios for the coefficients of decision variables. iv. Compare the resulting ratio, column by column. v. Select the row which contains smallest ratio. This row becomes the key row. vi. After the resolving of this tie, simplex method is applied to obtain the optimum tie.
  • 15. 3. Unbounded problems  It is a situation when key row cannot be selected because minimum ratio column contains all negative or infinity, the solution is unbounded.  The table does not indicate optimal solution, yet the simplex process is prohibited from continuing.
  • 16. 4. Multiple optimal solutions  In the final simplex table, if the index row indicates the value of Cj – Zj for a non-basic variable to be zero, there exists an alternative optimum solution.
  • 17. 5. Infeasible problems  It is a situation when an artificial variable is present as a basic variable in the final solution.  This condition occurs when the problem has incompatible constraints.
  • 18. 6. Redundant constraints  When on constraint is less restrictive than the other, it is redundant constraint. For example 4x1 + 3x2 < 12 4x1 + 3x2 < 16 (Redundant)
  • 19. 7. Unrestricted variables  Unrestricted variable is that decision variable which does not carry any value.  This variable can take positive, negative and zero values.  To solve the problem, this variable can take two values one +ve and one –ve because difference between these two is zero.