SlideShare a Scribd company logo
1 of 14
Simplex Method
Part 1 of 4
Professor Dansereau
Example
We will use the following example to illustrate the Simplex Procedure
Decision Variables X1 and X2
Decision variables are products and typically organizations would have many
products, to keep this example simple and to allow you to graph we will use only
two.
Objective
Maximize profit
Example continued
Objective Function
Zmax = 250X1 + 400 X2
Constraints
We will use three but there could be many constraints
Budget → 2.5X1 + 3X2 <= 30
Work Hours → 8X1 + 4X2 <= 80
Material → 2X1 + 6X2 <= 48
Simplex Procedure
The simplex procedure has six steps
1. Place equations in standard form
2. Generate an initial feasible solution
3. Test for optimality
4. If not optimal, identify entering and leaving variables
5. Generate improved solution (move to next extreme point)
6. Go back to step 3 - repeat 3 to 6 till optimal solution is found
1.Place Equation in Standard Form
All equations (Objective Function and Constraints) need to be converted to
Standard Form.
Simplex is a mathematical method to step around the extreme points till we find the
optimal solution.
Conversion to Standard Form for all equations is necessary to facilitate starting at
the origin while preserving the rules of mathematics.
Start the conversion with the constraints. How to convert depends on the logic of
the equation (<=, >=, or =)
1.Standard Form - Less Than or Equal To
First let us consider <= equations.
Look back at the first constraint in the example. Budget → 2.5X1 + 3X2 <= 30. If we
take the axis intercepts like we were going to graph out the constraint, they would
be X1 = 12.
The extreme point at the origin (0,0), X1 = 0.
Mathematically we have a problem. If X1 = 12, then it can not equal 0. To get around
this issue we add an imaginary variable called Slack. Then X1 + S1 = 12 when X1 =
12 and S1 = 0. When X1 + S1 = 0 at the origin, X1 = 0 and S1 = 12.
1.Standard Form - Less Than or Equal To
The same holds true for X2 variable.
Standard Form
To put a Less Than or Equal Equation Into Standard Form add Slack.
Constraint 1, Budget → 2.5X1 + 3X2 +S1 <= 30
1.Standard Form - Less Than or Equal To
Work Hours, 8X1 + 4X2 <= 80 → 8X1 + 4X2 + S2 <= 80
Material, 2X1 + 6X2 <= 48 → 2X1 + 6X2 + S3 <= 48
Note the subscript, S1. The 1 is because it is the first constraint. S1 represents the
amount of slack in the budget constraint. S2 represents the amount of slack in Work
Hours. S3 represents the amount of slack in Materials. Slack is assigned to the
constraints.
1.Standard Form, Equal To
In a constraint for an “Equal To” equation, we again have trouble starting at zero. In
this case we add an Artificial Variable, “A”. The subscript will follow the constraints.
For example say we had a fourth constraint where we must provide a good customer
with four units per month of our second product, Customer → X2 = 4.
Standard Form
Customer, X2 = 4 Standard Form → Customer, X2 + A4 = 4
1.Standard Form, Greater Than or Equal
To
For >= (Greater than or equal to) we have two variables. We add Artificial variable
to allow us to start at zero and subtract a Surplus variable to adjust for greater than
our intercept point. For example say we have a fifth constraint for management
oversight, 2X1 + 4X2 >= 80.
Standard Form
Management, 2X1 + 4X2 >= 80 Std Form → 2X1 + 4X2 - S5 + A5 >=
80
1.Standard Form of Objective Function
After we have converted the constraints we roll all the slack, artificial, and surplus
variables up into the Objective Function.
Budget, 2.5X1 + 3X2 <= 30 → Std Form 2.5X1 + 3X2 +S1 <= 30
Work Hours, 8X1 + 4X2 <= 80 → Std Form 8X1 + 4X2 + S2 <= 80
Material, 2X1 + 6X2 <= 48 → Std Form 2X1 + 6X2 + S3 <= 48
The objective function must be modified to include S1, S2, and S3.
1.Standard Form of Objective Function
Our O.F. is Zmax = 250X1 + 400X2
Standard form
Zmax = 250X1 + 400X2 + 0S1 + 0S2 + 0S3
● We make no profit from Slack.
● Therefore, Slack (and Surplus) variables are given the coefficient of zero.
1.Standard Form of Objective Function
If we had an artificial variable, we must include it in O.F.
We use the coefficient “M” for artificial. M stands for a very large number. If you do
not like abstract variables, think of Million. One million is much larger than any of
our other variables.
The sign of the coefficient depends of Objective. For a max problem substract, -
MA4. For a min problem add, +MA4
Zmax = 250X1 + 400X2 + 0S1 + 0S2 + 0S3 - MA4
More to come we discuss mixed.
1.Standard Form - hack
● Pay attention to inequality
○ Less than or equal to, <= Add Slack
○ Equal to, = Add Artificial
○ Greater than or equal to >= Subtract Surplus and Add Artificial
● Pay attention to Objective for Artificial
○ Max Subtract M
○ Min Add M

