Linear programming. Learning objectives. Theory in action

Size: px
Start display at page:

Download "Linear programming. Learning objectives. Theory in action"

Transcription

1 2 Linear programming Learning objectives After finishing this chapter, you should be able to: formulate a linear programming model for a given problem; solve a linear programming model with two decision variables graphically; solve linear programming models using Ecel s Solver; understand the information provided in a sensitivity analysis; and understand how primal and dual problems relate to each other. Theory in action Since the late 194s, linear programming models have been used for many different purposes. Airline companies apply these models to optimise their use of planes and staff. NASA has been using them for many years to optimise their use of limited resourses. Oil companies use them to optimise their refinery operations. Small and medium-sized businesses use linear programming to solve a huge variety of problems, often involving resource allocation. Typical optimisation problems maimise or minimise the value of a given variable (such as profit, total costs, etc.) when other specified variables (production capacity, required product quantities, etc.) are constrained. The field of mathematical program ming includes a number of optimisation methods, each described by a mathematical model. In such a model, there is one epression the objective function that should be maimised or minimised (or in some cases set to a desired value). In addition, the model must include constraints that are described by mathematical epressions. 5

2 Chapter 2 Linear programming The most widely used models include only linear relationships, and belong to the field of linear programming. In such models both the objective function and the constraints are linear mathematical epressions. Let s illustrate this with an eample: Sygitron, a television manufacturer, has decided to produce and sell two different types of TV sets, one small (product 1) and one big (product 2). They assume that product 1 will give a profit of $3 per unit and product 2 a profit of $5 per unit. Sygitron has one production plant with four departments: moulding, soldering, assembly and inspection. Each TV set is processed in sequence through these four departments. Each department has a limited capacity given by a maimum number of working hours per year. We assume Sygitron can sell all the TV sets they are able to produce (the market is not a restriction). The problem to be solved is that Sygitron wants to maimise its total profit by finding the optimal use of its limited production capacity. To find out how this should be done, we need to know both how many production hours each TV set uses in each department, and the total capacity of each department. This information is shown in Table 2.1. Table 2.1 Time consumption and capacity in Sygitron departments Dept. Hours used by one unit of product 1 Hours used by one unit of product 2 Capacity in hours per year Moulding Soldering 1 1 Assembly 2 Inspection At this point, with all necessary information provided, we can formulate the problem as a mathematical model. First, we define the decision variables: number of product 1 produced per year (small TV sets). 2 number of product 2 produced per year (big TV sets). Net, we formulate the objective function, which is given the symbol Z. In this case, we need an equation for calculating the total profit per year: Z Total profit per year is (profit per unit of product 1) (number of product 1 produced per year) (profit per unit of product 2) (number of product 2 produced 6

3 Graphical solution of a maimisation problem per year). The objective is to maimise Z without eceeding the capacity of any of the four depart ments. These capacities are formulated as mathematical epressions called constraints: Moulding Soldering Assembly Inspection (2.1) The last equation for the inspection department says that the time used per year, which is (2 hours per unit of product 1) (number of product 1 per year) (5 hours per unit of product 2) (number of product 2 per year), must not eceed the limit of 5 hours. In addition, you must remember that the decision variables have their own constraints. Since it is impossible to produce a negative number of products, and 2 are required. Now the entire mathematical model can be presented: Maimise Constraints: Moulding Soldering Assembly Z = Inspection , (2.2) The objective is to find the maimum value of Z, subject to the given constraints. How should this be done? The answer is by using a computer program. This subject will be discussed in Section 2.3. First, to help you to understand the theory of linear program ming better, we will study a graphical solution of this problem. 2.1 Graphical solution of a maimisation problem When mathematical programming is used to solve genuine problems, models usually contain many variables, sometimes more than fifty. Therefore, computer solutions are the only viable way to go in real life. The problem described by equation 2.2 contains only two variables, and 2. In such a simple eample, it is possible to show all equa tions involving 2 as functions of in a coordinate system. If we rewrite the constraints in equation 2.2 as equations, we obtain the following capacity lines: 7

4 Chapter 2 Linear programming Moulding Soldering Assembly Inspection + 5 = 4 + = = = 5 (2.3) These equations epress the linear combinations of and 2 that occupy the maimum capacities in each of the four departments. The capacity lines are shown in Figure 2.1. The constraints in equation 2.2 tell us that the values of and 2 must lie below all of the capacity lines. These capacity lines, and the constraints, 2, define a feasible region shown as the shaded area in Figure 2.2. Combinations of and 2 within the fea sible region are the only ones possible. In this case the feasible region is defined by only three capacity lines and, 2. Note that the inspection department s capacity is not fully used for any combination of and Assembly Moulding Inspection Soldering Figure 2.1 Capacity lines for Sygitron departments Moulding 6 Soldering Feasible region Figure 2.2 Feasible region for Sygitron Assembly Now, the challenge is to find the combina tion of and 2 within the feasible region that maimises the objective function (maimises total profit): 8 Z 3 5 2

5 Graphical solution of a maimisation problem For a given value of Z, this equation epresses linear combinations of and 2. In our eample we may call this a profit line, but the general name is objective function line. In Figure 2.3 the objective function line for Z $2 is drawn. The line lies within the feasible region and illustrates all combinations of and 2 that gives a total profit of $2. A higher value of Z gives an objective function line at a higher level as shown for Z $ Optimal solution Z = $3 Z = $2 Figure 2.3 Optimal solution for Sygitron The figure shows that objective function lines represent higher values for the objec tive function as the lines are displaced parallel to each other at higher levels. But the optimal solution must be a part of the feasible region. Figure 2.3 shows that as we move the objective function line outwards, the last contact with the feasible region is the cor ner point made up between the two capacity lines for the moulding and the soldering departments. The optimal solution is given by the two equations: Moulding Soldering + 5 = 4 = = 12 = 7 2 Optimal total profit is calculated from the objective function: Z $5 At this point we realise that the optimal solution is dependent both on the feasible region and the objective function. If the slope of the objective function line changes, we may get a new optimal solution. In our eample the slope is 3/5: } (2.4) 3 Z Z = = (2.5) If profit changes to $5 per unit for product 1 and to $2 per unit for product 2, the objective function line changes to: 5 Z Z = = (2.6) 9

6 Chapter 2 Linear programming With this slope the optimal solution will be 1 and 2, as indicated by the dot ted line in Figure 2.3. When a computer solves a linear programming problem, it starts somewhere in the feasible region and searches for the optimal solution. For the straightforward eamples in this book, such searches will end up in one of the corner points of the feasible region. The particular corner chosen depends on whether the objective function should be maimised or minimised. We can then solve the problem by calculating Z for the corner points of the feasible region (Figure 2.4). The result will still be corner point 2 with Z $5. Z = $ 3 + $ 5 8 = $ 4 1 Z = $ $ 5 7 = $ 5 2 Z = $ $ 5 4 = $ 44 3 Z = $ $ 5 = $ 3 4 Z = $ 3 + $ 5 = $ Figure 2.4 Corners of the feasible region Irregular problems Linear programming problems can in some cases show discrepancies. Let s take a look at some of them. Multiple optimal solutions In Figure 2.3 we saw that the optimal solution was determined by the slope of the objective function line. If this slope is identical to the slope of a constraint line, an interesting situation occurs. Let s assume that profit per unit is $5 for both products. The objective function line can then be written: Z Z = = (2.7) 1

