SlideShare a Scribd company logo
1 of 12
Simplex
Part 2 of 4
Professor Ed Dansereau
2. Initial Feasible Solution
We take the standard form constraints and objective function and fill in the Tableau
(table).
Basis C Object Function in Std Form Q
Basis Variables Subrate RHS
Z row Z
Net Eval
2. Initial Feasible Solution - O.F.
Begin to fill out table by putting Objective Function in Standard Form across top.
Initial Tableau
250 400 0 0 0
Basis C X1 X2 S1 S2 S3 Q
Basis Variables Subrate RHS
Z row Z
Net Eval
2. Initial Feasible Solution - Basis
Next Fill in Basis
Three rules for basic variables within Basis
1. One variable per constraint in Basis
2. For constraints that have slack, use them - less than or equal to
3. If a constraint has an Artificial variable, use it - greater than or equal to and
equal to
The coefficient of the variable comes from the Objective Function
2. Initial Feasible Solution - Basis
In our example we have three constraints, all constraints are “<=” so we use slack,
and the OF coefficient is zero (slack has zero profit).
Initial
Tableau
250 400 0 0 0
Basis C X1 X2 S1 S2 S3 Q
S1 0
Subrate RHS
S2 0
S3 0
Z row Z
Net Eval
2. Initial Feasible Solution - Subrate
Put the coefficient of left hand side of the constraints (everything to the left of the
<= sign) into the subrate. Align with the variables from the Objective function -
make sure the coefficient for X1 is under the X1 variable.
Initial Tableau
250 400 0 0 0
Basis C X1 X2 S1 S2 S3 Q
S1 0 2.5 3 1 0 0
RHS
S2 0 8 4 0 1 0
S3 0 2 6 0 0 1
Z row Z
Net Eval
2. Initial Feasible Solution - Subrate
Notice that the columns under the slack variables (S1, S2, and S3). The are unit
vector columns. A Unit Vector is a column of zeros and only a single 1 which occurs
at the intersection of that variable’s row (in basis) and column. The zeros in the
substitution rate indicates of each slack variables unit vector indicate that the
constraints are independent of each other. In other words, a change in the one
resource (constraint) has no effect on the other resources.
0
S1
1
0
0
2. Initial Feasible Solution - RHS
In the RHS section, fill the the Right Hand Side of each constraint, everything to the
right of the “<=” sign.
250 400 0 0 0
Basis C X1 X2 S1 S2 S3 Q
S1 0 2.5 3 1 0 0 30
S2 0 8 4 0 1 0 80
S3 0 2 6 0 0 1 48
Z row Z
Net Eval
2. Initial Feasible Solution - Z row
The values in the z row are calculated by multiplying the c (coefficient) values of the
basis by the corresponding value in the sub.rate column and then summing the
results of each row. Z row = ∑(c x sub. rate)
Let us look at just the X1 variable
● (0 * 2.5) + (0 * 8) + (0 * 2) = 0
● All three coefficients for S1, S2, & S3 are zero
● 2.5, 8, & 2 are the corresponding X1 values
Starting at the origin makes this calculation easy.
250
Basis C X1
S1 0 2.5
S2 0 8
S3 0 2
Z row 0
2. Initial Feasible Solution - Z row
Repeat the procedure for all the column variables
250 400 0 0 0
Basis C X1 X2 S1 S2 S3 Q
S1 0 2.5 3 1 0 0 30
S2 0 8 4 0 1 0 80
S3 0 2 6 0 0 1 48
Z row 0 0 0 0 0 Z
Net Eval
2. Initial Feasible Solution - Z
Z represents the profit for a maximum or cost for a minimum at the extreme point.
The formula is Z = ∑(c x Q). Notice we use the Q column instead of sub.rate when
calculating Z.
Z = (0*30) + (0*80) + (0*48) = 0
This makes sense. We are starting at
the origin (0,0) and not producing any products. So we are not making any money.
Basis C Q
S1 0 30
S2 0 80
S3 0 48
0
2. Initial Feasible Solution - Net Evaluation
Finally we calculate the Net Evaluation row subtracting the objective function
coefficient for each variable minus the value in the Z row. Net Eval = C - Zrow
● For X1 the OF coefficient is 250
● The Z row is 0
● Net Eval = 250 - 0 = 2503.
250 400 0 0 0
Basis C X1 X2 S1 S2 S3 Q
S1 0 2.5 3 1 0 0 30
S2 0 8 4 0 1 0 80
S3 0 2 6 0 0 1 48
Z row 0 0 0 0 0 0
Net Eval 250 400 0 0 0