More Related Content

What's hot

Introductory maths analysis chapter 16 official
Introductory maths analysis   chapter 16 officialIntroductory maths analysis   chapter 16 official
Introductory maths analysis chapter 16 officialEvert Sandye Taasiringan
 
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...Rwan Kamal
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 01 official
Introductory maths analysis   chapter 01 officialIntroductory maths analysis   chapter 01 official
Introductory maths analysis chapter 01 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 15 official
Introductory maths analysis   chapter 15 officialIntroductory maths analysis   chapter 15 official
Introductory maths analysis chapter 15 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 06 official
Introductory maths analysis   chapter 06 officialIntroductory maths analysis   chapter 06 official
Introductory maths analysis chapter 06 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 00 official
Introductory maths analysis   chapter 00 officialIntroductory maths analysis   chapter 00 official
Introductory maths analysis chapter 00 officialEvert Sandye Taasiringan
 
Factors, Multiples, Prime and Composite Numbers
Factors, Multiples, Prime and Composite NumbersFactors, Multiples, Prime and Composite Numbers
Factors, Multiples, Prime and Composite NumbersReynaldo Lapak
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICSRai University
 
Introductory maths analysis chapter 09 official
Introductory maths analysis   chapter 09 officialIntroductory maths analysis   chapter 09 official
Introductory maths analysis chapter 09 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 officialEvert Sandye Taasiringan
 

What's hot (14)

07 interpolationnewton
07 interpolationnewton07 interpolationnewton
07 interpolationnewton
 
Introductory maths analysis chapter 16 official
Introductory maths analysis   chapter 16 officialIntroductory maths analysis   chapter 16 official
Introductory maths analysis chapter 16 official
 
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
Matrices and its Applications to Solve Some Methods of Systems of Linear Equa...
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 official
 
Introductory maths analysis chapter 01 official
Introductory maths analysis   chapter 01 officialIntroductory maths analysis   chapter 01 official
Introductory maths analysis chapter 01 official
 
Introductory maths analysis chapter 15 official
Introductory maths analysis   chapter 15 officialIntroductory maths analysis   chapter 15 official
Introductory maths analysis chapter 15 official
 
Introductory maths analysis chapter 06 official
Introductory maths analysis   chapter 06 officialIntroductory maths analysis   chapter 06 official
Introductory maths analysis chapter 06 official
 
Introductory maths analysis chapter 00 official
Introductory maths analysis   chapter 00 officialIntroductory maths analysis   chapter 00 official
Introductory maths analysis chapter 00 official
 
Factors, Multiples, Prime and Composite Numbers
Factors, Multiples, Prime and Composite NumbersFactors, Multiples, Prime and Composite Numbers
Factors, Multiples, Prime and Composite Numbers
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Basic calculus (ii) recap
Basic calculus (ii) recapBasic calculus (ii) recap
Basic calculus (ii) recap
 
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-4_DISCRETE MATHEMATICS
 
Introductory maths analysis chapter 09 official
Introductory maths analysis   chapter 09 officialIntroductory maths analysis   chapter 09 official
Introductory maths analysis chapter 09 official
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 official
 

Viewers also liked

Simplex method
Simplex methodSimplex method
Simplex methodAbu Bashar
 
Miss özlem eylem. wacp
Miss  özlem eylem. wacpMiss  özlem eylem. wacp
Miss özlem eylem. wacpMrBiswas
 
Final dps for blog
Final dps for blogFinal dps for blog
Final dps for blogcaseyp227
 
Evaluation question 5
Evaluation question 5Evaluation question 5
Evaluation question 5caseyp227
 