7 Irregular problems The slope is 1. Figure 2.5 shows that when we move the objective function line outwards, the last contact between the feasible region and the objective function line is the line between corner points 2 and 3. This makes sense since the slope of the capacity line for the soldering department is also 1: + = = (2.8) Moulding 2 Figure 2.5 Multiple optimal solutions Soldering 3 Assembly The conclusion must be that all combinations of and 2 on the line between corner points 2 and 3 are optimal solutions, and give the same maimum value of Z. We come to the same conclusion when applying the method illustrated in Figure 2.4. Corner points 2 and 3 give the same optimal solutions: Z 2 $5 5 $5 7 $6 Z 3 $5 8 $5 4 $6 Redundancy If you compare Figure 2.1 and Figure 2.2, you will see that capacity in the inspection department is not a constraint in this problem. As a redundant constraint, it has no influence on the feasible region and can not be part of an optimal solution. Regardless of the optimal solution, the inspection department will always have some free capacity. Infeasibility Infeasibility occurs when no solution satisfies all of the model s constraints. In other words, no feasible region eists. We get such a situation if we add the constraint 2 1 to our Sygitron eample. If we look at Figure 2.2, it is obvious that not all the constraints can be satisfied at the same time. 11

8 Chapter 2 Linear programming Unboundedness Some problems might not have enough constraints to define one specific optimal solution. Assume the following objective function and constraints: Maimise Z = Constraints: , (2.9) Figure 2.6 illustrates that since the objective function should be maimised, and the constraints are of the category, Z approaches infinity. This means that no optimal solution eists for this problem. The solution is unbounded Z = Figure 2.6 Unbounded problem Computer solutions Linear programming problems should generally be solved by a computer (Section 2.1 is included solely for pedagogic reasons). Many software manufacturers offer linear programming packages, for instance AIMMS, AMPL, GAMS, LINDO, XA and XPRESS. This book demonstrates eamples in Ecel only. Computer software solves problems in mathematical programming by applying different algorithms. For a simple linear programming problem, like the eample in Section 2.1, a computer would use the simple method. The various algorithms for mathematical programming problem solving will not be discussed in this book. The eample in Section 2.1 could be solved by using a graphical method, since it involved only two decision variables. Imagine a problem with five decision variables. It would be impossible to solve such a problem graphically since it would involve drawing a figure in five dimensions! The only practical alternative is to use a computer. 12

9 Computer solutions Let us re-eamine the simple eample earlier in the chapter and study an Ecel solution. The mathematical model and the Ecel spreadsheet are shown in Figure 2.7. The cells B5 and C5 are reserved for the values of and 2. In cells B6 and C6 we write the parameters for the objective function (profit per unit). Cell D6 contains a formula for the objective function, B6*B5 C6*C5. Linear programming models usually include more than two decision variables. To avoid unreasonably long formulas, we use the Ecel standard function SUMPRODUCT. Maimise Z = Constraints: , 2 Figure 2.7 Ecel spreadsheet for a linear programming model Our intention is to tell Ecel to maimise the value in cell D6 by changing the values in cells B5 and C5. Before this can be done, however, the constraints must be included. For the moulding department constraint, we write the parameters for and 2 in cells B9 and C9 respectively. The formula SUMPRODUCT (B9:C9;$B$5:$C$5) is then written in cell D9. In cell F9 we write 4 which is 13

10 Chapter 2 Linear programming the right side of the constraint. Constraints for the other three departments are included in a similar manner. (We use the $-sign in this manner in order to copy the formula correctly to the cells D1 D12.) We are ready to solve the problem. If you use an old version of Ecel, bring down the Tools window from the toolbar and select Solver. In Ecel 27, choose the Data -flag and select Solver. The Solver dialogue bo will now appear as shown in Figure 2.8. Cell D6, containing the formula for the objective function, should be defined as the target cell. Then click Ma to indicate that the value of the objective function should be maimised. You want Ecel to do this by changing cells B5:C5. Insert those references as shown in the figure. Figure 2.8 Solver Parameters dialogue bo To include the constraints click Add. A new dialogue bo for adding constraints appears as shown in Figure 2.9. Insert the cell reference for the left side of the constraint under Cell Reference, and the cell reference for the right side of the constraint under Constraint. This can be done one constraint at a time. In this case, where all constraints are of the same type, all cell references can Figure 2.9 Add Constraint dialogue bo 14

11 Computer solutions be put in simultaneously as shown in the figure. Go back to the Solver Parameter dialogue bo by clicking OK. Before solving the problem we must activate the options dialogue bo by clicking Options. An options dialogue bo like that in Figure 2.1 appears. Click Assume Linear Model and Assume Non-Negative. The second action is made to add the two constraints, 2. (These constraints can also be added in the constraint adding dialogue bo.) Click OK. Figure 2.1 Solver Options dialogue bo Solver now has all the necessary information to solve the problem. Click Solve in the Solver Parameter dialogue bo. The Solver Results dialogue bo appears, as shown in Figure In this dialogue bo you can click and request three different reports. The sensitivity report is the most essential, and will be discussed further in Section 2.6. Click OK to activate. Figure 2.11 Solver Results dialogue bo 15

12 Chapter 2 Linear programming The solution of the problem results in the return of the value 5 in cell B5 and of 7 in cell C5 (see Figure 2.7). This is consistent with the result from Section Graphical solution of a minimisation problem For some problems the aim is to minimise the value of the objective function. One eample is minimisation of total costs. Let s consider the following problem: Minimise Constraints: A B Z = C + 2 1, (2.1) The constraints are of the two categories and. This results in the feasible region shown in Figure A C Feasible region 2 B Figure 2.12 Feasible region In a minimisation problem the objective function lines are displaced parallel to each other at lower levels as Z is minimised. Figure 2.13 shows that as the objective function line is moved inwards, the last contact with the feasible region is corner point 1. The optimal solution is given by the intersection between the constraint lines A and C: A + = 6 = 2 1 (2.11) C + 2 = 1 = 4 2 The problem can also be solved by calculating Z for the three corner points of the feasible region. Corner point 1 represents the minimum of the objective function: } 16

13 Slack variables Z Z Z z = 16 z = 12 6 z = Figure 2.13 Optimal solution for a minimisation problem 2.5 Slack variables The graphical solution in Section 2.1 showed that the optimal solution, 5 and 2 7, was given by the capacities in the moulding and soldering departments (see Figure 2.3). These constraints are then said to be binding since their capacities are fully utilised. The rest of the constraints are not binding, which means they have unused capacity. Capacity left over in the four departments can be calculated as the difference between available and used capacity: Moulding 4 ( )= Soldering ( 5 + 7)= Assembly 2 ( )= 3 Inspection 5 ( )= 5 (2.12) The unused capacity for a particular constraint is often referred to as its slack. The slack of the four constraints in our eample can also be read from the answer report shown in Figure Figure 2.14 Answer report 17

