SlideShare a Scribd company logo
1 of 14
Chapter 02 - Simplex method introduction
2
nn xcxcxcZ  ...2211
0,...,0,0
0,...,0,0
...
;
.
...
...
21
21
2211
22222121
11212111





m
n
mnmnmm
nn
nn
bbb
xxx
bxaxaxa
bxaxaxa
bxaxaxa
 The standard form of an LPP with n variables and m unknowns is as
follows:
 Maximize
 Subject to:
3
 Main features of the LPP standard form:
 Maximize or Minimize the objective function.
 All constraints are equations.
 All decision variables are nonnegative.
 The right hand side of each constraint is nonnegative.
4
 The above standard LPP can be written in matrix form as:
 max(min) Z=CX
 Subject to: Ax=b, x>=0, b>=0.
 Where,















mnmm
n
n
aaa
aaa
aaa
A
...
.
...
...
21
22221
11211
 n
n
cc
x
x
x
x ...cc,
b
.
b
b
b,
.
21
m
2
1
2
1



























5
 max
 Subject to:
 Can be written in matrix form with:
54321 325 xxxxxZ 
5,...,1,0
7x43
822
5321
4321



ix
xxx
xxxx
i
 11325,
7
8
,,
10143
01221
5
4
3
2
1





























 cb
x
x
x
x
x
xA
6
 The above standard form is required in order to start the simplex
method. The question is how to convert a given problem from
nonstandard form into standard form?, i.e. how to convert an
inequality constraint into an equality?.
 The answer to this question is to add the so called slack variables and
surplus variables.
 Back to the example of inspection, which had the constraints:
 Minimize
 Subject to:
21 3640 xxZ 
0,0
4535
10
8
21
21
2
1




xx
xx
x
x
7
 Minimize Subject to:
 The first constraint is converted to where
represents the number of grade 1 inspectors who are not utilized.
 The second constraint is converted to Where
represents the number of grade 2 inspectors who are not utilized.
 are called slack variables.
 The third constraint is converted to
 is called a surplus variable. It represents the number of extra pieces
inspected over the min. required minimum.
21 3640 xxZ 
0,0
4535
10
8
21
21
2
1




xx
xx
x
x
0,8 331  xxx 3x
0,10 442  xxx 4x
43 and xx
0,4535 5521  xxxx
5x
8
 If the problem contains a variable which is not restricted in sign, then we
do the following: If is unrestricted in sign, then set
 The value of (positive or negative) depends on the values of
 Example: Convert the following problem into a standard LPP:
 Solution: 1. Set
2. Multiply the last constraint by -1, to get:
3. Add a slack variable ( ) to 1st constraint to become:
4. Add a surplus variable ( ) to the 2nd constraint to become:
5. Replace by in the original problem , to get the standard form:
1x 321 xxx 
1x 32 xandx
edunrestrictx0,x,x
-52x-x-3x
2x
7x:to.
32xZ
321
321
321
321
321





xx
xxS
xxMax
.0xand, 54543  xxxx
.523 321  xxx
6x .0,7 66321  xxxxx
7x .27321  xxxx
3x 54 xx 
9
 The standard form:
0,...,,x
5223x-
2x
7x:.
332xZ
721
5421
75421
65421
5421





xx
xxx
xxxx
xxxxTS
xxxMaximize
10
 Two systems of linear equations are said to be equivalent if both systems
have the same solution set.
 The following are called elementary row operations that can be applied to
rows of a matrix:
1. Exchange any two rows.
2. Multiply a row by a nonzero constant.
3. Multiply a row by a constant and add the result to another row.
 Notice that these operations can also be applied to equations in a system
of equations. They are called in this case elementary operations.
 Two matrices are said to be row equivalent if one of them can be obtained
from the other by a sequence of elementary row operations.
11
 A matrix is said to be in reduced row-echelon form if it satisfies all four of
the following conditions.
 If there are any rows of all zeros then they are at the bottom of the matrix.
 If a row does not consist of all zeros then its first non-zero entry (i.e. the left
most non-zero entry) is a 1. This 1 is called a leading 1.
 In any two successive rows, neither of which consists of all zeroes, the leading