Luis Cruz Diaz - Biography/CV
Luis Cruz Diaz - Biography/CVLuis Cruz Diaz - Biography/CV
Luis Cruz Diaz - Biography/CVLuis Cruz Diaz
 
SKPL ASB Online V1.2
SKPL ASB Online V1.2SKPL ASB Online V1.2
SKPL ASB Online V1.2Nendi Junaedi
 
User Manual ASB Admin
User Manual ASB AdminUser Manual ASB Admin
User Manual ASB AdminNendi Junaedi
 
Справа № 915/240/15
Справа №  915/240/15Справа №  915/240/15
Справа № 915/240/15norlod
 
The 8 best innovation ideas from around the world
The 8 best innovation ideas from around the worldThe 8 best innovation ideas from around the world
The 8 best innovation ideas from around the worldTarshant Jain
 
Ice Breakers
Ice BreakersIce Breakers
Ice Breakersmakpoy
 
How to Create a Good Magazine Ad
How to Create a Good Magazine AdHow to Create a Good Magazine Ad
How to Create a Good Magazine AdAikakausmedia
 
Forecasting and Decision Making
Forecasting and Decision MakingForecasting and Decision Making
Forecasting and Decision MakingFenil999
 

Viewers also liked (18)

Simplex method
Simplex methodSimplex method
Simplex method
 
Miss özlem eylem. wacp
Miss  özlem eylem. wacpMiss  özlem eylem. wacp
Miss özlem eylem. wacp
 
Final dps for blog
Final dps for blogFinal dps for blog
Final dps for blog
 
Evaluation question 5
Evaluation question 5Evaluation question 5
Evaluation question 5
 
Audience feedback
Audience feedbackAudience feedback
Audience feedback
 
Luis Cruz Diaz - Biography/CV
Luis Cruz Diaz - Biography/CVLuis Cruz Diaz - Biography/CV
Luis Cruz Diaz - Biography/CV
 
Presentation1
Presentation1Presentation1
Presentation1
 
SKPL ASB Online V1.2
SKPL ASB Online V1.2SKPL ASB Online V1.2
SKPL ASB Online V1.2
 
User Manual ASB Admin
User Manual ASB AdminUser Manual ASB Admin
User Manual ASB Admin
 
Abdelrahman-Zenhom
Abdelrahman-ZenhomAbdelrahman-Zenhom
Abdelrahman-Zenhom
 
Справа № 915/240/15
Справа №  915/240/15Справа №  915/240/15
Справа № 915/240/15
 
The 8 best innovation ideas from around the world
The 8 best innovation ideas from around the worldThe 8 best innovation ideas from around the world
The 8 best innovation ideas from around the world
 
Ice Breakers
Ice BreakersIce Breakers
Ice Breakers
 
How to Create a Good Magazine Ad
How to Create a Good Magazine AdHow to Create a Good Magazine Ad
How to Create a Good Magazine Ad
 
Forecasting and Decision Making
Forecasting and Decision MakingForecasting and Decision Making
Forecasting and Decision Making
 
Mee too how it works
Mee too how it works  Mee too how it works
Mee too how it works
 
Prezi 112
Prezi 112Prezi 112
Prezi 112
 
Prezi 112
Prezi 112Prezi 112
Prezi 112
 

Similar to Simplex part 1 of 4

Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingSalah A. Skaik - MBA-PMP®
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variableDevyaneeDevyanee2007
 
Linear Programming Quiz Solution
Linear Programming Quiz SolutionLinear Programming Quiz Solution
Linear Programming Quiz SolutionEd Dansereau
 
AMS_502_13, 14,15,16 (1).pptx
AMS_502_13, 14,15,16 (1).pptxAMS_502_13, 14,15,16 (1).pptx
AMS_502_13, 14,15,16 (1).pptxbhavypatel2228
 
Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Reviewhassaanciit
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science um1222
 
Long and synthetic division
Long and synthetic divisionLong and synthetic division
Long and synthetic divisionJessica Garcia
 
2.3 Linear Models and Applications
2.3 Linear Models and Applications2.3 Linear Models and Applications
2.3 Linear Models and Applicationssmiller5
 
introduction to Operation Research
introduction to Operation Research introduction to Operation Research
introduction to Operation Research amanyosama12
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMINGrashi9
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functionsElkin Guillen
 