14 Chapter 2 Linear programming The unused capacity in a constraint is often referred to as a slack variable. When all the slack variables are symbolised with S i, the mathematical model can be epressed in standard form: Maimise S + S + S + S 3 4 Constraints: Moulding S = 4 1 Soldering + + S = 2 Assembly S = 2 3 Inspection S = 5 4,, S, S, S, S 3 4 (2.13) In the objective function all slack variables are given zero as coefficients, since unused capacity makes no contribution to profit. In the minimisation problem of Section 2.4 the optimal solution was given by constraints A and C (equation 2.1). Constraint B was of the type, a condition that was more than fulfilled. Such constraints are termed surplus variables and are defined as the ecess above the minimum requirement. At the optimal solution the left side of the constraint is , which is 6 more than the constraint of 12. The value of the surplus variable is then 6. Surplus variables and slack variables must have opposite signs. The minimisation eample (equation 2.1) on a standard form will be: Minimise Constraints: A B C S + S + S S = S = S = 1,, S, S 2,S 3 (2.14) 2.6 Sensitivity analysis Sensitivity analysis is the study of how changes in model parameters affect the optimal solution. In Ecel this information is provided in the sensitivity report. Let s take a closer look at some of the effects of various parameter changes. Objective function coefficient ranges For our eample, we saw in Figure 2.3 that the optimal solution was given by the slope of the objective function line. With the given slope: 18

15 Sensitivity analysis 3 Z Z = = (2.15) the solution was determined by the intersection between the two capacity lines for the moulding and soldering departments: = 4 = = = (2.16) As long as the slope for the objective function line lies between the slopes for these two capacity lines, the optimal solution will not change (see Figure 2.15). Assume that the slope of the objective function line is given by the following coefficients and that the objective function line can be formulated as: C Z C C C Z 1 = + = (2.17) MouldingSoldering 2 Feasible region Figure 2.15 Ranges for one objective function coefficient If we insist that the slope for the objective function line lies between the slopes for the two capacity lines, the following requirement must be fulfilled: C 1 1 C C 5 5 C 2 2 (2.18) If one coefficient is held constant, let s say C 2 5, the epression can be written: 1 C1 1 1 C (2.19) This means that in the objective function Z C 1 5 2, the value C 1 must be kept between 1 and 5 to keep the optimal solution in corner point 2 (Figure 2.15). If C 1 moves outside these limits, a new optimal solution will occur. 19

16 Chapter 2 Linear programming If C 1 1, the optimal solution changes to corner point 1 with and 2 8. If C 5, the optimal solution changes to corner point 3 with and 2 4. If we go through the same procedure for C 2, we find the following limits: 3 C In Ecel, the sensitivity report tells how much the objective function coefficients can change without affecting the optimal solution. As shown in Figure 2.16, the limits for the coefficients are presented as objective coefficients with allowable increases and decreases. The limits for C 2 can be calculated as and Figure 2.16 Sensitivity report Reduced costs The sensitivity report in Figure 2.16 also includes reduced costs for the two objective function coefficients. A reduced cost tells us how much an objective function coefficient must be improved before the corresponding decision variable gets a value different from zero. In our eample, and 2 have values different from zero, and both reduced costs are. If we change the objective function in our eample to: Z then the optimal solution will be and 2 8. (Try this yourself.) The sensitivity analysis will then show a reduced cost 2 for the objective coefficient of. The objective coefficient in this eample is profit and is shown as a negative value when presented as a cost. Profit per unit must be increased by $2 for product 1 to make it profitable. 2

17 Sensitivity analysis Shadow prices From Figures , 2.3, it is obvious that capacity changes in the moulding or soldering department will result in new optimal solutions. We understand that any increased capacity in one of these departments will increase maimum profit. Let us assume that capacity in the soldering department is increased by 1 hours per year to a total of 1 3 hours per year. The new capacity line for this department will be: As indicated in Figure 2.17, the feasible region epands. As the objective function line is moved outwards, a new optimal solution is defined by the two capacity lines for the moulding and soldering departments: Moulding Soldering + 5 = 4 = = 13 = } (2.2) 2 1 Objective function line New capacity line for soldering department 8 6 New optimal solution Figure 2.17 New optimal solution for Sygitron Total profit will be: Z $3 625 $5 675 $525 This represents an increase of $25 compared to a total profit per year of $5 using the old capacity in the soldering department. A capacity increase of 1 hours per year in the soldering department results in a total profit increase of $25. Profit increase per hour capacity increase is: $ 25 $ 25 hour 1 hours 1 (2.21) Since one hour capacity increase results in $25 profit increase, we are willing to pay up to $25 for one hour capacity increase in the soldering department. The shadow price for the soldering department is then $25. 21

18 Chapter 2 Linear programming The sensitivity report in Figure 2.16 indicates that shadow prices for the assembly and inspection departments are. This is obvious, since these constraints are not binding, and the departments have unused capacity. Increased capacity has no value for these departments. Ecel defines a shadow price as the amount by which the objective function value changes when the corresponding constraints right side increases by one unit. For the minimisation problem in Section 2.4 shadow prices for the two binding constraints 2 6 and will be 3 and 1, respectively, in the Ecel sensitivity report. If the right side of the constraint is increased from 6 to 7, Z moves in the same direction, and increases from 8 to 11. If the right side of the constraint is increased from 1 to 11, Z moves in the opposite direction, and is reduced from 8 to 7. Other software may use other conventions for the signs of shadow prices. Irrespective of software, the following definition should always lead to a proper interpretation. The absolute value of a shadow price indicates the amount by which the objective function will be improved when the corresponding constraint is lessened by one unit. A constraint is lessened by decreasing its right side, and a constraint is lessened by increasing its right side. Constraint quantity value ranges As capacity in the soldering department is increased, the capacity line is displaced outwards and new optimal solutions occur (Figure 2.17). If this capacity is increased sufficiently, the soldering department will get free capacity (and shadow price ). As illustrated in Figure 2.18, this constraint will no longer be binding and the optimal solution will be given by the intersection of the capacity lines for the moulding and assembly departments. Another aspect of the sensitivity analysis is to show precisely how much these constraints can change before these new situations arise. The sensitivity report in Figure 2.16 indicates the range for each constraint, telling how much the constraint can be changed in both directions before its 2 1 Objective function line Soldering 8 6 Moulding Assembly Figure 2.18 New optimal solution for Sygitron 22

19 Duality shadow price changes. This is presented as Constraint R.H. Side with Allowable Increase and Allowable Decrease. For the soldering department the range is defined by the two values: The two corner points defined by these two limits are illustrated in Figure Objective function line Soldering 8 Moulding Assembly Figure 2.19 Constraint quantity value ranges for the soldering department In the original optimal solution (Figure 2.3) the assembly department is not binding. It does not define the optimal solution and has a shadow price. The sensitivity report in Figure 2.16 indicates that the range of this constraint is between 1 7 hours and infinity. This is obvious. An increase in capacity will never alter the situation because the assembly department is not binding in the first place. On the other hand, if capacity is reduced to 1 7 hours, the constraint will become binding. Other forms of sensitivity analysis Other changes in a model that affect the value of the objective function must be investigated manually in Ecel. These include changes of parameter values on the left side of a constraint, additional constraints, additional decision variables, etc. To study these effects, you need to solve the problem again after introducing any changes. 2.7 Duality Every linear programming problem, called a primal problem, can be converted into a dual problem. Let s return to the Sygitron eample and denote this as the primal problem: 23

