Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.
|
|
- Sibyl Arnold
- 6 years ago
- Views:
Transcription
1 Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1
2 Linear Programming-1 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 (10,2) 6 12 x 1-3 2
3 Linear Programming-2 x z (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 z (10,2) 6 12 x 1-3 3
4 LP Terminology Feasible solution - solution in which all the constraints are satisfied. Optimal solution - feasible solution having the most favorable objective function value Boundary equation - the resulting equation after dropping the < or > on a constraint Corner point solution - a feasible solution that does not lie on any line segment connecting two other feasible solutions (extreme point). The intersection of two or more boundary equations. 4
5 Properties of Corner Point Solutions If there is exactly one optimal solution, then it must be a corner point solution. If there are multiple solutions then at least two must be adjacent corner point solutions. There are only a finite (although often large) number of corner point solutions. If a corner point solution is better than all of its adjacent corner point solutions, then it is better than all other feasible corner points. That is - it is optimal! 5
6 Convert Inequalities to Equations Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 x 1 >= 0; x 2 >= 0 6
7 Convert Inequalities to Equations Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 1 >= 0; x 2 >= 0 x 3 >= 0, x 4 >=0, x 5 >= 0 7
8 Convert Inequalities to Equations Max z = 6x 1 + 4x 2 Subj. to: slack variables x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 1 >= 0; x 2 >= 0 x 3 >= 0, x 4 >=0, x 5 >= 0 must be non-negative 8
9 Solutions Augmented solution - solution to the problem after slack variables have been added. solution - augmented corner point solution obtained by setting n variables to zero and solving for the remaining. feasible solution (BFS) - feasible basic solution. variables - variables that were solved for in the basic solution. Non-basic variables - variables set equal to zero in the basic solution. 9
10 Solutions-1 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin Start at the origin! x 1 = x 2 = 0 Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 + x 3 = 12 + x 4 = 6 + x 5 = 8 10
11 Graph-1 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 x 1 = x 2 = 0 (10,2) 6 12 x
12 Solutions-2 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 = -6, x 5 = 8 - (12,0) infeasible Max z = 6x 1 + 4x 2 Go to another corner point! x 2 = x 3 = 0 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 1 = 12 x 1 +x 4 = 6 x 5 = 8 12
13 Graph-2 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 (10,2) x 1 = 12 x 2 = infeasible 12 x 1 13
14 Solutions-3 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) Go to another adjacent corner point! x 2 = x 4 = 0 Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 1 + x 3 = 12 x 1 = 6 x 5 = 8 14
15 Graph-3 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 x 1 = 6 x 2 = 0 z = 36 (10,2) 6 12 x
16 Solutions-4 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) x 2, x 5 x 1, x 3, x 4 - infeasible Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 1 + x 3 = 12 x 1 + x 4 = 6 0 = 8 16
17 Graph-4 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 (10,2) 6 12 x
18 Solutions-5 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) x 2, x 5 x 1, x 3, x 4 - infeasible x 1, x 3 x 2 =12, x 4 =30, x 5 =-4 - (0,12) infeasible Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 2 = 12-2x 2 + x 4 = 6 x 2 + x 5 = 8 18
19 8 (4,8) Graph-5 x 2 12 x 1 = 0 x 2 = 12 infeasible Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 (10,2) 6 12 x
20 Solutions-6 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) x 2, x 5 x 1, x 3, x 4 - infeasible x 1, x 3 x 2 =12, x 4 =30, x 5 =-4 - (0,12) infeasible x 1, x 4 x 2 =-3, x 3 =15, x 5 =11 - (0,-3) infeasible Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 x 2 + x 3 = 12-2x 2 = 6 x 2 + x 5 = 8 20
21 Graph-6 infeasible x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 x 1 = 0 x 2 = -3 (10,2) 6 12 x
22 Solutions-7 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) x 2, x 5 x 1, x 3, x 4 - infeasible x 1, x 3 x 2 =12, x 4 =30, x 5 =-4 - (0,12) infeasible x 1, x 4 x 2 =-3, x 3 =15, x 5 =11 - (0,-3) infeasible x 1, x 5 x 2 =8, x 3 =4, x 4 = (0,8) x 2 + x 3 = 12-2x 2 +x 4 = 6 x 2 = 8 22
23 Graph-7 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 x 1 = 0 x 2 = 8 z = 32 (10,2) 6 12 x
24 Solutions-8 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) x 2, x 5 x 1, x 3, x 4 - infeasible x 1, x 3 x 2 =12, x 4 =30, x 5 =-4 - (0,12) infeasible x 1, x 4 x 2 =-3, x 3 =15, x 5 =11 - (0,-3) infeasible x 1, x 5 x 2 =8, x 3 =4, x 4 = (0,8) x 3, x 4 x 1 =10, x 2 =2, x 5 =6 68 (10,2) optimal x 1 + x 2 = 12 x 1-2x 2 = 6 x 2 + x 5 = 8 24
25 Graph-8 x (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 x 1 = 10 x 2 = 2 z = 68 (10,2) 6 12 x
26 Solutions-9 and 10 Non- Var z Corner Pt Comments x 1, x 2 x 3 =12, x 4 =6, x 5 =8 0 (0,0) origin x 2, x 3 x 1 =12, x 4 =-6, x 5 = 8 - (12,0) infeasible x 2, x 4 x 1 =6, x 3 =6, x 5 =8 36 (6,0) x 2, x 5 x 1, x 3, x 4 - infeasible x 1, x 3 x 2 =12, x 4 =30, x 5 =-4 - (0,12) infeasible x 1, x 4 x 2 =-3, x 3 =15, x 5 =11 - (0,-3) infeasible x 1, x 5 x 2 =8, x 3 =4, x 4 = (0,8) x 3, x 4 x 1 =10, x 2 =2, x 5 =6 68 (10,2) optimal x 3, x 5 x 1 =4, x 2 =8, x 4 =18 56 (4,8) x 4, x 5 x 1 =22, x 2 =8, x 3 =-18 - (22,8) infeasible 26
27 x 2 12 Graph-9 and 10 Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 8 (4,8) x 1 =22 x 2 =8 (10,2) 6 12 x
28 Well, just how many basic solutions are there?!!! 28
29 Solutions Let n = the number of variables m = the number of constraints After adding slack variables, there are n + m variables. Since a basic solution requires setting n variables to zero and solving uniquely for the remaining variables, there are F HG n+ m n I KJ = ( n+ m)! nm!! ways to select the n variables to set equal to zero or equivalently the m basic variables. If n = 20 and m = 10 (a trivially small problem), then 30!/(20! 10!) = 30,045,015. (not all are feasible) 29
30 Solutions Again! Augmented solution - solution to the problem after slack variables have been added. solution - augmented corner point solution obtained by setting n variables to zero and solving for the remaining. feasible solution (BFS) - feasible basic solution. variables - variables that were solved for in the basic solution. Non-basic variables - variables set equal to zero in the basic solution. 30
31 Outline of the Simplex Algorithm Start at a basic feasible solution (BFS) (often the origin) Move to a better basic feasible solution the objective function improves Stop when the basic feasible solution is better than all adjacent basic feasible solutions. Solution is optimal I can do this! 31
32 Now - Presenting the Simplex Algorithm! Be the first in your neighborhood to master this exciting and wonderful numerical, recursive process for solving linear programs. Two students discussing the high points of the simplex algorithm. 32
33 The Simplex Tableau-1 Max z - 6x 1-4x 2 = 0 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 33
34 The Simplex Tableau-2 Max z - 6x 1-4x 2 = 0 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 0 z
35 The Simplex Tableau-3 Max z - 6x 1-4x 2 = 0 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 0 z x
36 The Simplex Tableau-4 Max z - 6x 1-4x 2 = 0 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 0 z x x
37 The Simplex Tableau-5 Max z - 6x 1-4x 2 = 0 Subj. to: x 1 + x 2 + x 3 = 12 x 1-2x 2 + x 4 = 6 x 2 + x 5 = 8 0 z x x x
38 The Simplex Algorithm-1 Step 1: Select a new variable to enter the basis. 0 z x x x
39 The Simplex Algorithm-2 z = 6x 1 + 4x 2 Step 1: Select a new variable to enter the basis. Pick the non-basic variable having the greatest negative value. 0 z x x x
40 Step 2a: Select a basic variable to leave the basis. 0 z x x x
41 Step 2b: Select a basic variable to leave the basis. Pick the basic variable having the smallest ratio of the RHS divided by the corresponding positive coefficient from the incoming variable. Ratio 0 z x x /1 6/1 3 x
42 Step 2c: Select a basic variable to leave the basis. Pick the basic variable having the smallest ratio of the RHS divided by the corresponding positive coefficient from the incoming variable. 1x 1-2x 2 + x 4 = 6 Ratio 0 z x x /1 6/1 3 x pivot point 42
43 Step 3a: Use row operations to find the new basic solution. 0 z x x x z 1 x 3 2 x 1 3 x 5 43
44 Step 3b: Use row operations to find the new basic solution. 0 z x x x z 1 x 3 2 x x 5 44
45 Step 3c: Use row operations to find the new basic solution. 0 z x x x z 1 x 3 2 x 1 3 x
46 Step 3d: Use row operations to find the new basic solution. 0 z x x x z 1 x x 1 3 x
47 Step 3e: Use row operations to find the new basic solution. 0 z x x x z 1 x x 1 3 x
48 x 2 12 Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 8 z (4,8) z (10,2) 6 12 x
49 2nd Iteration-1 z = 6x 1 + 4x 2 Now Sally, you want to pick the new variable to enter the basis. 0 z x x x
50 2nd Iteration-2 z = 6x 1 + 4x 2 Pick the non-basic variable having the greatest negative value. 0 z x x x
51 2nd Iteration-3 z = 6x 1 + 4x 2 Find minimum ratio Ratio 0 z x /3 2 x x /1 51
52 2nd Iteration-4 z = 6x 1 + 4x 2 Find minimum ratio Ratio 0 z x /3 2 x x Pivot point 52 8/1
53 2nd Iteration-5 0 z x x x z 1 x 2 2 x 1 3 x 5 53
54 2nd Iteration-6 0 z x x x z 1 x /3-1/ x 1 3 x 5 54
55 2nd Iteration-7 0 z x x x z 1 x 2 2 x /3-1/ /3 1/ x 5 55
56 2nd Iteration-8 0 z x x x z 1 x /3-1/ x 1 3 x /3 1/ /3 1/
57 2nd Iteration-9 0 z x x x z 1 x /3 2/ /3-1/ x 1 3 x /3 1/ /3 1/
58 Clearly, this solution must be optimal. 2nd Iteration-10 What does it mean to be optimal? 0 z 1 x /3 2/ /3-1/ x 1 3 x /3 1/ /3 1/
59 x 2 12 Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2 <= 12 x 1-2x 2 <= 6 x 2 <= 8 8 z (4,8) z (10,2) 6 12 x
60 After the Simplex What can go wrong? Minimization rather than maximization Unbounded solutions Alternate solutions No feasible solution 60
61 What s Next? It just doesn t get any better than this! Wanna bet! Wait until you see sensitivity analysis. 61
62 I think I understand how to find the most negative value and the smallest ratio, but I get dizzy when I pivot. 62
Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta
Chapter 4 Linear Programming: The Simplex Method An Overview of the Simplex Method Standard Form Tableau Form Setting Up the Initial Simplex Tableau Improving the Solution Calculating the Next Tableau
More informationIntroduction to the Simplex Algorithm Active Learning Module 3
Introduction to the Simplex Algorithm Active Learning Module 3 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material Almost any
More informationAM 121: Intro to Optimization
AM 121: Intro to Optimization Models and Methods Lecture 6: Phase I, degeneracy, smallest subscript rule. Yiling Chen SEAS Lesson Plan Phase 1 (initialization) Degeneracy and cycling Smallest subscript
More informationAM 121: Intro to Optimization Models and Methods
AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems
More informationMath Models of OR: Some Definitions
Math Models of OR: Some Definitions John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA September 2018 Mitchell Some Definitions 1 / 20 Active constraints Outline 1 Active constraints
More informationSystems Analysis in Construction
Systems Analysis in Construction CB312 Construction & Building Engineering Department- AASTMT by A h m e d E l h a k e e m & M o h a m e d S a i e d 3. Linear Programming Optimization Simplex Method 135
More informationThe Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.
The Simplex Method Standard form (max) z c T x = 0 such that Ax = b. The Simplex Method Standard form (max) z c T x = 0 such that Ax = b. Build initial tableau. z c T 0 0 A b The Simplex Method Standard
More informationDr. Maddah ENMG 500 Engineering Management I 10/21/07
Dr. Maddah ENMG 500 Engineering Management I 10/21/07 Computational Procedure of the Simplex Method The optimal solution of a general LP problem is obtained in the following steps: Step 1. Express the
More information21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.
Extra Problems for Chapter 3. Linear Programming Methods 20. (Big-M Method) An alternative to the two-phase method of finding an initial basic feasible solution by minimizing the sum of the artificial
More informationThe augmented form of this LP is the following linear system of equations:
1 Consider the following LP given in standard form: max z = 5 x_1 + 2 x_2 Subject to 3 x_1 + 2 x_2 2400 x_2 800 2 x_1 1200 x_1, x_2 >= 0 The augmented form of this LP is the following linear system of
More informationSummary of the simplex method
MVE165/MMG631,Linear and integer optimization with applications The simplex method: degeneracy; unbounded solutions; starting solutions; infeasibility; alternative optimal solutions Ann-Brith Strömberg
More informationTIM 206 Lecture 3: The Simplex Method
TIM 206 Lecture 3: The Simplex Method Kevin Ross. Scribe: Shane Brennan (2006) September 29, 2011 1 Basic Feasible Solutions Have equation Ax = b contain more columns (variables) than rows (constraints),
More informationMATH 445/545 Test 1 Spring 2016
MATH 445/545 Test Spring 06 Note the problems are separated into two sections a set for all students and an additional set for those taking the course at the 545 level. Please read and follow all of these
More informationSimplex Algorithm Using Canonical Tableaus
41 Simplex Algorithm Using Canonical Tableaus Consider LP in standard form: Min z = cx + α subject to Ax = b where A m n has rank m and α is a constant In tableau form we record it as below Original Tableau
More informationMetode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize
Metode Kuantitatif Bisnis Week 4 Linear Programming Simplex Method - Minimize Outlines Solve Linear Programming Model Using Graphic Solution Solve Linear Programming Model Using Simplex Method (Maximize)
More informationReview Solutions, Exam 2, Operations Research
Review Solutions, Exam 2, Operations Research 1. Prove the weak duality theorem: For any x feasible for the primal and y feasible for the dual, then... HINT: Consider the quantity y T Ax. SOLUTION: To
More information1 Review Session. 1.1 Lecture 2
1 Review Session Note: The following lists give an overview of the material that was covered in the lectures and sections. Your TF will go through these lists. If anything is unclear or you have questions
More information9.1 Linear Programs in canonical form
9.1 Linear Programs in canonical form LP in standard form: max (LP) s.t. where b i R, i = 1,..., m z = j c jx j j a ijx j b i i = 1,..., m x j 0 j = 1,..., n But the Simplex method works only on systems
More informationChap6 Duality Theory and Sensitivity Analysis
Chap6 Duality Theory and Sensitivity Analysis The rationale of duality theory Max 4x 1 + x 2 + 5x 3 + 3x 4 S.T. x 1 x 2 x 3 + 3x 4 1 5x 1 + x 2 + 3x 3 + 8x 4 55 x 1 + 2x 2 + 3x 3 5x 4 3 x 1 ~x 4 0 If we
More informationLinear programs Optimization Geoff Gordon Ryan Tibshirani
Linear programs 10-725 Optimization Geoff Gordon Ryan Tibshirani Review: LPs LPs: m constraints, n vars A: R m n b: R m c: R n x: R n ineq form [min or max] c T x s.t. Ax b m n std form [min or max] c
More informationLecture 5 Simplex Method. September 2, 2009
Simplex Method September 2, 2009 Outline: Lecture 5 Re-cap blind search Simplex method in steps Simplex tableau Operations Research Methods 1 Determining an optimal solution by exhaustive search Lecture
More informationMATH 445/545 Homework 2: Due March 3rd, 2016
MATH 445/545 Homework 2: Due March 3rd, 216 Answer the following questions. Please include the question with the solution (write or type them out doing this will help you digest the problem). I do not
More informationLecture 11 Linear programming : The Revised Simplex Method
Lecture 11 Linear programming : The Revised Simplex Method 11.1 The Revised Simplex Method While solving linear programming problem on a digital computer by regular simplex method, it requires storing
More informationAlgebraic Simplex Active Learning Module 4
Algebraic Simplex Active Learning Module 4 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Time required for the module: 50 Min. Reading Most
More informationSlack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0
Simplex Method Slack Variable Max Z= 3x 1 + 4x 2 + 5X 3 Subject to: X 1 + X 2 + X 3 20 3x 1 + 4x 2 + X 3 15 2X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Standard Form Max Z= 3x 1 +4x 2 +5X 3 + 0S 1 + 0S 2
More informationLecture 2: The Simplex method. 1. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form.
Lecture 2: The Simplex method. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form. 3. The Simplex algorithm. 4. How to find an initial basic solution. Lecture
More informationCPS 616 ITERATIVE IMPROVEMENTS 10-1
CPS 66 ITERATIVE IMPROVEMENTS 0 - APPROACH Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change
More informationFebruary 17, Simplex Method Continued
15.053 February 17, 2005 Simplex Method Continued 1 Today s Lecture Review of the simplex algorithm. Formalizing the approach Alternative Optimal Solutions Obtaining an initial bfs Is the simplex algorithm
More informationChapter 4 The Simplex Algorithm Part I
Chapter 4 The Simplex Algorithm Part I Based on Introduction to Mathematical Programming: Operations Research, Volume 1 4th edition, by Wayne L. Winston and Munirpallam Venkataramanan Lewis Ntaimo 1 Modeling
More informationSlide 1 Math 1520, Lecture 10
Slide 1 Math 1520, Lecture 10 In this lecture, we study the simplex method which is a powerful method for solving maximization/minimization problems developed in the late 1940 s. It has been implemented
More information(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6
The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. Problem 1 Consider
More information3 The Simplex Method. 3.1 Basic Solutions
3 The Simplex Method 3.1 Basic Solutions In the LP of Example 2.3, the optimal solution happened to lie at an extreme point of the feasible set. This was not a coincidence. Consider an LP in general form,
More informationGauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3)
The Simple Method Gauss-Jordan Elimination for Solving Linear Equations Eample: Gauss-Jordan Elimination Solve the following equations: + + + + = 4 = = () () () - In the first step of the procedure, we
More informationSpecial cases of linear programming
Special cases of linear programming Infeasible solution Multiple solution (infinitely many solution) Unbounded solution Degenerated solution Notes on the Simplex tableau 1. The intersection of any basic
More informationCO350 Linear Programming Chapter 8: Degeneracy and Finite Termination
CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination 27th June 2005 Chapter 8: Finite Termination 1 The perturbation method Recap max c T x (P ) s.t. Ax = b x 0 Assumption: B is a feasible
More informationmin 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14
The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. If necessary,
More informationSection Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010
Section Notes 9 IP: Cutting Planes Applied Math 121 Week of April 12, 2010 Goals for the week understand what a strong formulations is. be familiar with the cutting planes algorithm and the types of cuts
More informationEND3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur
END3033 Operations Research I Sensitivity Analysis & Duality to accompany Operations Research: Applications and Algorithms Fatih Cavdur Introduction Consider the following problem where x 1 and x 2 corresponds
More informationLecture 11: Post-Optimal Analysis. September 23, 2009
Lecture : Post-Optimal Analysis September 23, 2009 Today Lecture Dual-Simplex Algorithm Post-Optimal Analysis Chapters 4.4 and 4.5. IE 30/GE 330 Lecture Dual Simplex Method The dual simplex method will
More informationCSC Design and Analysis of Algorithms. LP Shader Electronics Example
CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours
More informationMath Models of OR: Handling Upper Bounds in Simplex
Math Models of OR: Handling Upper Bounds in Simplex John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 280 USA September 208 Mitchell Handling Upper Bounds in Simplex / 8 Introduction Outline
More informationLinear Programming and the Simplex method
Linear Programming and the Simplex method Harald Enzinger, Michael Rath Signal Processing and Speech Communication Laboratory Jan 9, 2012 Harald Enzinger, Michael Rath Jan 9, 2012 page 1/37 Outline Introduction
More informationDual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:
Dual Basic Solutions Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Observation 5.7. AbasisB yields min c T x max p T b s.t. A x = b s.t. p T A apple c T x 0 aprimalbasicsolutiongivenbyx
More informationSensitivity Analysis
Dr. Maddah ENMG 500 /9/07 Sensitivity Analysis Changes in the RHS (b) Consider an optimal LP solution. Suppose that the original RHS (b) is changed from b 0 to b new. In the following, we study the affect
More informationPart 1. The Review of Linear Programming
In the name of God Part 1. The Review of Linear Programming 1.5. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Formulation of the Dual Problem Primal-Dual Relationship Economic Interpretation
More informationToday s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12
Today s class Constrained optimization Linear programming 1 Midterm Exam 1 Count: 26 Average: 73.2 Median: 72.5 Maximum: 100.0 Minimum: 45.0 Standard Deviation: 17.13 Numerical Methods Fall 2011 2 Optimization
More informationΩ R n is called the constraint set or feasible set. x 1
1 Chapter 5 Linear Programming (LP) General constrained optimization problem: minimize subject to f(x) x Ω Ω R n is called the constraint set or feasible set. any point x Ω is called a feasible point We
More informationLINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:
LINEAR PROGRAMMING 2 In many business and policy making situations the following type of problem is encountered: Maximise an objective subject to (in)equality constraints. Mathematical programming provides
More informationMATH2070 Optimisation
MATH2070 Optimisation Linear Programming Semester 2, 2012 Lecturer: I.W. Guo Lecture slides courtesy of J.R. Wishart Review The standard Linear Programming (LP) Problem Graphical method of solving LP problem
More informationIE 400: Principles of Engineering Management. Simplex Method Continued
IE 400: Principles of Engineering Management Simplex Method Continued 1 Agenda Simplex for min problems Alternative optimal solutions Unboundedness Degeneracy Big M method Two phase method 2 Simplex for
More information1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1
Math 125 Exam 1 Version 1 February 20, 2006 1. (a) (7pts) Find the points of intersection, if any, of the following planes. Solution: augmented R 1 R 3 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1 3 9
More informationSimplex Method for LP (II)
Simplex Method for LP (II) Xiaoxi Li Wuhan University Sept. 27, 2017 (week 4) Operations Research (Li, X.) Simplex Method for LP (II) Sept. 27, 2017 (week 4) 1 / 31 Organization of this lecture Contents:
More informationPart 1. The Review of Linear Programming
In the name of God Part 1. The Review of Linear Programming 1.2. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Basic Feasible Solutions Key to the Algebra of the The Simplex Algorithm
More informationMath Models of OR: Sensitivity Analysis
Math Models of OR: Sensitivity Analysis John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 8 USA October 8 Mitchell Sensitivity Analysis / 9 Optimal tableau and pivot matrix Outline Optimal
More informationThe Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form
The Simplex Method 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard Form Convert to Canonical Form Set Up the Tableau and the Initial Basic Feasible Solution
More informationWeek 3: Simplex Method I
Week 3: Simplex Method I 1 1. Introduction The simplex method computations are particularly tedious and repetitive. It attempts to move from one corner point of the solution space to a better corner point
More informationAM 121: Intro to Optimization Models and Methods Fall 2018
AM 121: Intro to Optimization Models and Methods Fall 2018 Lecture 5: The Simplex Method Yiling Chen Harvard SEAS Lesson Plan This lecture: Moving towards an algorithm for solving LPs Tableau. Adjacent
More informationThe Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1
The Graphical Method & Algebraic Technique for Solving LP s Métodos Cuantitativos M. En C. Eduardo Bustos Farías The Graphical Method for Solving LP s If LP models have only two variables, they can be
More information4. Duality and Sensitivity
4. Duality and Sensitivity For every instance of an LP, there is an associated LP known as the dual problem. The original problem is known as the primal problem. There are two de nitions of the dual pair
More informationChapter 5 Linear Programming (LP)
Chapter 5 Linear Programming (LP) General constrained optimization problem: minimize f(x) subject to x R n is called the constraint set or feasible set. any point x is called a feasible point We consider
More informationLinear Programming: Chapter 5 Duality
Linear Programming: Chapter 5 Duality Robert J. Vanderbei September 30, 2010 Slides last edited on October 5, 2010 Operations Research and Financial Engineering Princeton University Princeton, NJ 08544
More informationLinear Programming, Lecture 4
Linear Programming, Lecture 4 Corbett Redden October 3, 2016 Simplex Form Conventions Examples Simplex Method To run the simplex method, we start from a Linear Program (LP) in the following standard simplex
More informationTHE STEPS OF THE SIMPLEX ALGORITHM
THE STEPS OF THE SIMPLEX ALGORITHM Contents 1. Introduction... 2 2. Slack and surplus variables... 2 3. Basic and nonbasic variables... 2 4. Admissible solutions... 3 5. Solution of a linear program (LP)...
More informationThe Simplex Algorithm and Goal Programming
The Simplex Algorithm and Goal Programming In Chapter 3, we saw how to solve two-variable linear programming problems graphically. Unfortunately, most real-life LPs have many variables, so a method is
More informationOptimization (168) Lecture 7-8-9
Optimization (168) Lecture 7-8-9 Jesús De Loera UC Davis, Mathematics Wednesday, April 2, 2012 1 DEGENERACY IN THE SIMPLEX METHOD 2 DEGENERACY z =2x 1 x 2 + 8x 3 x 4 =1 2x 3 x 5 =3 2x 1 + 4x 2 6x 3 x 6
More informationSimplex method(s) for solving LPs in standard form
Simplex method: outline I The Simplex Method is a family of algorithms for solving LPs in standard form (and their duals) I Goal: identify an optimal basis, as in Definition 3.3 I Versions we will consider:
More informationORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods
ORF 307: Lecture 2 Linear Programming: Chapter 2 Simplex Methods Robert Vanderbei February 8, 2018 Slides last edited on February 8, 2018 http://www.princeton.edu/ rvdb Simplex Method for LP An Example.
More informationYinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method
The Simplex Method Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye (LY, Chapters 2.3-2.5, 3.1-3.4) 1 Geometry of Linear
More informationLecture 2: The Simplex method
Lecture 2 1 Linear and Combinatorial Optimization Lecture 2: The Simplex method Basic solution. The Simplex method (standardform, b>0). 1. Repetition of basic solution. 2. One step in the Simplex algorithm.
More informationIn Chapters 3 and 4 we introduced linear programming
SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,
More informationLinear programming: algebra
: algebra CE 377K March 26, 2015 ANNOUNCEMENTS Groups and project topics due soon Announcements Groups and project topics due soon Did everyone get my test email? Announcements REVIEW geometry Review geometry
More informationThe Simplex Method of Linear Programming
The Simplex Method of Linear Programming Online Tutorial 3 Tutorial Outline CONVERTING THE CONSTRAINTS TO EQUATIONS SETTING UP THE FIRST SIMPLEX TABLEAU SIMPLEX SOLUTION PROCEDURES SUMMARY OF SIMPLEX STEPS
More informationAnn-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10
MVE165/MMG631 Linear and Integer Optimization with Applications Lecture 4 Linear programming: degeneracy; unbounded solution; infeasibility; starting solutions Ann-Brith Strömberg 2017 03 28 Lecture 4
More informationIE 5531: Engineering Optimization I
IE 5531: Engineering Optimization I Lecture 5: The Simplex method, continued Prof. John Gunnar Carlsson September 22, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 22, 2010
More informationThe Simplex Method for Solving a Linear Program Prof. Stephen Graves
The Simplex Method for Solving a Linear Program Prof. Stephen Graves Observations from Geometry feasible region is a convex polyhedron an optimum occurs at a corner point possible algorithm - search over
More informationIP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.
IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, 31 14. You wish to solve the IP below with a cutting plane technique. Maximize 4x 1 + 2x 2 + x 3 subject to 14x 1 + 10x 2 + 11x 3 32 10x 1 +
More informationIE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3
IE 4 Principles of Engineering Management The Simple Algorithm-I: Set 3 So far, we have studied how to solve two-variable LP problems graphically. However, most real life problems have more than two variables!
More informationNon-Standard Constraints. Setting up Phase 1 Phase 2
Non-Standard Constraints Setting up Phase 1 Phase 2 Maximizing with Mixed Constraints Some maximization problems contain mixed constraints, like this: maximize 3x 1 + 2x 2 subject to 2x 1 + x 2 50 (standard)
More informationLesson 27 Linear Programming; The Simplex Method
Lesson Linear Programming; The Simplex Method Math 0 April 9, 006 Setup A standard linear programming problem is to maximize the quantity c x + c x +... c n x n = c T x subject to constraints a x + a x
More informationThe Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006
The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006 1 Simplex solves LP by starting at a Basic Feasible Solution (BFS) and moving from BFS to BFS, always improving the objective function,
More information4.4 The Simplex Method and the Standard Minimization Problem
. The Simplex Method and the Standard Minimization Problem Question : What is a standard minimization problem? Question : How is the standard minimization problem related to the dual standard maximization
More informationNotes on Simplex Algorithm
Notes on Simplex Algorithm CS 9 Staff October 8, 7 Until now, we have represented the problems geometrically, and solved by finding a corner and moving around Now we learn an algorithm to solve this without
More informationThe Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science
The Simplex Method Lecture 5 Standard and Canonical Forms and Setting up the Tableau Lecture 5 Slide 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard
More informationLecture 4: Algebra, Geometry, and Complexity of the Simplex Method. Reading: Sections 2.6.4, 3.5,
Lecture 4: Algebra, Geometry, and Complexity of the Simplex Method Reading: Sections 2.6.4, 3.5, 10.2 10.5 1 Summary of the Phase I/Phase II Simplex Method We write a typical simplex tableau as z x 1 x
More informationDEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions
DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION Part I: Short Questions August 12, 2008 9:00 am - 12 pm General Instructions This examination is
More informationUnderstanding the Simplex algorithm. Standard Optimization Problems.
Understanding the Simplex algorithm. Ma 162 Spring 2011 Ma 162 Spring 2011 February 28, 2011 Standard Optimization Problems. A standard maximization problem can be conveniently described in matrix form
More informationOptimization Methods in Management Science
Optimization Methods in Management Science MIT 15.05 Recitation 8 TAs: Giacomo Nannicini, Ebrahim Nasrabadi At the end of this recitation, students should be able to: 1. Derive Gomory cut from fractional
More informationMath 354 Summer 2004 Solutions to review problems for Midterm #1
Solutions to review problems for Midterm #1 First: Midterm #1 covers Chapter 1 and 2. In particular, this means that it does not explicitly cover linear algebra. Also, I promise there will not be any proofs.
More informationDr. S. Bourazza Math-473 Jazan University Department of Mathematics
Dr. Said Bourazza Department of Mathematics Jazan University 1 P a g e Contents: Chapter 0: Modelization 3 Chapter1: Graphical Methods 7 Chapter2: Simplex method 13 Chapter3: Duality 36 Chapter4: Transportation
More information3. Duality: What is duality? Why does it matter? Sensitivity through duality.
1 Overview of lecture (10/5/10) 1. Review Simplex Method 2. Sensitivity Analysis: How does solution change as parameters change? How much is the optimal solution effected by changing A, b, or c? How much
More informationOPERATIONS RESEARCH. Linear Programming Problem
OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com MODULE - 2: Simplex Method for
More informationMA 162: Finite Mathematics - Section 3.3/4.1
MA 162: Finite Mathematics - Section 3.3/4.1 Fall 2014 Ray Kremer University of Kentucky October 6, 2014 Announcements: Homework 3.3 due Tuesday at 6pm. Homework 4.1 due Friday at 6pm. Exam scores were
More information2018 년전기입시기출문제 2017/8/21~22
2018 년전기입시기출문제 2017/8/21~22 1.(15) Consider a linear program: max, subject to, where is an matrix. Suppose that, i =1,, k are distinct optimal solutions to the linear program. Show that the point =, obtained
More informationMath 273a: Optimization The Simplex method
Math 273a: Optimization The Simplex method Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 material taken from the textbook Chong-Zak, 4th Ed. Overview: idea and approach If a standard-form
More informationProfessor Alan H. Stein October 31, 2007
Mathematics 05 Professor Alan H. Stein October 3, 2007 SOLUTIONS. For most maximum problems, the contraints are in the form l(x) k, where l(x) is a linear polynomial and k is a positive constant. Explain
More informationSummary of the simplex method
MVE165/MMG630, The simplex method; degeneracy; unbounded solutions; infeasibility; starting solutions; duality; interpretation Ann-Brith Strömberg 2012 03 16 Summary of the simplex method Optimality condition:
More information4.3 Minimizing & Mixed Constraints
Mathematics : Mattingly, Fall 6 8 4. Minimizing & Mixed Constraints So far, you have seen how to solve one type of problem: Standard Maximum. The objective function is to be maximized.. Constraints use..
More informationc) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns
BUILDING A SIMPLEX TABLEAU AND PROPER PIVOT SELECTION Maximize : 15x + 25y + 18 z s. t. 2x+ 3y+ 4z 60 4x+ 4y+ 2z 100 8x+ 5y 80 x 0, y 0, z 0 a) Build Equations out of each of the constraints above by introducing
More informationAM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1
AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1 Prof. Yiling Chen Fall 2018 Here are some practice questions to help to prepare for the midterm. The midterm will
More informationIntroduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras
Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module - 03 Simplex Algorithm Lecture 15 Infeasibility In this class, we
More information