Algebra factoring
Algebra factoringAlgebra factoring
Algebra factoringTrabahoLang
 
Lesson 6: Factoring Polynomials
Lesson 6: Factoring PolynomialsLesson 6: Factoring Polynomials
Lesson 6: Factoring PolynomialsKevin Johnson
 

Similar to Simplex part 1 of 4 (20)

Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear ProgrammingInteger Programming, Goal Programming, and Nonlinear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method:  Slack, Surplus & Artificial variableSimplex method:  Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variable
 
Linear Programming Quiz Solution
Linear Programming Quiz SolutionLinear Programming Quiz Solution
Linear Programming Quiz Solution
 
AMS_502_13, 14,15,16 (1).pptx
AMS_502_13, 14,15,16 (1).pptxAMS_502_13, 14,15,16 (1).pptx
AMS_502_13, 14,15,16 (1).pptx
 
Fst ch3 notes
Fst ch3 notesFst ch3 notes
Fst ch3 notes
 
Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Review
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
 
Advance algebra
Advance algebraAdvance algebra
Advance algebra
 
Long and synthetic division
Long and synthetic divisionLong and synthetic division
Long and synthetic division
 
Math1000 section1.4
Math1000 section1.4Math1000 section1.4
Math1000 section1.4
 
2.3 Linear Models and Applications
2.3 Linear Models and Applications2.3 Linear Models and Applications
2.3 Linear Models and Applications
 
introduction to Operation Research
introduction to Operation Research introduction to Operation Research
introduction to Operation Research
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Note introductions of functions
Note introductions of functionsNote introductions of functions
Note introductions of functions
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functions
 
16083116
1608311616083116
16083116
 
Algebra factoring
Algebra factoringAlgebra factoring
Algebra factoring
 
Lesson 6: Factoring Polynomials
Lesson 6: Factoring PolynomialsLesson 6: Factoring Polynomials
Lesson 6: Factoring Polynomials
 
Quadratic Equations
Quadratic EquationsQuadratic Equations
Quadratic Equations
 
Solving Quadratic Equations by Factoring
Solving Quadratic Equations by FactoringSolving Quadratic Equations by Factoring
Solving Quadratic Equations by Factoring
 

More from Ed Dansereau

Social media in job search
Social media in job searchSocial media in job search
Social media in job searchEd Dansereau
 
Social media use in job search
Social media use in job searchSocial media use in job search
Social media use in job searchEd Dansereau
 
Marketing management orientation philosophies
Marketing management orientation philosophiesMarketing management orientation philosophies
Marketing management orientation philosophiesEd Dansereau
 
Basic Business Forecasting
Basic Business ForecastingBasic Business Forecasting
Basic Business ForecastingEd Dansereau
 
Simplex part 3 of 4
Simplex part 3 of 4Simplex part 3 of 4
Simplex part 3 of 4Ed Dansereau
 
Simplex part 2 of 4
Simplex part 2 of 4Simplex part 2 of 4
Simplex part 2 of 4Ed Dansereau
 
Break even and outsource analysis
Break even and outsource analysisBreak even and outsource analysis
Break even and outsource analysisEd Dansereau
 
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 - IntroductionEd Dansereau
 
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 PresentationEd Dansereau
 
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 classroomEd Dansereau
 
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 versionEd 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 3 of 4
Simplex part 3 of 4Simplex part 3 of 4
Simplex part 3 of 4
 