20 Chapter 2 Linear programming Maimise Constraints: Moulding Soldering Assembly Z = Inspection , (2.22) This primal problem can be converted into a dual problem. The dual problem appears when we rotate the primal problem a half turn around a diagonal and imaginary ais going upwards to the right. The decision variables in the dual problem are designated by u 1,..., u 4. Minimise Z = 4u + u + 2 u + 5u Constraints: Product 1 Product u + u + 2u + 2u u + u + u + 5u 5 3 u, u, u, u (2.23) We notice that the values on the right side of the constraints in the primal problem 2.22, turn into parameters in the objective function in the dual problem The parameters 1, 1, 2 and 2 before at the left side of the constraints in the primal problem, turns into the left-side parameters for the first constraint in the dual problem. The second constraint in the dual problem is formulated in a similar manner from the parameters before 2 at the left side of the constraints in the primal problem. Since 2.23 is the dual problem of 2.22, then 2.22 is the dual problem of The number of decision variables in the dual problem is always equal to the number of constraints in the primal problem, and vice versa. If the primal is a maimisation problem, the dual will be a minimisation problem, and vice versa. The primal problem 2.22 is a maimisation problem with constraints of the type and decision variables that are equal to or greater than zero. Such a problem is said to be in canonical form (standard form). The corresponding dual problem 2.23 is also in canonical form, which results in constraints of the type. We will not eplain why this is so, but rather refer to more comprehensive tetbooks such as Dantzig and Thapa. If the primal problem has a bounded solution, the dual problem will have a corresponding solution. The value of the objective functions will be the same for the solutions of the primal and the dual problem. For these solutions, the values of the decision variables in the dual problem equals the shadow prices in the primal problem, and vice versa. This means that finding the optimal solution of the dual problem is the same as finding the optimal use of available resources. In 24

21 Duality optimal solutions, slack in constraints in the dual problem equals reduced costs in the decision variables of the primal problem, and vice versa. Sensitivity reports for the primal problem 2.22 and the dual problem 2.23 are given in Figure 2.16 and Figure 2.2 respectively. The two reports are summarised in Table 2.2. In optimal solutions, the decision variables in the dual problem have the same values as the shadow prices in the primal problem, and vice versa. In Figure 2.2, the slack for a constraint is calculated as Constraint R.H. Side minus Final Value. Table 2.2 also shows that slack for constraints in the primal problem equals reduced costs in the dual problem, and vice versa. Figure 2.2 Sensitivity report for the Sygitron dual problem Table 2.2 Results for the primal and dual problem of the Sygitron eample Primal problem Dual problem Solutions 5, 2 7 u 1 5, u 2 25, u 3, u 4 Shadow prices Moulding 5, Soldering 25, Product 1 5, product 2 7 Assembly, Inspection Slack Moulding, Soldering, Product 1, product 2 Assembly 3, Inspection 5 Reduced costs For, for 2 For u 1, for u 2, for u 3 3, for u 4 5 The solution of the primal problem can also be found from the solution and the sensitivity analysis of the dual problem. For the Sygitron eample, we see in Figure 2.2 that for the dual problem, only u 1 and u 2 have values different from zero. This means that the only constraints with shadow prices different 25

22 Chapter 2 Linear programming from zero, is moulding and soldering. These two constraints define the optimal solution: Moulding Soldering + 5 = 4 = = 12 = } (2.24) The same values can also be found directly from the shadow prices for the two constraints in the dual problem. The dual problem minimises alternative cost The values of the decision variables in an optimal solution for a dual problem will always be equal to the shadow prices for the primal problem. In the optimal solution for the Sygitron eample, a shadow price equals the reduction of total profit per year when capacity is reduced by one hour per year in a department. If capacity in the soldering department is reduced by one hour, total profit is reduced by $25. In the moulding department, one hour reduced capacity results in $5 of reduced profit. In the assembly department one hour reduced capacity doesn t influence profit, since the shadow price is. A shadow price can be interpreted as the alternative cost of using one hour of capacity, i.e. the cost of using a limited resource. Minimising the objective function in a dual problem means minimising the total alternative cost of using the limited resources. Thus the available resources are used in an optimal way. The primal problem 2.22 tells us that product 1 contributes with a profit of $3 per unit. In the dual problem 2.23, this value appears as the right side of the first constraint. The parameters before u 1,..., u 4 on the left side of the same constraint, are the same as the parameters before in the constraints for the primal problem. Then the left side of the first constraint in the dual problem represents the value of using the resources to produce something other than product 1. In this case the only alternative is product 2. If the value of this left side eceeds the right side in the optimal solution, the resources should not be applied for producing product 1, since alternative applications result in higher profit. Such an incident, with left side right side for the first constraint in the dual problem, means slack for the constraint. This slack represents reduced cost for product 1. In the Sygitron eample, the left side equals the right side in the constraint. Then the resources are used in an optimal way, reduced cost equals, and product 1 should be produced. Let s illustrate the same points again by changing the Sygitron eample so that product 1 contributes only $8 per unit. The constraints are unchanged, but the objective function changes to: 26 Maimise Z The optimal solution of this primal problem is and 2 8, illustrated by point B in Figure The sensitivity analysis in Ecel shows that reduced costs for and 2 are 2 and respectively.

23 Conclusions B 2 Moulding A Soldering Assembly Figure 2.21 Feasible region for the Sygitron eample The corresponding solution of the dual problem is u 1 1 and u 2 u 3 u 4. In this optimal solution, the two constraints in the dual problem show that: Product 1 u + u + 2u + 2u Product 2 5u + u + u + 5u (2.25) The first constraint has a slack 1 8 2, equal to minus reduced cost for. Let s take a closer look at this point by studying alternative cost. If a product is produced, it is required that revenues costs when we use the resources on this product instead of the alternatives. The optimal solution of the primal problem is point B in Figure 2.21 with and 2 8. Here, only the capacity of the moulding department is fully utilised, with a shadow price of $1 per hour. The cost of using the moulding department time resources for producing one unit of product 1, is the time consumed by one unit multiplied by the shadow price: 1 hour $1 hour 1 $1. This is more than the profit of $8 per unit. Then the resources should not be used for producing product 1. We see that profit per unit of product 1 must increase by $2 before product 1 should be set into production. This makes perfect sense since the shadow price of product 1 is $2 in this optimal solution. Conclusions A problem where all decision variables are linearly related can be solved using linear programming. A linear programming model with two decision variables can be solved graphically. Ecel s Solver is an appropriate tool to solve small linear programming models. In addition to an optimal solution, Solver can produce a sensitivity report with valuable information about a linear programming model. The dual problem in linear programming gives a deeper understanding of the primal problem. 27

24 Chapter 2 Linear programming Problems 2.1 A manufacturer produces product 1 and 2 giving a profit per unit of $8 and $6 respectively. Both products are processed by the two machines A and B. Each machine has a capacity of 12 hours per year. Each unit of product 1 needs 1 hour at machine A and 3 hours at machine B. Each unit of product 2 needs 2 hours at machine A and 1 hour at machine B. (a) How many units should the manufacturer produce of product 1 and 2 per year? Solve the problem using both the graphical method and Ecel. (b) What is the value of increasing the capacity for machine B with one etra hour per year? (c) Assume now that the production of each unit of product 2 consumes 3 lbs of a special alloy, and that supply of this alloy is limited to 6 lbs per year. How many units should the manufacturer produce of product 1 and 2 per year? (d) Assume that profit of product 2 is reduced by $4 per unit. How many units should the manufacturer produce of product 1 and 2 per year? (e) The answer in (d) should be units of product 2. How much must the profit per unit of product 2 increase (from $2) to make it profitable to produce this product? 2.2 Consider the following linear programming model: Maimise Z Constraints: A B C 3 2 9, 2 (a) Solve the problem graphically. (b) Find the shadow price for constraint A. (c) By how much must the parameter before 2 in the objective function increase to give a new optimal solution? (Note: the parameter 2 before is constant.) 2.3 Consider the following linear programming model: Maimise Z Constraints: A B C D , 2 28

