SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Special Cases in Simplex Method
Divyansh Verma
SAU/AM(M)/2014/14
South Asian University
Email : itsmedv91@gmail.com
4/18/2015 1
Contents
• Simplex Method
• Simplex Table
• Special Cases of Simplex Method
– Degeneracy
– Alternative Optima
– Unbounded Solution
– Infeasible Solution
• References
4/18/2015 2
Simplex Method
Step 1 : Determine a starting basic feasible solution.
Step 2 : Determine the entering basic variable by selecting the
non-basic variable with the most negative value (in
case of maximization) or with the most positive (in
case of minimization) in the Z-row. Stop if there is no
entering variable, the last solution is optimal.
Else, go to Step 3.
Step 3 : Select a leaving variable using the feasibility condition
Step 4 : Determine the new basic solution by using the
appropriate Gauss-Jordan computations.
Repeat Step 2.
4/18/2015 3
Simplex Table
Basic
Variable
X1 X2 S1 S2 S3 Solution Min
Ratio
Z C1 C2 C3 C4 C5 z -
S1 a11 a12 a13 a14 a15 b11 b11/a1j
S2 a21 a22 a23 a24 a25 b21 b21/a2j
S3 a31 a32 a33 a34 a35 b31 b31/a3j
Non-Basic Variable
Coefficient of Objective Function,
decides Entering Variable
Decides the
Leaving Variable
Objective
Function Value
Right Hand Side Value of Constraints
Z-row
S1-row
S2-row
S3-row
A format of Simplex Table for some given LPP, here Xj are Decision Variables, Sj
are Slack Variables, aij is the coefficient of Xj corresponding to ith constraint.
4/18/2015 4
Special Cases in Simplex
Special Cases that arise in the use of Simplex Method :
1. Degeneracy
2. Alternative Optima
3. Unbounded Solution
4. Infeasible Solution
4/18/2015 5
Degeneracy
A solution of the problem is said to be degenerate solution if the
value of at least one basic variable becomes zero.
In the simplex table, a tie for the minimum ratio occurs which is
broken arbitrarily.
It can cause the solution to cycle indefinitely.
Graphically, it occurs due to redundant constraint (i.e. a
constraint that can be removed from system without changing
the feasible solution).
4/18/2015 6
Degeneracy
For example, consider the problem
Max z = 3x1 + 9x2 ; Subject to : x1 + 4x2 ≤ 8 ; x1 + 2x2 ≤ 4 ; x1, x2 ≥ 0
4/18/2015 7
Basic
Variable
X1 X2 S1 S2 Solution Min
Ratio
Z0 -3 -9 0 0 0 -
S1 1 4 1 0 8 2
S2 1 2 0 1 4 2
Z2 -3/4 0 9/4 0 18 -
X2 1/4 1 1/4 0 2 8
S2 1/2 0 -1/2 1 0 0
Z3 0 0 3/2 3/2 18 -
X2 0 1 1/2 -1/2 2 -
X1 1 0 -1 2 0 -
Tie in Min Ratio
(Degeneracy)
X2 enters
S1 leaves
X1 enters
S2 leaves
S2 becomes zero
in next iteration
because of
degeneracy
Optimum Solution : X1=0, X2=2, Max Z=18
Alternative Optima
If the z-row value for one or more non-basic variable is zero in
the optimal tableau, alternate optimal solution exists.
Graphically, it happens when the objective function is parallel to
a non-redundant binding constraint (i.e. a constraint that is
satisfied as an equation at the optimal solution).
The zero coefficient of non-basic variable xi indicates that it can
be made basic, altering the value of basic variable without
changing the value of z.
4/18/2015 8
Alternative Optima
4/18/2015 9
For example, consider the problem
Max z = 2x1 + 4x2 ; Subject to : x1 + 2x2 ≤ 5 ; x1 + x2 ≤ 4 ; x1, x2 ≥ 0
Basic
Variable
X1 X2 S1 S2 Solution Min
Ratio
Z0 -2 -4 0 0 0 -
S1 1 2 1 0 5 5/2
S2 1 1 0 1 4 4/1
Z2 0 0 2 0 10 -
X2 1/2 1 1/2 0 5/2 5
S2 1/2 0 -1/2 1 3/2 3
Z3 0 0 2 0 10 -
X2 0 1 1 -1 1 -
X1 1 0 -1 2 3 -
Optimum Solution,
but coefficient of
non-basic variable
X1 is 0, indicates
that it can be
made basic.
X2 enters
S1 leaves
X1 enters
S2 leaves
Alternate
Optimum Solution
X1 , X1 are basic
variables.
Optimum Solution : X1=3, X2=1 Max Z=10
Unbounded Solution
When determining the leaving variable of any tableau, if there is
no positive minimum ratio or all entries of pivot column are
negative or zero.
4/18/2015 10
For example, consider the problem
Max z = 2x1 + x2 ; Subject to : - x1 + x2 ≤ 10 ; -2x1 ≤ 40 ; x1, x2 ≥ 0
Basic
Variable
X1 X2 S1 S2 Solution Min
Ratio
Z0 -2 -1 0 0 0 -
S1 -1 1 1 0 10 -
S2 -2 0 0 1 40 -
X1 is the entering variable
but all the constraint
coefficients under X1 are ≤
0 , meaning that X1 can be
increased indefinitely, which
gives unbounded solution.
Infeasible Solution
If at least one artificial variable is positive in the optimum
iteration, then the LPP has no feasible solution.
This situation obviously does not occur when all the constraints
are type ≤ with non-negative right-hand side because all slack
variables provide an obvious feasible solution.
So, this situation occurs in Big-M Method & Two-Phase Method
in which artificial variable are used.
4/18/2015 11
Infeasible Solution
4/18/2015 12
For example, consider the problem
Max z = 3x1 + 2x2 ; Subject to : 2x1 + x2 ≤ 2 ; 3x1 + 4x2 ≥ 12 ; x1, x2 ≥ 0
Basic
Variable
X1 X2 S1 S2 R1 Solution Min
Ratio
Z0 -3 -2 0 0 100 0 -
S1 2 1 1 0 0 2 -
R1 3 4 0 -1 1 12 -
Z0 -303 -402 100 0 0 -1200 -
S1 2 1 1 0 0 2 2
R1 3 4 0 -1 1 12 3
Z1 501 0 402 100 0 -396 -
X2 2 1 1 0 0 2 -
R1 -5 0 -4 -1 1 4 -
X2 enters
S1 leaves
Pseudo
Optimum
Solution, but
artificial
variable has a
positive value.
References
4/18/2015 13
• Operations Research - An introduction (9th edition), Hamdy A. Taha, 2013
• http://www.lokminglui.com/lpch4.pdf
• https://www.utdallas.edu/~metin/Or6201/specialcases.pdf
4/18/2015 14
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variableDevyaneeDevyanee2007
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming ProblemRAVI PRASAD K.J.
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Methoditsvineeth209
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1irsa javed
 
