Linear programming. Debrecen, 2015/16, 1st semester. University of Debrecen, Faculty of Business Administration 1 / 46

Size: px
Start display at page:

Download "Linear programming. Debrecen, 2015/16, 1st semester. University of Debrecen, Faculty of Business Administration 1 / 46"

Transcription

1 1 / 46 Linear programming László Losonczi University of Debrecen, Faculty of Business Administration Debrecen, 2015/16, 1st semester

2 LP (linear programming) example 2 / 46 CMP is a cherry furniture manufacturer they produce chairs and tables. Teir supply of wood is limited, their suppler provides them with 100 board feet of cherry wood weekly. Each chair requires 4 board feet of wood and a table needs 8 board feet. CMP can sell all chairs it can make but only 10 tables per week. CMP has at their disposal only 120 man-hours available per week for making the furniture. It takes 6 man-hours to make a chair and 4 man-hours to make a table. CMP makes $ 20 profit for every chair it sells and makes $ 30 profit for every table sold. Here CMP wants to decide how many chairs and tables it should make to maximize total profits.

3 LP example, continued 3 / 46 Solution: suppose that the number of chairs and tables produced are x 1 and x 2 respectively. The cherry wood constraint: 4x 1 + 8x 2 100, selling constraint: x 2 10, labor constraint: 6x 1 + 4x 2 120, nonnegativity constraint: x 1 0, x 2 0. The weekly profit: 20x x 2 dollars should be maximal. Summarizing: z = 20x x 2 maximum, subject to 4x 1 + 8x x 2 10 x 1 0, x x 1 + 4x 2 120

4 LP example, graphical solution 4 / 46 Graphical solution: sketch on the plane the (x 1, x 2 ) domain satisfying the constraints. The objective function with constant value of z are parallel lines which have to have common points with the above domain. Hence we shift these lines parallel until we get the maximum on z. In our case this is x 1 = 17.5, x 2 = 3.75, z max = The next figure shows the domain satisfying the constraints colored by green. The parallel lines z = 20x x 2 or x 2 = x z 30 are shown by red color for z = 0 and z = z max =

5 Graphical solution continued The solutions x 1 = 17.5, x 2 = 3.75 are not integers. Thus we have to find the point(s) in the green area which have integer coordinates and for which the value of z = 20x x 2 is the largest. This point is x 1 = 17, x 2 = 4, and z max = / 46

6 A little history of the simplex method 6 / 46 In 1939 L. V. Kantorovich noted the practical importance of a certain class of linear programming problems and in 1960 gave an algorithm for their solution. Unfortunately, for several years, his work was unknown in the West and unnoticed in the East. In 1947 when G.B. Dantzig invented the simplex method for solving the linear programming problems that arose in U.S. Air Force planning problems. The earliest published accounts of Dantzig s work appeared in 1951 his monograph published in 1963 remains an important reference. In the same year that Dantzig invented the simplex method, T.C. Koopmans showed that linear programming provided the appropriate model for the analysis of classical economic theories. In 1975, the Nobel Prize in economic science was awarded to L.V. Kantorovich and T.C. Koopmans for their contributions to the theory of optimum allocation of resources. Apparently the academy regarded Dantzig s work as too mathematical for the prize in economics (and there is no Nobel Prize in mathematics).

7 3 variable LP example The variables s 1, s 2, s 3 are called basic variables, x 1, x 2, x 3 are called nonbasic variables. 7 / 46 z = 5x 1 + 4x 2 + 3x 3 = maximum, subject to 2x 1 + 3x 2 + x 3 5 4x 1 + x 2 + 2x x 1 + 4x 2 + 2x 3 8 x 1, x 2, x 3 0 Introduce the slack variables s 1, s 2, s 3 as the difference of the right and left hand sides of the constraints. In this way we get another problem, equivalent to the previous one: z = 5x 1 + 4x 2 + 3x 3 = maximum, subject to s 1 = 5 2x 1 3x 2 x 3 s 2 = 11 4x 1 x 2 2x 3 s 3 = 8 3x 1 4x 2 2x 3 x 1, x 2, x 3, s 1, s 2, s 3 0

8 Start with the solution x 1 = x 2 = x 3 = 0 then s 1 = 5, s 2 = 11, s 3 = 8 and the value of the objective function z = 0. Try to find a better solution. As the coefficient of x 1 in the objective function is positive, thus increasing x 1 will increase z. However the value of x 1 cannot be increased arbitrarily since the slack variables must remain non-negative. If x 1 0, x 2 = x 3 = 0 then all three of the inequalities s 1 = 5 2x 1 0 x = 2.5 s 2 = 11 4x 1 0 x = 2.75 s 3 = 8 3x 1 0 x = must be satisfied, therefore 0 x i.e. x 1 can be increased at most to 2.5. Let therefore x 1 = 5 2, x 2 = x 3 = 0 then s 1 = 0, s 2 = 1, s 3 = 1 2 and the value of z increased to = / 46

9 How can we continue? Since now s 1 = x 2 = x 3 = 0 the role of x 1 was taken over by s 1, we have to modify the objective function and the constraints accordingly. From the definition of s 1 we get 9 / 46 x 1 = s 1 1.5x 2 0.5x 3 substituting this into the objective function and into s 2, s 3 we get z = 5 ( s 1 1.5x 2 0.5x 3 ) + 4x 2 + 3x 3 = s 1 3.5x x 3 s 2 = 11 4 ( s 1 1.5x 2 0.5x 3 ) x 2 2x 3 = 1 + 2s 1 + 5x 2 s 3 = 8 3 ( s 1 1.5x 2 0.5x 3 ) 4x 2 2x 3 = s x 2 0.5x 3 Our problem with the new variables: z = s 1 3.5x x 3 = maximum, subject to x 1 = s 1 1.5x 2 0.5x 3 s 2 = 1 + 2s 1 + 5x 2 s 3 = s x 2 0.5x 3 s 1, x 2, x 3, x 1, s 2, s 3 0.

10 10 / 46 We see again that with s 1 = x 2 = x 3 = 0 we have x 1 = 2.5, s 2 = 1, s 3 = 0.5 and z = Here in the objective function only the coefficient of x 3 is positive, increasing x 3 will again increase the objective function. By how much can we increase x 3? With x 3 0, s 1 = x 2 = 0 from the conditions x 1, s 2, s 3 0 x 1 = x 3 0 x 3 5 s 2 = 1 0 is satisfied for all x 3 s 3 = x 3 0 x 3 1 therefore x 3 = 1 s 3 = 0 and s 1 = x 2 = 0, the objective functions increases by = 0.5 to 13. The new nonbasic or independent variables s 1, x 2, s 3, the role of x 3 is taken over by s 3.

