Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec. 10.2 and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.

Slides:



Advertisements
Similar presentations
Linear Programming Problem
Advertisements

Linear Programming (LP) (Chap.29)
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Chapter 6 Linear Programming: The Simplex Method
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Linear Programming (LP)
5.6 Maximization and Minimization with Mixed Problem Constraints
D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Chapter 3 An Introduction to Linear Programming
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
LINEAR PROGRAMMING SIMPLEX METHOD.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming - Standard Form
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Lecture 2 Chapter 10 continued…. Last Lecture Summary: Covered Sec and most part of Sec Basic concepts of Linear Programming Problem and.
Chapter 6 Linear Programming: The Simplex Method
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
Simplex method (algebraic interpretation)
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 15.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 6 Linear Programming: The Simplex Method Section R Review.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
5.3 Geometric Introduction to the Simplex Method The geometric method of the previous section is limited in that it is only useful for problems involving.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Mechanical Engineering Department 1 سورة النحل (78)
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Business Mathematics MTH-367 Lecture 13. Chapter 10 Linear Programming An Introduction Continued…
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
(i) Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M3L1 Linear Programming and Applications.
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
1 LP-3 Symplex Method. 2  When decision variables are more than 2, it is always advisable to use Simplex Method to avoid lengthy graphical procedure.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
(iii) Simplex method - I D Nagesh Kumar, IISc Water Resources Planning and Management: M3L3 Linear Programming and Applications.
Chapter 4 The Simplex Algorithm and Goal Programming
An Introduction to Linear Programming
Linear Programming for Solving the DSS Problems
Lecture 3.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Chapter 3 The Simplex Method and Sensitivity Analysis
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear Programming Problem
Simplex method (algebraic interpretation)
Presentation transcript:

Business Mathematics MTH-367 Lecture 14

Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and Unbounded Solution Scenarios Applications of Linear Programming: – Diet Mix Model – Highway Maintenance (Transportation Model)

Chapter 11 The Simplex and Computer Solutions Methods

Chapter Objectives Provide an understanding of the simplex method for solving LP problems Illustrate the ways in which special LP phenomena are identified when using the simplex method.

Today’s Main Topics We will start Chapter 11 Sec. 11.1: Simplex Preliminaries Overview of the Simplex Method Requirements of Simplex Method Basic feasible solutions Definitions of Feasible Solution; Basic Solution; and Basic Feasible Solution

Simplex Preliminaries WHY SIMPLEX METHOD??? ANSWER: Graphical solution methods are applicable to LP problems involving TWO variables The geometry of THREE-variable problems is very complicated, and Beyond Three-variables, there is no geometric frame of reference SO, NEED some NONGRAPHICAL Method...

The most popular nongraphical procedure is called The Simplex Method This is an algebraic procedure for solving system of equations where an objective function needs to be optimized. It is an iterative process, which identifies a feasible starting solution.

The Simplex Method Cont’d... The procedure then searches to see whether there exists a better solution. “Better” is measured by whether the value of the objective function can be improved. If better solution is signaled, the search resumes The generation of each successive solution requires solving a system of linear equations The search continues until no further improvement is possible in the objective function

Requirements of the Simplex Method I.All constraints must be stated as equations. II.The right side of the constraint cannot be negative. III.All variables are restricted to nonnegative values.

Most linear programming problems contain constraints which are inequalities. Before we solve by the simplex method, these inequalities must be restated as equations. The transformation from inequalities to equations varies, depending on the nature of the constraints.

For each “less than or equal to” constraint, a non-negative variable, called a slack variable, is added to the left side of the constraint. Note that the slack variables become additional variables in the problem and must be treated like any other variables. That means they are also subject to Requirement III; that is, they cannot assume negative values. Transformation procedure for ≤ constraints

For each “greater than or equal to” constraint, a non-negative variable E, called a surplus variable, is subtracted from the left side of the constraint. In addition, a non-negative variable A, called an artificial variable, is added to the left of side of the constraint. The artificial variable has no real meaning in the problem; its only function is to provide a convenient starting point (initial guess) for the simplex. Transformation procedure for ≥ constraints

.

Transformation procedure for = constraints For each “equal to” constraint, an artificial variable, is added to the left of side of the constraint.

Example Transform the following constraint set into the standard form required by the simplex method x 1 + x 2 ≤ 100 2x 1 + 3x 2 ≥ 40 x 1 – x 2 = 25 -5x 1 + x 2 ≥ -10 x 1, x 2 ≥ 0

Solution Note that each supplemental variable (slack, surplus, artificial) is assigned a subscript which corresponds to the constraint number. Also, the non- negativity restriction (requirement III) applies to all supplemental variables.

Requirement II of the simplex method states that the right side of any constraint equation not be negative. If a constraint has a negative right side, the constraint can be multiplied by – 1 to make the right side positive

Requirement III of the simplex method states that all variables be restricted to nonnegative values. There are specialize techniques for dealing with variables which can assume negative values; however, we will not examine these methods. The only point which should be repeated is that slack, surplus, and artificial variable are also restricted to being nonnegative.

Example An LP problem has 5 decision variables; 10 (≤) constraints; 8 (≥) constraints; and 2 (=) constraints. When this problem is restated to comply with requirement I of the simplex method, how many variables will there be and of what types?

