SlideShare a Scribd company logo
OPERATION RESEARCH
Solving Linear Programming Problems:
The Simplex Method
Problem:
The GUJARAT GLASS CO. produces high-quality glass products, including windows and glass doors. It has
three plants. Aluminium frames and hardware are made in Plant 1, wood frames are made in Plant 2, and Plant 3
produces the glass and assembles the products. Because of declining earnings, top management has decided to
revamp the company’s product line. Unprofitable products are being discontinued, releasing production capacity
to launch two new products having large sales potential:
Product 1: An 8-foot glass door with aluminium framing
Product 2: A4 X 6 foot double-hung wood-framing
Product 1 requires some of the production capacity in Plants 1 and 3, but none in Plant 2. Product 2 needs only
Plants 2 and 3. The marketing division has concluded that the company could sell as much of either product as
could be produced by these plants. However, because both products would be competing for the same
production capacity in Plant 3, it is not clear which mix of the two products would be most profitable. Therefore,
an OR team has been formed to study this question. The OR team began by having discussions with upper
management to identify management’s objectives for the study. These discussions led to developing the
following definition of theproblem:
Determine what the production rates should be for the two products in order to maximize their total profit ?
Formulation of Linear Programming Model:
Graphical Method: Constraint Boundaries and
Corner Point Solutions
The Key Solution Geometric Concepts:
 Solution concept 1: The simplex method focuses solely on CPF solutions. For any problem with at least one
optimal solution, finding one requires only finding a best CPF solution.
 Solution concept 2: The simplex method is an iterative algorithm (a systematic solution procedure that
keeps repeating a fixed series of steps, called an iteration, until a desired result has been obtained) with the
following structure:
 Solution concept 3: Whenever possible, the initialization of the simplex method chooses the origin (all
decision variables equal to zero) to be the initial CPF solution. When there are too many decision variables to
find an initial CPF solution graphically, this choice eliminates the need to use algebraic procedures to find
and solve for an initial CPF solution.
The Key Solution Geometric Concepts:
 Solution concept 4: Given a CPF solution, it is much quicker computationally to gather information about
its adjacent CPF solutions than about other CPF solutions. Therefore, each time the simplex method
performs an iteration to move from the current CPF solution to a better one, it always chooses a CPF solution
that is adjacent to the current one. No other CPF solutions are considered. Consequently, the entire path
followed to eventually reach an optimal solution is along the edges of the feasible region.
 Solution concept 5: After the current CPF solution is identified, the simplex method examines each of the
edges of the feasible region that emanate from this CPF solution. Each of these edges leads to an adjacent
CPF solution at the other end, but the simplex method does not even take the time to solve for the adjacent
CPF solution. Instead, it simply identifies the rate of improvement in Z that would be obtained by moving
along the edge. Among the edges with a positive rate of improvement in Z, it then chooses to move along the
one with the largest rate of improvement in Z. The iteration is completed by first solving for the adjacent
CPF solution at the other end of this one edge and then relabeling this adjacent CPF solution as the current
CPF solution for the optimality test and (if needed) the next iteration.
 Solution concept 6: Solution concept 5 describes how the simplex method examine search of the edges of
the feasible region that emanate from the current CPF solution. This examination of an edge leads to quickly
identifying the rate of improvement in Z that would be obtained by moving along the edge toward the
adjacent CPF solution at the other end. A positive rate of improvement in Z implies that the adjacent CPF
solution is better than the current CPF solution, whereas a negative rate of improvement in Z implies that the
adjacent CPF solution is worse. Therefore, the optimality test consists simply of checking whether any of the
edges give a positive rate of improvement in Z. If none do, then the current CPF solution is optimal.
Geometric Interpretation:
Setting up the Simplex Method:
 The preceding section stressed the geometric concepts that underlie the simplex method. However, this
algorithm normally is run on a computer, which can follow only algebraic instructions. Therefore, it is
necessary to translate the conceptually geometric procedure just described into a usable algebraic
procedure.
 The algebraic procedure is based on solving systems of equations. Therefore, the first step in setting up the