More Related Content

What's hot

Zero & Negative Exponents
Zero & Negative ExponentsZero & Negative Exponents
Zero & Negative Exponents
Bitsy Griffin
 
Simulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random VariablesSimulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random Variables
Martin Kretzer
 
Generate and test random numbers
Generate and test random numbersGenerate and test random numbers
Generate and test random numbers
Mshari Alabdulkarim
 
Rational functions
Rational functionsRational functions
Rational functions
EricaC3
 
Graphing Quadradic
Graphing QuadradicGraphing Quadradic
Graphing Quadradic
guest35706da
 

What's hot (20)

7 regularization
7 regularization7 regularization
7 regularization
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
3
33
3
 
2.4 Linear Functions
2.4 Linear Functions2.4 Linear Functions
2.4 Linear Functions
 
Quantitative Analysis For Decision Making
Quantitative Analysis For Decision MakingQuantitative Analysis For Decision Making
Quantitative Analysis For Decision Making
 
Zero & Negative Exponents
Zero & Negative ExponentsZero & Negative Exponents
Zero & Negative Exponents
 
Calc 2.1
Calc 2.1Calc 2.1
Calc 2.1
 
Simulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random VariablesSimulation - Generating Continuous Random Variables
Simulation - Generating Continuous Random Variables
 
Generate and test random numbers
Generate and test random numbersGenerate and test random numbers
Generate and test random numbers
 
