SlideShare a Scribd company logo
1 of 8
Download to read offline
Sample Problem of Simplex
Problem
• Objective function
• Maximization Z = 5x +4y
• Constraints
0x + 2y <_ 50
1x + 2y <_ 25
1x + 1y <_ 15
x>=0, y>=0
Solution
• Given data
Objective Function : Maximization
Z = 5x + 4y + 0S1 + 0S2 + 0S3
Subject to constraints
0x + 2y <_ 50
1x + 2y <_ 25
1x + 1y <_ 15
Let us convert the above constraints from inequalities to equality by adding
the slack variable
0x + 2y + S1 = 50
1x + 2y + S2 = 25
1x + 1y + S3 =15
Posting the values in the tabular form
Cj 5 4 0 0 0 ratio
Cb b Xb x y S1 S2 S3 Xb / x
0 S1 50 0 2 1 0 0 50/0 = 0
0 S2 25 1 2 0 1 0 25/1 =25
0 S3 15 1 1 0 0 1 15/1 =15
Zj 0 0 0 0 0
Cj – Zj 5 4 0 0 0
Zj = cb1*x1 + cb2*x2 +cb3*x3
0 * 0 + 0 * 1 + 0 * 1 = 0
cb1*y1 +cb2*y2 + cb3*y3
0 * 2 + 0 * 2 + 0* 1 = 0
Zj = cb1*S11 + cb2*S12 +cb3*S13
0 * 1 + 0 * 0 + 0 * 0 * 0 = 0
1
Iteration - 1
Cj 5 4 0 0 0
Cb b Xb x y S1 S2 S3
0 S1 50 0 2 1 0 0
0 S2 10 0 1 0 1 -1
5 x 15 1 1 0 0 1
Zj 5 5 0 0 5
Cj - Zj 0 -1 0 0 -5
R3 – R3/Key element
15 / 1 = 15
1 / 1 = 1
1/ 1 = 1
0 / 1 = 0
0 / 1 = 0
1 / 1 = 1
R2 = old value –(key corres column x key corres row)/Key
element
R1 = old value –(key corres column x key
corres row)/Key element
25 = 25 – (1 x 15) = 25 – 15 = 10
1
1 = 1 – ( 1x1) = 1 – 1 = 0
1
2 = 2 – (1x 1) = 2 – 1 = 1
1
0 = 0 – (1x0) = 0 – 0 = 0
1
1 = 1 – (1 x 0) = 1 – 0 = 1
1
0 = 0 – (1 x 1) = - 1
1
R2 = old value –(corresponding key column x corresponding key row)
Key element
50 = 50 – ( 0 x 15) = 50 – 0 = 50
1
0 = 0 – (0x1) = 0 – 0 = 0
1
2 = 2 - (0 x 1) = 2 – 0 = 2
1
1 = 1 – (0x0) = 1 – 0 = 1
1
0 = 0 – (0 x 0) = 0 – 0 = 0
1
0 = 0 – ( 0x 1) = 0 – 0 = 0
1
R1 = old value –(corresponding key column x corresponding key row)
Key element
x = 15, y = 0
Objective Function
Z = 5x + 4y
Substitute the x = 15, y =0 in the above function
Z = 5(15) + 4(0)
Z = 75 + 0
Z = 75
Interpretation : The maximum profit of the
organization can be 75

More Related Content

Similar to Sample Problem of Simplex.pdf

OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
chaitu87
 
Calculus Review for semester 1 at University
Calculus Review for semester 1 at UniversityCalculus Review for semester 1 at University
Calculus Review for semester 1 at University
netaf56543
 

Similar to Sample Problem of Simplex.pdf (20)

Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Floating point representation and arithmetic
Floating point representation and arithmeticFloating point representation and arithmetic
Floating point representation and arithmetic
 
SG 8 Lecture 15 Simplex - Min - 2 phase.pptx
SG 8 Lecture 15 Simplex - Min - 2 phase.pptxSG 8 Lecture 15 Simplex - Min - 2 phase.pptx
SG 8 Lecture 15 Simplex - Min - 2 phase.pptx
 
simplex method-maths 4 mumbai university
simplex method-maths 4 mumbai universitysimplex method-maths 4 mumbai university
simplex method-maths 4 mumbai university
 
Class10
Class10Class10
Class10
 
Operations Research - The Two Phase Method
Operations Research - The Two Phase MethodOperations Research - The Two Phase Method
Operations Research - The Two Phase Method
 