simplex method is to convert the functional inequality constraints to equivalent equality constraints. This
conversion is accomplished by introducing slack variables.
To illustrate, Consider the first functional constraint i.e.
x1 <= 4.
The slack variable for this constraint is defined to be
x3 = 4 - x1,
which is the amount of slack in the left-hand side of the inequality. Thus,
x1 + x3 = 4.
Given this equation, x1 <= 4 if and only if 4 - x1 = x3 >= 0. Therefore, the original constraint x1 <= 4
is entirely equivalent to the pair of constraints
x1 + x3 = 4 and x3 >= 0.
Setting up the Simplex Method:
 If a slack variable equals 0 in the current solution, then this solution lies on the constraint
boundary for the corresponding functional constraint.
 A value greater than 0 means that the solution lies on the feasible side of this constraintboundary.
 A value less than 0 means that the solution lies on the infeasible side of this constraint boundary.
 An Augmented solution is a solution for the original variables (the decision variables) that has been
augmented by the corresponding values of the slack variables.
 A basic solution is an augmented corner-point solution.
 A basic feasible (BF) solution is an augmented CPF solution
Setting up the Simplex Method:
 For the augmented form of the example, notice that the system of functional constraints has 5 variables
and 3 equations, So
Number of variables - number of equations = 5 – 3 = 2
 This fact gives us 2 degrees of freedom in solving the system, since any two variables can be chosen to be
set equal to any arbitrary value in order to solve the three equations in terms of the remaining three
variables. The simplex method uses zero for this arbitrary value. Thus, two of the variables (called the
non basic variables) are set equal to zero, and then the simultaneous solution of the three equations for
the other three variables (called the basic variables) is a basic solution.
 A basic solution has the following properties:
1. Each variable is designated as either a non basic variable or a basic variable.
2. The number of basic variables equals the number of functional constraints (now equations). Therefore,
the
number of non basic variables equals the total number of variables minus the number of functional
constraints.
3. The non basic variables are set equal to zero.
4.The values of the basic variables are obtained as the simultaneous solution of the system of equations
(functional constraints in augmented form). (The set of basic variables is often referred to as the basis.)
5. If the basic variables satisfy the non negativity constraints, the basic solution is a BFsolution.
The Algebra of Simplex Method
 Initialization:
 Optimality Test:
The objective function is
Z = 3x1 + 5x2
So, Z = 0 for the initial BF solution. Because none of the basic variables (x3, x4, x5) have a nonzero coefficient in
this objective function, the coefficient of each non basic variable (x1, x2) gives the rate of improvement in Z if
that variable were to be increased from zero (while the values of the basic variables are adjusted to continue
satisfying the system of equations).These rates of improvement (3 and 5) are positive. Therefore, based on
solution concept 6, we conclude that (0, 0, 4, 12, 18) is not optimal.
The Algebra of Simplex Method
 Determining the direction of movement:
 Determining where to stop:
The Algebra of Simplex Method
 Solving for the new BF Solution:
The Algebra of Simplex Method
The Algebra of Simplex Method
 Optimality test for new BF Solution:
 Iteration 2 and Resulting optimal solution:
The Algebra of Simplex Method
The Simplex Method in Tabular Form
 The algebraic form of the simplex method may be the best one for learning the underlying logic of the
algorithm. However, it is not the most convenient form for performing the required calculations. When you
need to solve a problem by hand (or interactively with your OR Courseware), We mainly recommend the
tabular form.
 The tabular form of the simplex method records only the essential information, namely,
(1) the coefficients of the variables
(2) the constants on the right-hand sides of the equations
(3) the basic variable appearing in each equation. This saves writing the symbols for the variables in each of the
equations, but what is even more important is the fact that it permits highlighting the numbers involved in
arithmetic calculations and recording the computations compactly.
 The tabular form of the simplex method uses a simplex tableau to compactly display the system of equations