Transportation Problem in Operational Research
Transportation Problem in Operational ResearchTransportation Problem in Operational Research
Transportation Problem in Operational ResearchNeha Sharma
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation CaseJoseph Konnully
 
3. linear programming senstivity analysis
3. linear programming senstivity analysis3. linear programming senstivity analysis
3. linear programming senstivity analysisHakeem-Ur- Rehman
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical MethodJoseph Konnully
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)Shivani Gautam
 
primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problemYash Lad
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copyKiran Jadhav
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 

Was ist angesagt? (20)

Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variable
 
Duality
DualityDuality
Duality
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
simplex method
simplex methodsimplex method
simplex method
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
 
Big m method
Big   m methodBig   m method
Big m method
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
Transportation Problem in Operational Research
Transportation Problem in Operational ResearchTransportation Problem in Operational Research
Transportation Problem in Operational Research
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
3. linear programming senstivity analysis
3. linear programming senstivity analysis3. linear programming senstivity analysis
3. linear programming senstivity analysis
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
Linear programing
Linear programingLinear programing
Linear programing
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
primal and dual problem
primal and dual problemprimal and dual problem
primal and dual problem
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copy
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Assignment Problem
Assignment ProblemAssignment Problem
Assignment Problem
 

Andere mochten auch

Linear programming 1
Linear programming 1Linear programming 1
Linear programming 1Rezaul Karim
 
Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex methodShivek Khurana
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodMeet Nayak
 

Andere mochten auch (9)