11 11 / 46 From the equation s 3 = s 1 + 0, 5x 2 0.5x 3 we get x 3 = 1 + 3s 1 + x 2 2s 3, substituting this into z, x 1, s 2 (please do the calculations) we get our problem written by the help of the new variables: z = 13 s 1 3x 2 s 3 = maximum, subject to x 1 = 2 2s 1 2x 2 + s 3 s 2 = 1 + 2s 1 + 5x 2 s 3 = 1 + 3s 1 + x 2 2s 3 s 1, x 2, s 3, x 1, s 2, x 3 0 Now we do not have positive coefficients in z meaning that we cannot increase z anymore. As s 1, x 2, s 3 0 it follows that z = 13 s 1 3x 2 s 3 13, but with s 1 = x 2 = s 3 = 0 we get z = 13 thus the optimal solution is z = 13 (the values of x 1, s 2, x 3 can be calculated from the previous formulae).

12 Simplex tableau The problem we have dealt with (after introducing the slack variables s 1, s 2, s 2 ) is 2x 1 + 3x 2 + x 3 + s 1 = 5 4x 1 + x 2 + 2x 3 + s 2 = 11. 3x 1 + 4x 2 + 2x 3 + s 3 = 8 5x 1 4x 2 3x 3 + z = 0 where we seek the maximum of z with x 1, x 2, x 3, s 1, s 2, s 3 0. The simplex tableau of this consists of the matrix x 1 x 2 x 3 s 1 s 2 s 3 s s s z The notations of rows and columns, the objective function and the right hand side column was separated here by line segments. 12 / 46

13 13 / 46 FIRST STEP: FINDING THE PIVOT ELEMENT. First we find the most negative element of the last line in our example this is 5. (if there are more such element we can choose any of them). The column of this element is the pivot column (in our case this is the first column). Then we divide all elements of the last (denoted as RHS= right had side) column by the corresponding elements of the pivot column (we divide only by positive elements, we neglect the other rations, the ratios form the last column. basis x 1 x 2 x 3 s 1 s 2 s 3 RHS ratio 5 s = 2.5 pivot line s = 2.75 s =

14 We find the smallest ratio (if the are more than one such ration we can take any of them) its line will be the pivot line in our case the smallest ratio is 2.5 in the first line, thus the pivot line in the first one. The pivot element is the element in the pivot line and column in our case the element 2. The incoming variables is the variable corresponding to the pivot column (x 1 ), the outgoing variables is the variable corresponding to the pivot line (s 1 ). 14 / 46

15 15 / 46 SECOND STEP: PIVOTING. Divide all elements of the pivot line by the pivot element: x 1 x 2 x 3 s 1 s 2 s 3 RHS ratio 5 s = 2.5 pivot line s = 2.75 s = then adding (or subtracting) suitable multiples of this line we make the other elements of the pivot column to be zero. In our case 2nd line - 4 times first line, 3rd line - 3 times first line, finally 4th (last) line + 5 times first line gives the required result. The outgoing variable should be replaced by the incoming variable.

16 16 / 46 The new tableau basis x 1 x 2 x 3 s 1 s 2 s 3 RHS x s s We repeat the first and second step with the new tableau until all elements will be nonnegative or zero. Then the optimal solution can be read from the column on the right. In the new tableau the column of -0.5 is the pivot column, the pivot line is the line where we have the smallest ratio, now it is the third line. The incoming variable is x 3 ), the outgoing variable is s 3.

17 17 / 46 basis x 1 x 2 x 3 s 1 s 2 s 3 RHS ratio x = 5 s s = 1 pivot line

18 18 / 46 Divide the third line by 0.5 then subtracting its multiple by 0.5 from the first line, and adding its multiple by 0.5 to the last line we get the tableau) from which we omitted the ratios) basis x 1 x 2 x 3 s 1 s 2 s 3 RHS x s x Since there is no negative coefficient in the last line, the solution process ended. The maximum value of z is 13, the optimal values of the basic variables are in the RHS column i.e. x 1 = 2, s 2 = 1, x 3 = 1 the optimal values of the nonbasic variables are zero, i.e. x 2 = s 1 = s 3 = 0.

19 19 / 46 REMARKS. The above method called primal simplex method can be applied to the solution of standard normal maximum problems. This can be formulated as c 1 x 1 + c 2 x c n x n = z max subject to a 11 x 1 + a 12 x a 1n x n b 1 a 21 x 1 + a 22 x a 2n x n b 2.. a k1 x 1 + a k2 x a kn x n b k x 1, x 2,..., x n 0 where the c i, a ij, b j are known numbers (and we may assume that among the c i s there are positive values, otherwise x 1 = x 2 = = x n = 0 would give the optimal solution).

20 LP example:eload1b.lpp, with fives variables 20 / 46 x 1, x 2, x 3, x 4, x 5 0, x 1 + 2x 3 2x 4 + 3x 5 60 x 1 + 3x 2 + x 3 + x 5 12 x 2 + x 3 + x x 1 + 2x x 1 + 4x 2 + 5x 3 + 3x 4 2x 5 = z max or min