25 Problems (a) Solve the problem graphically. (b) How much can the parameter 7 before 2 in the objective function be reduced without changing the optimal solution? (c) Find the shadow price for constraint A. (d) Find the shadow price for constraint D. 2.4 A company manufactures products X, Y and Z, and all of them are processed on machines A, B and C. Profit per unit (in $), time consumption (in hours) for different products on different machines and machine capacities are given below. X Y Z Capacity (hours) Machine A 3 12 Machine B 3 12 Machine C Profit per unit (in $) The company wants to maimise profit. Solve the problem without using a computer. 2.5 A food supplement is made by miing two ingredients called 1 and 2. One batch of the supplement should contain a minimum amount of vitamin A, B, C and D according to the table below. Amounts of vitamins in the two ingredients are also given. All amounts are in milligrams: A B C D Required amount in one batch of supplement Amount in one kg of ingredient Amount in one kg of ingredient The cost of ingredient 1 is twice the cost of ingredient 2. How many kilograms of the two ingredients should be mied together in each batch to obtain minimum cost? There are 1 milligrams in one gram, and 1 grams in one kilogram. 2.6 An investor wants to invest $15 in a portfolio that may include bonds, certificates, treasury bills and stocks. The epected annual returns are given in the table below. The investor also wants to diversify the investments, and has decided maimum amounts for each security. 29

26 Chapter 2 Linear programming Epected annual return Maimum amount Bonds 5% $3 Certificates 8% $7 Treasury bills 13% $6 Stocks 16% $5 In addition, the investor has decided that at least 6% of the investments should be in treasury bills and stocks, and at least 1% in bonds. He has also decided that the sum invested in bonds and certificates must eceed the amount invested in treasury bills. The investor wants a maimum return on his investments. Find the optimal composition of the portfolio. 2.7 A bank may employ people on a full-time or part-time basis. The opening hours are from 9: to 19:. After some research the bank has found the following need for employees during the day: Time period Number of employees 9: 1: 5 1: 11: 8 11: 12: 5 12: 13: 1 13: 14: 11 14: 15: 7 15: 16: 4 16: 17: 5 17: 18: 8 18: 19: 7 The employees may start their working day at 9:, 1:, etc., but they must finish by 19:. Full-time employees work 4 hours, have 1 hour lunch, and work 3 hours. They do not get paid for the lunch hour. Part-time employees work 4 hours continuously. A full-time employee gets paid 18 per hour, and a part-time employee 17 per hour. The bank wants to minimise total cost, and needs to find out how many fulltime and part-time employees they should hire. They also want to know how many of them should start at 9:, at 1:, etc. Solve the problem using an LP model. 2.8 We want to carry out a survey and interview at least 5 respondents. In addition, the following requirements must also be met: 3 At least 2 respondents must 3 years old or younger. At least 12 respondents must be between 31 and 5 years old.

27 Problems At least 12% of the respondents must live in Norwich. Less than 2% of the respondents who are above 51 years old, must live in Norwich. Costs associated with interviewing respondents of different ages in Norwich and outside is (in ): Age 3 years 31 years Age 5 years Age 51 years Living in Norwich Living outside Norwich The survey should be completed at minimum cost. Solve the problem using Ecel. 2.9 Bestvold Ltd manufactures small electrical motorbikes for children. Each bike is assembled from one motor, two wheels, one frame and one battery. The batteries are bought from an eternal supplier. The other components can either be bought eternally or produced by the company itself. For the net year Bestvold Ltd plans to produce 1 bikes. Components produced by the company itself will be processed in departments A, B and C. Time consumption (in minutes) for the various components in the different departments and machine capacities per year (in hours) are given below. Time consumption (in minutes) A B C One motor One wheel One frame Capacity per year (in hours) Costs per unit (in $) when buying or producing are: Buy Produce One motor One wheel One frame (a) The company wants to minimise costs. Solve the problem and find the optimal number of motors, wheels and frames that should be bought and that should be produced by the company itself. 31

28 Chapter 2 Linear programming (b) Find the time consumption per year in department A, B and C, respectively. (c) What is the maimum price the company should pay for one hour increased capacity in department C? (d) What is the maimum price the company should pay for one hour increased capacity in department B? 2.1 ProCruiser Inc. is planning net year s production of their LuCruiser. At the beginning of the first quarter they have an inventory of 7 boats. Epected sales and production capacities are as indicated below. Epected sales (number) Capacity (number) 1st quarter 2 2 2nd quarter rd quarter 1 6 4th quarter Production costs are epected to be $8 per boat for the 1st quarter, and will increase with 1% every quarter. Inventory costs are estimated to be $2 per boat for the 1st and 2nd quarter, and $2 4 per boat for the 3rd and 4th quarter respectively. (Relate these costs to the inventory at the end of each quarter.) ProCruiser has decided to have an inventory of at least 3 boats at the end of quarter 4. Find an optimal production plan for quarters 1 to 4. The sensitivity report gives the following information about the capacity constraint limiting production to boats for the 3rd quarter: Final value Shadow price Constraints r.h. side Allowable increase Allowable decrease Eplain these values. 32

29 Problems 2.11 Which of the following problems can be solved? (a) Maimise Z = + 2 Constraints: A B C + 2 2, (b) Maimise Constraints: A B C Z = D + 2 4, (c) Maimise Constraints: A B C D Z = , (d) Maimise Z = Constraints: , 2.12 Eamine (a) (d) in problem If dual problems can be solved, formulate the dual problems. Find the optimal solutions, and verify that these solutions correspond to the shadow prices for the primal problem. 33

30 Chapter 2 Linear programming Further reading Bazaraa, M. S., Jarvis, J. J. and Sherali, H. D., Linear Programming and Network Flows, Wiley, 29. Dantzig, G. B. and Thapa, M. N., Linear Programming; 1: Introduction, Springer, Dantzig, G. B. and Thapa, M. N., Linear Programming; 2: Theory and Etensions, Springer, 23. Vaserstein, L. N., Introduction to Linear Programming, Prentice Hall,

Linear Programming. Solving LP Models Using MS Excel, 18

Linear 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 information

Linear Programming Notes VII Sensitivity Analysis

Linear 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 information

Linear Programming Supplement E

Linear 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 information

Sensitivity Report in Excel

Sensitivity Report in Excel The Answer Report contains the original guess for the solution and the final value of the solution as well as the objective function values for the original guess and final value. The report also indicates

More information

POLYNOMIAL FUNCTIONS

POLYNOMIAL FUNCTIONS POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a

More information

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear 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 information

Duality in Linear Programming

Duality in Linear Programming Duality in Linear Programming 4 In the preceding chapter on sensitivity analysis, we saw that the shadow-price interpretation of the optimal simplex multipliers is a very useful concept. First, these shadow

More information

Using EXCEL Solver October, 2000

Using EXCEL Solver October, 2000 Using EXCEL Solver October, 2000 2 The Solver option in EXCEL may be used to solve linear and nonlinear optimization problems. Integer restrictions may be placed on the decision variables. Solver may be

More information

Section 3-3 Approximating Real Zeros of Polynomials

Section 3-3 Approximating Real Zeros of Polynomials - Approimating Real Zeros of Polynomials 9 Section - Approimating Real Zeros of Polynomials Locating Real Zeros The Bisection Method Approimating Multiple Zeros Application The methods for finding zeros

More information

Solving Linear Programs in Excel