Linear programming 1
Linear programming 1Linear programming 1
Linear programming 1
 
Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex method
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
Resumen,sintesis, ensayo.
Resumen,sintesis, ensayo.Resumen,sintesis, ensayo.
Resumen,sintesis, ensayo.
 
Doğrusal Programlama
Doğrusal ProgramlamaDoğrusal Programlama
Doğrusal Programlama
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Means of transportation
Means of transportationMeans of transportation
Means of transportation
 
Transportation ppt
Transportation pptTransportation ppt
Transportation ppt
 

Ähnlich wie Special Cases in Simplex Method

Ähnlich wie Special Cases in Simplex Method (20)

MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notes
 
Simplex method material for operation .pptx
Simplex method material for operation .pptxSimplex method material for operation .pptx
Simplex method material for operation .pptx
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Operations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simpOperations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simp
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Simplex Meathod
Simplex MeathodSimplex Meathod
Simplex Meathod
 
Simplex
SimplexSimplex
Simplex
 
Metode simpleks dual
Metode simpleks dualMetode simpleks dual
Metode simpleks dual
 
Simplex method
Simplex methodSimplex method
Simplex method
 
performance management and Resource optimization part-2.pptx
performance management and Resource optimization part-2.pptxperformance management and Resource optimization part-2.pptx
performance management and Resource optimization part-2.pptx
 
Twophasemethod 131003081339-phpapp01
Twophasemethod 131003081339-phpapp01Twophasemethod 131003081339-phpapp01
Twophasemethod 131003081339-phpapp01
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Unit-2 Branch & Bound Design of Algorithms.ppt
Unit-2 Branch & Bound Design of Algorithms.pptUnit-2 Branch & Bound Design of Algorithms.ppt
Unit-2 Branch & Bound Design of Algorithms.ppt
 
Lp simplex 3_
Lp simplex 3_Lp simplex 3_
Lp simplex 3_
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 

Kürzlich hochgeladen

Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 

Kürzlich hochgeladen (20)

Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 