21 LP example: data entry 21 / 46 WinQSB= Windows based (Quantitative System for Business Data entry into WinQSB software in matrix form:

22 LP example:solution The table of solution: Combined Report for eload1b 13:07:30 Sunday February Decision Variable Solution Value Unit Cost or Profit c(j) Total Contribution Reduced Cost Basis Status Allowable Min. c(j) Allowable Max. c(j) 1 X1 10,00 3,00 30,00 0 basic 2,00 M 2 X2 0,67 4,00 2,67 0 basic 3,00 12,00 3 X3 0 5,00 0-1,00 at bound -M 6,00 4 X4 9,33 3,00 28,00 0 basic 2,00 4,00 5 X5 0-2,00 0-2,33 at bound -M 0,33 Objective Function (Max.) = 60,67 Constraint Left Hand Side Direction Right Hand Side Slack or Surplus Shadow Price Allowable Allowable Min. RHS Max. RHS 1 C1-8,67 <= 60,00 68,67 0-8,67 M 2 C2 12,00 <= 12,00 0 0,33 10,00 40,00 3 C3 10,00 <= 10,00 0 3,00 0,67 M 4 C4 20,00 <= 20,00 0 1, ,00 22 / 46

23 LP example:explanation of the solution 23 / 46 The reduced cost appears at decision variables which have (the optimal value) zero, and it shows the change of the objective function when we require positive value for that decision variable (instead requiring it to be nonnegative only). For example at x 3 = 0 the reduced cost is 1, which means that requiring x 3 a 3 (> 0) instead of x 3 0 the objective function will (approximately) change by ( 1) a 3. The shadow price appearing at a constraint shows that the change of the constant at the right hand side of the constraint how influences the value of the objective function. For example at the constraint C 3 the shadow price is 3, this means that increasing the right hand side of C 3 by b 3 (in our case to 10 + b 3 ) the value of the objective function will (approximately) change by 3b 3 (positive sign means increase, negative decrease).

24 LP example:explanation of the solution 24 / 46 The shadow price appearing at a constraint shows that the change of the constant at the right hand side of the constraint how influences the value of the objective function. For example at the constraint C 3 the shadow price is 3, this means that increasing the right hand side of C 3 by b 3 (in our case to 10 + b 3 ) the value of the objective function will (approximately) change by 3b 3 (positive sign means increase, negative decrease).

25 LP example:explanation of the solution 25 / 46 The slack or surplus appearing at a constraint is the difference between the two sides of that constraint (at the optimal values of the decision variables). The upper 1-5 lines of the last two columns show the lower and upper bounds of the coefficients in that decision variable in the objective function by which there is still optimal solution of the problem. The last 4 lines of the last two columns show the maximum and minimum values of the right hand sides of the constraints by which there is still optimal solution.

26 Network Modeling 26 / 46 This programming module, Network Modeling, solves network problems including transportation, assignment, shortest path, maximal flow, minimal spanning tree, traveling salesperson and capacitated network (transshipment) problems. A network consists of nodes and connections (arcs/links). Each node may have a capacity (in case of the network flow and transportation problems). If there is a connection between two nodes, there may be a cost, profit, distance, or flow capacity associated with the connection. Based on the nature of the problem, NET solves the link or shipment to optimize the specific objective function.

27 Transportation problem 27 / 46 The objective is to ship goods from supply sources to demand locations at the lowest total cost. The transportation problem could be balanced (the supplies and demands are equal) or could be unbalanced. CMP has production facilities in Nashville and Atlanta and markets its products in New York, Miami, and Dallas. Production capacities and demands and transport costs are given at the table below (supply demand in some units, cost in $). From/to New York Miami Dallas Supply Nashville Atlanta Demand How many unit need to be shipped from Nashville and Atlanta to New York, Miami, and Dallas at the lowest total cost.

28 Transportation problem, LP model Total supply is 800 units, total demand is 800 units hence the supply covers the demand (balanced problem). Denote the number of units shipped from Nashville to the 3 destinations by x 11, x 12, x 13 respectively, and the number of units shipped from Atlanta to the 3 destinations by x 21, x 22, x 23 respectively. Then we have to minimize the total cost being z = 10x x x x x x 23 subject to the constraints: x 11 + x 12 + x supply constraint in Nashville x 21 + x 22 + x supply constraint in Atlanta x 11 + x 21 = 150 demand satisfaction constraint in NY x 12 + x 22 = 300 demand satisfaction constraint in Miami x 13 + x 23 = 350 demand satisfaction constraint in Dallas Solution by WinQSB, either LP problem as above or by Network Modeling.(TRANSPORT.NET) 28 / 46

29 Optimal working order A supermarket is open from Monday to Saturday closed on Sunday and has 46 workers. Each worker has five days of duty and has one free per week. The daily wage of the workers is the same, 6000 HUF(=Hungarian forint), except for Saturday when it is 50 percent more. It is known that on each day of the week how many workers are needed. The present working order and daily work requirement is given by the next table (e.g. the work order I. means that the worker gets a free Monday and works on Saturday): W.o. Free day Workers M Tu W Th F Sa I Monday II Tuesday III Wednesday IV Thursday V Friday VI Saturday Alltogether: Workers required: / 46

30 30 / 46 Wage per day 6000 HUF, total daily wage of workers = HUF/workday, weekly wage according to the present work order, taking into consideration of the increased Saturday wage: = HUF. We have to find the optimal work assignment which means that the number of workers and their work order should be such that every day the required number of workers do work and the total weekly wage is minimal. Solution. Let x 1,..., x 6 be the number of workers working according to work orders I.,...,VI. x i are nonnegative integers, for which x 2 + x 3 + x 4 + x 5 + x 6 30 x 1 + x 3 + x 4 + x 5 + x 6 32 x 1 + x 2 + x 4 + x 5 + x x 1 + x 2 + x 3 + x 5 + x 6 34 x 1 + x 2 + x 3 + x 4 + x 6 44 x 1 + x 2 + x 3 + x 4 + x 5 40 The objective function is the weekly wage z = (x 1 + x 2 + x 3 + x 4 + x 5 + x 6 )+3000(x 1 + x 2 + x 3 + x 4 + x 5 ) = 33000(x 1 + x 2 + x 3 + x 4 + x 5 ) x 6.

31 Solution by WinQSB LP ILP modul. 31 / 46

32 32 / 46 The solution table is The optimal weekly wage is HUF, 7200 HUF less than before, 44 workers are sufficient, the optimal working order can be read from the solution table.

33 An assignment problem 33 / 46 Assignment problem is a special type of network or linear programming problem where objects or assignees are being allocated to assignments on a one-to-one basis. The object or assignee can be a resource, employee, machine, parking space, time slot, plant, or player, and the assignment can be an activity, task, site, event,asset, demand, or team. Our terminology: we assign agents to do tasks. The problem is linear because the cost function to be optimized as well as all the constraints contain only linear terms. The assignment problem is also considered as a special type of transportation problem with unity supplies and demands and is solved by the network simplex method.

34 Example: assignment problem 34 / 46 Example. A factory unit has 4 agents (workers) A 1 (Tim), A 2 (Peter), A 3 (John), A 4 (Rudy) and they have to make 4 different type of tasks (jobs): J 1, J 2, J 3, J 4. The next table shows how many hours each of them needs to do the same jobs. From/to J 1 J 2 J 3 J 4 A 1 (Tim) A 2 (Peter) A 3 (John) A 4 (Rudy) Which worker should be given the task (job) J 1, J 2, J 3, J 4 if all the 4 jobs should be done in minimal time and each worker can be given only one type of job.

35 35 / 46 Let the variable x ij represents the assignment of agent A i to the job J j taking value1 if the assignment is done and 0 otherwise. This formulation allows also fractional variable values, but there is always an optimal solution where the variables take integer values. The objective function (cost) z = 3x 11 +6x 12 +7x x 14 +5x 21 +6x 22 +3x 23 +8x x 31 +8x 32 +4x x 34 +8x 41 +6x 42 +5x 43 +9x 44 = min. subject to the constraints: x 11 +x 12 +x 13 +x 14 = 1 x 21 +x 22 +x 23 +x 24 = 1 x 31 +x 32 +x 33 +x 34 = 1 x 41 +x 42 +x 43 +x 44 = 1 x 11 +x 21 +x 31 +x 41 = 1 x 12 +x 22 +x 32 +x 42 = 1 x 13 +x 23 +x 33 +x 43 = 1 x 14 +x 24 +x 34 +x 44 = 1 agent A 1 performs one of the 4 jobs agent A 2 performs one of the 4 jobs agent A 3 performs one of the 4 jobs agent A 4 performs one of the 4 jobs job J 1 is done by one of the 4 agents job J 2 is done by one of the 4 agents job J 3 is done by one of the 4 agents job J 4 is done by one of the 4 agents Solution by WinQSB, select the Network Modeling, (ASSIGN.NET)

36 Shortest path problem 36 / 46 The shortest path problem includes a set of connected nodes where only one node is considered as origin node and only one node is considered as destination node. The objective is to determine a path of connections that minimizes the total distance from the origin to the destination. The shortest path problem is solved by a Labeling Algorithm. Let say CMP s trucks can only travel between CMP headquarters and its manufacturing plants in Nashville and Atlanta and its markets in Dallas, Miami and New York as shown in the next figure.

37 37 / 46

38 The owner wants to know the shortest distance from headquarters to Miami. One would use the shortest path model to find the answer. Select Network Modeling from the WinQSB menu, and then select Shortest Path Problem from the Problem Type option. Objective Criterion is set to Minimization. Numbering the nodes are Dallas (1), Nashville (2), CMP (3), NYC (4), Atlanta (5), Miami (6). (SHORTEST.NET) 38 / 46

39 Capacities of roads in terms of the number of vehicles per minute. In WinQSB, select Network Modeling. In Problem Type, select Maximal Flow Problem. The Objective Criterion is by default Maximization. (EVACUATE.NET) Graphic solution. 39 / 46 Maximal flow problem You are in charge of civilian defense of a city. You need to evacuate the city as quickly as possible. The road map for removing the citizens is shown in the next figure.

40 40 / 46 Minimal spanning tree problem CMP needs to install a sprinkler system in their office. The layout of the office shown in the next figure.

41 CMP wants to minimize the total length of pipes to be installed. The minimal spanning tree procedure is to be used here. From the WinQSB menu se Network Modeling. In NET Problem Specification select Minimal Spanning Tree. The Objective Criterion by default is Minimization. Select Spreadsheet Matrix Form. Problem name is CMP Safety. There are a total of nine nodes: Entrance, Lobby, Office, Control Room, Computer Room, Shop 1, Shop 2, Restroom, and Storage. Click OK. Now you will see the spreadsheet matrix input form. The node names are edited from default to actual names. Enter the appropriate distances in the from/to cells. After entering all data, click on the Solve and Analyze button on the toolbar. The next screen will display the solution in terms of sprinkler piping connection between the locations. The total length of pipe is 507 feet. The graphical solution option gives you the graphical layout of different nodes and the piping connections between them.(sprinkler.net) (symmetric arcs) 41 / 46

42 42 / 46 Traveling salesman problem CMP has sales representatives visiting between headquarters, the manufacturing facilities, and their customers. A sales representative starts the sales call from headquarters and must visit all the locations without revisiting them and then return to headquarters. This is the classical traveling salesman problem. The next figure displays the location of all the facilities and their distances.

43 In WinQSB select Network Modeling, then click on Traveling Salesman Problem. The Objective Criterion is to minimize the total distance a sales representative has to travel in visiting all of the places. We will use Spreadsheet Matrix form for data input. Enter the name of the problem in the Problem Title space. There are all together six places, hence enter Number of Nodes equal to six. Click OK. In input form edit the node variables from the Edit menu in the Toolbar and enter the names of nodes. Enter the distance data in appropriate cells. Click on Solve and Analyze. From popup menu, select appropriate solution method (here we have selected Branch and Bound Method) and click Solve. The computer will display the solution on the screen. The sales person should travel from CMP headquarters to New York and from New York to Atlanta, from Atlanta to to Miami, from Miami to Dallas, from Dallas to Nashville, from Nashville to CMP, with a total of 5330 miles traveled. There is also a graphical solution option output. 43 / 46

44 44 / 46 A network flow (transshipment) problem In the next transshipment problem there are two supply points S 1, S 2, three transshipment points T 1, T 2, T 3 and two demand points D 1, D 2. Supply capacities and demand requirements are shown in the circle and respective shipping costs are shown along the arrows in squares. We want to ship the goods through transshipment points to demand points at the least possible cost. The total supply = demand is 1200 units.

45 Denote by x 11, x 12, x 13 the number of units shipped from S1 to T1, T2, T3 respectively, x 21, x 22, x 23 be the number of units shipped from S2 to T1, T2, T3 respectively. Further let y 11, y 12 be the number of units shipped from T1 to D1, D2 respectively, y 21, y 22 the units shipped from T2 to D1, D2 respectively, and y 31, y 32 the number of units shipped from T3 to D1, D2 respectively. The cost function 45 / 46 z = 4x 11 +5x 12 +3x 22 +6x 23 +3y 11 +4y 21 +2y 22 +3y 32 should be minimized subject to the constraints x 11 + x 12 + x supply constraint at S1 x 21 + x 22 + x supply constraint at S2 y 11 + y 21 + y 31 = 800 demand at D1 must be satisfied y 12 + y 22 + y 32 = 400 demand at D2 must be satisfied x 11 = y 11 what goes in T1 also goes out x 12 + x 22 = y 21 + y 22 what goes in T2 also goes out x 23 = y 32 what goes in T3 also goes out and all variables x ij, y ki should be nonnegative.

46 Click on WinQSB, and in the popup menu select Network Modeling. From there select Problem Type: Network Flow. The Objective Criterion is Minimization. Select Spreadsheet Matrix Form for data entries. Enter Problem Title: Transshipment Problem. In our problem we have seven nodes, hence enter Number of Nodes equals seven. Click OK. The screen will display a spreadsheet form for inputs with default node names. Click on EDIT on toolbar, select Node names and input appropriate node names, one to be replaced by S1 and so on and click OK. Input the data, note that blank cells represent no connections.save it as TRSSHIPM.NET Now click on the Solve and Analyze button on the toolbar and select Solve Problem. Minimal cost is 7600 and in the solution the amount of units shipped (in various ways) will be displayed. If you want to see another form of the solution, click on result and then select graphical solution. The computer will display the graphical representation of the solution. 46 / 46

Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course)

Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course) Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course) Faculty of Business Administration M.Sc. English, 2015/16 first semester Topics (1) Complex numbers. Complex

