Professional Documents
Culture Documents
Method
Roll#: 2K18/CSE/8
Name: Abdul Salam Shaikh
Introduction
Simplex Method is Most Popular Method Used for the Solution of
Liner Programming Problem.
Simplex Method is an iterative Procedure to Find an Optimal
Solution in LP Problems Involving even Many Hundreds of
Variables and Constraints.
The Graphical Method is Usually Inefficient Or Impossible.
Simplex Method is Used When The Variables Are in Larger
Numbers.
Introduction(Contd.)
When Decision Variables Are More Than 2, It is Always Advisable
to Use Simplex Method to Avoid Lengthy Graphical Procedure.
Many Different Methods Have Been Proposed to Solve Linear
Programming Problems, But Simplex Method Has Proved to be
the Most Effective.
Simplex Method Was Developed By Professor George B .Dantzig
in 1947.
Steps Involved
1. Convert Into Standard Form And Determine
Initial Basic Feasible Solution.
Standard Form:- Convert All inequality Constraints Into equalities By
Use of Slack Variables.
Slack Variables:- A Slack Variable is a Variable That Added to an
Inequality Constraint to Transform it into an equality.
Basic Feasible Solution:- This Solution is Obtained By Setting (n-
m).
Where n is Number of Variables & m is Number of Constraints..
Non-Basic Variables At Zero-Level.
Steps (Contd..)
2. Optimality Test.
In Case Of Maximization:- if all the numbers in Z-
equation are Positive, then the solution is optimal,
otherwise improve the solution, go to step 3.
In Case Of Minimization:- if all the numbers in Z-
equation are Negative, then the solution is optimal,
otherwise improve the solution, go to step 3.
Steps (Contd..)
3. Entering Variable.
In Case Of Maximization:- Select An Entering Variable
From Non-Basic Variables By Choosing Most Negative Number in
Z-Equation.
In Case Of Minimization:- Select An Entering Variable From
Non-Basic Variables By Choosing Most Positive Number in Z-
Equation.
The Whole Column Will be Known As “Working Column” in
Which The Number Appears.
Steps (Contd..)
4. Leaving Variable.
Select A Leaving Variable From Basic Variables By Computing
The Ratios By Dividing All The Positive Numbers Of Working
Column.
Choose Smallest Ratio As Leaving Variable.
The Whole Row Will be Known As “Pivot Equation” in Which The
Smallest Ratio Appears.
Steps (Contd..)
Maximize
Z=13x + 11y
Subject to:
4x+5y <= 1500
5x+3y <= 1575
x+2y <= 420
x,y >=0
Step 1.
Standard Form:- Convert All inequality Constraints into equalities By the Use of Slack
Variables.
Let S1, S2, S3 be Three Slack Variables.
Maximize
Z-13x-11y+0.S1+0.S2+0.S3 = 0
Subject to:
4x+5y+S1=1500
5x+3y+S2=1575
x+2y+S3=420
x,y,S1,S2,S3>=0
Basic Feasible Solution:
Z -13 -11 0 0 0 0
S1 4 5 1 0 0 1500/4 37
1 5
Starting S2 Pivot
5 3 0 1 0 1575/5 31 Equation
5
S3 1 2 0 0 1 420/1 42
0
Above Highlighted Column is Working Column.
And Highlighted Box Having Yellow Color is Pivot Element.
S1
X Enters
S2 Leaves X 1 3/5 0 1/5 0 315
1
S3
Find New Z-Equation.
Old Z-equation: -13 -11 0 0 0 0
Pivot Element
Step 2. Optimality Test.
There Are Still Negative Numbers in Z-equation. So go to Step 3.
Step 3. Entering Variable.
The Most Negative Number in Z-equation.
-16/5 is Most Negative Number.
So y is an Entering Variable.
S1
Y Enters
S3 Leaves X
2
Y 0 1 0 -1/7 5/7 75
Find New Z-Equation.
Old Z-equation: 0 -16/5 0 13/5 0 4095