yielding the current BF solution. For this solution, each variable in the leftmost column equals the
corresponding number in the rightmost column (and variables not listed equal zero). When the optimality test
or an iteration is performed, the only relevant numbers are those to the right of the Z column. The term row
refers to just a row of numbers to the right of the Z column (including the right side number), where row I
corresponds to Eq. (i).
The Simplex Method in Tabular Form
Initial System of Equations
Apply the minimum ratio test to determine the first leaving basic variable
The Simplex Method in Tabular Form
Simplex Tableaux after the first pivot row is divided by first pivot number
First two Simplex Tableaux
The Simplex Method in Tabular Form
Step 1 and Step 2 of Iteration 2
The Simplex Method in Tabular Form
Complete Set of Simplex tableaux
Solving linear programming model by Simplex method.pptx

More Related Content

Similar to Solving linear programming model by Simplex method.pptx

Balaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptBalaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.ppt
gokulkumaraguru8
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
asthashukla33
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
Muhammad Kashif
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luvAshok Sharma
 
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
 
SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptx
Tista3
 
01 algebra
01 algebra01 algebra
01 algebra
Murad Kasasbeh
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
DagnaygebawGoshme
 
Graphical RepresentationLinear programming
Graphical RepresentationLinear programming Graphical RepresentationLinear programming
Graphical RepresentationLinear programming
abhishekkumar4847
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
Mayurkumarpatil1
 
35 algorithm-types
35 algorithm-types35 algorithm-types
35 algorithm-types
Kislay Bhardwaj L|PT,ECSA,C|EH
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
Aizaz Ahmad
 
Operation research - Chapter 03
Operation research - Chapter 03Operation research - Chapter 03
Operation research - Chapter 03
2013901097
 
Operations Research - Simplex Method Principles
Operations Research - Simplex Method PrinciplesOperations Research - Simplex Method Principles
Operations Research - Simplex Method Principles
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
SubhamSatpathy2
 
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSINGOPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
coollife99
 
Simplex method
Simplex methodSimplex method
Simplex method
Shiwani Gupta
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
SukhpalRamanand
 
Linear Programing.pptx
Linear Programing.pptxLinear Programing.pptx
Linear Programing.pptx
AdnanHaleem
 

Similar to Solving linear programming model by Simplex method.pptx (20)

Balaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptBalaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.ppt
 
final paper1
final paper1final paper1
final paper1
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luv
 
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
 
SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptx
 
01 algebra
01 algebra01 algebra
01 algebra
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
 
Graphical RepresentationLinear programming
Graphical RepresentationLinear programming Graphical RepresentationLinear programming
Graphical RepresentationLinear programming
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
 
35 algorithm-types
35 algorithm-types35 algorithm-types
35 algorithm-types
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Operation research - Chapter 03
Operation research - Chapter 03Operation research - Chapter 03
Operation research - Chapter 03
 
Operations Research - Simplex Method Principles
Operations Research - Simplex Method PrinciplesOperations Research - Simplex Method Principles
Operations Research - Simplex Method Principles
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSINGOPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
OPTIMIZATION TECHNIQUES IN PHARMACEUTICAL FORMULATION AND PROCESSING
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Linear Programing.pptx
Linear Programing.pptxLinear Programing.pptx
Linear Programing.pptx
 

Recently uploaded

KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
ambekarshweta25
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 