More information

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker 56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker Answer all of Part One and two (of the four) problems of Part Two Problem: 1 2 3 4 5 6 7 8 TOTAL Possible: 16 12 20 10

More information

Duality in LPP Every LPP called the primal is associated with another LPP called dual. Either of the problems is primal with the other one as dual. The optimal solution of either problem reveals the information

More information

Transportation Problem

Transportation Problem Transportation Problem. Production costs at factories F, F, F and F 4 are Rs.,, and respectively. The production capacities are 0, 70, 40 and 0 units respectively. Four stores S, S, S and S 4 have requirements

More information

The Simplex Method of Linear Programming

The Simplex Method of Linear Programming The Simplex Method of Linear Programming Online Tutorial 3 Tutorial Outline CONVERTING THE CONSTRAINTS TO EQUATIONS SETTING UP THE FIRST SIMPLEX TABLEAU SIMPLEX SOLUTION PROCEDURES SUMMARY OF SIMPLEX STEPS

More information

MATH 445/545 Homework 1: Due February 11th, 2016

MATH 445/545 Homework 1: Due February 11th, 2016 MATH 445/545 Homework 1: Due February 11th, 2016 Answer the following questions Please type your solutions and include the questions and all graphics if needed with the solution 1 A business executive

More information

2. Linear Programming Problem