Solution There will be 33 variables: 5 decision variables, 10 slack variables associated with the 10 (≤) constraints, 8 surplus variables associated with the 8 (≥) constraints, and 10 artificial variables associated with the (≥) and (=) constraints = 33

Basic Feasible Solutions Let’s state some definitions which are significant to our coming discussions. Assume the standard form of an LP problem which has m structural constraints and a total of n’ decision and supplemental variables. Definition: A feasible solution is any set of values for the n’ variables which satisfies both the structural and non-negativity constraints.

Definition: A basic solution is any solution obtained by setting (n’–m) variables equal to 0 and solving the system of equations for the values of the remaining m variables. Definition: The (n’–m) variables which have been assigned values of 0, are called non- basic variables. The rest of the variables are called basic variables. Definition: A basic feasible solution is a basic solution which also satisfies the non-negativity constraints. Thus optimal solution can be found by performing a search of the basic feasible solution.

Before we begin our discussions of the simplex method, let’s provide a generalized statement of a LP model. Given the definitions x j = j-th decision variable c j = coefficient on j-th decision variable in the objective function. a ij = coefficient in the i-th constraint for the j-th variable. b i = right-hand-side constant for the i-th constraint THE SIMPLEX METHOD

The generalized LP model can be stated as follows: Optimize (maximize or minimize) z = c 1 x 1 + c 2 x c n x n subject to a 11 x 1 + a 12 x a 1n x n (≤, ≥, =) b1(1) a 21 x 1 + a 22 x a 2n x n (≤, ≥, =) b2(2)... a m1 x 1 + a m2 x a mn x n (≤, ≥, =)b m (m) x 1 ≥ 0 x 2 ≥ 0... x n ≥ 0

Solution by Enumeration Consider a problem having m (≤) constraints and n variables. Prior to solving by the simplex method, the m constraints would be changed into equations by adding m slack variables. This restatement results in a constraint set consisting of m equations and m + n variables.

In Sec. 10.2, we examined the following linear programming problem: Maximizez = 5x 1 + 6x 2 subject to3x 1 + 2x 2 ≤ 120 (1) 4x 1 + 6x 2 ≤ 260 (2) x 1, x 2 ≥ 0 Example

Before we solve this problem by the simplex method, the constraint set must be transformed into the equivalent set. 3x 1 + 2x 2 + S 1 = 120 4x 1 + 6x 2 + S 2 = 260 x 1, x 2, S 1, S 2 ≥ 0 The constraint set involves two equations and four variables. Example cont’d

Of all the possible solutions to the constraint set, an optimal solution occurs when two of the four variables in this problem are set equal to zero and the system is solved for the other two variables. The question is, which two variables should be set equal to 0 (should be non-basic variables)? Let’s enumerate the different possibilities. Example cont’d

Following table summarizes the basic solutions, that is, all the solution possibilities given that two of the four variables are assigned 0 values. SolutionsNon-basic Variables Basic Variables 1S 1, S 2 x 1 = 20, x 2 = 30 *2x 1, S 1 x 2 = 60, S 2 = x 1, S 2 x 2 = 43.33, S 1 = x 2, S 1 x 1 = 40, S 2 = 100 *5x 2, S 2 x 1 = 65, S 1 = x 1, x 2 S 1 = 120, S 2 = 260 Example cont’d

Notice that solutions 2 and 5 are not feasible. They each contain a variable which has a negative value, violating the non-negativity restriction. However, solutions 1, 3, 4 and 6 are basic feasible solutions to the linear programming problem and are candidates for the optimal solution. Example cont’d

The following figure is the graphical representation of the set of constraints. A (0,6) – Solution 6 (0,43.33) – Solution 3 B (20,30) – Solution 1 C D (40,0) – Solution 4 (65,0) – Solution 5 E F (0,60) – Solution 2 (1) (2) Example cont’d

Specifically, solution 1 corresponds to corner point C, solution 3 corresponds to corner point B, solution 4 corresponds to corner point D, and solution 6 corresponds to corner point A. Solution 2 and 5, which are not feasible, correspond to points E and F shown in the figure. Example cont’d

Incorporating the Objective Function In solving by the simplex method, the objective function and constraints are combined to form a system of equations. The objective function is one of the equations, and z becomes an additional variable in the system. In rearranging the variables in the objective function so that they are all on the left side of the equation, the problem is represented by the system of equations.

z – 5x 1 – 6x 2 – 0S 1 – OS 2 = 0(0) 3x 1 + 2x 2 + S 1 = 120(1) 4x 1 + 6x 2 + S 2 = 260(2) Note: that the objective function is labeled as Eq.(0). The objective is to solve this (3 x 5) system of equations so as to maximize the value of z. Incorporating the Objective Function cont’d

Since we are particularly concerned about the value of z and will want to know its value for any solution, z will always be a basic variable. The standard practice, however, is not to refer to z as a basic variable. The terms basic variable and non-basic variable are usually reserved for other variables in the problem. Incorporating the Objective Function cont’d

Review We started Chapter 11 Sec. 11.1: Simplex Preliminaries Overview of the Simplex Method Requirements of Simplex Method Basic feasible solutions Definitions of Feasible Solution; Basic Solution; and Basic Feasible Solution Next time, we’ll start Sec 11.2: The Simplex Method