Special Cases in Simplex Method

  • 1. Special Cases in Simplex Method Divyansh Verma SAU/AM(M)/2014/14 South Asian University Email : itsmedv91@gmail.com 4/18/2015 1
  • 2. Contents • Simplex Method • Simplex Table • Special Cases of Simplex Method – Degeneracy – Alternative Optima – Unbounded Solution – Infeasible Solution • References 4/18/2015 2
  • 3. Simplex Method Step 1 : Determine a starting basic feasible solution. Step 2 : Determine the entering basic variable by selecting the non-basic variable with the most negative value (in case of maximization) or with the most positive (in case of minimization) in the Z-row. Stop if there is no entering variable, the last solution is optimal. Else, go to Step 3. Step 3 : Select a leaving variable using the feasibility condition Step 4 : Determine the new basic solution by using the appropriate Gauss-Jordan computations. Repeat Step 2. 4/18/2015 3
  • 4. Simplex Table Basic Variable X1 X2 S1 S2 S3 Solution Min Ratio Z C1 C2 C3 C4 C5 z - S1 a11 a12 a13 a14 a15 b11 b11/a1j S2 a21 a22 a23 a24 a25 b21 b21/a2j S3 a31 a32 a33 a34 a35 b31 b31/a3j Non-Basic Variable Coefficient of Objective Function, decides Entering Variable Decides the Leaving Variable Objective Function Value Right Hand Side Value of Constraints Z-row S1-row S2-row S3-row A format of Simplex Table for some given LPP, here Xj are Decision Variables, Sj are Slack Variables, aij is the coefficient of Xj corresponding to ith constraint. 4/18/2015 4
  • 5. Special Cases in Simplex Special Cases that arise in the use of Simplex Method : 1. Degeneracy 2. Alternative Optima 3. Unbounded Solution 4. Infeasible Solution 4/18/2015 5
  • 6. Degeneracy A solution of the problem is said to be degenerate solution if the value of at least one basic variable becomes zero. In the simplex table, a tie for the minimum ratio occurs which is broken arbitrarily. It can cause the solution to cycle indefinitely. Graphically, it occurs due to redundant constraint (i.e. a constraint that can be removed from system without changing the feasible solution). 4/18/2015 6
  • 7. Degeneracy For example, consider the problem Max z = 3x1 + 9x2 ; Subject to : x1 + 4x2 ≤ 8 ; x1 + 2x2 ≤ 4 ; x1, x2 ≥ 0 4/18/2015 7 Basic Variable X1 X2 S1 S2 Solution Min Ratio Z0 -3 -9 0 0 0 - S1 1 4 1 0 8 2 S2 1 2 0 1 4 2 Z2 -3/4 0 9/4 0 18 - X2 1/4 1 1/4 0 2 8 S2 1/2 0 -1/2 1 0 0 Z3 0 0 3/2 3/2 18 - X2 0 1 1/2 -1/2 2 - X1 1 0 -1 2 0 - Tie in Min Ratio (Degeneracy) X2 enters S1 leaves X1 enters S2 leaves S2 becomes zero in next iteration because of degeneracy Optimum Solution : X1=0, X2=2, Max Z=18
  • 8. Alternative Optima If the z-row value for one or more non-basic variable is zero in the optimal tableau, alternate optimal solution exists. Graphically, it happens when the objective function is parallel to a non-redundant binding constraint (i.e. a constraint that is satisfied as an equation at the optimal solution). The zero coefficient of non-basic variable xi indicates that it can be made basic, altering the value of basic variable without changing the value of z. 4/18/2015 8
  • 9. Alternative Optima 4/18/2015 9 For example, consider the problem Max z = 2x1 + 4x2 ; Subject to : x1 + 2x2 ≤ 5 ; x1 + x2 ≤ 4 ; x1, x2 ≥ 0 Basic Variable X1 X2 S1 S2 Solution Min Ratio Z0 -2 -4 0 0 0 - S1 1 2 1 0 5 5/2 S2 1 1 0 1 4 4/1 Z2 0 0 2 0 10 - X2 1/2 1 1/2 0 5/2 5 S2 1/2 0 -1/2 1 3/2 3 Z3 0 0 2 0 10 - X2 0 1 1 -1 1 - X1 1 0 -1 2 3 - Optimum Solution, but coefficient of non-basic variable X1 is 0, indicates that it can be made basic. X2 enters S1 leaves X1 enters S2 leaves Alternate Optimum Solution X1 , X1 are basic variables. Optimum Solution : X1=3, X2=1 Max Z=10
  • 10. Unbounded Solution When determining the leaving variable of any tableau, if there is no positive minimum ratio or all entries of pivot column are negative or zero. 4/18/2015 10 For example, consider the problem Max z = 2x1 + x2 ; Subject to : - x1 + x2 ≤ 10 ; -2x1 ≤ 40 ; x1, x2 ≥ 0 Basic Variable X1 X2 S1 S2 Solution Min Ratio Z0 -2 -1 0 0 0 - S1 -1 1 1 0 10 - S2 -2 0 0 1 40 - X1 is the entering variable but all the constraint coefficients under X1 are ≤ 0 , meaning that X1 can be increased indefinitely, which gives unbounded solution.
  • 11. Infeasible Solution If at least one artificial variable is positive in the optimum iteration, then the LPP has no feasible solution. This situation obviously does not occur when all the constraints are type ≤ with non-negative right-hand side because all slack variables provide an obvious feasible solution. So, this situation occurs in Big-M Method & Two-Phase Method in which artificial variable are used. 4/18/2015 11
  • 12. Infeasible Solution 4/18/2015 12 For example, consider the problem Max z = 3x1 + 2x2 ; Subject to : 2x1 + x2 ≤ 2 ; 3x1 + 4x2 ≥ 12 ; x1, x2 ≥ 0 Basic Variable X1 X2 S1 S2 R1 Solution Min Ratio Z0 -3 -2 0 0 100 0 - S1 2 1 1 0 0 2 - R1 3 4 0 -1 1 12 - Z0 -303 -402 100 0 0 -1200 - S1 2 1 1 0 0 2 2 R1 3 4 0 -1 1 12 3 Z1 501 0 402 100 0 -396 - X2 2 1 1 0 0 2 - R1 -5 0 -4 -1 1 4 - X2 enters S1 leaves Pseudo Optimum Solution, but artificial variable has a positive value.
  • 13. References 4/18/2015 13 • Operations Research - An introduction (9th edition), Hamdy A. Taha, 2013 • http://www.lokminglui.com/lpch4.pdf • https://www.utdallas.edu/~metin/Or6201/specialcases.pdf