2. Linear Programming Problem . Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6

More information

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Simplex Method Slack Variable Max Z= 3x 1 + 4x 2 + 5X 3 Subject to: X 1 + X 2 + X 3 20 3x 1 + 4x 2 + X 3 15 2X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Standard Form Max Z= 3x 1 +4x 2 +5X 3 + 0S 1 + 0S 2

More information

Linear Programming. H. R. Alvarez A., Ph. D. 1

Linear Programming. H. R. Alvarez A., Ph. D. 1 Linear Programming H. R. Alvarez A., Ph. D. 1 Introduction It is a mathematical technique that allows the selection of the best course of action defining a program of feasible actions. The objective of

More information

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions 11. Consider the following linear program. Maximize z = 6x 1 + 3x 2 subject to x 1 + 2x 2 2x 1 + x 2 20 x 1 x 2 x

More information

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form The Simplex Method 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard Form Convert to Canonical Form Set Up the Tableau and the Initial Basic Feasible Solution

More information

56:171 Operations Research Fall 1998

56:171 Operations Research Fall 1998 56:171 Operations Research Fall 1998 Quiz Solutions D.L.Bricker Dept of Mechanical & Industrial Engineering University of Iowa 56:171 Operations Research Quiz

More information

Chapter 4 The Simplex Algorithm Part I

Chapter 4 The Simplex Algorithm Part I Chapter 4 The Simplex Algorithm Part I Based on Introduction to Mathematical Programming: Operations Research, Volume 1 4th edition, by Wayne L. Winston and Munirpallam Venkataramanan Lewis Ntaimo 1 Modeling

More information

The Simplex Algorithm

The Simplex Algorithm The Simplex Algorithm How to Convert an LP to Standard Form Before the simplex algorithm can be used to solve an LP, the LP must be converted into a problem where all the constraints are equations and

More information

Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams:

Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams: Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams: Write your homework answers on the sheets supplied. If necessary, you can get new sheets on the

More information

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS SECTION 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS 557 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS In Sections 9. and 9., you looked at linear programming problems that occurred in standard form. The constraints

More information

The Dual Simplex Algorithm

The Dual Simplex Algorithm p. 1 The Dual Simplex Algorithm Primal optimal (dual feasible) and primal feasible (dual optimal) bases The dual simplex tableau, dual optimality and the dual pivot rules Classical applications of linear

More information

Pearson Edexcel GCE Decision Mathematics D2. Advanced/Advanced Subsidiary

Pearson Edexcel GCE Decision Mathematics D2. Advanced/Advanced Subsidiary Pearson Edexcel GCE Decision Mathematics D2 Advanced/Advanced Subsidiary Friday 23 June 2017 Morning Time: 1 hour 30 minutes Paper Reference 6690/01 You must have: D2 Answer Book Candidates may use any

More information

Decision Mathematics D2 Advanced/Advanced Subsidiary. Monday 1 June 2009 Morning Time: 1 hour 30 minutes

Decision Mathematics D2 Advanced/Advanced Subsidiary. Monday 1 June 2009 Morning Time: 1 hour 30 minutes Paper Reference(s) 6690/01 Edexcel GCE Decision Mathematics D2 Advanced/Advanced Subsidiary Monday 1 June 2009 Morning Time: 1 hour 30 minutes Materials required for examination Nil Items included with

More information

The Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1

The Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1 The Graphical Method & Algebraic Technique for Solving LP s Métodos Cuantitativos M. En C. Eduardo Bustos Farías The Graphical Method for Solving LP s If LP models have only two variables, they can be

More information

56:171 Operations Research Final Exam December 12, 1994

56:171 Operations Research Final Exam December 12, 1994 56:171 Operations Research Final Exam December 12, 1994 Write your name on the first page, and initial the other pages. The response "NOTA " = "None of the above" Answer both parts A & B, and five sections

More information

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics Dr. Said Bourazza Department of Mathematics Jazan University 1 P a g e Contents: Chapter 0: Modelization 3 Chapter1: Graphical Methods 7 Chapter2: Simplex method 13 Chapter3: Duality 36 Chapter4: Transportation

More information

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

CSC Design and Analysis of Algorithms. LP Shader Electronics Example CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours

More information

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered: LINEAR PROGRAMMING 2 In many business and policy making situations the following type of problem is encountered: Maximise an objective subject to (in)equality constraints. Mathematical programming provides

More information

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems OPERATIONS RESEARCH Michał Kulej Business Information Systems The development of the potential and academic programmes of Wrocław University of Technology Project co-financed by European Union within European

More information

M.SC. MATHEMATICS - II YEAR

M.SC. MATHEMATICS - II YEAR MANONMANIAM SUNDARANAR UNIVERSITY DIRECTORATE OF DISTANCE & CONTINUING EDUCATION TIRUNELVELI 627012, TAMIL NADU M.SC. MATHEMATICS - II YEAR DKM24 - OPERATIONS RESEARCH (From the academic year 2016-17)