1 of the lower row is to the right of the leading 1 of the higher row.
 If a column contains a leading 1 then all the other entries of that column are
zero.
 A matrix is said to be in row-echelon form if it satisfies items 1- 3 of the
reduced row-echelon form definition.
12
 Notice that the only real difference between row-echelon form and
reduced row-echelon form is that a matrix in row-echelon form is only
required to have zeroes below a leading 1 while a matrix in reduced row-
echelon from must have zeroes both below and above a leading 1.
 A standard form of a system of equations is as follows:
13
 The following matrix is called the augmented matrix of the above system:
 If two augmented matrices are row equivalent, then they represent two
equivalent systems of linear equations.
14
 And the following is called is called the coefficient matrix:

More Related Content

What's hot

A1, 6 1, solving systems by graphing (blog 1)
A1, 6 1, solving systems by graphing (blog 1)A1, 6 1, solving systems by graphing (blog 1)
A1, 6 1, solving systems by graphing (blog 1)kstraka
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation CaseJoseph Konnully
 
Simplex Method
Simplex MethodSimplex Method
Simplex MethodSachin MK
 
A1, 6 1, solving systems by graphing (rev)
A1, 6 1, solving systems by graphing (rev)A1, 6 1, solving systems by graphing (rev)
A1, 6 1, solving systems by graphing (rev)kstraka
 
Simplex Method Explained
Simplex Method ExplainedSimplex Method Explained
Simplex Method ExplainedAtif Shahzad
 
Systems of equations by graphing by graphing sect 6 1
Systems of equations by graphing by graphing sect 6 1Systems of equations by graphing by graphing sect 6 1
Systems of equations by graphing by graphing sect 6 1tty16922
 
Logarithmic function, equation and inequality
Logarithmic function, equation and inequalityLogarithmic function, equation and inequality
Logarithmic function, equation and inequalityFelina Victoria
 
Logarithmic Functions
Logarithmic FunctionsLogarithmic Functions
Logarithmic Functionsswartzje
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingManas Lad
 

What's hot (18)

Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
6.3 presentation
6.3 presentation6.3 presentation
6.3 presentation
 
Duality
DualityDuality
Duality
 
Determinant
DeterminantDeterminant
Determinant
 
A1, 6 1, solving systems by graphing (blog 1)
A1, 6 1, solving systems by graphing (blog 1)A1, 6 1, solving systems by graphing (blog 1)
A1, 6 1, solving systems by graphing (blog 1)
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
A1, 6 1, solving systems by graphing (rev)
A1, 6 1, solving systems by graphing (rev)A1, 6 1, solving systems by graphing (rev)
A1, 6 1, solving systems by graphing (rev)
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Dual simplexmethod
Dual simplexmethodDual simplexmethod
Dual simplexmethod
 
Simplex Method Explained
Simplex Method ExplainedSimplex Method Explained
Simplex Method Explained
 
Systems of equations by graphing by graphing sect 6 1
Systems of equations by graphing by graphing sect 6 1Systems of equations by graphing by graphing sect 6 1
Systems of equations by graphing by graphing sect 6 1
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Logarithmic function, equation and inequality
Logarithmic function, equation and inequalityLogarithmic function, equation and inequality
Logarithmic function, equation and inequality
 
Logarithmic Functions
Logarithmic FunctionsLogarithmic Functions
Logarithmic Functions
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Solutions of linear systems (2.1 old)
Solutions of linear systems (2.1   old)Solutions of linear systems (2.1   old)
Solutions of linear systems (2.1 old)
 

Similar to Operation research - Chapter 02

SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxTista3
 
Bounded variables new
Bounded variables newBounded variables new
Bounded variables newSamo Alwatan
 
Gauss Jordan
Gauss JordanGauss Jordan
Gauss JordanEzzat Gul
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matricesAditya Vaishampayan
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplexSHAMJITH KM
 
Ch06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdfCh06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdfFredCuenca
 
Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Derbew Tesfa
 
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChaimae Baroudi
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbragandhinagar
 