Class10
Class10Class10
Class10
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Data types - things you have to know!
Data types - things you have to know!Data types - things you have to know!
Data types - things you have to know!
 
Calculus Review for semester 1 at University
Calculus Review for semester 1 at UniversityCalculus Review for semester 1 at University
Calculus Review for semester 1 at University
 
Big m method
Big   m methodBig   m method
Big m method
 
Bisection
BisectionBisection
Bisection
 
Meja kursi
Meja kursiMeja kursi
Meja kursi
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
1
11
1
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
 
CSE-205_ch-3.pptx
CSE-205_ch-3.pptxCSE-205_ch-3.pptx
CSE-205_ch-3.pptx
 
Operations Research Problem
Operations Research  ProblemOperations Research  Problem
Operations Research Problem
 

Recently uploaded

Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
HyderabadDolls
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
ahmedjiabur940
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
HyderabadDolls
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
HyderabadDolls
 

Recently uploaded (20)

Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
 
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Introduction to Statistics Presentation.pptx
Introduction to Statistics Presentation.pptxIntroduction to Statistics Presentation.pptx
Introduction to Statistics Presentation.pptx
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
 

Sample Problem of Simplex.pdf

  • 2. Problem • Objective function • Maximization Z = 5x +4y • Constraints 0x + 2y <_ 50 1x + 2y <_ 25 1x + 1y <_ 15 x>=0, y>=0
  • 3. Solution • Given data Objective Function : Maximization Z = 5x + 4y + 0S1 + 0S2 + 0S3 Subject to constraints 0x + 2y <_ 50 1x + 2y <_ 25 1x + 1y <_ 15 Let us convert the above constraints from inequalities to equality by adding the slack variable 0x + 2y + S1 = 50 1x + 2y + S2 = 25 1x + 1y + S3 =15
  • 4. Posting the values in the tabular form Cj 5 4 0 0 0 ratio Cb b Xb x y S1 S2 S3 Xb / x 0 S1 50 0 2 1 0 0 50/0 = 0 0 S2 25 1 2 0 1 0 25/1 =25 0 S3 15 1 1 0 0 1 15/1 =15 Zj 0 0 0 0 0 Cj – Zj 5 4 0 0 0 Zj = cb1*x1 + cb2*x2 +cb3*x3 0 * 0 + 0 * 1 + 0 * 1 = 0 cb1*y1 +cb2*y2 + cb3*y3 0 * 2 + 0 * 2 + 0* 1 = 0 Zj = cb1*S11 + cb2*S12 +cb3*S13 0 * 1 + 0 * 0 + 0 * 0 * 0 = 0 1
  • 5. Iteration - 1 Cj 5 4 0 0 0 Cb b Xb x y S1 S2 S3 0 S1 50 0 2 1 0 0 0 S2 10 0 1 0 1 -1 5 x 15 1 1 0 0 1 Zj 5 5 0 0 5 Cj - Zj 0 -1 0 0 -5 R3 – R3/Key element 15 / 1 = 15 1 / 1 = 1 1/ 1 = 1 0 / 1 = 0 0 / 1 = 0 1 / 1 = 1 R2 = old value –(key corres column x key corres row)/Key element R1 = old value –(key corres column x key corres row)/Key element
  • 6. 25 = 25 – (1 x 15) = 25 – 15 = 10 1 1 = 1 – ( 1x1) = 1 – 1 = 0 1 2 = 2 – (1x 1) = 2 – 1 = 1 1 0 = 0 – (1x0) = 0 – 0 = 0 1 1 = 1 – (1 x 0) = 1 – 0 = 1 1 0 = 0 – (1 x 1) = - 1 1 R2 = old value –(corresponding key column x corresponding key row) Key element
  • 7. 50 = 50 – ( 0 x 15) = 50 – 0 = 50 1 0 = 0 – (0x1) = 0 – 0 = 0 1 2 = 2 - (0 x 1) = 2 – 0 = 2 1 1 = 1 – (0x0) = 1 – 0 = 1 1 0 = 0 – (0 x 0) = 0 – 0 = 0 1 0 = 0 – ( 0x 1) = 0 – 0 = 0 1 R1 = old value –(corresponding key column x corresponding key row) Key element
  • 8. x = 15, y = 0 Objective Function Z = 5x + 4y Substitute the x = 15, y =0 in the above function Z = 5(15) + 4(0) Z = 75 + 0 Z = 75 Interpretation : The maximum profit of the organization can be 75