More information

ST. JOSEPH S COLLEGE OF ARTS & SCIENCE (AUTONOMOUS) CUDDALORE-1

ST. JOSEPH S COLLEGE OF ARTS & SCIENCE (AUTONOMOUS) CUDDALORE-1 ST. JOSEPH S COLLEGE OF ARTS & SCIENCE (AUTONOMOUS) CUDDALORE-1 SUB:OPERATION RESEARCH CLASS: III B.SC SUB CODE:EMT617S SUB INCHARGE:S.JOHNSON SAVARIMUTHU 2 MARKS QUESTIONS 1. Write the general model of

More information

The Simplex Algorithm and Goal Programming

The Simplex Algorithm and Goal Programming The Simplex Algorithm and Goal Programming In Chapter 3, we saw how to solve two-variable linear programming problems graphically. Unfortunately, most real-life LPs have many variables, so a method is

More information

3 Development of the Simplex Method Constructing Basic Solution Optimality Conditions The Simplex Method...

3 Development of the Simplex Method Constructing Basic Solution Optimality Conditions The Simplex Method... Contents Introduction to Linear Programming Problem. 2. General Linear Programming problems.............. 2.2 Formulation of LP problems.................... 8.3 Compact form and Standard form of a general

More information

Graphical and Computer Methods

Graphical and Computer Methods Chapter 7 Linear Programming Models: Graphical and Computer Methods Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna 2008 Prentice-Hall, Inc. Introduction Many management

More information

The Assignment Problem

The Assignment Problem CHAPTER 12 The Assignment Problem Basic Concepts Assignment Algorithm The Assignment Problem is another special case of LPP. It occurs when m jobs are to be assigned to n facilities on a one-to-one basis

More information

SEN301 OPERATIONS RESEARCH I LECTURE NOTES

SEN301 OPERATIONS RESEARCH I LECTURE NOTES SEN30 OPERATIONS RESEARCH I LECTURE NOTES SECTION II (208-209) Y. İlker Topcu, Ph.D. & Özgür Kabak, Ph.D. Acknowledgements: We would like to acknowledge Prof. W.L. Winston's "Operations Research: Applications

More information

Optimisation. 3/10/2010 Tibor Illés Optimisation

Optimisation. 3/10/2010 Tibor Illés Optimisation Optimisation Lectures 3 & 4: Linear Programming Problem Formulation Different forms of problems, elements of the simplex algorithm and sensitivity analysis Lecturer: Tibor Illés tibor.illes@strath.ac.uk

More information

Introduction to Operations Research. Linear Programming

Introduction to Operations Research. Linear Programming Introduction to Operations Research Linear Programming Solving Optimization Problems Linear Problems Non-Linear Problems Combinatorial Problems Linear Problems Special form of mathematical programming

More information

The Transportation Problem

The Transportation Problem CHAPTER 12 The Transportation Problem Basic Concepts 1. Transportation Problem: BASIC CONCEPTS AND FORMULA This type of problem deals with optimization of transportation cost in a distribution scenario

More information

Introduction to Operations Research

Introduction to Operations Research Introduction to Operations Research Linear Programming Solving Optimization Problems Linear Problems Non-Linear Problems Combinatorial Problems Linear Problems Special form of mathematical programming

More information

Decision Mathematics D2 Advanced/Advanced Subsidiary. Thursday 6 June 2013 Morning Time: 1 hour 30 minutes

Decision Mathematics D2 Advanced/Advanced Subsidiary. Thursday 6 June 2013 Morning Time: 1 hour 30 minutes Paper Reference(s) 6690/01R Edexcel GE Decision Mathematics D2 Advanced/Advanced Subsidiary Thursday 6 June 2013 Morning Time: 1 hour 30 minutes Materials required for examination Nil Items included with

More information

...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided:

...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided: The LP formulation is Linear Programming: Graphical Method Maximize, Z = 2x + 7x 2 Subject to constraints, 2x + x 2 200...(i) x 75...(ii) x 2 00...(iii) where x, x 2 ³ 0 Example 7: Geetha Perfume Company

More information

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION MATHEMATICAL ECONOMICS COMPLEMENTARY COURSE B.Sc. Mathematics II SEMESTER UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION Calicut University P. O. Malappuram, Kerala, India 67 65 40 UNIVERSITY OF CALICUT

More information

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND 1 56:270 LINEAR PROGRAMMING FINAL EXAMINATION - MAY 17, 1985 SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: 1 2 3 4 TOTAL GRAND

More information

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur END3033 Operations Research I Sensitivity Analysis & Duality to accompany Operations Research: Applications and Algorithms Fatih Cavdur Introduction Consider the following problem where x 1 and x 2 corresponds

More information

Review Questions, Final Exam

Review Questions, Final Exam Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea

More information

Concept and Definition. Characteristics of OR (Features) Phases of OR

Concept and Definition. Characteristics of OR (Features) Phases of OR Concept and Definition Operations research signifies research on operations. It is the organized application of modern science, mathematics and computer techniques to complex military, government, business

More information

MAT016: Optimization

MAT016: Optimization MAT016: Optimization M.El Ghami e-mail: melghami@ii.uib.no URL: http://www.ii.uib.no/ melghami/ March 29, 2011 Outline for today The Simplex method in matrix notation Managing a production facility The

More information

UNIT-4 Chapter6 Linear Programming

UNIT-4 Chapter6 Linear Programming UNIT-4 Chapter6 Linear Programming Linear Programming 6.1 Introduction Operations Research is a scientific approach to problem solving for executive management. It came into existence in England during

More information

2. Network flows. Balance of flow: At each node, demand plus total shipments out must equal supply plus total shipments in. Reno. Denver.

2. Network flows. Balance of flow: At each node, demand plus total shipments out must equal supply plus total shipments in. Reno. Denver. . Network flows A network consists of a collection of locations along with connections between them. The locations, called the nodes of the network, can correspond to places of various kinds such as factories,

More information

56:270 Final Exam - May

56:270  Final Exam - May @ @ 56:270 Linear Programming @ @ Final Exam - May 4, 1989 @ @ @ @ @ @ @ @ @ @ @ @ @ @ Select any 7 of the 9 problems below: (1.) ANALYSIS OF MPSX OUTPUT: Please refer to the attached materials on the

More information

In Chapters 3 and 4 we introduced linear programming

In Chapters 3 and 4 we introduced linear programming SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,

More information