Simplex method material for operation .pptx
Simplex method material for operation .pptxSimplex method material for operation .pptx
Simplex method material for operation .pptxbizuayehuadmasu1
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex AlgorithmAizaz Ahmad
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.pptvinnisart
 
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...wafahop
 
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsGauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsJanki Shah
 

Similar to Operation research - Chapter 02 (20)

Systems of linear equations; matrices
Systems of linear equations; matricesSystems of linear equations; matrices
Systems of linear equations; matrices
 
Nsm
Nsm Nsm
Nsm
 
SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptx
 
Bounded variables new
Bounded variables newBounded variables new
Bounded variables new
 
Gauss Jordan
Gauss JordanGauss Jordan
Gauss Jordan
 
Operations Research - Simplex Method Principles
Operations Research - Simplex Method PrinciplesOperations Research - Simplex Method Principles
Operations Research - Simplex Method Principles
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
 
2_Simplex.pdf
2_Simplex.pdf2_Simplex.pdf
2_Simplex.pdf
 
Slide_Chapter1_st.pdf
Slide_Chapter1_st.pdfSlide_Chapter1_st.pdf
Slide_Chapter1_st.pdf
 
Ch06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdfCh06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdf
 
Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research
 
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/Slides
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbra
 
Simplex method material for operation .pptx
Simplex method material for operation .pptxSimplex method material for operation .pptx
Simplex method material for operation .pptx
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.ppt
 
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
 
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsGauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
 

More from 2013901097

Operation research - the revised simplex method
Operation research - the revised simplex methodOperation research - the revised simplex method
Operation research - the revised simplex method2013901097
 
Computer Graphic - Clipping
Computer Graphic - ClippingComputer Graphic - Clipping
Computer Graphic - Clipping2013901097
 
Computer Graphic - Projections
Computer Graphic - ProjectionsComputer Graphic - Projections
Computer Graphic - Projections2013901097
 
Computer Graphic - Transformations in 3d
Computer Graphic - Transformations in 3dComputer Graphic - Transformations in 3d
Computer Graphic - Transformations in 3d2013901097
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D2013901097
 
the two phase method - operations research
the two phase method - operations researchthe two phase method - operations research
the two phase method - operations research2013901097
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research2013901097
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 012013901097
 
Computer Graphic - Lines, Circles and Ellipse
Computer Graphic - Lines, Circles and EllipseComputer Graphic - Lines, Circles and Ellipse
Computer Graphic - Lines, Circles and Ellipse2013901097
 

More from 2013901097 (9)

Operation research - the revised simplex method
Operation research - the revised simplex methodOperation research - the revised simplex method
Operation research - the revised simplex method
 
Computer Graphic - Clipping
Computer Graphic - ClippingComputer Graphic - Clipping
Computer Graphic - Clipping
 
Computer Graphic - Projections
Computer Graphic - ProjectionsComputer Graphic - Projections
Computer Graphic - Projections
 
Computer Graphic - Transformations in 3d
Computer Graphic - Transformations in 3dComputer Graphic - Transformations in 3d
Computer Graphic - Transformations in 3d
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
the two phase method - operations research
the two phase method - operations researchthe two phase method - operations research
the two phase method - operations research
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 
Computer Graphic - Lines, Circles and Ellipse
Computer Graphic - Lines, Circles and EllipseComputer Graphic - Lines, Circles and Ellipse
Computer Graphic - Lines, Circles and Ellipse
 

Recently uploaded

“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
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
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
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 

Recently uploaded (20)

“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
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
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🔝
 
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
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 

