Standard Form of a Linear Programming Problem


 Laura Townsend
 2 years ago
 Views:
Transcription
1 494 CHAPTER 9 LINEAR PROGRAMMING 9. THE SIMPLEX METHOD: MAXIMIZATION For linear programming problems involving two variables, the graphical solution method introduced in Section 9. is convenient. However, for problems involving more than two variables or problems involving a large number of constraints, it is better to use solution methods that are adaptable to computers. One such method is called the simplex method, developed by George Dantzig in 946. It provides us with a systematic way of examining the vertices of the feasible region to determine the optimal value of the objective function. We introduce this method with an example. Suppose we want to find the maximum value of z 4x 6x, where x and x, subject to the following constraints. x 5x x 5x x 5x 9 Since the lefthand side of each inequality is less than or equal to the righthand side, there must exist nonnegative numbers s, s and s that can be added to the left side of each equation to produce the following system of linear equations. x 5x s s s x 5x s s s x 5x s s s 9 The numbers s, s and s are called slack variables because they take up the slack in each inequality. Standard Form of a Linear Programming Problem A linear programming problem is in standard form if it seeks to maximize the objective function z c x c x... c n x n subject to the constraints a x a x... a n x n b a x a x... a n x n b. a m x a m x... a mn x n b m where x i and b i. After adding slack variables, the corresponding system of constraint equations is a x a x... a n x n s b a x a x... an x n s b. a m x a m x... a mn x n where s i. s m b m
2 SECTION 9. THE SIMPLEX METHOD: MAXIMIZATION 495 REMARK: Note that for a linear programming problem in standard form, the objective function is to be maximized, not minimized. (Minimization problems will be discussed in Sections 9.4 and 9.5.) A basic solution of a linear programming problem in standard form is a solution x, x,..., x n, s, s,..., s m of the constraint equations in which at most m variables are nonzero the variables that are nonzero are called basic variables. A basic solution for which all variables are nonnegative is called a basic feasible solution. The Simplex Tableau The simplex method is carried out by performing elementary row operations on a matrix that we call the simplex tableau. This tableau consists of the augmented matrix corresponding to the constraint equations together with the coefficients of the objective function written in the form c x c x... c n x n s s... s m z. In the tableau, it is customary to omit the coefficient of z. For instance, the simplex tableau for the linear programming problem z 4x 6x Objective function x 5x s s s } x 5x s s s Constraints x 5x s s s 9 is as follows. x x s s s b Variables s s 5 9 s 4 6 Current z value For this initial simplex tableau, the basic variables are s, s, and s, and the nonbasic variables (which have a value of zero) are x and x. Hence, from the two columns that are farthest to the right, we see that the current solution is x, x, s, s, and s 9. This solution is a basic feasible solution and is often written as x, x, s, s, s,,,, 9.
3 496 CHAPTER 9 LINEAR PROGRAMMING The entry in the lower right corner of the simplex tableau is the current value of z. Note that the bottom row entries under x and x are the negatives of the coefficients of x and x in the objective function To perform an optimality check for a solution represented by a simplex tableau, we look at the entries in the bottom row of the tableau. If any of these entries are negative (as above), then the current solution is not optimal. Pivoting z 4x 6x. Once we have set up the initial simplex tableau for a linear programming problem, the simplex method consists of checking for optimality and then, if the current solution is not optimal, improving the current solution. (An improved solution is one that has a larger zvalue than the current solution.) To improve the current solution, we bring a new basic variable into the solution we call this variable the entering variable. This implies that one of the current basic variables must leave, otherwise we would have too many variables for a basic solution we call this variable the departing variable. We choose the entering and departing variables as follows.. The entering variable corresponds to the smallest (the most negative) entry in the bottom row of the tableau.. The departing variable corresponds to the smallest nonnegative ratio of b i a ij, in the column determined by the entering variable.. The entry in the simplex tableau in the entering variable s column and the departing variable s row is called the pivot. Finally, to form the improved solution, we apply GaussJordan elimination to the column that contains the pivot, as illustrated in the following example. (This process is called pivoting.) EXAMPLE Pivoting to Find an Improved Solution Use the simplex method to find an improved solution for the linear programming problem represented by the following tableau. x x s s s b Variables s s 5 9 s 4 6 The objective function for this problem is z 4x 6x.
4 SECTION 9. THE SIMPLEX METHOD: MAXIMIZATION 49 Solution Note that the current solution x, x, s, s, s 9 corresponds to a z value of. To improve this solution, we determine that x is the entering variable, because 6 is the smallest entry in the bottom row. x x s s s b Variables s s 5 9 s 4 6 To see why we choose x as the entering variable, remember that z 4x 6x. Hence, it appears that a unit change in x produces a change of 6 in z, whereas a unit change in x produces a change of only 4 in z. To find the departing variable, we locate the b i s that have corresponding positive elements in the entering variables column and form the following ratios.,, Here the smallest positive ratio is, so we choose s as the departing variable. x x s s s b Variables s Departing s 5 9 s 4 6 Note that the pivot is the entry in the first row and second column. Now, we use Gauss Jordan elimination to obtain the following improved solution. Before Pivoting After Pivoting The new tableau now appears as follows.
5 498 CHAPTER 9 LINEAR PROGRAMMING x x s s s b Variables x 6 s 5 5 s 6 66 Note that has replaced in the basis column and the improved solution x x, x, s, s, s,,, 6, 5 has a zvalue of s z 4x 6x In Example the improved solution is not yet optimal since the bottom row still has a negative entry. Thus, we can apply another iteration of the simplex method to further improve our solution as follows. We choose x as the entering variable. Moreover, the smallest nonnegative ratio of, 6 8, and 5 5 is 5, so s is the departing variable. GaussJordan elimination produces the following Thus, the new simplex tableau is as follows. x x s s s b Variables 6 x 6 s 5 x In this tableau, there is still a negative entry in the bottom row. Thus, we choose s as the entering variable and s as the departing variable, as shown in the following tableau.
6 SECTION 9. THE SIMPLEX METHOD: MAXIMIZATION 499 x x s s s b Variables 6 x 6 s Departing 5 5 x 8 6 By performing one more iteration of the simplex method, we obtain the following tableau. (Try checking this.) x x s s s b Variables x 4 s 5 5 x Maximum zvalue In this tableau, there are no negative elements in the bottom row. We have therefore determined the optimal solution to be with 8 x, x, s, s, s 5,, 4,, z 4x 6x REMARK: Ties may occur in choosing entering and/or departing variables. Should this happen, any choice among the tied variables may be made. Figure 9.8 x 5 (5, 6) 5 (5, ) (, ) 5 (, ) (, ) x Because the linear programming problem in Example involved only two decision variables, we could have used a graphical solution technique, as we did in Example, Section 9.. Notice in Figure 9.8 that each iteration in the simplex method corresponds to moving from a given vertex to an adjacent vertex with an improved zvalue., z The Simplex Method, z 66 5, 6 z 6 5, z We summarize the steps involved in the simplex method as follows.
7 5 CHAPTER 9 LINEAR PROGRAMMING The Simplex Method (Standard Form) To solve a linear programming problem in standard form, use the following steps.. Convert each inequality in the set of constraints to an equation by adding slack variables.. Create the initial simplex tableau.. Locate the most negative entry in the bottom row. The column for this entry is called the entering column. (If ties occur, any of the tied entries can be used to determine the entering column.) 4. Form the ratios of the entries in the bcolumn with their corresponding positive entries in the entering column. The departing row corresponds to the smallest nonnegative ratio b i a ij. (If all entries in the entering column are or negative, then there is no maximum solution. For ties, choose either entry.) The entry in the departing row and the entering column is called the pivot. 5. Use elementary row operations so that the pivot is, and all other entries in the entering column are. This process is called pivoting. 6. If all entries in the bottom row are zero or positive, this is the final tableau. If not, go back to Step.. If you obtain a final tableau, then the linear programming problem has a maximum solution, which is given by the entry in the lowerright corner of the tableau. Note that the basic feasible solution of an initial simplex tableau is x, x,..., x n, s, s,..., s m,,...,, b, b,..., b m. This solution is basic because at most m variables are nonzero (namely the slack variables). It is feasible because each variable is nonnegative. In the next two examples, we illustrate the use of the simplex method to solve a problem involving three decision variables. EXAMPLE The Simplex Method with Three Decision Variables Use the simplex method to find the maximum value of z x x x subject to the constraints x x x x x x x x x 5 Objective function where x, x, and x. Solution Using the basic feasible solution x, x, x, s, s, s,,,,, 5 the initial simplex tableau for this problem is as follows. (Try checking these computations, and note the tie that occurs when choosing the first entering variable.)
8 SECTION 9. THE SIMPLEX METHOD: MAXIMIZATION 5 x x x s s s b Variables s s 5 s Departing x x x s s s b Variables s Departing 5 s x 5 x x x s s s b Variables 5 x 5 s 5 x 5 This implies that the optimal solution is x, x, x, s, s, s 5,, 5,,, and the maximum value of z is 5. 5 Occasionally, the constraints in a linear programming problem will include an equation. In such cases, we still add a slack variable called an artificial variable to form the initial simplex tableau. Technically, this new variable is not a slack variable (because there is no slack to be taken). Once you have determined an optimal solution in such a problem, you should check to see that any equations given in the original constraints are satisfied. Example illustrates such a case. EXAMPLE The Simplex Method with Three Decision Variables Use the simplex method to find the maximum value of z x x x Objective function
9 5 CHAPTER 9 LINEAR PROGRAMMING subject to the constraints 4x x x x x x 6 x x x 4 where x, x, and x. Solution Using the basic feasible solution x, x, x, s, s, s,,,, 6, 4 is an artificial vari the initial simplex tableau for this problem is as follows. (Note that able, rather than a slack variable.) x x x s s s b Variables s 4 s Departing 6 s 4 s x x x s s s b Variables x 5 45 s Departing 65 s x x x s s s b Variables 5 x x s This implies that the optimal solution is x, x, x, s, s, s, 8,,,, 5 45 and the maximum value of z is 45. (This solution satisfies the equation given in the constraints because 4 8.
10 SECTION 9. THE SIMPLEX METHOD: MAXIMIZATION 5 Applications EXAMPLE 4 A Business Application: Maximum Profit A manufacturer produces three types of plastic fixtures. The time required for molding, trimming, and packaging is given in Table 9.. (Times are given in hours per dozen fixtures.) TABLE 9. Process Type A Type B Type C Total time available Molding, Trimming 4,6 Packaging,4 Profit $ $6 $5 How many dozen of each type of fixture should be produced to obtain a maximum profit? Solution Letting x, x, and x represent the number of dozen units of Types A, B, and C, respectively, the objective function is given by Profit P x 6x 5x. Moreover, using the information in the table, we construct the following constraints. x x x, x x x 4,6 x x x,4 (We also assume that x, x, and x. ) Now, applying the simplex method with the basic feasible solution x, x, x, s, s, s,,,,, 4,6,,4 we obtain the following tableaus. x x x s s s b Variables, s Departing 6 5 4,6 s,4 s
11 54 CHAPTER 9 LINEAR PROGRAMMING x x x s s s b Variables 4 6, x 6 s 4 s Departing , x x x s s s b Variables 8 4 5,4 x 4 6 s Departing 4, x ,6 x x x s s s b Variables 5, x x 6 6 x 6 6, From this final simplex tableau, we see that the maximum profit is $,, and this is obtained by the following production levels. Type A: 6 dozen units Type B: 5, dozen units Type C: 8 dozen units REMARK: In Example 4, note that the second simplex tableau contains a tie for the minimum entry in the bottom row. (Both the first and third entries in the bottom row are. ) Although we chose the first column to represent the departing variable, we could have chosen the third column. Try reworking the problem with this choice to see that you obtain the same solution. EXAMPLE 5 A Business Application: Media Selection The advertising alternatives for a company include television, radio, and newspaper advertisements. The costs and estimates for audience coverage are given in Table 9.
12 SECTION 9. THE SIMPLEX METHOD: MAXIMIZATION 55 TABLE 9. Television Newspaper Radio Cost per advertisement $, $ 6 $ Audience per advertisement, 4, 8, The local newspaper limits the number of weekly advertisements from a single company to ten. Moreover, in order to balance the advertising among the three types of media, no more than half of the total number of advertisements should occur on the radio, and at least % should occur on television. The weekly advertising budget is $8,. How many advertisements should be run in each of the three types of media to maximize the total audience? Solution To begin, we let x, x, and x represent the number of advertisements in television, newspaper, and radio, respectively. The objective function (to be maximized) is therefore z,x 4,x 8,x Objective function where x, x, and x. The constraints for this problem are as follows. x 6x x x 6x x x 6x x.5 x x x x 6x x. x x x A more manageable form of this system of constraints is as follows. x 6x x 8 x 6x x } x 6x x 8 Constraints 9x 6x x 8 Thus, the initial simplex tableau is as follows., x x x s s s s 4 b Variables 6 8 s Departing s s 9 s 4 4, 8, 8,
13 56 CHAPTER 9 LINEAR PROGRAMMING Now, to this initial tableau, we apply the simplex method as follows. x x x s s s s 4 b Variables x s Departing s s 4,, 5, 9, x x x s s s s 4 b Variables x x 6 s Departing s 4, 5,,,, x x x s s s s 4 b Variables 9 4 x x 4 4 x s 4 8,, 6,,5, From this tableau, we see that the maximum weekly audience for an advertising budget of $8, is z,5, 4 Maximum weekly audience and this occurs when x 4, x, and x 4. We sum up the results here. Number of Media Advertisements Cost Audience Television 4 $ 8, 4, Newspaper $ 6, 4, Radio 4 $ 4, 5, Total 8 $8,,5,
14 SECTION 9. EXERCISES 5 SECTION 9. EXERCISES In Exercises 4, write the simplex tableau for the given linear programming problem. You do not need to solve the problem. (In each case the objective function is to be maximized.). Objective function:. Objective function: z x x z x x x x 8 x x 4 x x 5 x x x, x x, x. Objective function: 4. Objective function: z x x 4x z 6x 9x x x x x x 6 x x x 8 x x x, x, x x, x In Exercises 5 8, explain why the linear programming problem is not in standard form as given. 5. (Minimize) 6. (Maximize) Objective function: Objective function: z x x z x x x x 4 x x 6 x, x x x x, x. (Maximize) 8. (Maximize) Objective function: Objective function: z x x z x x x x x 5 x x 4 x x x x x 6 x x x x, x x, x, x In Exercises 9, use the simplex method to solve the given linear programming problem. (In each case the objective function is to be maximized.) 9. Objective function:. Objective function: z x x z x x x 4x 8 x x 6 x 4x x x x, x x, x. Objective function:. Objective function: z 5x x 8x z x x x x 4x x 4 x x 8 x x x 4 x x 5 6x x x 4 x, x, x x, x, x 4. Objective function: 4. Objective function: z 4x 5x z x x x x x x 5 x x 4 x x x, x 4 x, x 5. Objective function: 6. Objective function: z x 4x x x 4 z x 8x x 4x 5x 4 x x 6 x 6x 4x 5x 4 x x 8 x 4x 5x x 4 8 x 4x 48 x, x, x, x 4 x, x 4. Objective function: 8. Objective function: z x x x z x x x x x x 4 x x x 59 x x x 5 x x x 5 x x x x x 6x 54 x, x, x x, x, x 5 9. Objective function: z x x x 4 x x x x 4 4 x x x x 4 4 x, x, x, x 4 4. Objective function: z x x x x 4 x x x 4x 4 6 x x x 5x 4 5 x x x 6x 4 x, x, x, x 4
15 58 CHAPTER 9 LINEAR PROGRAMMING. A merchant plans to sell two models of home computers at costs of $5 and $4, respectively. The $5 model yields a profit of $45 and the $4 model yields a profit of $5. The merchant estimates that the total monthly demand will not exceed 5 units. Find the number of units of each model that should be stocked in order to maximize profit. Assume that the merchant does not want to invest more than $, in computer inventory. (See Exercise in Section 9..). A fruit grower has 5 acres of land available to raise two crops, A and B. It takes one day to trim an acre of crop A and two days to trim an acre of crop B, and there are 4 days per year available for trimming. It takes. day to pick an acre of crop A and. day to pick an acre of crop B, and there are days per year available for picking. Find the number of acres of each fruit that should be planted to maximize profit, assuming that the profit is $4 per acre for crop A and $5 per acre for B. (See Exercise in Section 9..). A grower has 5 acres of land for which she plans to raise three crops. It costs $ to produce an acre of carrots and the profit is $6 per acre. It costs $8 to produce an acre of celery and the profit is $ per acre. Finally, it costs $4 to produce an acre of lettuce and the profit is $ per acre. Use the simplex method to find the number of acres of each crop she should plant in order to maximize her profit. Assume that her cost cannot exceed $,. 4. A fruit juice company makes two special drinks by blending apple and pineapple juices. The first drink uses % apple juice and % pineapple, while the second drink uses 6% apple and 4% pineapple. There are liters of apple and 5 liters of pineapple juice available. If the profit for the first drink is $.6 per liter and that for the second drink is $.5, use the simplex method to find the number of liters of each drink that should be produced in order to maximize the profit. 5. A manufacturer produces three models of bicycles. The time (in hours) required for assembling, painting, and packaging each model is as follows. Model A Model B Model C Assembling.5 Painting.5 Packaging.5.5 The total time available for assembling, painting, and packaging is 46 hours, 495 hours and 5 hours, respectively. The profit per unit for each model is $45 (Model A), $5 (Model B), and $55 (Model C). How many of each type should be produced to obtain a maximum profit? 6. Suppose in Exercise 5 the total time available for assembling, painting, and packaging is 4 hours, 5 hours, and 5 hours, respectively, and that the profit per unit is $48 (Model A), $5 (Model B), and $5 (Model C). How many of each type should be produced to obtain a maximum profit?. A company has budgeted a maximum of $6, for advertising a certain product nationally. Each minute of television time costs $6, and each onepage newspaper ad costs $5,. Each television ad is expected to be viewed by 5 million viewers, and each newspaper ad is expected to be seen by million readers. The company s market research department advises the company to use at most 9% of the advertising budget on television ads. How should the advertising budget be allocated to maximize the total audience? 8. Rework Exercise assuming that each onepage newspaper ad costs $,. 9. An investor has up to $5, to invest in three types of investments. Type A pays 8% annually and has a risk factor of. Type B pays % annually and has a risk factor of.6. Type C pays 4% annually and has a risk factor of.. To have a wellbalanced portfolio, the investor imposes the following conditions. The average risk factor should be no greater than.5. Moreover, at least onefourth of the total portfolio is to be allocated to Type A investments and at least onefourth of the portfolio is to be allocated to Type B investments. How much should be allocated to each type of investment to obtain a maximum return?. An investor has up to $45, to invest in three types of investments. Type A pays 6% annually and has a risk factor of. Type B pays % annually and has a risk factor of.6. Type C pays % annually and has a risk factor of.8. To have a wellbalanced portfolio, the investor imposes the following conditions. The average risk factor should be no greater than.5. Moreover, at least onehalf of the total portfolio is to be allocated to Type A investments and at least onefourth of the portfolio is to be allocated to Type B investments. How much should be allocated to each type of investment to obtain a maximum return?. An accounting firm has 9 hours of staff time and hours of reviewing time available each week. The firm charges $ for an audit and $ for a tax return. Each audit requires hours of staff time and hours of review time, and each tax return requires.5 hours of staff time and.5 hours of review time. What number of audits and tax returns will bring in a maximum revenue?
16 SECTION 9.4 THE SIMPLEX METHOD: MINIMIZATION 59. The accounting firm in Exercise raises its charge for an audit to $5. What number of audits and tax returns will bring in a maximum revenue? In the simplex method, it may happen that in selecting the departing variable all the calculated ratios are negative. This indicates an unbounded solution. Demonstrate this in Exercises and 4.. (Maximize) 4. (Maximize) Objective function: Objective function: z x x z x x x x x x x x 4 x x 5 x, x x, x 5 If the simplex method terminates and one or more variables not in the final basis have bottomrow entries of zero, bringing these variables into the basis will determine other optimal solutions. Demonstrate this in Exercises 5 and (Maximize) 6. (Maximize) Objective function: Objective function: z.5x z x x x x 5x 5 x x 5x x x x 5 x, x x, x C. Use a computer to maximize the objective function z x x 6x 4x 4 subject to the constraints.x.x.8x.5x 4 65.x.x.8x.x x.x.x.4x 4 8 where x, x, x, x 4. C 8. Use a computer to maximize the objective function z.x x x x 4 subject to the same set of constraints given in Exercise. 9.4 THE SIMPLEX METHOD: MINIMIZATION In Section 9., we applied the simplex method only to linear programming problems in standard form where the objective function was to be maximized. In this section, we extend this procedure to linear programming problems in which the objective function is to be minimized. A minimization problem is in standard form if the objective function... w c x c x c n x n is to be minimized, subject to the constraints a x a x... a n x n b a x a x... a n x n b a m x a m x... a mn x n b m. where x i and b i. The basic procedure used to solve such a problem is to convert it to a maximization problem in standard form, and then apply the simplex method as discussed in Section 9.. In Example 5 in Section 9., we used geometric methods to solve the following minimization problem.
7.4 Linear Programming: The Simplex Method
7.4 Linear Programming: The Simplex Method For linear programming problems with more than two variables, the graphical method is usually impossible, so the simplex method is used. Because the simplex method
More informationLinear Programming
97887_9.qp // 9 9. 9. 9. 9. 9.5 7:6 AM Page Linear Programming Sstems of Linear Inequalities Linear Programming Involving Two The Simple Method: Maimization The Simple Method: Minimization The Simple Method:
More informationThe Simplex Method. What happens when we need more decision variables and more problem constraints?
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving two decision variables and relatively few problem
More informationChapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints
Chapter 6 Linear Programming: The Simplex Method Introduction to the Big M Method In this section, we will present a generalized version of the simplex method that t will solve both maximization i and
More informationCHAPTER 17. Linear Programming: Simplex Method
CHAPTER 17 Linear Programming: Simplex Method CONTENTS 17.1 AN ALGEBRAIC OVERVIEW OF THE SIMPLEX METHOD Algebraic Properties of the Simplex Method Determining a Basic Solution Basic Feasible Solution 17.2
More information9.4 THE SIMPLEX METHOD: MINIMIZATION
SECTION 9 THE SIMPLEX METHOD: MINIMIZATION 59 The accounting firm in Exercise raises its charge for an audit to $5 What number of audits and tax returns will bring in a maximum revenue? In the simplex
More informationAlgebraic Simplex Method  Introduction Previous
Algebraic Simplex Method  Introduction To demonstrate the simplex method, consider the following linear programming model: This is the model for Leo Coco's problem presented in the demo, Graphical Method.
More informationLinear Inequalities and Linear Programming. Systems of Linear Inequalities in Two Variables
Linear Inequalities and Linear Programming 5.1 Systems of Linear Inequalities 5.2 Linear Programming Geometric Approach 5.3 Geometric Introduction to Simplex Method 5.4 Maximization with constraints 5.5
More informationChap 4 The Simplex Method
The Essence of the Simplex Method Recall the Wyndor problem Max Z = 3x 1 + 5x 2 S.T. x 1 4 2x 2 12 3x 1 + 2x 2 18 x 1, x 2 0 Chap 4 The Simplex Method 8 corner point solutions. 5 out of them are CPF solutions.
More informationUsing the Simplex Method in Mixed Integer Linear Programming
Integer Using the Simplex Method in Mixed Integer UTFSM Nancy, 17 december 2015 Using the Simplex Method in Mixed Integer Outline Mathematical Programming Integer 1 Mathematical Programming Optimisation
More information3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max
SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,
More informationSimplex Method. Introduction:
Introduction: In the previous chapter, we discussed about the graphical method for solving linear programming problems. Although the graphical method is an invaluable aid to understand the properties of
More informationThe Graphical Simplex Method: An Example
The Graphical Simplex Method: An Example Consider the following linear program: Max 4x 1 +3x Subject to: x 1 +3x 6 (1) 3x 1 +x 3 () x 5 (3) x 1 +x 4 (4) x 1, x 0. Goal: produce a pair of x 1 and x that
More informationSimplex method summary
Simplex method summary Problem: optimize a linear objective, subject to linear constraints 1. Step 1: Convert to standard form: variables on righthand side, positive constant on left slack variables for
More informationThe Simplex Solution Method
Module A The Simplex Solution Method A1 A2 Module A The Simplex Solution Method The simplex method is a general mathematical solution technique for solving linear programming problems. In the simplex
More informationPractical Guide to the Simplex Method of Linear Programming
Practical Guide to the Simplex Method of Linear Programming Marcel Oliver Revised: April, 0 The basic steps of the simplex algorithm Step : Write the linear programming problem in standard form Linear
More informationLinear Programming. March 14, 2014
Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1
More informationGraphical method. plane. (for max) and down (for min) until it touches the set of feasible solutions. Graphical method
The graphical method of solving linear programming problems can be applied to models with two decision variables. This method consists of two steps (see also the first lecture): 1 Draw the set of feasible
More informationLINEAR PROGRAMMING THE SIMPLEX METHOD
LINEAR PROGRAMMING THE SIMPLE METHOD () Problems involving both slack and surplus variables A linear programming model has to be extended to comply with the requirements of the simplex procedure, that
More information1 Solving LPs: The Simplex Algorithm of George Dantzig
Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.
More informationQuiz 1 Sample Questions IE406 Introduction to Mathematical Programming Dr. Ralphs
Quiz 1 Sample Questions IE406 Introduction to Mathematical Programming Dr. Ralphs These questions are from previous years and should you give you some idea of what to expect on Quiz 1. 1. Consider the
More informationThe Simplex Method. yyye
Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #05 1 The Simplex Method Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/
More informationChapter 15 Introduction to Linear Programming
Chapter 15 Introduction to Linear Programming An Introduction to Optimization Spring, 2014 WeiTa Chu 1 Brief History of Linear Programming The goal of linear programming is to determine the values of
More informationSpecial Situations in the Simplex Algorithm
Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the
More informationLINEAR PROGRAMMING P V Ram B. Sc., ACA, ACMA Hyderabad
LINEAR PROGRAMMING P V Ram B. Sc., ACA, ACMA 98481 85073 Hyderabad Page 1 of 19 Question: Explain LPP. Answer: Linear programming is a mathematical technique for determining the optimal allocation of resources
More informationSection Notes 3. The Simplex Algorithm. Applied Math 121. Week of February 14, 2011
Section Notes 3 The Simplex Algorithm Applied Math 121 Week of February 14, 2011 Goals for the week understand how to get from an LP to a simplex tableau. be familiar with reduced costs, optimal solutions,
More informationChapter 4: The Mechanics of the Simplex Method
Chapter 4: The Mechanics of the Simplex Method The simplex method is a remarkably simple and elegant algorithmic engine for solving linear programs. In this chapter we will examine the internal mechanics
More informationvalue is determined is called constraints. It can be either a linear equation or inequality.
Contents 1. Index 2. Introduction 3. Syntax 4. Explanation of Simplex Algorithm Index Objective function the function to be maximized or minimized is called objective function. E.g. max z = 2x + 3y Constraints
More informationLINEAR PROGRAMMING MODULE Part 2  Solution Algorithm
LINEAR PROGRAMMING MODULE Part 2  Solution Algorithm Name: THE SIMPLEX SOLUTION METHOD It should be obvious to the reader by now that the graphical method for solving linear programs is limited to models
More informationOPRE 6201 : 2. Simplex Method
OPRE 6201 : 2. Simplex Method 1 The Graphical Method: An Example Consider the following linear program: Max 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2
More information4.3 The Simplex Method and the Standard Maximization Problem
. The Simplex Method and the Standard Maximiation Problem Question : What is a standard maximiation problem? Question : What are slack variables? Question : How do you find a basic feasible solution? Question
More information0.1 Linear Programming
0.1 Linear Programming 0.1.1 Objectives By the end of this unit you will be able to: formulate simple linear programming problems in terms of an objective function to be maximized or minimized subject
More informationChapter 5.1 Systems of linear inequalities in two variables.
Chapter 5. Systems of linear inequalities in two variables. In this section, we will learn how to graph linear inequalities in two variables and then apply this procedure to practical application problems.
More informationLinear Programming Problems
Linear Programming Problems Linear programming problems come up in many applications. In a linear programming problem, we have a function, called the objective function, which depends linearly on a number
More informationLinear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.
1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that
More information4.4 The Simplex Method: NonStandard Form
4.4 The Simplex Method: NonStandard Form Standard form and what can be relaxed What were the conditions for standard form we have been adhering to? Standard form and what can be relaxed What were the
More informationLinear Programming: Chapter 5 Duality
Linear Programming: Chapter 5 Duality Robert J. Vanderbei October 17, 2007 Operations Research and Financial Engineering Princeton University Princeton, NJ 08544 http://www.princeton.edu/ rvdb Resource
More informationChapter 2 Solving Linear Programs
Chapter 2 Solving Linear Programs Companion slides of Applied Mathematical Programming by Bradley, Hax, and Magnanti (AddisonWesley, 1977) prepared by José Fernando Oliveira Maria Antónia Carravilla A
More information9.2 LINEAR PROGRAMMING INVOLVING TWO VARIABLES
86 CHAPTER 9 LINEAR PROGRAMMING 9. LINEAR PROGRAMMING INVOLVING TWO VARIABLES Figure 9.0 Feasible solutions Man applications in business and economics involve a process called optimization, in which we
More informationIEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2
IEOR 4404 Homework # Intro OR: Deterministic Models February 14, 011 Prof. Jay Sethuraman Page 1 of 5 Homework #.1 (a) What is the optimal solution of this problem? Let us consider that x 1, x and x 3
More informationSolving Systems of Linear Equations. Substitution
Solving Systems of Linear Equations There are two basic methods we will use to solve systems of linear equations: Substitution Elimination We will describe each for a system of two equations in two unknowns,
More informationDuality in Linear Programming
Duality in Linear Programming 4 In the preceding chapter on sensitivity analysis, we saw that the shadowprice interpretation of the optimal simplex multipliers is a very useful concept. First, these shadow
More informationSolving Linear Programs
Solving Linear Programs 2 In this chapter, we present a systematic procedure for solving linear programs. This procedure, called the simplex method, proceeds by moving from one feasible solution to another,
More information7.1 Modelling the transportation problem
Chapter Transportation Problems.1 Modelling the transportation problem The transportation problem is concerned with finding the minimum cost of transporting a single commodity from a given number of sources
More informationLinear Programming. April 12, 2005
Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first
More informationOutline. Linear Programming (LP): Simplex Search. Simplex: An ExtremePoint Search Algorithm. Basic Solutions
Outline Linear Programming (LP): Simplex Search Benoît Chachuat McMaster University Department of Chemical Engineering ChE 4G03: Optimization in Chemical Engineering 1 Basic Solutions
More informationSensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS
Sensitivity Analysis 3 We have already been introduced to sensitivity analysis in Chapter via the geometry of a simple example. We saw that the values of the decision variables and those of the slack and
More informationLecture 4 Linear Programming Models: Standard Form. August 31, 2009
Linear Programming Models: Standard Form August 31, 2009 Outline: Lecture 4 Standard form LP Transforming the LP problem to standard form Basic solutions of standard LP problem Operations Research Methods
More information3 Does the Simplex Algorithm Work?
Does the Simplex Algorithm Work? In this section we carefully examine the simplex algorithm introduced in the previous chapter. Our goal is to either prove that it works, or to determine those circumstances
More informationLinear Programming I
Linear Programming I November 30, 2003 1 Introduction In the VCR/guns/nuclear bombs/napkins/star wars/professors/butter/mice problem, the benevolent dictator, Bigus Piguinus, of south Antarctica penguins
More information1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.
Introduction Linear Programming Neil Laws TT 00 A general optimization problem is of the form: choose x to maximise f(x) subject to x S where x = (x,..., x n ) T, f : R n R is the objective function, S
More information56:171. Operations Research  Sample Homework Assignments Fall 1992 Dennis Bricker Dept. of Industrial Engineering University of Iowa.
56:171 Operations Research  Sample Homework Assignments Fall 1992 Dennis Bricker Dept. of Industrial Engineering University of Iowa Homework #1 (1.) Linear Programming Model Formulation. SunCo processes
More informationDefinition of a Linear Program
Definition of a Linear Program Definition: A function f(x 1, x,..., x n ) of x 1, x,..., x n is a linear function if and only if for some set of constants c 1, c,..., c n, f(x 1, x,..., x n ) = c 1 x 1
More informationLECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method
LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method Introduction to dual linear program Given a constraint matrix A, right
More information(a) Let x and y be the number of pounds of seed and corn that the chicken rancher must buy. Give the inequalities that x and y must satisfy.
MA 44 Practice Exam Justify your answers and show all relevant work. The exam paper will not be graded, put all your work in the blue book provided. Problem A chicken rancher concludes that his flock
More informationChapter 5: Solving General Linear Programs
Chapter 5: Solving General Linear Programs So far we have concentrated on linear programs that are in standard form, which have a maximization objective, all constraints of type, all of the right hand
More informationGeometry of Linear Programming
Chapter 2 Geometry of Linear Programming The intent of this chapter is to provide a geometric interpretation of linear programming problems. To conceive fundamental concepts and validity of different algorithms
More informationThe Transportation Problem: LP Formulations
The Transportation Problem: LP Formulations An LP Formulation Suppose a company has m warehouses and n retail outlets A single product is to be shipped from the warehouses to the outlets Each warehouse
More information4 UNIT FOUR: Transportation and Assignment problems
4 UNIT FOUR: Transportation and Assignment problems 4.1 Objectives By the end of this unit you will be able to: formulate special linear programming problems using the transportation model. define a balanced
More information4.6 Linear Programming duality
4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP. Different spaces and objective functions but in general same optimal
More informationReduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:
Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. left most nonzero entry) of a row is in
More informationI. Solving Linear Programs by the Simplex Method
Optimization Methods Draft of August 26, 2005 I. Solving Linear Programs by the Simplex Method Robert Fourer Department of Industrial Engineering and Management Sciences Northwestern University Evanston,
More informationmax cx s.t. Ax c where the matrix A, cost vector c and right hand side b are given and x is a vector of variables. For this example we have x
Linear Programming Linear programming refers to problems stated as maximization or minimization of a linear function subject to constraints that are linear equalities and inequalities. Although the study
More informationLinear Programming. Solving LP Models Using MS Excel, 18
SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting
More informationSUPPLEMENT TO CHAPTER
SUPPLEMENT TO CHAPTER 6 Linear Programming SUPPLEMENT OUTLINE Introduction and Linear Programming Model, 2 Graphical Solution Method, 5 Computer Solutions, 14 Sensitivity Analysis, 17 Key Terms, 22 Solved
More informationLecture notes 1: Introduction to linear and (mixed) integer programs
Lecture notes 1: Introduction to linear and (mixed) integer programs Vincent Conitzer 1 An example We will start with a simple example. Suppose we are in the business of selling reproductions of two different
More informationBy W.E. Diewert. July, Linear programming problems are important for a number of reasons:
APPLIED ECONOMICS By W.E. Diewert. July, 3. Chapter : Linear Programming. Introduction The theory of linear programming provides a good introduction to the study of constrained maximization (and minimization)
More informationUsing the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood
PERFORMANCE EXCELLENCE IN THE WOOD PRODUCTS INDUSTRY EM 8720E October 1998 $3.00 Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood A key problem faced
More information3y 1 + 5y 2. y 1 + y 2 20 y 1 0, y 2 0.
1 Linear Programming A linear programming problem is the problem of maximizing (or minimizing) a linear function subject to linear constraints. The constraints may be equalities or inequalities. 1.1 Example
More information1. LINEAR EQUATIONS. A linear equation in n unknowns x 1, x 2,, x n is an equation of the form
1. LINEAR EQUATIONS A linear equation in n unknowns x 1, x 2,, x n is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b, where a 1, a 2,..., a n, b are given real numbers. For example, with x and
More informationLinear Programming Supplement E
Linear Programming Supplement E Linear Programming Linear programming: A technique that is useful for allocating scarce resources among competing demands. Objective function: An expression in linear programming
More informationMath 018 Review Sheet v.3
Math 018 Review Sheet v.3 Tyrone Crisp Spring 007 1.1  Slopes and Equations of Lines Slopes: Find slopes of lines using the slope formula m y y 1 x x 1. Positive slope the line slopes up to the right.
More informationChapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach
Chapter 5 Linear Programming in Two Dimensions: A Geometric Approach Linear Inequalities and Linear Programming Section 3 Linear Programming gin Two Dimensions: A Geometric Approach In this section, we
More informationThe application of linear programming to management accounting
The application of linear programming to management accounting Solutions to Chapter 26 questions Question 26.16 (a) M F Contribution per unit 96 110 Litres of material P required 8 10 Contribution per
More information3.1 Graphing Systems of Linear Inequalities
3.1 Graphing Systems of Linear Inequalities An inequality is an expression like x +3y < 4 or 2x 5y 2. They look just like equations except the equal sign is replaced by one of ,,. An inequality does
More information10 Linear Programming
10 Linear Programming Learning Objectives: After studying this unit you will be able to: Formulate the Linear Programming Problem Solve the Linear Programming Problem with two variables using graphical
More informationIntroduction to Linear Programming and Graphical Method
Course: COMMERCE (CBCS) Subject: Business Mathematics Lesson: Introduction to Linear Programming and Graphical Method Authors Name: Dr. Gurmeet Kaur, Associate Professor, Daulat Ram College,University
More informationChapter 3 LINEAR PROGRAMMING GRAPHICAL SOLUTION 3.1 SOLUTION METHODS 3.2 TERMINOLOGY
Chapter 3 LINEAR PROGRAMMING GRAPHICAL SOLUTION 3.1 SOLUTION METHODS Once the problem is formulated by setting appropriate objective function and constraints, the next step is to solve it. Solving LPP
More informationLinear Programming Notes VII Sensitivity Analysis
Linear Programming Notes VII Sensitivity Analysis 1 Introduction When you use a mathematical model to describe reality you must make approximations. The world is more complicated than the kinds of optimization
More information1 Gaussian Elimination
Contents 1 Gaussian Elimination 1.1 Elementary Row Operations 1.2 Some matrices whose associated system of equations are easy to solve 1.3 Gaussian Elimination 1.4 GaussJordan reduction and the Reduced
More informationWhat is Linear Programming?
Chapter 1 What is Linear Programming? An optimization problem usually has three essential ingredients: a variable vector x consisting of a set of unknowns to be determined, an objective function of x to
More information4 Solving Systems of Equations by Reducing Matrices
Math 15 Sec S0601/S060 4 Solving Systems of Equations by Reducing Matrices 4.1 Introduction One of the main applications of matrix methods is the solution of systems of linear equations. Consider for example
More informationMTS OPERATIONS RESEARCH...
MTS 363  OPERATIONS RESEARCH... Dr.I.A.Osinuga Recommended Texts 1. Operations Research (an introduction) Handy A. Taha (3 rd Edition) 2. Optimization (Theory and applications) S.S. Rao 3. Principles
More information3.5 Reduction to Standard Form
3.5 Reduction to Standard Form 77 Exercise 344. Read the following statements carefully to see whether it is true or false. Justify your answer by constructing a simple illustrative example (for false),
More informationSECTION 81 Systems of Linear Equations and Augmented Matrices
86 8 Systems of Equations and Inequalities In this chapter we move from the standard methods of solving two linear equations with two variables to a method that can be used to solve linear systems with
More informationOperation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1
Operation Research Module 1 Unit 1 1.1 Origin of Operations Research 1.2 Concept and Definition of OR 1.3 Characteristics of OR 1.4 Applications of OR 1.5 Phases of OR Unit 2 2.1 Introduction to Linear
More informationLinear Systems and Gaussian Elimination
Eivind Eriksen Linear Systems and Gaussian Elimination September 2, 2011 BI Norwegian Business School Contents 1 Linear Systems................................................ 1 1.1 Linear Equations...........................................
More informationIntroduction to Linear Programming.
Chapter 1 Introduction to Linear Programming. This chapter introduces notations, terminologies and formulations of linear programming. Examples will be given to show how reallife problems can be modeled
More informationLinear Programming is the branch of applied mathematics that deals with solving
Chapter 2 LINEAR PROGRAMMING PROBLEMS 2.1 Introduction Linear Programming is the branch of applied mathematics that deals with solving optimization problems of a particular functional form. A linear programming
More informationLecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method
Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming
More information2.5 Gaussian Elimination
page 150 150 CHAPTER 2 Matrices and Systems of Linear Equations 37 10 the linear algebra package of Maple, the three elementary 20 23 1 row operations are 12 1 swaprow(a,i,j): permute rows i and j 3 3
More informationLecture 2: August 29. Linear Programming (part I)
10725: Convex Optimization Fall 2013 Lecture 2: August 29 Lecturer: Barnabás Póczos Scribes: Samrachana Adhikari, Mattia Ciollaro, Fabrizio Lecci Note: LaTeX template courtesy of UC Berkeley EECS dept.
More informationLinear Programming: Introduction
Linear Programming: Introduction Frédéric Giroire F. Giroire LP  Introduction 1/28 Course Schedule Session 1: Introduction to optimization. Modelling and Solving simple problems. Modelling combinatorial
More informationSolving Systems of Linear Equations
LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how
More informationChapter 4: Systems of Equations and Ineq. Lecture notes Math 1010
Section 4.1: Systems of Equations Systems of equations A system of equations consists of two or more equations involving two or more variables { ax + by = c dx + ey = f A solution of such a system is an
More informationSolving Systems of Linear Equations Using Matrices
Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.
More informationComponents of LP Problem. Chapter 13. Linear Programming (LP): Model Formulation & Graphical Solution. Introduction. Components of LP Problem (Cont.
Chapter 13 Linear Programming (LP): Model Formulation & Graphical Solution Components of LP Problem Decision Variables Denoted by mathematical symbols that does not have a specific value Examples How much
More information56:171 Operations Research Midterm Exam Solutions Fall 2001
56:171 Operations Research Midterm Exam Solutions Fall 2001 True/False: Indicate by "+" or "o" whether each statement is "true" or "false", respectively: o_ 1. If a primal LP constraint is slack at the
More informationThe Canonical and Dictionary Forms of Linear Programs
The Canonical and Dictionary Forms of Linear Programs Recall the general optimization problem: Minimize f(x) subect to x D (1) The real valued function f is called the obective function, and D the constraint
More informationLinear Programming: Theory and Applications
Linear Programming: Theory and Applications Catherine Lewis May 11, 2008 1 Contents 1 Introduction to Linear Programming 3 1.1 What is a linear program?...................... 3 1.2 Assumptions.............................
More information