6.2: The Simplex Method: Maximization (with problem constraints of the form )

6.2: The Simplex Method: Maximization (with problem constraints of the form ) 6.2: The Simplex Method: Maximization (with problem constraints of the form ) 6.2.1 The graphical method works well for solving optimization problems with only two decision variables and relatively few

More information

Lesson 27 Linear Programming; The Simplex Method

Lesson 27 Linear Programming; The Simplex Method Lesson Linear Programming; The Simplex Method Math 0 April 9, 006 Setup A standard linear programming problem is to maximize the quantity c x + c x +... c n x n = c T x subject to constraints a x + a x

More information

Operations Research: Introduction. Concept of a Model

Operations Research: Introduction. Concept of a Model Origin and Development Features Operations Research: Introduction Term or coined in 1940 by Meclosky & Trefthan in U.K. came into existence during World War II for military projects for solving strategic

More information

UNIVERSITY of LIMERICK

UNIVERSITY of LIMERICK UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH Department of Mathematics & Statistics Faculty of Science and Engineering END OF SEMESTER ASSESSMENT PAPER MODULE CODE: MS4303 SEMESTER: Spring 2018 MODULE TITLE:

More information

TRANSPORTATION PROBLEMS

TRANSPORTATION PROBLEMS Chapter 6 TRANSPORTATION PROBLEMS 61 Transportation Model Transportation models deal with the determination of a minimum-cost plan for transporting a commodity from a number of sources to a number of destinations

More information

Worked Examples for Chapter 5

Worked Examples for Chapter 5 Worked Examples for Chapter 5 Example for Section 5.2 Construct the primal-dual table and the dual problem for the following linear programming model fitting our standard form. Maximize Z = 5 x 1 + 4 x

More information

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748 COT 6936: Topics in Algorithms! Giri Narasimhan ECS 254A / EC 2443; Phone: x3748 giri@cs.fiu.edu https://moodle.cis.fiu.edu/v2.1/course/view.php?id=612 Gaussian Elimination! Solving a system of simultaneous

More information

Application 1 - People Allocation in Line Balancing

Application 1 - People Allocation in Line Balancing Chapter 9 Workforce Planning Introduction to Lecture This chapter presents some applications of Operations Research models in workforce planning. Work force planning would be more of a generic application

More information

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc. Mathematics (2011 Admission Onwards) II SEMESTER Complementary Course

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc. Mathematics (2011 Admission Onwards) II SEMESTER Complementary Course UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc. Mathematics (2011 Admission Onwards) II SEMESTER Complementary Course MATHEMATICAL ECONOMICS QUESTION BANK 1. Which of the following is a measure