Operation research - Chapter 02

  • 1. Chapter 02 - Simplex method introduction
  • 2. 2 nn xcxcxcZ  ...2211 0,...,0,0 0,...,0,0 ... ; . ... ... 21 21 2211 22222121 11212111      m n mnmnmm nn nn bbb xxx bxaxaxa bxaxaxa bxaxaxa  The standard form of an LPP with n variables and m unknowns is as follows:  Maximize  Subject to:
  • 3. 3  Main features of the LPP standard form:  Maximize or Minimize the objective function.  All constraints are equations.  All decision variables are nonnegative.  The right hand side of each constraint is nonnegative.
  • 4. 4  The above standard LPP can be written in matrix form as:  max(min) Z=CX  Subject to: Ax=b, x>=0, b>=0.  Where,                mnmm n n aaa aaa aaa A ... . ... ... 21 22221 11211  n n cc x x x x ...cc, b . b b b, . 21 m 2 1 2 1                           
  • 5. 5  max  Subject to:  Can be written in matrix form with: 54321 325 xxxxxZ  5,...,1,0 7x43 822 5321 4321    ix xxx xxxx i  11325, 7 8 ,, 10143 01221 5 4 3 2 1                               cb x x x x x xA
  • 6. 6  The above standard form is required in order to start the simplex method. The question is how to convert a given problem from nonstandard form into standard form?, i.e. how to convert an inequality constraint into an equality?.  The answer to this question is to add the so called slack variables and surplus variables.  Back to the example of inspection, which had the constraints:  Minimize  Subject to: 21 3640 xxZ  0,0 4535 10 8 21 21 2 1     xx xx x x
  • 7. 7  Minimize Subject to:  The first constraint is converted to where represents the number of grade 1 inspectors who are not utilized.  The second constraint is converted to Where represents the number of grade 2 inspectors who are not utilized.  are called slack variables.  The third constraint is converted to  is called a surplus variable. It represents the number of extra pieces inspected over the min. required minimum. 21 3640 xxZ  0,0 4535 10 8 21 21 2 1     xx xx x x 0,8 331  xxx 3x 0,10 442  xxx 4x 43 and xx 0,4535 5521  xxxx 5x
  • 8. 8  If the problem contains a variable which is not restricted in sign, then we do the following: If is unrestricted in sign, then set  The value of (positive or negative) depends on the values of  Example: Convert the following problem into a standard LPP:  Solution: 1. Set 2. Multiply the last constraint by -1, to get: 3. Add a slack variable ( ) to 1st constraint to become: 4. Add a surplus variable ( ) to the 2nd constraint to become: 5. Replace by in the original problem , to get the standard form: 1x 321 xxx  1x 32 xandx edunrestrictx0,x,x -52x-x-3x 2x 7x:to. 32xZ 321 321 321 321 321      xx xxS xxMax .0xand, 54543  xxxx .523 321  xxx 6x .0,7 66321  xxxxx 7x .27321  xxxx 3x 54 xx 
  • 9. 9  The standard form: 0,...,,x 5223x- 2x 7x:. 332xZ 721 5421 75421 65421 5421      xx xxx xxxx xxxxTS xxxMaximize
  • 10. 10  Two systems of linear equations are said to be equivalent if both systems have the same solution set.  The following are called elementary row operations that can be applied to rows of a matrix: 1. Exchange any two rows. 2. Multiply a row by a nonzero constant. 3. Multiply a row by a constant and add the result to another row.  Notice that these operations can also be applied to equations in a system of equations. They are called in this case elementary operations.  Two matrices are said to be row equivalent if one of them can be obtained from the other by a sequence of elementary row operations.
  • 11. 11  A matrix is said to be in reduced row-echelon form if it satisfies all four of the following conditions.  If there are any rows of all zeros then they are at the bottom of the matrix.  If a row does not consist of all zeros then its first non-zero entry (i.e. the left most non-zero entry) is a 1. This 1 is called a leading 1.  In any two successive rows, neither of which consists of all zeroes, the leading 1 of the lower row is to the right of the leading 1 of the higher row.  If a column contains a leading 1 then all the other entries of that column are zero.  A matrix is said to be in row-echelon form if it satisfies items 1- 3 of the reduced row-echelon form definition.
  • 12. 12  Notice that the only real difference between row-echelon form and reduced row-echelon form is that a matrix in row-echelon form is only required to have zeroes below a leading 1 while a matrix in reduced row- echelon from must have zeroes both below and above a leading 1.  A standard form of a system of equations is as follows:
  • 13. 13  The following matrix is called the augmented matrix of the above system:  If two augmented matrices are row equivalent, then they represent two equivalent systems of linear equations.
  • 14. 14  And the following is called is called the coefficient matrix: