SlideShare uma empresa Scribd logo
1 de 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]

Mais conteúdo relacionado

Mais procurados

Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex method
Shivek Khurana
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
Sachin MK
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
itsvineeth209
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
SHAMJITH KM
 

Mais procurados (20)

Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex method
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
01 Knapsack using Dynamic Programming
01 Knapsack using Dynamic Programming01 Knapsack using Dynamic Programming
01 Knapsack using Dynamic Programming
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
 
Big M method
Big M methodBig M method
Big M method
 
simplex method
simplex methodsimplex method
simplex method
 
the two phase method - operations research
the two phase method - operations researchthe two phase method - operations research
the two phase method - operations research
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
BISECTION METHOD
BISECTION METHODBISECTION METHOD
BISECTION METHOD
 
Numerical method for solving non linear equations
Numerical method for solving non linear equationsNumerical method for solving non linear equations
Numerical method for solving non linear equations
 
Bisection method
Bisection methodBisection method
Bisection method
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
nonlinear programming
nonlinear programmingnonlinear programming
nonlinear programming
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 

Destaque

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

Destaque (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
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
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
 

Semelhante a L20 Simplex Method

Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 
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
 

Semelhante a 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)
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
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 - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
CMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdfCMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdf
 
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
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

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.