More information

Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment

Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment problem. There are four people (1, 2, 3, 4) and four jobs (A, B,

More information

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg MVE165/MMG630, Integer linear programming: models and applications; complexity Ann-Brith Strömberg 2011 04 01 Modelling with integer variables (Ch. 13.1) Variables Linear programming (LP) uses continuous

More information

Econ 172A, Fall 2012: Final Examination (I) 1. The examination has seven questions. Answer them all.

Econ 172A, Fall 2012: Final Examination (I) 1. The examination has seven questions. Answer them all. Econ 172A, Fall 12: Final Examination (I) Instructions. 1. The examination has seven questions. Answer them all. 2. If you do not know how to interpret a question, then ask me. 3. Questions 1- require

More information

Fundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15

Fundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15 Fundamentals of Operations Research Prof. G. Srinivasan Indian Institute of Technology Madras Lecture No. # 15 Transportation Problem - Other Issues Assignment Problem - Introduction In the last lecture

More information

Chap6 Duality Theory and Sensitivity Analysis

Chap6 Duality Theory and Sensitivity Analysis Chap6 Duality Theory and Sensitivity Analysis The rationale of duality theory Max 4x 1 + x 2 + 5x 3 + 3x 4 S.T. x 1 x 2 x 3 + 3x 4 1 5x 1 + x 2 + 3x 3 + 8x 4 55 x 1 + 2x 2 + 3x 3 5x 4 3 x 1 ~x 4 0 If we

More information

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 1: Introduction to optimization Xiaoqun Zhang Shanghai Jiao Tong University Last updated: September 23, 2017 1.1 Introduction 1. Optimization is an important tool in daily life, business and

More information

Introduction to the Simplex Algorithm Active Learning Module 3

Introduction to the Simplex Algorithm Active Learning Module 3 Introduction to the Simplex Algorithm Active Learning Module 3 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material Almost any

More information

MS-E2140. Lecture 1. (course book chapters )

MS-E2140. Lecture 1. (course book chapters ) Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form Graphical representation

More information

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis:

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis: Sensitivity analysis The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis: Changing the coefficient of a nonbasic variable

More information

1. Introduce slack variables for each inequaility to make them equations and rewrite the objective function in the form ax by cz... + P = 0.

1. Introduce slack variables for each inequaility to make them equations and rewrite the objective function in the form ax by cz... + P = 0. 3.4 Simplex Method If a linear programming problem has more than 2 variables, solving graphically is not the way to go. Instead, we ll use a more methodical, numeric process called the Simplex Method.

More information

Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment

Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment problem. There are four people (1, 2, 3, 4) and four jobs (A, B,

More information

+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1

+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1 University of California, Davis Department of Agricultural and Resource Economics ARE 5 Optimization with Economic Applications Lecture Notes Quirino Paris The Pivot Method for Solving Systems of Equations...................................

More information

February 22, Introduction to the Simplex Algorithm

February 22, Introduction to the Simplex Algorithm 15.53 February 22, 27 Introduction to the Simplex Algorithm 1 Quotes for today Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. -- Lao Tzu Give a man

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 (Second Group of Students) Students with first letter of surnames G Z Due: February 12, 2013 1. Each

More information

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE

MULTIPLE CHOICE QUESTIONS DECISION SCIENCE MULTIPLE CHOICE QUESTIONS DECISION SCIENCE 1. Decision Science approach is a. Multi-disciplinary b. Scientific c. Intuitive 2. For analyzing a problem, decision-makers should study a. Its qualitative aspects

More information

CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming

CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming Integer Programming, Goal Programming, and Nonlinear Programming CHAPTER 11 253 CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming TRUE/FALSE 11.1 If conditions require that all

More information

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science The Simplex Method Lecture 5 Standard and Canonical Forms and Setting up the Tableau Lecture 5 Slide 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard

More information

Section #2: Linear and Integer Programming

Section #2: Linear and Integer Programming Section #2: Linear and Integer Programming Prof. Dr. Sven Seuken 8.3.2012 (with most slides borrowed from David Parkes) Housekeeping Game Theory homework submitted? HW-00 and HW-01 returned Feedback on

More information

Simplex tableau CE 377K. April 2, 2015

Simplex tableau CE 377K. April 2, 2015 CE 377K April 2, 2015 Review Reduced costs Basic and nonbasic variables OUTLINE Review by example: simplex method demonstration Outline Example You own a small firm producing construction materials for

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 2 First Group of Students) Students with first letter of surnames A H Due: February 21, 2013 Problem Set Rules: 1. Each student

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 Second Group of Students (with first letter of surnames I Z) Problem Set Rules: Due: February 12, 2013 1. Each student should

More information

Linear Programming Applications. Transportation Problem

Linear Programming Applications. Transportation Problem Linear Programming Applications Transportation Problem 1 Introduction Transportation problem is a special problem of its own structure. Planning model that allocates resources, machines, materials, capital

More information

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS The main ideas are covered in AQA Edexcel MEI OCR D2 Before the exam you should know The meaning of the different kinds of node. Be able to construct a

More information

Lecture 9: Geocoding & Network Analysis

Lecture 9: Geocoding & Network Analysis Massachusetts Institute of Technology - Department of Urban Studies and Planning 11.520: A Workshop on Geographic Information Systems 11.188: Urban Planning and Social Science Laboratory Lecture 9: Geocoding

More information

MATH 445/545 Test 1 Spring 2016

MATH 445/545 Test 1 Spring 2016 MATH 445/545 Test Spring 06 Note the problems are separated into two sections a set for all students and an additional set for those taking the course at the 545 level. Please read and follow all of these

More information

LP Definition and Introduction to Graphical Solution Active Learning Module 2

LP Definition and Introduction to Graphical Solution Active Learning Module 2 LP Definition and Introduction to Graphical Solution Active Learning Module 2 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material

More information

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Farkas Lemma, Dual Simplex and Sensitivity Analysis Summer 2011 Optimization I Lecture 10 Farkas Lemma, Dual Simplex and Sensitivity Analysis 1 Farkas Lemma Theorem 1. Let A R m n, b R m. Then exactly one of the following two alternatives is true: (i) x

More information

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role Linear Programming RK Jana Lecture Outline Introduction to Linear Programming (LP) Historical Perspective Model Formulation Graphical Solution Method Simplex Method Introduction to LP Continued Today many

More information

56:171 Operations Research Fall 2000

56:171 Operations Research Fall 2000 56:171 Operations Research Fall 2000 Quiz Solutions D.L.Bricker Dept of Mechanical & Industrial Engineering University of Iowa 56:171 Operations Research Quiz #1 Solutions August 30, 2000 For each statement,

More information

Integer programming: an introduction. Alessandro Astolfi

Integer programming: an introduction. Alessandro Astolfi Integer programming: an introduction Alessandro Astolfi Outline Introduction Examples Methods for solving ILP Optimization on graphs LP problems with integer solutions Summary Introduction Integer programming

More information

Math Models of OR: Sensitivity Analysis

Math Models of OR: Sensitivity Analysis Math Models of OR: Sensitivity Analysis John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 8 USA October 8 Mitchell Sensitivity Analysis / 9 Optimal tableau and pivot matrix Outline Optimal

More information

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis Ann-Brith Strömberg 2017 03 29 Lecture 4 Linear and integer optimization with

More information

Introduction. Very efficient solution procedure: simplex method.

Introduction. Very efficient solution procedure: simplex method. LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid 20th cent. Most common type of applications: allocate limited resources to competing

More information

FURTHER MATHEMATICS Units 3 & 4 - Written Examination 2

FURTHER MATHEMATICS Units 3 & 4 - Written Examination 2 THIS BOX IS FOR ILLUSTRATIVE PURPOSES ONLY 2016 Examination Package - Trial Examination 4 of 5 Figures STUDENT NUMBER Letter Words FURTHER MATHEMATICS Units 3 & 4 - Written Examination 2 (TSSM s 2014 trial

More information

CS Algorithms and Complexity

CS Algorithms and Complexity CS 50 - Algorithms and Complexity Linear Programming, the Simplex Method, and Hard Problems Sean Anderson 2/15/18 Portland State University Table of contents 1. The Simplex Method 2. The Graph Problem

More information

Lecture 8 Network Optimization Algorithms

Lecture 8 Network Optimization Algorithms Advanced Algorithms Floriano Zini Free University of Bozen-Bolzano Faculty of Computer Science Academic Year 2013-2014 Lecture 8 Network Optimization Algorithms 1 21/01/14 Introduction Network models have

More information

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique. IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, 31 14. You wish to solve the IP below with a cutting plane technique. Maximize 4x 1 + 2x 2 + x 3 subject to 14x 1 + 10x 2 + 11x 3 32 10x 1 +

More information

Duration of online examination will be of 1 Hour 20 minutes (80 minutes).

Duration of online examination will be of 1 Hour 20 minutes (80 minutes). Program Name: SC Subject: Production and Operations Management Assessment Name: POM - Exam Weightage: 70 Total Marks: 70 Duration: 80 mins Online Examination: Online examination is a Computer based examination.

More information

Sensitivity Analysis and Duality in LP

Sensitivity Analysis and Duality in LP Sensitivity Analysis and Duality in LP Xiaoxi Li EMS & IAS, Wuhan University Oct. 13th, 2016 (week vi) Operations Research (Li, X.) Sensitivity Analysis and Duality in LP Oct. 13th, 2016 (week vi) 1 /

More information

Solving an optimization problem of a profit calculation taking into account fixed costs in Excel

Solving an optimization problem of a profit calculation taking into account fixed costs in Excel Solving an optimization problem of a profit calculation taking into account fixed costs in Excel AUTHORS ARTICLE INFO JOURNAL FOUNDER Lyudmyla Malyarets Olesia Iastremska Lyudmyla Malyarets and Olesia

More information

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION Part I: Short Questions August 12, 2008 9:00 am - 12 pm General Instructions This examination is

More information

MS-E2140. Lecture 1. (course book chapters )

MS-E2140. Lecture 1. (course book chapters ) Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form problems Graphical representation

More information

56:171 Fall 2002 Operations Research Quizzes with Solutions

56:171 Fall 2002 Operations Research Quizzes with Solutions 56:7 Fall Operations Research Quizzes with Solutions Instructor: D. L. Bricker University of Iowa Dept. of Mechanical & Industrial Engineering Note: In most cases, each quiz is available in several versions!

More information