SlideShare a Scribd company logo
1 of 19
Chapter 10:   Iterative Improvement   Simplex Method The Design and Analysis of Algorithms
Iterative Improvement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction   ,[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction ,[object Object],[object Object]
Important Examples   ,[object Object],[object Object],[object Object],[object Object]
Linear Programming   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example maximize  3x + 5y subject to  x +  y  ≤ 4   x + 3y  ≤ 6 x ≥ 0,  y ≥ 0 Feasible region  is the set of points defined by the constraints
Geometric solution   maximize  3x + 5y subject to  x +  y  ≤ 4   x + 3y  ≤ 6 x ≥ 0,  y ≥ 0 Extreme Point Theorem   Any LP problem with a nonempty bounded feasible region has an optimal solution;  moreover, an optimal solution can always be found at an  extreme point  of the problem's feasible region.
Possible outcomes in solving an LP problem ,[object Object],[object Object],[object Object]
The Simplex Method ,[object Object],[object Object],[object Object],[object Object]
Standard form of LP problem ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example maximize  3 x  + 5 y   maximize  3 x  + 5 y  +  0 u  + 0 v subject to  subject to x  +  y  ≤ 4  x  +  y  +  u   = 4  x  + 3 y  ≤ 6   x  + 3 y  +  v   = 6  x ≥0,  y ≥0    x ≥0,  y ≥0,  u ≥0,  v ≥0 Variables  u  and  v , transforming inequality constraints into  equality constrains, are called  slack variables
Basic feasible solutions   A  basic solution  to a system of  m  linear equations in  n   unknowns ( n  ≥  m ) is obtained by setting  n  –  m   variables to 0 and solving the resulting system to get the values of the other  m  variables.  The variables set to 0 are called  nonbasic ;   the variables obtained by solving the system are called  basic .   A basic solution is called  feasible   if all its (basic) variables are nonnegative.  Example  x +  y + u   = 4    x +  3 y  + v   = 6    (0,  0,  4,  6) is basic feasible solution  ( x ,  y  are nonbasic;  u ,  v   are basic)
Simplex Tableau   maximize  z  = 3 x  + 5 y  + 0 u  + 0 v subject to  x  +  y  +  u   = 4  x  + 3 y   +  v   = 6  x ≥0,  y ≥0,  u ≥0,  v ≥0
Outline of the Simplex Method   ,[object Object],[object Object],[object Object],[object Object]
Outline of the Simplex Method ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example of Simplex Method  maximize  z  = 3 x  + 5 y  + 0 u  + 0 v subject to  x  +  y  +  u   = 4  x  + 3 y   +  v   = 6  x ≥0,  y ≥0,  u ≥0,  v ≥0 basic feasible sol.  (0, 0, 4, 6) z =  0 basic feasible sol.  (0, 2, 2, 0) z =  10 basic feasible sol.  (3, 1, 0, 0) z =  14
Notes on the Simplex Method   ,[object Object],[object Object],[object Object],[object Object]
Improvements   ,[object Object],[object Object]

More Related Content

What's hot

Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
Joseph Konnully
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
Sachin MK
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
itsvineeth209
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
Dronak Sahu
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
irsa javed
 

What's hot (20)

Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
Linear Programming
Linear  ProgrammingLinear  Programming
Linear Programming
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
Post-optimal analysis of LPP
Post-optimal analysis of LPPPost-optimal analysis of LPP
Post-optimal analysis of LPP
 
Big-M Method Presentation
Big-M Method PresentationBig-M Method Presentation
Big-M Method Presentation
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Transportation problem
Transportation problemTransportation problem
Transportation problem
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
Simplex Method.pptx
Simplex Method.pptxSimplex Method.pptx
Simplex Method.pptx
 
Module 3 lp-simplex
Module 3 lp-simplexModule 3 lp-simplex
Module 3 lp-simplex
 
Duality
DualityDuality
Duality
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Big M method
Big M methodBig M method
Big M method
 

Viewers also liked

Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02
Shivani Gautam
 
Robots & Automation
Robots & AutomationRobots & Automation
Robots & Automation
cemal
 

Viewers also liked (20)

India
IndiaIndia
India
 
Html5
Html5Html5
Html5
 
Metrology and Measurements unit 2
Metrology and Measurements unit 2Metrology and Measurements unit 2
Metrology and Measurements unit 2
 
HTML
HTMLHTML
HTML
 
Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02
 
Measurement of force, torque and strain
Measurement of force, torque and strainMeasurement of force, torque and strain
Measurement of force, torque and strain
 
FPDE presentation
FPDE presentationFPDE presentation
FPDE presentation
 
Html5
Html5Html5
Html5
 
Robot Configuration - 2
Robot Configuration - 2Robot Configuration - 2
Robot Configuration - 2
 
Types of Error in Mechanical Measurement & Metrology (MMM)
Types of Error in Mechanical Measurement & Metrology (MMM)Types of Error in Mechanical Measurement & Metrology (MMM)
Types of Error in Mechanical Measurement & Metrology (MMM)
 
LINEAR ALGEBRA BEHIND GOOGLE SEARCH
LINEAR ALGEBRA BEHIND GOOGLE SEARCHLINEAR ALGEBRA BEHIND GOOGLE SEARCH
LINEAR ALGEBRA BEHIND GOOGLE SEARCH
 
Mechanical measurement
Mechanical measurementMechanical measurement
Mechanical measurement
 
Robot Configuration - 1
Robot Configuration - 1Robot Configuration - 1
Robot Configuration - 1
 
Biometrics
BiometricsBiometrics
Biometrics
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
Automation and robotics
Automation and roboticsAutomation and robotics
Automation and robotics
 
Metrology
MetrologyMetrology
Metrology
 
Robots & Automation
Robots & AutomationRobots & Automation
Robots & Automation
 
Operations research - an overview
Operations research -  an overviewOperations research -  an overview
Operations research - an overview
 
Thermocouple gauge & pirani gauge
Thermocouple gauge & pirani gauge  Thermocouple gauge & pirani gauge
Thermocouple gauge & pirani gauge
 

Similar to L20 Simplex Method

Lecture5-7_12946_Linear Programming The Graphical Method.pptx
Lecture5-7_12946_Linear Programming The Graphical Method.pptxLecture5-7_12946_Linear Programming The Graphical Method.pptx
Lecture5-7_12946_Linear Programming The Graphical Method.pptx
hlKh4
 
4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf
BechanYadav4
 

Similar to L20 Simplex Method (20)

Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4
Unit 4Unit 4
Unit 4
 
SIMPLEX METHOD.pptx
SIMPLEX METHOD.pptxSIMPLEX METHOD.pptx
SIMPLEX METHOD.pptx
 
Ch06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdfCh06_1-2_Simplex_Method.pdf
Ch06_1-2_Simplex_Method.pdf
 
n7-LP-simplex.ppt
n7-LP-simplex.pptn7-LP-simplex.ppt
n7-LP-simplex.ppt
 
LP linear programming (summary) (5s)
LP linear programming (summary) (5s)LP linear programming (summary) (5s)
LP linear programming (summary) (5s)
 
Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the the
 
Boyd 4.6, 4.7
Boyd 4.6, 4.7Boyd 4.6, 4.7
Boyd 4.6, 4.7
 
5163147.ppt
5163147.ppt5163147.ppt
5163147.ppt
 
simplex method
simplex methodsimplex method
simplex method
 
CMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdfCMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdf
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
A Regularized Simplex Method
A Regularized Simplex MethodA Regularized Simplex Method
A Regularized Simplex Method
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Lecture5-7_12946_Linear Programming The Graphical Method.pptx
Lecture5-7_12946_Linear Programming The Graphical Method.pptxLecture5-7_12946_Linear Programming The Graphical Method.pptx
Lecture5-7_12946_Linear Programming The Graphical Method.pptx
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
 
Regression_1.pdf
Regression_1.pdfRegression_1.pdf
Regression_1.pdf
 
4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf
 
Optmization techniques
Optmization techniquesOptmization techniques
Optmization techniques
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 

L20 Simplex Method

  • 1. Chapter 10: Iterative Improvement Simplex Method The Design and Analysis of Algorithms
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Example maximize 3x + 5y subject to x + y ≤ 4 x + 3y ≤ 6 x ≥ 0, y ≥ 0 Feasible region is the set of points defined by the constraints
  • 8. Geometric solution maximize 3x + 5y subject to x + y ≤ 4 x + 3y ≤ 6 x ≥ 0, y ≥ 0 Extreme Point Theorem Any LP problem with a nonempty bounded feasible region has an optimal solution; moreover, an optimal solution can always be found at an extreme point of the problem's feasible region.
  • 9.
  • 10.
  • 11.
  • 12. Example maximize 3 x + 5 y maximize 3 x + 5 y + 0 u + 0 v subject to subject to x + y ≤ 4 x + y + u = 4 x + 3 y ≤ 6 x + 3 y + v = 6 x ≥0, y ≥0 x ≥0, y ≥0, u ≥0, v ≥0 Variables u and v , transforming inequality constraints into equality constrains, are called slack variables
  • 13. Basic feasible solutions A basic solution to a system of m linear equations in n unknowns ( n ≥ m ) is obtained by setting n – m variables to 0 and solving the resulting system to get the values of the other m variables. The variables set to 0 are called nonbasic ; the variables obtained by solving the system are called basic . A basic solution is called feasible if all its (basic) variables are nonnegative. Example x + y + u = 4 x + 3 y + v = 6 (0, 0, 4, 6) is basic feasible solution ( x , y are nonbasic; u , v are basic)
  • 14. Simplex Tableau maximize z = 3 x + 5 y + 0 u + 0 v subject to x + y + u = 4 x + 3 y + v = 6 x ≥0, y ≥0, u ≥0, v ≥0
  • 15.
  • 16.
  • 17. Example of Simplex Method maximize z = 3 x + 5 y + 0 u + 0 v subject to x + y + u = 4 x + 3 y + v = 6 x ≥0, y ≥0, u ≥0, v ≥0 basic feasible sol. (0, 0, 4, 6) z = 0 basic feasible sol. (0, 2, 2, 0) z = 10 basic feasible sol. (3, 1, 0, 0) z = 14
  • 18.
  • 19.