SlideShare a Scribd company logo
1 of 20
The Simplex Method
The geometric method of solving linear programming problems
presented before. The graphical method is useful only for
problems involving two decision variables and relatively few
problem constraints.
What happens when we need more decision variables and more problem constraints?
We use an algebraic method called the simplex method, which
was developed by George B. DANTZIG (1914-2005) in 1947 while
on assignment with the U.S. Department of the air force.
Standard Maximization Problems in
Standard Form
A linear programming problem is said to be a standard maximization problem in
standard form if its mathematical model is of the following form:
Maximize the objective function
Subject to problem constraints of the form
With non-negative constraints
max 1 1 2 2 ... n n
Z P c x c x c x
    
1 1 2 2 ... , 0
n n
a x a x a x b b
    
1 2
, ,..., 0
n
x x x 
Slack Variables
“A mathematical representation of surplus
resources.” In real life problems, it’s unlikely
that all resources will be used completely, so
there usually are unused resources.
Slack variables represent the unused resources
between the left-hand side and right-hand
side of each inequality.
Basic and Nonbasic Variables
Basic variables are selected arbitrarily with the restriction that
there be as many basic variables as there are equations. The
remaining variables are non-basic variables.
This system has two equations, we can select any two of the four
variables as basic variables. The remaining two variables are
then non-basic variables. A solution found by setting the two
non-basic variables equal to 0 and solving for the two basic
variables is a basic solution. If a basic solution has no negative
values, it is a basic feasible solution.
1 2 1
1 2 2
2 32
3 4 84
x x s
x x s
  
  
Step 2
• Since all RHS values > 0
• Therefore, choose initial feasible solution
• As x1 = x2= x3=0, S1=8, s2= 10, s3= 15 and
• Max Z = 0
Step 3
• Calculate Cj-Zj.
• Zj = ( Basic variable coefficients) * ( jth column
of data Matrix)
• Eg Zj= 0* 2 + 0 * 0 + 0 * 3 = 0, for X1 Column
Initial Solution
Step 4
• The variable that is to leave the basis is
determined by dividing the values in XB
column by the corresponding elements in the
key column
• Iteration 2- repeat Step 3 to 5
• Iteration 3
simplex method
simplex method

More Related Content

What's hot

Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
SHAMJITH KM
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
itsvineeth209
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
Sachin MK
 

What's hot (20)

Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Simplex Method.pptx
Simplex Method.pptxSimplex Method.pptx
Simplex Method.pptx
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
simplex method
simplex methodsimplex method
simplex method
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Operation research - the revised simplex method
Operation research - the revised simplex methodOperation research - the revised simplex method
Operation research - the revised simplex method
 
Branch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear ProgrammingBranch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear Programming
 
linear programming
linear programming linear programming
linear programming
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Simplex method
Simplex methodSimplex method
Simplex method
 

Similar to simplex method

Similar to simplex method (20)

Linear programming
Linear programmingLinear programming
Linear programming
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Ch06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdfCh06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdf
 
2_Simplex.pdf
2_Simplex.pdf2_Simplex.pdf
2_Simplex.pdf
 
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
 
D026017036
D026017036D026017036
D026017036
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4
Unit 4Unit 4
Unit 4
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variable
 
OI.ppt
OI.pptOI.ppt
OI.ppt
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
 
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
 
Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Interval programming
Interval programming Interval programming
Interval programming
 
Linear Programing.pptx
Linear Programing.pptxLinear Programing.pptx
Linear Programing.pptx
 
Simplex method material for operation .pptx
Simplex method material for operation .pptxSimplex method material for operation .pptx
Simplex method material for operation .pptx
 

More from Karishma Chaudhary

LPP application and problem formulation
LPP application and problem formulationLPP application and problem formulation
LPP application and problem formulation
Karishma Chaudhary
 

More from Karishma Chaudhary (20)

Notes on Current trends in IT (1) (1).pdf
Notes on Current trends in IT (1) (1).pdfNotes on Current trends in IT (1) (1).pdf
Notes on Current trends in IT (1) (1).pdf
 
Biodiversity 1
Biodiversity 1Biodiversity 1
Biodiversity 1
 
History of Operations Research
History of Operations ResearchHistory of Operations Research
History of Operations Research
 
Modelling in real world
Modelling in real worldModelling in real world
Modelling in real world
 
LPP application and problem formulation
LPP application and problem formulationLPP application and problem formulation
LPP application and problem formulation
 
Creativity
Creativity  Creativity
Creativity
 
Flair furniture LPP problem
Flair furniture LPP problemFlair furniture LPP problem
Flair furniture LPP problem
 
linear programming
linear programminglinear programming
linear programming
 
Es lecture 1
Es   lecture 1Es   lecture 1
Es lecture 1
 
LPP practice questions
LPP practice questionsLPP practice questions
LPP practice questions
 
Technology exports and joint ventures
Technology exports and joint venturesTechnology exports and joint ventures
Technology exports and joint ventures
 
Technology management
Technology managementTechnology management
Technology management
 
Values, morals and ethics
Values, morals and ethicsValues, morals and ethics
Values, morals and ethics
 
Introduction and History of Operations Management
Introduction and History of Operations ManagementIntroduction and History of Operations Management
Introduction and History of Operations Management
 
Types of Manufacturing system
Types of Manufacturing systemTypes of Manufacturing system
Types of Manufacturing system
 
Over population
Over populationOver population
Over population
 
Unemployment in India
Unemployment in IndiaUnemployment in India
Unemployment in India
 
Poverty in India
Poverty in IndiaPoverty in India
Poverty in India
 
Demographic features of Indian population with recent data
Demographic features of Indian population with recent dataDemographic features of Indian population with recent data
Demographic features of Indian population with recent data
 
Impacts of population
Impacts of populationImpacts of population
Impacts of population
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

simplex method

  • 1. The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving two decision variables and relatively few problem constraints. What happens when we need more decision variables and more problem constraints? We use an algebraic method called the simplex method, which was developed by George B. DANTZIG (1914-2005) in 1947 while on assignment with the U.S. Department of the air force.
  • 2. Standard Maximization Problems in Standard Form A linear programming problem is said to be a standard maximization problem in standard form if its mathematical model is of the following form: Maximize the objective function Subject to problem constraints of the form With non-negative constraints max 1 1 2 2 ... n n Z P c x c x c x      1 1 2 2 ... , 0 n n a x a x a x b b      1 2 , ,..., 0 n x x x 
  • 3. Slack Variables “A mathematical representation of surplus resources.” In real life problems, it’s unlikely that all resources will be used completely, so there usually are unused resources. Slack variables represent the unused resources between the left-hand side and right-hand side of each inequality.
  • 4. Basic and Nonbasic Variables Basic variables are selected arbitrarily with the restriction that there be as many basic variables as there are equations. The remaining variables are non-basic variables. This system has two equations, we can select any two of the four variables as basic variables. The remaining two variables are then non-basic variables. A solution found by setting the two non-basic variables equal to 0 and solving for the two basic variables is a basic solution. If a basic solution has no negative values, it is a basic feasible solution. 1 2 1 1 2 2 2 32 3 4 84 x x s x x s      
  • 5.
  • 6.
  • 7. Step 2 • Since all RHS values > 0 • Therefore, choose initial feasible solution • As x1 = x2= x3=0, S1=8, s2= 10, s3= 15 and • Max Z = 0
  • 8. Step 3 • Calculate Cj-Zj. • Zj = ( Basic variable coefficients) * ( jth column of data Matrix) • Eg Zj= 0* 2 + 0 * 0 + 0 * 3 = 0, for X1 Column
  • 10. Step 4 • The variable that is to leave the basis is determined by dividing the values in XB column by the corresponding elements in the key column
  • 11.
  • 12.
  • 13.
  • 14. • Iteration 2- repeat Step 3 to 5
  • 15.
  • 16.
  • 17.