Solving Linear Programs in Excel Notes for AGEC 622 Bruce McCarl Regents Professor of Agricultural Economics Texas A&M University Thanks to Michael Lau for his efforts to prepare the earlier copies of this. 1 http://ageco.tamu.edu/faculty/mccarl/622class/

More information

Chapter 6: Sensitivity Analysis

Chapter 6: Sensitivity Analysis Chapter 6: Sensitivity Analysis Suppose that you have just completed a linear programming solution which will have a major impact on your company, such as determining how much to increase the overall production

More information

LECTURE 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 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

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 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 information

Solving Linear Programs using Microsoft EXCEL Solver

Solving Linear Programs using Microsoft EXCEL Solver Solving Linear Programs using Microsoft EXCEL Solver By Andrew J. Mason, University of Auckland To illustrate how we can use Microsoft EXCEL to solve linear programming problems, consider the following

More information

Practical Guide to the Simplex Method of Linear Programming

Practical 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 information

Solutions of Linear Equations in One Variable

Solutions of Linear Equations in One Variable 2. Solutions of Linear Equations in One Variable 2. OBJECTIVES. Identify a linear equation 2. Combine like terms to solve an equation We begin this chapter by considering one of the most important tools

More information

Sensitivity Analysis with Excel

Sensitivity Analysis with Excel Sensitivity Analysis with Excel 1 Lecture Outline Sensitivity Analysis Effects on the Objective Function Value (OFV): Changing the Values of Decision Variables Looking at the Variation in OFV: Excel One-

More information

15.053/8 February 26, 2013

15.053/8 February 26, 2013 15.053/8 February 26, 2013 Sensitivity analysis and shadow prices special thanks to Ella, Cathy, McGraph, Nooz, Stan and Tom 1 Quotes of the Day If the facts don't fit the theory, change the facts. --

More information

EdExcel Decision Mathematics 1

EdExcel Decision Mathematics 1 EdExcel Decision Mathematics 1 Linear Programming Section 1: Formulating and solving graphically Notes and Examples These notes contain subsections on: Formulating LP problems Solving LP problems Minimisation

More information

Solving Linear Programs

Solving 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 information

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood PERFORMANCE EXCELLENCE IN THE WOOD PRODUCTS INDUSTRY EM 8720-E October 1998 $3.00 Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood A key problem faced

More information

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL Chapter 6 LINEAR INEQUALITIES 6.1 Introduction Mathematics is the art of saying many things in many different ways. MAXWELL In earlier classes, we have studied equations in one variable and two variables

More information

CHAPTER 11: BASIC LINEAR PROGRAMMING CONCEPTS

CHAPTER 11: BASIC LINEAR PROGRAMMING CONCEPTS Linear programming is a mathematical technique for finding optimal solutions to problems that can be expressed using linear equations and inequalities. If a real-world problem can be represented accurately

More information

Special Situations in the Simplex Algorithm

Special 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 information

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16. LINEAR PROGRAMMING II 1 Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16. Introduction A minimization problem minimizes the value of the objective function rather than

More information

Section 3-7. Marginal Analysis in Business and Economics. Marginal Cost, Revenue, and Profit. 202 Chapter 3 The Derivative

Section 3-7. Marginal Analysis in Business and Economics. Marginal Cost, Revenue, and Profit. 202 Chapter 3 The Derivative 202 Chapter 3 The Derivative Section 3-7 Marginal Analysis in Business and Economics Marginal Cost, Revenue, and Profit Application Marginal Average Cost, Revenue, and Profit Marginal Cost, Revenue, and

More information

Section 2-3 Quadratic Functions

Section 2-3 Quadratic Functions 118 2 LINEAR AND QUADRATIC FUNCTIONS 71. Celsius/Fahrenheit. A formula for converting Celsius degrees to Fahrenheit degrees is given by the linear function 9 F 32 C Determine to the nearest degree the

More information

Arrangements And Duality

Arrangements And Duality Arrangements And Duality 3.1 Introduction 3 Point configurations are tbe most basic structure we study in computational geometry. But what about configurations of more complicated shapes? For example,

More information

Standard Form of a Linear Programming Problem

Standard Form of a Linear Programming Problem 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,

More information

Solution Key Average = 22.45 Range 9 to 25. BOSTON COLLEGE GRADUATE SCHOOL OF MANAGEMENT Operations and Strategic Management Department

Solution Key Average = 22.45 Range 9 to 25. BOSTON COLLEGE GRADUATE SCHOOL OF MANAGEMENT Operations and Strategic Management Department Solution Key Average. Range 9 to BOSTON COLLEGE GRADUATE SCHOOL OF MANAGEMENT Operations and Strategic Management Department MD76 Modeling and Decision Analysis Spring 00 Quiz This quiz is printed on both

More information

Chapter 2 Solving Linear Programs

Chapter 2 Solving Linear Programs Chapter 2 Solving Linear Programs Companion slides of Applied Mathematical Programming by Bradley, Hax, and Magnanti (Addison-Wesley, 1977) prepared by José Fernando Oliveira Maria Antónia Carravilla A

More information

A positive exponent means repeated multiplication. A negative exponent means the opposite of repeated multiplication, which is repeated

A positive exponent means repeated multiplication. A negative exponent means the opposite of repeated multiplication, which is repeated Eponents Dealing with positive and negative eponents and simplifying epressions dealing with them is simply a matter of remembering what the definition of an eponent is. division. A positive eponent means

More information

Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach

Chapter 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 information

9.4 THE SIMPLEX METHOD: MINIMIZATION

9.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 information

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

Section 7.2 Linear Programming: The Graphical Method