Solving linear programming model by Simplex method.pptx

  • 1. OPERATION RESEARCH Solving Linear Programming Problems: The Simplex Method
  • 2. Problem: The GUJARAT GLASS CO. produces high-quality glass products, including windows and glass doors. It has three plants. Aluminium frames and hardware are made in Plant 1, wood frames are made in Plant 2, and Plant 3 produces the glass and assembles the products. Because of declining earnings, top management has decided to revamp the company’s product line. Unprofitable products are being discontinued, releasing production capacity to launch two new products having large sales potential: Product 1: An 8-foot glass door with aluminium framing Product 2: A4 X 6 foot double-hung wood-framing Product 1 requires some of the production capacity in Plants 1 and 3, but none in Plant 2. Product 2 needs only Plants 2 and 3. The marketing division has concluded that the company could sell as much of either product as could be produced by these plants. However, because both products would be competing for the same production capacity in Plant 3, it is not clear which mix of the two products would be most profitable. Therefore, an OR team has been formed to study this question. The OR team began by having discussions with upper management to identify management’s objectives for the study. These discussions led to developing the following definition of theproblem: Determine what the production rates should be for the two products in order to maximize their total profit ?
  • 3. Formulation of Linear Programming Model:
  • 4. Graphical Method: Constraint Boundaries and Corner Point Solutions
  • 5. The Key Solution Geometric Concepts:  Solution concept 1: The simplex method focuses solely on CPF solutions. For any problem with at least one optimal solution, finding one requires only finding a best CPF solution.  Solution concept 2: The simplex method is an iterative algorithm (a systematic solution procedure that keeps repeating a fixed series of steps, called an iteration, until a desired result has been obtained) with the following structure:  Solution concept 3: Whenever possible, the initialization of the simplex method chooses the origin (all decision variables equal to zero) to be the initial CPF solution. When there are too many decision variables to find an initial CPF solution graphically, this choice eliminates the need to use algebraic procedures to find and solve for an initial CPF solution.
  • 6. The Key Solution Geometric Concepts:  Solution concept 4: Given a CPF solution, it is much quicker computationally to gather information about its adjacent CPF solutions than about other CPF solutions. Therefore, each time the simplex method performs an iteration to move from the current CPF solution to a better one, it always chooses a CPF solution that is adjacent to the current one. No other CPF solutions are considered. Consequently, the entire path followed to eventually reach an optimal solution is along the edges of the feasible region.  Solution concept 5: After the current CPF solution is identified, the simplex method examines each of the edges of the feasible region that emanate from this CPF solution. Each of these edges leads to an adjacent CPF solution at the other end, but the simplex method does not even take the time to solve for the adjacent CPF solution. Instead, it simply identifies the rate of improvement in Z that would be obtained by moving along the edge. Among the edges with a positive rate of improvement in Z, it then chooses to move along the one with the largest rate of improvement in Z. The iteration is completed by first solving for the adjacent CPF solution at the other end of this one edge and then relabeling this adjacent CPF solution as the current CPF solution for the optimality test and (if needed) the next iteration.  Solution concept 6: Solution concept 5 describes how the simplex method examine search of the edges of the feasible region that emanate from the current CPF solution. This examination of an edge leads to quickly identifying the rate of improvement in Z that would be obtained by moving along the edge toward the adjacent CPF solution at the other end. A positive rate of improvement in Z implies that the adjacent CPF solution is better than the current CPF solution, whereas a negative rate of improvement in Z implies that the adjacent CPF solution is worse. Therefore, the optimality test consists simply of checking whether any of the edges give a positive rate of improvement in Z. If none do, then the current CPF solution is optimal.
  • 8. Setting up the Simplex Method:  The preceding section stressed the geometric concepts that underlie the simplex method. However, this algorithm normally is run on a computer, which can follow only algebraic instructions. Therefore, it is necessary to translate the conceptually geometric procedure just described into a usable algebraic procedure.  The algebraic procedure is based on solving systems of equations. Therefore, the first step in setting up the simplex method is to convert the functional inequality constraints to equivalent equality constraints. This conversion is accomplished by introducing slack variables. To illustrate, Consider the first functional constraint i.e. x1 <= 4. The slack variable for this constraint is defined to be x3 = 4 - x1, which is the amount of slack in the left-hand side of the inequality. Thus, x1 + x3 = 4. Given this equation, x1 <= 4 if and only if 4 - x1 = x3 >= 0. Therefore, the original constraint x1 <= 4 is entirely equivalent to the pair of constraints x1 + x3 = 4 and x3 >= 0.
  • 9. Setting up the Simplex Method:  If a slack variable equals 0 in the current solution, then this solution lies on the constraint boundary for the corresponding functional constraint.  A value greater than 0 means that the solution lies on the feasible side of this constraintboundary.  A value less than 0 means that the solution lies on the infeasible side of this constraint boundary.  An Augmented solution is a solution for the original variables (the decision variables) that has been augmented by the corresponding values of the slack variables.  A basic solution is an augmented corner-point solution.  A basic feasible (BF) solution is an augmented CPF solution
  • 10. Setting up the Simplex Method:  For the augmented form of the example, notice that the system of functional constraints has 5 variables and 3 equations, So Number of variables - number of equations = 5 – 3 = 2  This fact gives us 2 degrees of freedom in solving the system, since any two variables can be chosen to be set equal to any arbitrary value in order to solve the three equations in terms of the remaining three variables. The simplex method uses zero for this arbitrary value. Thus, two of the variables (called the non basic variables) are set equal to zero, and then the simultaneous solution of the three equations for the other three variables (called the basic variables) is a basic solution.  A basic solution has the following properties: 1. Each variable is designated as either a non basic variable or a basic variable. 2. The number of basic variables equals the number of functional constraints (now equations). Therefore, the number of non basic variables equals the total number of variables minus the number of functional constraints. 3. The non basic variables are set equal to zero. 4.The values of the basic variables are obtained as the simultaneous solution of the system of equations (functional constraints in augmented form). (The set of basic variables is often referred to as the basis.) 5. If the basic variables satisfy the non negativity constraints, the basic solution is a BFsolution.
  • 11. The Algebra of Simplex Method  Initialization:  Optimality Test: The objective function is Z = 3x1 + 5x2 So, Z = 0 for the initial BF solution. Because none of the basic variables (x3, x4, x5) have a nonzero coefficient in this objective function, the coefficient of each non basic variable (x1, x2) gives the rate of improvement in Z if that variable were to be increased from zero (while the values of the basic variables are adjusted to continue satisfying the system of equations).These rates of improvement (3 and 5) are positive. Therefore, based on solution concept 6, we conclude that (0, 0, 4, 12, 18) is not optimal.
  • 12. The Algebra of Simplex Method  Determining the direction of movement:  Determining where to stop:
  • 13. The Algebra of Simplex Method  Solving for the new BF Solution:
  • 14. The Algebra of Simplex Method
  • 15. The Algebra of Simplex Method  Optimality test for new BF Solution:  Iteration 2 and Resulting optimal solution:
  • 16. The Algebra of Simplex Method
  • 17. The Simplex Method in Tabular Form  The algebraic form of the simplex method may be the best one for learning the underlying logic of the algorithm. However, it is not the most convenient form for performing the required calculations. When you need to solve a problem by hand (or interactively with your OR Courseware), We mainly recommend the tabular form.  The tabular form of the simplex method records only the essential information, namely, (1) the coefficients of the variables (2) the constants on the right-hand sides of the equations (3) the basic variable appearing in each equation. This saves writing the symbols for the variables in each of the equations, but what is even more important is the fact that it permits highlighting the numbers involved in arithmetic calculations and recording the computations compactly.  The tabular form of the simplex method uses a simplex tableau to compactly display the system of equations yielding the current BF solution. For this solution, each variable in the leftmost column equals the corresponding number in the rightmost column (and variables not listed equal zero). When the optimality test or an iteration is performed, the only relevant numbers are those to the right of the Z column. The term row refers to just a row of numbers to the right of the Z column (including the right side number), where row I corresponds to Eq. (i).
  • 18. The Simplex Method in Tabular Form Initial System of Equations Apply the minimum ratio test to determine the first leaving basic variable
  • 19. The Simplex Method in Tabular Form Simplex Tableaux after the first pivot row is divided by first pivot number First two Simplex Tableaux
  • 20. The Simplex Method in Tabular Form Step 1 and Step 2 of Iteration 2
  • 21. The Simplex Method in Tabular Form Complete Set of Simplex tableaux