Simplex part 2 of 4
Simplex part 2 of 4Simplex part 2 of 4
Simplex part 2 of 4
 
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

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Simplex part 1 of 4

  • 1. Simplex Method Part 1 of 4 Professor Dansereau
  • 2. Example We will use the following example to illustrate the Simplex Procedure Decision Variables X1 and X2 Decision variables are products and typically organizations would have many products, to keep this example simple and to allow you to graph we will use only two. Objective Maximize profit
  • 3. Example continued Objective Function Zmax = 250X1 + 400 X2 Constraints We will use three but there could be many constraints Budget → 2.5X1 + 3X2 <= 30 Work Hours → 8X1 + 4X2 <= 80 Material → 2X1 + 6X2 <= 48
  • 4. Simplex Procedure The simplex procedure has six steps 1. Place equations in standard form 2. Generate an initial feasible solution 3. Test for optimality 4. If not optimal, identify entering and leaving variables 5. Generate improved solution (move to next extreme point) 6. Go back to step 3 - repeat 3 to 6 till optimal solution is found
  • 5. 1.Place Equation in Standard Form All equations (Objective Function and Constraints) need to be converted to Standard Form. Simplex is a mathematical method to step around the extreme points till we find the optimal solution. Conversion to Standard Form for all equations is necessary to facilitate starting at the origin while preserving the rules of mathematics. Start the conversion with the constraints. How to convert depends on the logic of the equation (<=, >=, or =)
  • 6. 1.Standard Form - Less Than or Equal To First let us consider <= equations. Look back at the first constraint in the example. Budget → 2.5X1 + 3X2 <= 30. If we take the axis intercepts like we were going to graph out the constraint, they would be X1 = 12. The extreme point at the origin (0,0), X1 = 0. Mathematically we have a problem. If X1 = 12, then it can not equal 0. To get around this issue we add an imaginary variable called Slack. Then X1 + S1 = 12 when X1 = 12 and S1 = 0. When X1 + S1 = 0 at the origin, X1 = 0 and S1 = 12.
  • 7. 1.Standard Form - Less Than or Equal To The same holds true for X2 variable. Standard Form To put a Less Than or Equal Equation Into Standard Form add Slack. Constraint 1, Budget → 2.5X1 + 3X2 +S1 <= 30
  • 8. 1.Standard Form - Less Than or Equal To Work Hours, 8X1 + 4X2 <= 80 → 8X1 + 4X2 + S2 <= 80 Material, 2X1 + 6X2 <= 48 → 2X1 + 6X2 + S3 <= 48 Note the subscript, S1. The 1 is because it is the first constraint. S1 represents the amount of slack in the budget constraint. S2 represents the amount of slack in Work Hours. S3 represents the amount of slack in Materials. Slack is assigned to the constraints.
  • 9. 1.Standard Form, Equal To In a constraint for an “Equal To” equation, we again have trouble starting at zero. In this case we add an Artificial Variable, “A”. The subscript will follow the constraints. For example say we had a fourth constraint where we must provide a good customer with four units per month of our second product, Customer → X2 = 4. Standard Form Customer, X2 = 4 Standard Form → Customer, X2 + A4 = 4
  • 10. 1.Standard Form, Greater Than or Equal To For >= (Greater than or equal to) we have two variables. We add Artificial variable to allow us to start at zero and subtract a Surplus variable to adjust for greater than our intercept point. For example say we have a fifth constraint for management oversight, 2X1 + 4X2 >= 80. Standard Form Management, 2X1 + 4X2 >= 80 Std Form → 2X1 + 4X2 - S5 + A5 >= 80
  • 11. 1.Standard Form of Objective Function After we have converted the constraints we roll all the slack, artificial, and surplus variables up into the Objective Function. Budget, 2.5X1 + 3X2 <= 30 → Std Form 2.5X1 + 3X2 +S1 <= 30 Work Hours, 8X1 + 4X2 <= 80 → Std Form 8X1 + 4X2 + S2 <= 80 Material, 2X1 + 6X2 <= 48 → Std Form 2X1 + 6X2 + S3 <= 48 The objective function must be modified to include S1, S2, and S3.
  • 12. 1.Standard Form of Objective Function Our O.F. is Zmax = 250X1 + 400X2 Standard form Zmax = 250X1 + 400X2 + 0S1 + 0S2 + 0S3 ● We make no profit from Slack. ● Therefore, Slack (and Surplus) variables are given the coefficient of zero.
  • 13. 1.Standard Form of Objective Function If we had an artificial variable, we must include it in O.F. We use the coefficient “M” for artificial. M stands for a very large number. If you do not like abstract variables, think of Million. One million is much larger than any of our other variables. The sign of the coefficient depends of Objective. For a max problem substract, - MA4. For a min problem add, +MA4 Zmax = 250X1 + 400X2 + 0S1 + 0S2 + 0S3 - MA4 More to come we discuss mixed.
  • 14. 1.Standard Form - hack ● Pay attention to inequality ○ Less than or equal to, <= Add Slack ○ Equal to, = Add Artificial ○ Greater than or equal to >= Subtract Surplus and Add Artificial ● Pay attention to Objective for Artificial ○ Max Subtract M ○ Min Add M