Section 7.2 Linear Programming: The Graphical Method Section 7.2 Linear Programming: The Graphical Method Man problems in business, science, and economics involve finding the optimal value of a function (for instance, the maimum value of the profit function

More information

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to, LINEAR INEQUALITIES When we use the equal sign in an equation we are stating that both sides of the equation are equal to each other. In an inequality, we are stating that both sides of the equation are

More information

Polynomial Degree and Finite Differences

Polynomial Degree and Finite Differences CONDENSED LESSON 7.1 Polynomial Degree and Finite Differences In this lesson you will learn the terminology associated with polynomials use the finite differences method to determine the degree of a polynomial

More information

To Multiply Decimals

To Multiply Decimals 4.3 Multiplying Decimals 4.3 OBJECTIVES 1. Multiply two or more decimals 2. Use multiplication of decimals to solve application problems 3. Multiply a decimal by a power of ten 4. Use multiplication by

More information

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

IEOR 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 information

Chapter 4 Online Appendix: The Mathematics of Utility Functions

Chapter 4 Online Appendix: The Mathematics of Utility Functions Chapter 4 Online Appendix: The Mathematics of Utility Functions We saw in the text that utility functions and indifference curves are different ways to represent a consumer s preferences. Calculus can

More information

The Graphical Method: An Example

The Graphical Method: An Example The Graphical Method: An Example Consider the following linear program: Maximize 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 0, where, for ease of reference,

More information

Progress Check 6. Objective To assess students progress on mathematical content through the end of Unit 6. Looking Back: Cumulative Assessment

Progress Check 6. Objective To assess students progress on mathematical content through the end of Unit 6. Looking Back: Cumulative Assessment Progress Check 6 Objective To assess students progress on mathematical content through the end of Unit 6. Looking Back: Cumulative Assessment The Mid-Year Assessment in the Assessment Handbook is a written

More information

Chapter 3 Consumer Behavior

Chapter 3 Consumer Behavior Chapter 3 Consumer Behavior Read Pindyck and Rubinfeld (2013), Chapter 3 Microeconomics, 8 h Edition by R.S. Pindyck and D.L. Rubinfeld Adapted by Chairat Aemkulwat for Econ I: 2900111 1/29/2015 CHAPTER

More information

0.1 Linear Programming

0.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 information

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

1 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 information

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS

Sensitivity 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 information

What is Linear Programming?

What 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 information

Chapter 2: Introduction to Linear Programming

Chapter 2: Introduction to Linear Programming Chapter 2: Introduction to Linear Programming You may recall unconstrained optimization from your high school years: the idea is to find the highest point (or perhaps the lowest point) on an objective

More information

Multiplying and Dividing Signed Numbers. Finding the Product of Two Signed Numbers. (a) (3)( 4) ( 4) ( 4) ( 4) 12 (b) (4)( 5) ( 5) ( 5) ( 5) ( 5) 20

Multiplying and Dividing Signed Numbers. Finding the Product of Two Signed Numbers. (a) (3)( 4) ( 4) ( 4) ( 4) 12 (b) (4)( 5) ( 5) ( 5) ( 5) ( 5) 20 SECTION.4 Multiplying and Dividing Signed Numbers.4 OBJECTIVES 1. Multiply signed numbers 2. Use the commutative property of multiplication 3. Use the associative property of multiplication 4. Divide signed

More information

Understanding the Slutsky Decomposition: Substitution & Income Effect

Understanding the Slutsky Decomposition: Substitution & Income Effect Understanding the Slutsky Decomposition: Substitution & Income Effect age 1 lacement of the Final Bundle when p : Substitute or Complement Goods? egion A egion B egion C BC 2 S When p, BC rotates inwards

More information

Mathematical finance and linear programming (optimization)

Mathematical finance and linear programming (optimization) Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may

More information

1 Determine whether an. 2 Solve systems of linear. 3 Solve systems of linear. 4 Solve systems of linear. 5 Select the most efficient

1 Determine whether an. 2 Solve systems of linear. 3 Solve systems of linear. 4 Solve systems of linear. 5 Select the most efficient Section 3.1 Systems of Linear Equations in Two Variables 163 SECTION 3.1 SYSTEMS OF LINEAR EQUATIONS IN TWO VARIABLES Objectives 1 Determine whether an ordered pair is a solution of a system of linear

More information

Utility Maximization

Utility Maximization Utility Maimization Given the consumer's income, M, and prices, p and p y, the consumer's problem is to choose the a ordable bundle that maimizes her utility. The feasible set (budget set): total ependiture

More information

IV. ALGEBRAIC CONCEPTS

IV. ALGEBRAIC CONCEPTS IV. ALGEBRAIC CONCEPTS Algebra is the language of mathematics. Much of the observable world can be characterized as having patterned regularity where a change in one quantity results in changes in other

More information

Elasticity. I. What is Elasticity?

Elasticity. I. What is Elasticity? Elasticity I. What is Elasticity? The purpose of this section is to develop some general rules about elasticity, which may them be applied to the four different specific types of elasticity discussed in

More information

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite ALGEBRA Pupils should be taught to: Generate and describe sequences As outcomes, Year 7 pupils should, for example: Use, read and write, spelling correctly: sequence, term, nth term, consecutive, rule,

More information

Nonlinear Programming Methods.S2 Quadratic Programming

Nonlinear Programming Methods.S2 Quadratic Programming Nonlinear Programming Methods.S2 Quadratic Programming Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard A linearly constrained optimization problem with a quadratic objective

More information

Basic Formulas in Excel. Why use cell names in formulas instead of actual numbers?

Basic Formulas in Excel. Why use cell names in formulas instead of actual numbers? Understanding formulas Basic Formulas in Excel Formulas are placed into cells whenever you want Excel to add, subtract, multiply, divide or do other mathematical calculations. The formula should be placed

More information

EQUATIONS and INEQUALITIES

EQUATIONS and INEQUALITIES EQUATIONS and INEQUALITIES Linear Equations and Slope 1. Slope a. Calculate the slope of a line given two points b. Calculate the slope of a line parallel to a given line. c. Calculate the slope of a line

More information

PERPETUITIES NARRATIVE SCRIPT 2004 SOUTH-WESTERN, A THOMSON BUSINESS

PERPETUITIES NARRATIVE SCRIPT 2004 SOUTH-WESTERN, A THOMSON BUSINESS NARRATIVE SCRIPT 2004 SOUTH-WESTERN, A THOMSON BUSINESS NARRATIVE SCRIPT: SLIDE 2 A good understanding of the time value of money is crucial for anybody who wants to deal in financial markets. It does

More information

Lesson 7 - The Aggregate Expenditure Model

Lesson 7 - The Aggregate Expenditure Model Lesson 7 - The Aggregate Expenditure Model Acknowledgement: Ed Sexton and Kerry Webb were the primary authors of the material contained in this lesson. Section : The Aggregate Expenditures Model Aggregate

More information

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all. 1. Differentiation The first derivative of a function measures by how much changes in reaction to an infinitesimal shift in its argument. The largest the derivative (in absolute value), the faster is evolving.

More information

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1

Operation 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 information

4.6 Linear Programming duality

4.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 information

TEACHING AGGREGATE PLANNING IN AN OPERATIONS MANAGEMENT COURSE

TEACHING AGGREGATE PLANNING IN AN OPERATIONS MANAGEMENT COURSE TEACHING AGGREGATE PLANNING IN AN OPERATIONS MANAGEMENT COURSE Johnny C. Ho, Turner College of Business, Columbus State University, Columbus, GA 31907 David Ang, School of Business, Auburn University Montgomery,

More information

The numerical values that you find are called the solutions of the equation.

The numerical values that you find are called the solutions of the equation. Appendi F: Solving Equations The goal of solving equations When you are trying to solve an equation like: = 4, you are trying to determine all of the numerical values of that you could plug into that equation.

More information

2.4. Factoring Quadratic Expressions. Goal. Explore 2.4. Launch 2.4

2.4. Factoring Quadratic Expressions. Goal. Explore 2.4. Launch 2.4 2.4 Factoring Quadratic Epressions Goal Use the area model and Distributive Property to rewrite an epression that is in epanded form into an equivalent epression in factored form The area of a rectangle

More information

Chapter 9 Descriptive Statistics for Bivariate Data

Chapter 9 Descriptive Statistics for Bivariate Data 9.1 Introduction 215 Chapter 9 Descriptive Statistics for Bivariate Data 9.1 Introduction We discussed univariate data description (methods used to eplore the distribution of the values of a single variable)

More information

Answer: The relationship cannot be determined.

Answer: The relationship cannot be determined. Question 1 Test 2, Second QR Section (version 3) In City X, the range of the daily low temperatures during... QA: The range of the daily low temperatures in City X... QB: 30 Fahrenheit Arithmetic: Ranges

More information

EXCEL SOLVER TUTORIAL

EXCEL SOLVER TUTORIAL ENGR62/MS&E111 Autumn 2003 2004 Prof. Ben Van Roy October 1, 2003 EXCEL SOLVER TUTORIAL This tutorial will introduce you to some essential features of Excel and its plug-in, Solver, that we will be using

More information

10.1. Solving Quadratic Equations. Investigation: Rocket Science CONDENSED

10.1. Solving Quadratic Equations. Investigation: Rocket Science CONDENSED CONDENSED L E S S O N 10.1 Solving Quadratic Equations In this lesson you will look at quadratic functions that model projectile motion use tables and graphs to approimate solutions to quadratic equations

More information

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd ) (Refer Slide Time: 00:28) Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay Lecture - 13 Consumer Behaviour (Contd ) We will continue our discussion