Operations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentationOperations research : Assignment problem (One's method) presentation
Operations research : Assignment problem (One's method) presentation
 
Selection sort
Selection sortSelection sort
Selection sort
 
6 logistic regression classification algo
6 logistic regression   classification algo6 logistic regression   classification algo
6 logistic regression classification algo
 
FEMAP TUTORIAL AE410
FEMAP TUTORIAL AE410FEMAP TUTORIAL AE410
FEMAP TUTORIAL AE410
 
MATRICES
MATRICESMATRICES
MATRICES
 
Rational Functions
Rational FunctionsRational Functions
Rational Functions
 
Qa 2
Qa 2Qa 2
Qa 2
 
Rational functions
Rational functionsRational functions
Rational functions
 
Graphing Quadradic
Graphing QuadradicGraphing Quadradic
Graphing Quadradic
 
Graphics of Linear Functions
Graphics of Linear FunctionsGraphics of Linear Functions
Graphics of Linear Functions
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 

Viewers also liked (12)

Nba
NbaNba
Nba
 
Leo jundi-gracas-senhor
Leo jundi-gracas-senhorLeo jundi-gracas-senhor
Leo jundi-gracas-senhor
 
Condo house launches singapore
Condo house launches singaporeCondo house launches singapore
Condo house launches singapore
 
Animaciones de tres casos
Animaciones de tres casosAnimaciones de tres casos
Animaciones de tres casos
 
Estudios derecho-de-salud-marisa-aizenberg
Estudios derecho-de-salud-marisa-aizenbergEstudios derecho-de-salud-marisa-aizenberg
Estudios derecho-de-salud-marisa-aizenberg
 
Los Perifericos
Los PerifericosLos Perifericos
Los Perifericos
 
Ensamble y Mantenimiento Profesional de Computadoras
Ensamble y Mantenimiento Profesional de Computadoras Ensamble y Mantenimiento Profesional de Computadoras
Ensamble y Mantenimiento Profesional de Computadoras
 
Présentation. "Je suis comme ça" 1º C
Présentation. "Je suis comme ça" 1º CPrésentation. "Je suis comme ça" 1º C
Présentation. "Je suis comme ça" 1º C
 
The Case Against Education
The Case Against EducationThe Case Against Education
The Case Against Education
 
XTIのtrrにおける不具合点(PSpice)
XTIのtrrにおける不具合点(PSpice)XTIのtrrにおける不具合点(PSpice)
XTIのtrrにおける不具合点(PSpice)
 
Custom dev o365
Custom dev   o365Custom dev   o365
Custom dev o365
 
Tecnologia 11 2
Tecnologia 11 2Tecnologia 11 2
Tecnologia 11 2
 

Similar to Simplex part 2 of 4

Simplextabular
SimplextabularSimplextabular
Simplextabular
hushgas
 
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
 

Similar to Simplex part 2 of 4 (20)

simplex method
simplex methodsimplex method
simplex method
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplextabular
SimplextabularSimplextabular
Simplextabular
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplex method
Simplex methodSimplex method
Simplex method
 
simplex method for operation research .pdf
simplex method for operation research .pdfsimplex method for operation research .pdf
simplex method for operation research .pdf
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
Design of sampled data control systems part 2. 6th lecture
Design of sampled data control systems part 2.  6th lectureDesign of sampled data control systems part 2.  6th lecture
Design of sampled data control systems part 2. 6th lecture
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Simplex Method.pptx
Simplex Method.pptxSimplex Method.pptx
Simplex Method.pptx
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Use s parameters-determining_inductance_capacitance
Use s parameters-determining_inductance_capacitanceUse s parameters-determining_inductance_capacitance
Use s parameters-determining_inductance_capacitance
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Simplex method maximisation
Simplex method maximisationSimplex method maximisation
Simplex method maximisation
 

More from Ed Dansereau

More from Ed Dansereau (11)

Social media in job search
Social media in job searchSocial media in job search
Social media in job search
 
Social media use in job search
Social media use in job searchSocial media use in job search
Social media use in job search
 
Marketing management orientation philosophies
Marketing management orientation philosophiesMarketing management orientation philosophies
Marketing management orientation philosophies
 
Basic Business Forecasting
Basic Business ForecastingBasic Business Forecasting
Basic Business Forecasting
 
Simplex part 1 of 4
Simplex part 1 of 4Simplex part 1 of 4
Simplex part 1 of 4
 
Linear Programming Quiz Solution
Linear Programming Quiz SolutionLinear Programming Quiz Solution
Linear Programming Quiz Solution
 
Break even and outsource analysis
Break even and outsource analysisBreak even and outsource analysis
Break even and outsource analysis
 
How to set up a Graphical Method Linear Programming Problem - Introduction
How to set up a Graphical Method Linear Programming Problem - IntroductionHow to set up a Graphical Method Linear Programming Problem - Introduction
How to set up a Graphical Method Linear Programming Problem - Introduction
 
Integrating Social Media into the Classroom, VSC Presentation
Integrating Social Media into the Classroom, VSC PresentationIntegrating Social Media into the Classroom, VSC Presentation
Integrating Social Media into the Classroom, VSC Presentation
 
Students' expectations of the use of social media in the classroom
Students' expectations of the use of social media in the classroomStudents' expectations of the use of social media in the classroom
Students' expectations of the use of social media in the classroom
 
The influence of permission marketing final version
The influence of permission marketing final versionThe influence of permission marketing final version
The influence of permission marketing final version
 

Recently uploaded

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
 

Recently uploaded (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
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
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
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...
 
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
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Simplex part 2 of 4

  • 1. Simplex Part 2 of 4 Professor Ed Dansereau
  • 2. 2. Initial Feasible Solution We take the standard form constraints and objective function and fill in the Tableau (table). Basis C Object Function in Std Form Q Basis Variables Subrate RHS Z row Z Net Eval
  • 3. 2. Initial Feasible Solution - O.F. Begin to fill out table by putting Objective Function in Standard Form across top. Initial Tableau 250 400 0 0 0 Basis C X1 X2 S1 S2 S3 Q Basis Variables Subrate RHS Z row Z Net Eval
  • 4. 2. Initial Feasible Solution - Basis Next Fill in Basis Three rules for basic variables within Basis 1. One variable per constraint in Basis 2. For constraints that have slack, use them - less than or equal to 3. If a constraint has an Artificial variable, use it - greater than or equal to and equal to The coefficient of the variable comes from the Objective Function
  • 5. 2. Initial Feasible Solution - Basis In our example we have three constraints, all constraints are “<=” so we use slack, and the OF coefficient is zero (slack has zero profit). Initial Tableau 250 400 0 0 0 Basis C X1 X2 S1 S2 S3 Q S1 0 Subrate RHS S2 0 S3 0 Z row Z Net Eval
  • 6. 2. Initial Feasible Solution - Subrate Put the coefficient of left hand side of the constraints (everything to the left of the <= sign) into the subrate. Align with the variables from the Objective function - make sure the coefficient for X1 is under the X1 variable. Initial Tableau 250 400 0 0 0 Basis C X1 X2 S1 S2 S3 Q S1 0 2.5 3 1 0 0 RHS S2 0 8 4 0 1 0 S3 0 2 6 0 0 1 Z row Z Net Eval
  • 7. 2. Initial Feasible Solution - Subrate Notice that the columns under the slack variables (S1, S2, and S3). The are unit vector columns. A Unit Vector is a column of zeros and only a single 1 which occurs at the intersection of that variable’s row (in basis) and column. The zeros in the substitution rate indicates of each slack variables unit vector indicate that the constraints are independent of each other. In other words, a change in the one resource (constraint) has no effect on the other resources. 0 S1 1 0 0
  • 8. 2. Initial Feasible Solution - RHS In the RHS section, fill the the Right Hand Side of each constraint, everything to the right of the “<=” sign. 250 400 0 0 0 Basis C X1 X2 S1 S2 S3 Q S1 0 2.5 3 1 0 0 30 S2 0 8 4 0 1 0 80 S3 0 2 6 0 0 1 48 Z row Z Net Eval
  • 9. 2. Initial Feasible Solution - Z row The values in the z row are calculated by multiplying the c (coefficient) values of the basis by the corresponding value in the sub.rate column and then summing the results of each row. Z row = ∑(c x sub. rate) Let us look at just the X1 variable ● (0 * 2.5) + (0 * 8) + (0 * 2) = 0 ● All three coefficients for S1, S2, & S3 are zero ● 2.5, 8, & 2 are the corresponding X1 values Starting at the origin makes this calculation easy. 250 Basis C X1 S1 0 2.5 S2 0 8 S3 0 2 Z row 0
  • 10. 2. Initial Feasible Solution - Z row Repeat the procedure for all the column variables 250 400 0 0 0 Basis C X1 X2 S1 S2 S3 Q S1 0 2.5 3 1 0 0 30 S2 0 8 4 0 1 0 80 S3 0 2 6 0 0 1 48 Z row 0 0 0 0 0 Z Net Eval
  • 11. 2. Initial Feasible Solution - Z Z represents the profit for a maximum or cost for a minimum at the extreme point. The formula is Z = ∑(c x Q). Notice we use the Q column instead of sub.rate when calculating Z. Z = (0*30) + (0*80) + (0*48) = 0 This makes sense. We are starting at the origin (0,0) and not producing any products. So we are not making any money. Basis C Q S1 0 30 S2 0 80 S3 0 48 0
  • 12. 2. Initial Feasible Solution - Net Evaluation Finally we calculate the Net Evaluation row subtracting the objective function coefficient for each variable minus the value in the Z row. Net Eval = C - Zrow ● For X1 the OF coefficient is 250 ● The Z row is 0 ● Net Eval = 250 - 0 = 2503. 250 400 0 0 0 Basis C X1 X2 S1 S2 S3 Q S1 0 2.5 3 1 0 0 30 S2 0 8 4 0 1 0 80 S3 0 2 6 0 0 1 48 Z row 0 0 0 0 0 0 Net Eval 250 400 0 0 0