More information

Linear Programming. March 14, 2014

Linear 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 information

Systems of Linear Equations: Two Variables

Systems of Linear Equations: Two Variables OpenStax-CNX module: m49420 1 Systems of Linear Equations: Two Variables OpenStax College This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 In this section,

More information

Systems of Linear Equations in Three Variables

Systems of Linear Equations in Three Variables 5.3 Systems of Linear Equations in Three Variables 5.3 OBJECTIVES 1. Find ordered triples associated with three equations 2. Solve a system by the addition method 3. Interpret a solution graphically 4.

More information

More Equations and Inequalities

More Equations and Inequalities Section. Sets of Numbers and Interval Notation 9 More Equations and Inequalities 9 9. Compound Inequalities 9. Polnomial and Rational Inequalities 9. Absolute Value Equations 9. Absolute Value Inequalities

More information

3. 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

3. 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 information

7.7 Solving Rational Equations

7.7 Solving Rational Equations Section 7.7 Solving Rational Equations 7 7.7 Solving Rational Equations When simplifying comple fractions in the previous section, we saw that multiplying both numerator and denominator by the appropriate

More information

Integrating algebraic fractions

Integrating algebraic fractions Integrating algebraic fractions Sometimes the integral of an algebraic fraction can be found by first epressing the algebraic fraction as the sum of its partial fractions. In this unit we will illustrate

More information

3 e) x f) 2. Precalculus Worksheet P.1. 1. Complete the following questions from your textbook: p11: #5 10. 2. Why would you never write 5 < x > 7?

3 e) x f) 2. Precalculus Worksheet P.1. 1. Complete the following questions from your textbook: p11: #5 10. 2. Why would you never write 5 < x > 7? Precalculus Worksheet P.1 1. Complete the following questions from your tetbook: p11: #5 10. Why would you never write 5 < > 7? 3. Why would you never write 3 > > 8? 4. Describe the graphs below using

More information

Chapter 27: Taxation. 27.1: Introduction. 27.2: The Two Prices with a Tax. 27.2: The Pre-Tax Position

Chapter 27: Taxation. 27.1: Introduction. 27.2: The Two Prices with a Tax. 27.2: The Pre-Tax Position Chapter 27: Taxation 27.1: Introduction We consider the effect of taxation on some good on the market for that good. We ask the questions: who pays the tax? what effect does it have on the equilibrium

More information

Basic Components of an LP:

Basic Components of an LP: 1 Linear Programming Optimization is an important and fascinating area of management science and operations research. It helps to do less work, but gain more. Linear programming (LP) is a central topic

More information

Chapter 4 One Dimensional Kinematics

Chapter 4 One Dimensional Kinematics Chapter 4 One Dimensional Kinematics 41 Introduction 1 4 Position, Time Interval, Displacement 41 Position 4 Time Interval 43 Displacement 43 Velocity 3 431 Average Velocity 3 433 Instantaneous Velocity

More information

Review of Intermediate Algebra Content

Review of Intermediate Algebra Content Review of Intermediate Algebra Content Table of Contents Page Factoring GCF and Trinomials of the Form + b + c... Factoring Trinomials of the Form a + b + c... Factoring Perfect Square Trinomials... 6

More information

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 8, No 2 Sofia 2008 Optimal Scheduling for Dependent Details Processing Using MS Excel Solver Daniela Borissova Institute of

More information

Focus on minimizing costs EOQ Linear Programming. Two types of inventory costs (IC): Order/Setup Costs (OCs), and Carrying Costs (CCs) IC = OC + CC

Focus on minimizing costs EOQ Linear Programming. Two types of inventory costs (IC): Order/Setup Costs (OCs), and Carrying Costs (CCs) IC = OC + CC Focus on minimizing costs EOQ Linear Programming Economic Order Quantity (EOQ) model determines: Optimal amount of inventory to produce/purchase at given time Discussion applicable to production runs and

More information

MBA 611 STATISTICS AND QUANTITATIVE METHODS

MBA 611 STATISTICS AND QUANTITATIVE METHODS MBA 611 STATISTICS AND QUANTITATIVE METHODS Part I. Review of Basic Statistics (Chapters 1-11) A. Introduction (Chapter 1) Uncertainty: Decisions are often based on incomplete information from uncertain

More information

Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering, Indian Institute of Technology, Delhi

Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering, Indian Institute of Technology, Delhi Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering, Indian Institute of Technology, Delhi Lecture - 27 Product Mix Decisions We had looked at some of the important

More information

Solving Equations by the Multiplication Property

Solving Equations by the Multiplication Property 2.2 Solving Equations by the Multiplication Property 2.2 OBJECTIVES 1. Determine whether a given number is a solution for an equation 2. Use the multiplication property to solve equations. Find the mean

More information

1. Briefly explain what an indifference curve is and how it can be graphically derived.

1. Briefly explain what an indifference curve is and how it can be graphically derived. Chapter 2: Consumer Choice Short Answer Questions 1. Briefly explain what an indifference curve is and how it can be graphically derived. Answer: An indifference curve shows the set of consumption bundles

More information

Demand, Supply, and Market Equilibrium

Demand, Supply, and Market Equilibrium 3 Demand, Supply, and Market Equilibrium The price of vanilla is bouncing. A kilogram (2.2 pounds) of vanilla beans sold for $50 in 2000, but by 2003 the price had risen to $500 per kilogram. The price

More information

Core Maths C1. Revision Notes

Core Maths C1. Revision Notes Core Maths C Revision Notes November 0 Core Maths C Algebra... Indices... Rules of indices... Surds... 4 Simplifying surds... 4 Rationalising the denominator... 4 Quadratic functions... 4 Completing the

More information

Simplex method summary

Simplex method summary Simplex method summary Problem: optimize a linear objective, subject to linear constraints 1. Step 1: Convert to standard form: variables on right-hand side, positive constant on left slack variables for

More information

Session 7 Bivariate Data and Analysis

Session 7 Bivariate Data and Analysis Session 7 Bivariate Data and Analysis Key Terms for This Session Previously Introduced mean standard deviation New in This Session association bivariate analysis contingency table co-variation least squares

More information

Review of Fundamental Mathematics

Review of Fundamental Mathematics Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools

More information

Lab 17: Consumer and Producer Surplus

Lab 17: Consumer and Producer Surplus Lab 17: Consumer and Producer Surplus Who benefits from rent controls? Who loses with price controls? How do taxes and subsidies affect the economy? Some of these questions can be analyzed using the concepts

More information

OPRE 6201 : 2. Simplex Method

OPRE 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 information

Circuit Analysis using the Node and Mesh Methods

Circuit Analysis using the Node and Mesh Methods Circuit Analysis using the Node and Mesh Methods We have seen that using Kirchhoff s laws and Ohm s law we can analyze any circuit to determine the operating conditions (the currents and voltages). The

More information

Graphical Integration Exercises Part Four: Reverse Graphical Integration

Graphical Integration Exercises Part Four: Reverse Graphical Integration D-4603 1 Graphical Integration Exercises Part Four: Reverse Graphical Integration Prepared for the MIT System Dynamics in Education Project Under the Supervision of Dr. Jay W. Forrester by Laughton Stanley

More information