LINEAR PROGRAMMING - V.

Size: px
Start display at page:

Download "LINEAR PROGRAMMING - V."

Transcription

1 LINEAR PROGRAMMING Vassilis Kostoglou URL: LINEAR PROGRAMMING - V. Kostoglou 1

2 The problem of limited resources Every business activity requires resources There are several types of resources, such as: Capital Human resources Equipment Available time Raw materials In real life there are constraints in all types of resources making them limited The problem: the optimal allocation of limited resources LINEAR PROGRAMMING - V. Kostoglou 2

3 What is Mathematical Programming? Mathematical programming is used to find the optimal or best available solution to a problem that requires a decision or set of decisions about how best to use a set of limited resources to achieve an objective. Steps involved in Mathematical Programming - Conversion of a stated problem into a mathematical model that abstracts all the essential elements of the problem - Eploration of different solutions of the problem - Finding out the optimal of most suitable solution Linear programming requires that all the mathematical functions of the model are linear functions. LINEAR PROGRAMMING - V. Kostoglou 3

4 What is Linear Programming (LP)? A mathematical technique helping to plan and make decisions relative to the necessary balances to allocate resources. Calculates find the minimum or maimum value of the objective function. Guarantees the optimal solution to the model formulated. Linear programming is a widely used mathematical modeling technique to determine the optimum allocation of resources among competitive requirements. Resources typically include raw materials, manpower, machinery, time, capital, space, volume etc. LINEAR PROGRAMMING - V. Kostoglou 4

5 LP is a powerful tool which has been proved very useful due to its application in many different types of real business problems in areas like finance, production, sales and distribution, personnel management, marketing and several others. As its name implies, the LP model consists of linear objective function and linear constraints, implying that the variables of the model have a proportionate relationship. LINEAR PROGRAMMING - V. Kostoglou 5

6 Historical overview 1928 John von Neumann published the Relative Central Theorem of Game Theory 1944 Von Neumann and Morgenstern published the Theory of Games and Economic Behavior 1936 W.W. Leontief published "Quantitative Input and Output Relations in the Economic Systems of the US" which was a linear model without objective function 1939 Kantoravich (Russia) actually formulated and solved a LP problem 1941 Hitchcock poses the Transportation Problem (special case of LP) WW II Allied forces formulate and solve several LP problems related to military LINEAR PROGRAMMING - V. Kostoglou 6

7 A breakthrough occurred in US Air Force wanted to investigate the feasibility of applying mathematical techniques to military budgeting and planning. George Dantzig proposed that the interrelations among activities in a large organization can be viewed as a LP model and that the optimal program (solution) can be obtained by minimizing a single linear objective function. Air Force initiated the project SCOOP (Scientific Computing of Optimum Programs). SCOOP began in June 1947 and at the end of that summer Dantzig and associates had developed: 1) An initial mathematical model of the general linear programming problem. 2) A general method of solution called the Simple method. LINEAR PROGRAMMING - V. Kostoglou 7

8 The essentials of the Linear Programming model For a given problem situation, there are certain essential conditions that need to be solved by using Linear Programming: 1. Limited resources: limited number of labour, material equipment and finance 2. Objective: refers to the optimization aim (maimize profits or minimize costs) 3. Linearity: the increase of labour input will cause a proportionate increase of output 4. Homogeneity: products, workers, efficiency, and machines are assumed to be identical 5. Divisibility: it is assumed that resources and products can be divided into fractions (in practice these fractions are not possible, like production of one-third of a computer - in these cases a modification of Linear Programming called Integer Programming can be used) LINEAR PROGRAMMING - V. Kostoglou 8

9 Some characteristic LP applications 1. Scheduling school buses to minimize the total distance traveled. 2. Allocating police patrol units to high crime areas in order to minimize response time to calls. 3. Scheduling bank tellers so that needs are met during each hour of the day while minimizing the total labour cost. 4. Selecting the product mi in a factory to make best use of machine and labour hours available while maimizing the company's net profit. 5. Picking blends of raw materials in animal feed production plants to produce finished feed combinations at minimum cost. 6. Determining the distribution system that minimizes total shipping cost. LINEAR PROGRAMMING - V. Kostoglou 9

10 7. Developing a production schedule that will satisfy future demands for a firm s product and at the same time will minimize the total production and inventory costs. 8. Allocating the available renting space in a new shopping mall so that to maimize the revenues of a leasing company. LINEAR PROGRAMMING - V. Kostoglou 10

11 Requirements of an LP problem 1. LP problems seek to maimize or minimize a quantity (usually profit or cost) epressed as an objective function. 2. The presence of restrictions or constraints limits the degree to which an objective can be pursued. 3. There must be alternative courses of action to choose from. 4. The objective function and the constraints in linear programming problems must be epressed in terms of linear equations or inequalities. LINEAR PROGRAMMING - V. Kostoglou 11

12 A Linear Programming model seeks to maimize or minimize a linear function, subject to a set of linear constraints. The linear model consists of the following components: - A set of decision variables - An objective function - A set of constraints LINEAR PROGRAMMING - V. Kostoglou 12

13 The importance of Linear Programming Many real world problems lend themselves to linear programming modeling. Also many of these real problems can be approimated by linear models. There are well-known successful LP applications in: Manufacturing Marketing Finance and investment Advertising Agriculture There are efficient techniques that solve LP models. The outputs generated from LP computer packages provide a very useful what if analysis called sensitivity analysis. LINEAR PROGRAMMING - V. Kostoglou 13

14 Assumptions of the linear programming model The parameters' values are known with certainty. The objective function and the constraints ehibit constant scale returns. Τhe additivity assumption: There are no interactions between the decision variables. The continuity assumption: Variables can take any value within a given feasible range. LINEAR PROGRAMMING - V. Kostoglou 14

15 Integer and mied-integer problems A LP problem in which all the decision variables must have integer values is called an integer programming problem. A problem in which only some of the decision variables must have integer values is called a mied-integer programming problem. Sometimes, some (or all) of the decision variables must have the value of either 0 or 1. Such problems are then called zero-one mied-integer programming problems. Simple method cannot be used to such problems. Advanced methods are available for this purpose. LINEAR PROGRAMMING - V. Kostoglou 15

16 Generally about LP Problems of resources optimal allocation. Epressed with a linear first degree function. Optimization of a function which is subjected to constraints. For non linear functions non linear programming is used. Other cases: Mathematical programming, Integer programming, Programming of separable variables. LINEAR PROGRAMMING - V. Kostoglou 16

17 A model eample A chemical factory produces three independent products A, B and C. Each product is processed sequentially by the machines Χ, Y and Ζ as following: - Product Α: processing by the machines Χ and Y - Product Β: processing by the machines Χ, Y and Ζ - Product C: processing by the machines Y and Ζ Graphical representation of the production process LINEAR PROGRAMMING - V. Kostoglou 17

18 Each product liter requires one unit of machine capacity Daily machine capacities: - Χ: 100 units - Υ: 200 units - Ζ: 400 units Net profits for each liter of Α, Β and C are in proportion 3:4:2 Unlimited demand for products Α and C Maimum daily demand of Β: 80 liters According to current management s decision, the following amounts are produced daily: 80 liters of product Β, 20 liters of product Α and 120 liters of product C. Is this the most appropriate policy regarding profit maimization? LINEAR PROGRAMMING - V. Kostoglou 18

19 Configuration of the mathematical model ma F = 3* 1 +4* 2 +2* 3 with structure constraints: (for machine Χ) (for machine Y) (for machine Ζ) 2 80 (from daily maimum demand) and non-negativity constraints 1, 2, 3 0 LINEAR PROGRAMMING - V. Kostoglou 19

20 The standard LP model ma f ( X) c1 1 c2... c n n with structure constraints: a a a m1 1 1 a a a m a... a 1n 2n a mn n n n b 1 b 2 b m and non-negativity constraints 1 0, 2 0,..., n 0 LINEAR PROGRAMMING - V. Kostoglou 20

21 Model variations Minimization of the objective function Some of the constraints may have > or >= or < or = Some of the decision variables are not necessarily non-negative In every case, a mathematical representation equivalent to the standard LP model has to be determined. LINEAR PROGRAMMING - V. Kostoglou 21

22 LINEAR PROGRAMMING - V. Kostoglou 22 Alternative LP model formulation with constraints where ] [ n c c c C X C X * ) ( ma f P 0 X A * 0 X nn n n n n a a a a a a a a a A n X b m b b P 0

23 LP terminology Restrictive line A straight line corresponding to a constraint of the model. Verte or etreme point A point at which two restrictive lines are intersecting. Solution Every combination of the decision variables values. Feasible solution A solution satisfying all the constraints. Non feasible solution A solution not satisfying at least one of the constraints. LINEAR PROGRAMMING - V. Kostoglou 23

24 Feasible region The (curved) region of feasible solutions formed by the restrictive lines. Etreme point feasible solution Is one of the vertees of the feasible region. Neighboring feasible solutions They are connected with an edge (boundary) of the feasible region. Basic solution (etreme point solution) A solution corresponding to a verte (has non-zero variables equal to the number of the constraints). Non basic solution A solution that is not on a verte of the feasible region and can be feasible or non feasible. LINEAR PROGRAMMING - V. Kostoglou 24

25 Basic feasible solution A basic solution that corresponds to a verte of the feasible region and all its variables are non-negative. Slack value Any ecess of an available resource (constraint symbol < or <). Surplus value Any "surpassing" (surplus) of a requirement (constraint symbol > or >). Auiliary variables Variables corresponding to slack values and surplus values. Basic (non basic) variable A non-zero (zero) variable in a solution containing decision and auiliary variables. Active (or mandatory) constraint When the resource is completely consumed or there is no surplus (zero slack or surplus respectively). LINEAR PROGRAMMING - V. Kostoglou 25

26 Non mandatory constraint When a resource is not ehausted (<) or a requirement is being surpassed (>) (non-zero slack or surplus respectively). Optimal solution The feasible solution of an etreme point that gives to the objective function the optimal value (maimum or minimum). The optimal solution can be only one; however there are a case with unlimited optimal solutions or no optimal solution or the value of the objective function tends to infinity. In every case the amount of feasible solutions of an etreme point is finite. When a feasible solution of an etreme point is better than all its neighboring then this solution is the optimal. Optimal value The value of the objective function that corresponds to the optimal solution. LINEAR PROGRAMMING - V. Kostoglou 26

27 Eample 1 A manufacturing industrial unit produces three conventional television models (standard, delue and super) and a high-tech model (high-tech). Management is certain that all production can be purchased in the market. Each device passes in the production process from all three relevant departments: the workshop, the assembly, and the final control. The number of working hours required for each device type in each department is listed in the following table. Departments /TV types Standard Delue Super High-tech Workshop Assembly Control 1/2 3/5 2 2 LINEAR PROGRAMMING - V. Kostoglou 27

28 The total capacity of the unit and the capacities of the three departments do not allow more than 2500, 3000 and 240 man-hours per day in the workshop, assembly and control respectively. Moreover, due to eisting signed contracts at least 50 standard and 50 delue devices must be produced daily. The net profit (selling price - total unit cost) from the sale of one unit of each device is: Standard Delue Super Hightech Profit ( ) Questions: 1. Formulate a linear programming model to determine the optimal production mi. 2. Investigate the possibility of reducing the dimensions of the Simple tableau by removing any redundant constraints. LINEAR PROGRAMMING - V. Kostoglou 28

29 Problem analysis Decision variables: The production quantities of the four TV types: 1, 2, 3, 4 Objective function: Maimization of the total profit - F = 25* * * * 4 Constraints for each department Constraints for the production quantities LINEAR PROGRAMMING - V. Kostoglou 29

30 Model formulation ma F with constraints (1/ 2) (3/ 5) and 1, 2, 3, 4 0 LINEAR PROGRAMMING - V. Kostoglou 30

31 Observing the first two structure constraints it can be seen that: i.e. the left side of the second constraint is obviously smaller than the right side. So, the second constraint is surplus and therefore it can be removed. The problem can be simplified more if the following transformation of variables is carried out: LINEAR PROGRAMMING - V. Kostoglou 31

32 Substituting in the constraints 1 1 and indicates that 12 1 (1/ 2) (3/ 5) Dividing the first constraint by ~ 6.22 (= 1150/185) indicates that This relation 'covers' the second constraint of the problem LINEAR PROGRAMMING - V. Kostoglou 32

33 Final LP model of the problem ma F with just one structure constraint and , 2, 3, 4 0 where F F LINEAR PROGRAMMING - V. Kostoglou 33

34 Eample 2 A housewife faces the problem of purchasing quantities of meat, potatoes and vegetables, which constitute her main personal diet. She has already been informed by the dietitian of a women's magazine that her full weekly diet nutrition should contain as a minimum requirement 8 units of carbohydrates, 15 units of protein and 6 units of vitamins. The unit numbers of these three constituents contained in each unit of weight (kg) of the three foods and the food unit costs are shown in the following table. Nutrients Foods Meat Potatoes Vegetables Carbohydrates Proteins Vitamins Cost ( /kg) LINEAR PROGRAMMING - V. Kostoglou 34

35 The housewife would like to know the quantities of each food she should purchase, so that to meet the minimum requirements of these basic ingredients and minimize the total purchasing cost. After some time a new nutrient requirement consisting of 7 units of calcium has been added to housewife s dietary. Each kg of meat, potatoes and vegetables contain 2, 1 and 4 units of calcium, respectively. How this additional requirement of the new ingredient affects the quantities that must be purchased with a minimum cost? LINEAR PROGRAMMING - V. Kostoglou 35

36 Problem analysis Decision variables: The quantities (kg) of meat, potatoes and vegetables - 1, 2, 3 Objective function: Minimization of total cost: F = 10* 1 + 1* 2 + 2* 3 Constraints of nutrients (minimum required quantities) LINEAR PROGRAMMING - V. Kostoglou 36

37 LINEAR PROGRAMMING - V. Kostoglou 37 Model formulation with constraints and min F ,, 3 2 1

38 For the new additional nutrient (calcium) the addition of a new constraint is required: When the problem with the new constraint is solved the influence of the new nutrient to the cost and composition of the diet can be determined. What is sensitivity analysis LINEAR PROGRAMMING - V. Kostoglou 38

39 Eample 3 A hydraulic components production small company manufactures two types of safety valves. For this purpose the company buys matrices (molds) from an eternal supplier, and then processes, holes and smoothes them. The respective production rates - epressed in number of valves per hour - of the above three phases are presented in the following table. Valves production rates per phase Valve type Type Α Type Β Phase Processing Holing Smoothing LINEAR PROGRAMMING - V. Kostoglou 39

40 Each matri for type A valves costs 2, while that for type B valves costs 3. The ready valves of type A and B are sold 5 and 6 respectively. The use of the three basic production machines (lathe, drill, and grinder) implies a current operating cost, which equals 20, 14 and 20 per working hour respectively. It is considered that there is no restriction in the amounts or combination of the valves of the two types that can be sold in the market. Develop the appropriate mathematical model to determine the mi of production that maimizes the total net profit. LINEAR PROGRAMMING - V. Kostoglou 40

41 Problem analysis Decision variables: The number of valves of type Α and Β produced per hour - 1, 2 Constraints: There are not obvious constraints originating neither from the production process nor from the capacities of the 3 phases. The only constraint is time; essentially the hourly rates of valves production. Lathe (phase 1): In one hour it produces 30 valves Α or 40 valves Β one unit of type Α is produced in 1/30 of the hour, while one unit of type Β in 1/40 of the hour 1 units of type Α in 1 /30 hours and 2 units of type Β in 2 /40 hours total required time: 1 / /40 The time constraint of lathe is: 1 / /40 1 (hour) LINEAR PROGRAMMING - V. Kostoglou 41

42 Drill (phase 2): In one hour it produces 28 valves of type Α or 35 valves of type Β one unit of type Α is produced in 1/28 of the hour and the 1Β in 1/35 1 units of A in 1 /28 and 2 units of B in 2 /35 total time: 1 / /35 The time constraint of lathe is: 1 / /35 1 (hour) Grinder (phase 3): In one hour produces 30 valves Α or 25 valves Β one unit of type Α in 1/30 of the hour, while one unit of type Β in 1/25 1 units of A in 1 /30 and 2 units of B in 2 /25 total time: 1 / /25 The time constraint of lathe is: 1 / /25 1 (hour) LINEAR PROGRAMMING - V. Kostoglou 42

43 Cost of each valve of type Α: If in 1 hour the lathe produces 30 units and the hourly operating cost is 20, this means that the cost of each unit is 20/30. In the drill (with the same reasoning) the cost is 14/28. In the grinder the production cost of each unit is 20/30. Total cost of producing a unit of type A: 20/30 +14/28 +20/30 = 11/6 Cost of each valve of type B: With the same analysis and by summing the individual costs on the 3 machines, the total production cost of each unit is: 20/ / / 30 = 11/6 Net profit from the sale of each unit: Profit from the sale of each unit of type A: 5 - ( /6) = 7/6 Profit from the sale of each unit of type B: 6 - ( /10) = 13/10 Total hourly production profit: (7/6)* 1 + (13/10)* 2 LINEAR PROGRAMMING - V. Kostoglou 43

44 The LP model ma F with constraints and , 2 0 LINEAR PROGRAMMING - V. Kostoglou 44

45 Eample 4 A company manufactures two new models of modern refrigerators with corresponding names "no frost'' and" freezer ". The production area is divided in three departments: the forming part (F) where the final surfaces are formed, the assembly (A), and the painting (P) where the final finishing and painting of the refrigerators are made. Each refrigerator type needs a different number of working hours in each department. So, each batch of 12 refrigerators "no frost" needs 60, 80 and 20 working hours in departments F, A and P respectively, while the respective batch of 12 refrigerators "freezer" needs 70, 85 and 10 working hours in each of the three departments respectively. The staffing of the departments is such, that the working hours available to each of them are 2400, 3000 and 600 respectively during a working month. Design a monthly production schedule minimizing the total idle time of the staff. LINEAR PROGRAMMING - V. Kostoglou 45

46 Problem analysis Decision variables: Number of batches of the 2 refrigerators types - NF, F Constraints in the available working hours in each department: Forming (F): 60 NF + 70 F 2400 Assembly (A): 80 NF + 85 F 3000 Painting (P): 20 NF + 10 F 600 The difficulty of the problem lies in the creation of the objective function as there are no economic data, the aim being to minimize the unused time. LINEAR PROGRAMMING - V. Kostoglou 46

47 Observing the composition of the three constraints referred to man-hours, it comes up that the unused time in each department is the difference between the right (available working hours) and the left (actual working hours) side of the corresponding constraint. Thus we can define new variables 1, 2, and 3, symbolizing the unused (idle) times of departments F, A and P respectively. Idle times of each department: Department F: 60 NF + 70 F NF + 70 F + 1 = 2400 Department A: 80 NF + 85 F NF + 85 F + 2 = 3000 Department P: 20 NF + 10 F NF + 10 F + 3 = 600 LINEAR PROGRAMMING - V. Kostoglou 47

48 LP model formulation min F NF 165 F with constraints NF NF NF F F F and, 0 NF F LINEAR PROGRAMMING - V. Kostoglou 48

49 Eample 5 Nori & Leets Co., one of the largest steel producers in the world, is located net to Steeltown and is nearly the sole employer of its inhabitants. Steeltown grew and progressed rapidly along with the company, which now employs nearly of its inhabitants. For this reason the mentality of its residents for many years has been: "whatever is good for Nori & Leets is good for the city too." However this has now changed, because uncontrolled air pollution from factory furnaces has altered the city environment and endangered the health of the population. A recent uprising of the shareholders led to the election of a new enlarged managing board. New management is determined to pursue a responsible social policy and has already discussed with officials of the municipality and representatives of the citizens about what should be done concerning the problem of air pollution. They have mutually concluded to strict specifications of air quality for city s atmosphere. LINEAR PROGRAMMING - V. Kostoglou 49

50 The three main types of pollution factors in the atmosphere of the region are particulates, sulfuric oides and hydrocarbons. The new measures require that the company must reduce its annual emissions of these pollution factors by the following amounts (epressed in thousands of tons). Required annual reductions of contaminants emissions Pollution factor Required reduction of annual emission rate (thousand tons) Particulates 60 Sulfuric oides 150 Hydrocarbons 125 The managing board instructed company s engineers to determine how the required decreases can be achieved in the most economical manner. LINEAR PROGRAMMING - V. Kostoglou 50

51 The operation of the factory implies two main pollution sources: a) the blast furnaces used to produce cast iron, b) the open hearth furnaces used to convert iron into steel. In both cases, engineers suggested that the most effective ways of mitigating pollution are: 1) increasing the height of the furnaces, 2) using filters (including gas traps) in the furnaces, and 3) improving the quality of fuels (using cleaner high-quality ingredients) used in the furnaces. All these methods have some specific technological limits on the amount of the emission of the pollution factors that can wipe out as shown in the table below. Nevertheless, these methods can be used in any fraction (percentage) of their potential of pollution mitigation. Moreover, as the function of the three methods is independent, the emission reduction achieved by each of them is not significantly affected by simultaneous use of anyone of the others. LINEAR PROGRAMMING - V. Kostoglou 51

52 Reductions of emission rates by the full use of each method of pollution mitigation (in thousand tons per year) Higher furnaces Filter use Improved fuels Pollution factors Blast furnaces Open hearth furnaces Blast furnaces Open hearth furnaces Blast furnaces Open hearth furnaces Particulates Sulfate oides Hydrocarbons After the collection of the above data it became obvious that none of the three methods was sufficient itself to achieve all necessary reductions in environmental pollution. However, the combination of all methods in full capacity on the one hand would be more than enough, and on the other hand the total cost would be prohibitive for the company if, as natural, the prices of its products should continue to be competitive. LINEAR PROGRAMMING - V. Kostoglou 52

53 For these reasons the company's engineers concluded that a combination of these methods should be used, probably with fractions (percentages) of their full capacity of pollution mitigation based on the corresponding costs. Moreover, because of the differences between the blast furnaces and the open hearth furnaces, probably should not be used the same combination of methods in these two types of furnaces. It was also specified that the cost of a method s reduced use is directly proportional to the percentage of its capacity. Thus, for any given fraction used, the corresponding annual cost is equal to the appropriate percentage of the full cost. The company then conducted detailed costing to estimate the total annual cost for the implementation of each of the three pollution mitigating methods. Apart of the increased operating and maintenance costs, it was also given emphasis in both the fied cost of each method (which was converted to its equivalent on annual basis) and at any intermediate loss in the efficiency of the production process. This analysis resulted in the following estimates of the annual cost for using each method to full capacity. LINEAR PROGRAMMING - V. Kostoglou 53

54 Annual cost of using each pollution mitigation method (in millions of ) Mitigation method Blast furnaces Open hearth furnaces Higher furnaces 8 10 Filter use 7 6 Improved fuels 11 9 The final stage of the preliminary study was the development of a general frame for the overall plan of the company on pollution mitigation. The project consists of determining the methods which will be used for the reduction of the pollution and the possible fractions of their use. Due to the combined nature of the problem of determining the plan that meets all the requirements at minimum cost, an Operational Research group was formed to solve it. The group adopted an approach using Linear Programming. Which was it? LINEAR PROGRAMMING - V. Kostoglou 54

55 Problem analysis Decision variables: 1 : heighten the blast furnaces 2 : heighten the open hearth furnaces 3 : filter use in the blast furnaces 4 : filter use in the open hearth furnaces 5 : fuels improvement in the blast furnaces 6 : fuels improvement in the open hearth furnaces where i (i = 1, 2, 6) the fraction used of the corresponding method Total cost: LINEAR PROGRAMMING - V. Kostoglou 55

56 Constraints from the reductions of the pollution factors: For the particulates: For the sulfate oides: For the hydrocarbons: LINEAR PROGRAMMING - V. Kostoglou 56

57 LINEAR PROGRAMMING - V. Kostoglou 57 The LP model with nine structure constraints and min F 1,,,,, ,,,,,

58 Eample 6 A paper industry produces among other products white high resolution paper, which is wrapped in two meters long pieces in standardized cylinders of one meter height. The white paper is cut into a number of smaller and probably different lengths, with fied height of one meter, in order to meet all customers orders. The paper industry received last week the following orders. The lengths are epressed in palms (tenths of meter, i.e. 10 cm), which is the usual measure of this type of paper. Weekly orders Length (palms) Number of items LINEAR PROGRAMMING - V. Kostoglou 58

59 The industry would like to cut the fied length of 20 palms white papers so that to satisfy all the above orders, and to minimize the total wastage (loss). Design an appropriate mathematical model for solving the problem of the paper industry with the use of Linear Programming. LINEAR PROGRAMMING - V. Kostoglou 59

60 Problem analysis It is not possible to cut more than three pieces of white paper from one cylinder (e.g. 3 * 5.5 = 16.5 and 3.5 palms as wastage - this way can be symbolized as: 5.5, 5.5, 5.5 wastage 3.5). Each cylinder can be cut to one, two or three pieces by the following 13 possible ways (lengths of pieces - wastage): (9, 0, 0-11) - (9, 9, 0-2) - (9, 7, 0-4) - (9, 5.5, 0-5.5) - (9, 5.5, 5.5-0) - (7, 0, 0-13) - (7, 7, 0-6) - (7, 7, ) - (7, 5.5, 0-7.5) - (7, 5.5, 5.5-2) - (5.5, 0, ) - (5.5, 5.5, 0-9) and (5.5, 5.5, ). Every possible way of cutting the blotting paper can be represented by a variable i. Consequently 13 variables are defined: 1, 2, 13 (i = 1, 2,.. 13): number of cylinders that are cut by the i th way LINEAR PROGRAMMING - V. Kostoglou 60

61 Total loss: Minimization of the objective function F = 11* 1 + 2* 2 + 4* * 4 + 0* * 6 + 6* * * 9 + 2* * * * 13 Constraints: For the 30 pieces of 9 palms: = 30 For the 150 pieces of 7 palms: = 150 For the 65 pieces of 5,5 palms: = 65 Also, for all variables non-negativity constraints apply. LINEAR PROGRAMMING - V. Kostoglou 61

62 Organization of the mathematical model 1) Conversion of the objective function and constraints in the LP model format. 2) Change the inequality direction of the required constraints, so that the right hand sides of all constraints are non-negative numbers. Consequently, if the right hand side of a constraint is negative, a change of the sign and the inequality direction is needed (multiplying both sides by -1). 3) Conversion of the structure constraints which are inequalities to equivalent equalities. This is achieved by the addendum (addition if the direction of the inequality is < or or deduction if the direction is of the format > or ) of new nonnegative variables, which are called dummy variables (slack or surplus). 4) Construction in the left hand side of the structure constraints of a complete unary table by adding the appropriate number of new variables, called artificial variables. LINEAR PROGRAMMING - V. Kostoglou 62

63 Methodology of graphical solution 1. Each constraint is initially considered as equality and is plotted by a line (or a level in three-dimensional problems). 2. The part of the level (or of the space in three-dimensional problems), which s all points verify a specific constraint is identified for every constraint. [The fastest way is to check whether the intersection of the aes (coordinate 0,0) verifies the constraint (what is valid for this coordinate will also be valid for all points belonging to the same semi-level)] 3. The intersection of all semi-levels is defined, which verifies all the constraints. Consequently all vertices of the intersection are being defined. 4. The objective function f() is plotted, consisting of the family of parallel lines with a standard direction coefficient. The different values of the objective function are represented by the corresponding parallel lines. LINEAR PROGRAMMING - V. Kostoglou 63

64 5. The objective function line moves in parallel to herself to the direction where her value increases (or decreases if the aim is its minimization), until it meets with the part of the level which is the intersection of all constraints. From the family of lines meeting the intersection of the constraints, only the lines crossing the intersection vertices are considered. 6. The values of the lines crossing the intersection vertices are calculated. The verte, from which passes the line with the highest (smallest in minimization problems) value is the optimum solution of the problem. The values of the variables consisting the optimum solution are the coordinates of this verte. LINEAR PROGRAMMING - V. Kostoglou 64

65 Graphical solution of maimization problems ma f() = with structure constraints and non-negativity constraints 1, 2 0 LINEAR PROGRAMMING - V. Kostoglou 65

66 Graphical solution of maimization problem LINEAR PROGRAMMING - V. Kostoglou 66

67 Verte Coordinates f() value Α (0,0) 0 Β (0,5) 10 C (9,2) 13 D (10,0) 10 Thus, the maimum value of f() is 13, the corresponding line meets verte C, and the values of the variables are 1 = 9 and 2 = 2. LINEAR PROGRAMMING - V. Kostoglou 67

68 Graphical solution of minimization problems min z() = with structure constraints and non-negativity constraints 1, 2 0 LINEAR PROGRAMMING - V. Kostoglou 68

69 Graphical solution of minimization problem LINEAR PROGRAMMING - V. Kostoglou 69

70 Solving the system of the two equations results in: 1 = and 2 = Thus, the minimum value of the objective function is: Min Ζ = 24 * * = LINEAR PROGRAMMING - V. Kostoglou 70

71 The Simple method A large variety of Simple-based algorithms eist to solve LP problems. Other (polynomial type) algorithms have been developed for solving LP problems: - Khachian algorithm (1979) - Kamarkar algorithm (AT&T Bell Labs, mid 80s) None of these algorithms has been able to beat Simple in actual practical applications; hence Simple (in its various forms) is and will most likely remain the most dominant LP algorithm for at least the near future. LINEAR PROGRAMMING - V. Kostoglou 71

72 Fundamental theorem Etreme point (or Simple filter) theorem: If the maimum or minimum value of a linear function defined over a polygonal conve region eists, then it is certain that this value is at the boundary of the region. A finite number of etreme points imply a finite number of solutions. Hence, the search is reduced to a finite set of points. However, a finite set can still be too large for practical purposes. Simple method provides an efficient systematic search guaranteed to converge in a finite number of steps. LINEAR PROGRAMMING - V. Kostoglou 72

73 General form of the initial Simple tableau Base 1 2 n n+1 n+2... n+m R.H. n+1 n+2... n+m a 11 a a 1n a 21 a a 2n a m1 a m2... a mn b 1 b 2... b m -f c 1 c 2... c n LINEAR PROGRAMMING - V. Kostoglou 73

74 Previous Simple tableau Base 1... m m+1... X s... n+m R.H a 1,m+1... a 1,s... a 1,n b r 0 0 a r,m+1... a r,s a r,n b r m a r,m+1... a m,s... a m,n b m c m+1... c s... c n -f 0 LINEAR PROGRAMMING - V. Kostoglou 74

75 New (current) Simple tableau Base 1.. r.... m... m+1... s... n+m R.H r m a 1s a rr a 1,m+1 -a 1,s a r,m+1 0 a 1,m+1 -a 1,s a r,m a r,m+1 a r,n 0 a rr = 0 a r,m+1 = 1 a rn = a rs a rs a rs a ms a rr 1 a m,n+1 -a m,s a r,m+1 0 a m,n -a m,s a r,n b 1 -a 1,s b r b r = b r a rs b m -a ms b r -f 0... c s a rr... 0 c m+1 -c s a r,m c n -c s a r,n -f 0 -c s a r,n LINEAR PROGRAMMING - V. Kostoglou 75

76 Basic steps of Simple 1. Begin the search at an etreme point (i.e. a basic feasible solution). 2. Determine if the movement to an adjacent etreme point can improve the optimization of the objective function. If not, the current solution is optimal. If improvement is possible, then proceed to the net step. 3. Move to the adjacent etreme point which offers (or at least appears to offer) the best improvement in the objective function. 4. Continue with steps 2 and 3 until the optimal solution is found or it can be shown that the problem is either unbounded or infeasible. LINEAR PROGRAMMING - V. Kostoglou 76

77 Synopsis of Simple method steps (after the determination of the initial basic feasible solution) Step 1: Step 2: Step 3: Step 4: Identification of the incoming non-basic variable. Identification of The outgoing non-basic variable. By elementary operations between the lines of the current tableau the net Simple tableau is indicated, in which are reflected the changes that practically lead to the net verte of the feasible region. The new (current) basic feasible solution is being tested whether it is optimal. If this solution is optimal then the procedure stops, otherwise: Move to step 1. LINEAR PROGRAMMING - V. Kostoglou 77

78 Steps of LP problem solution - Maimization problems 1. Introduction to the base of the variable s with the largest positive coefficient c s (lowest negative in minimization problems). 2. Removal from the base of the variable r with the smallest positive quotient b r /a rs, where a rs > Formulation of a new Simple tableau replacing into the base variable r with s. 4. Calculation of the elements of variable s new line by dividing the corresponding elements of variable r previous row of with the pivot element a rs. 5. Replacement of all remaining elements according to the equation: New element = respective previous element [(respective element of previous column of s )*(respective element of new row of r )] 6. Back to step 1 LINEAR PROGRAMMING - V. Kostoglou 78

79 The above procedure is repeated continuously until one of the followings occurs: a) All cost coefficients become negative or zero. In this case the optimal solution has been found. or b) All the a is coefficients become negative or zero. In this case the problem is unbounded and there is no finite solution. LINEAR PROGRAMMING - V. Kostoglou 79

80 Solution of the model eample (see p. 17) ma F = 3* 1 +4* 2 +2* 3 with structure constraints and non-negativity constraints 1, 2, 3 0 LINEAR PROGRAMMING - V. Kostoglou 80

81 Adding the appropriate number of slack variables (artificial variables are not needed as all structure constraints are of the type ) the model eample is formulated as: maf = = = = = 80 LINEAR PROGRAMMING - V. Kostoglou 81

82 Sequential Simple tableau (maimization problem) Base R.H * f * f * f LINEAR PROGRAMMING - V. Kostoglou 82

83 * 20 -f f Optimal solution: 1 = 100, 2 = 0, 3 = 200, 4 = 0, 5 = 0, 6 = 100, 7 = 80 and maf = 700 LINEAR PROGRAMMING - V. Kostoglou 83

84 Steps of LP problem solution Minimization problems 1. Formulation of the artificial function F = Σ i, where i the artificial variables epressed as functions of the other variables of the corresponding constraint. 2. Construction of the first Simple tableau, putting an etra line at the bottom with the coefficients of the artificial function F under those of the initial function f. 3. Minimization of F with the known procedure of Simple method (steps 1 to 6 of the algorithm), inserting each time into the base, the variable with the smallest negative coefficient c i. 4. Repetition of the minimization procedure for function F, until it takes the value zero (where all the cost coefficients become negative or zero). 5. Removal of the coefficient row of F and of the columns of all artificial variables. LINEAR PROGRAMMING - V. Kostoglou 84

85 6. Minimization of the initial function f, inserting each time in the base the variable with the smallest negative coefficient. 7. Repetition of the minimization procedure for function f, until all cost coefficients become positive or zero. LINEAR PROGRAMMING - V. Kostoglou 85

86 Solution of a minimization problem The following minimization problem is given: minf = with structure constraints = and non-negativity constraints 1 0, 2 0 LINEAR PROGRAMMING - V. Kostoglou 86

87 The eisting inequalities are transformed to equalities (by adding slack variables 3 and 4 ) and the unary table is created (by adding the artificial variables 5 and 6 ). Thus, the problem is formulated as following: minf = with constraints = = = 8 and 1, 2, 3, 4, 5, 6 0 According to the algorithm, at first the artificial function F has to be created. F = = ( ) + ( ) F = Simple tableau are following, up to the determination of the optimal solution, minimizing successively functions F and f. LINEAR PROGRAMMING - V. Kostoglou 87

88 Sequential tableau of Simple method (minimization problem) Base R.H * f F / /3 0-1/3 10/3 5 2/3* 0 0 1/3 1-1/3 4/3 2 1/ /3 0 1/3 8/3 -f 1/ /3 0-2/3-16/3 -F -2/ /3 0 4/3-4/ /2-5/2 1/ /2 3/2-1/ /2-1/2 1/2 2 -f /2-1/2-1/2-6 -F LINEAR PROGRAMMING - V. Kostoglou 88

89 Final Simple tableau Base R.H ½ ½ ½ 2 -f ½ -6 Optimal solution: 1 = 2, 2 = 2, 3 = 4 = 5 = 0 and min f = 6 LINEAR PROGRAMMING - V. Kostoglou 89

90 Models without unique optimal solutions Infeasibility: Occurs when a model has no feasible point. Unboundness: Occurs when the objective function can become infinitely large (ma) or infinitely small (min). Alternate solution: Occurs when more than one point optimizes the objective function LINEAR PROGRAMMING - V. Kostoglou 90

91 LP application case study A product mi problem A manufacturer, named Giga Ltd., has fied amounts of different resources such as raw material, labour, and equipment. These resources can be combined to produce anyone of several different products. The quantity of the i th resource required to produce one unit of the j th product is known. The decision maker wishes to produce the combination of products that will maimize total income. The Giga company produces two large products: I and II. The raw material requirements, space needed for storage, production rates, and selling prices for these products are given in the following table. LINEAR PROGRAMMING - V. Kostoglou 91

92 Production data for Giga company Product I II Storage space (m 2 /unit) 4 5 Raw material (kg/unit) 5 3 Production rate (units/hr) Selling price ($/unit) The total amount of raw material available per day for both products is 1575 kg. The total storage space for all products is 1500 m 2, and a maimum of 7 hours per day can be used for production. LINEAR PROGRAMMING - V. Kostoglou 92

93 Graphical solution LINEAR PROGRAMMING - V. Kostoglou 93

94 Analysis of the problem When the decision variables are more than two, it is always advisable to use Simple method to avoid a lengthy graphical procedure. The Simple method is not used to eamine all the feasible solutions. It deals only with a small and unique set of feasible solutions, the set of verte points (i.e. etreme points) of the conve feasible space that contains the optimal solution. The application of the Simple method yielded the following optimum production programme for Giga: The company can maimize its sale income to 4335 by producing 270 units of product I and 75 units of product II. There will be no surplus of raw materials or production time, but there will be 45 units of unused storage space. The managers are interested to know whether it is worthwhile to increase the production by purchasing additional units of raw materials and by either epanding its production facilities or working overtime. LINEAR PROGRAMMING - V. Kostoglou 94

95 The critical questions are: Which is the income value (or marginal value) of each additional unit of each type of resources? Which is the maimum cost (or marginal cost) that they should be willing to pay for each additional unit of resources? LINEAR PROGRAMMING - V. Kostoglou 95

96 Answers to these questions can be obtained from the objective function in the last tableau of the Simple solution: Z 15 7 S S3 $4335 that is, Z $ 4335 S2 S As S 1, S 2 and S 3 represent the surplus resources, negative values of these variables (i.e., -S 1, -S 2, -S 3 ) represent additional units of these resources that can be made available. The income values (or marginal values) of additional units of these resources can be obtained by taking the partial derivatives of Z with respect to -S 1, -S 2 and -S 3. LINEAR PROGRAMMING - V. Kostoglou 96

97 Therefore, the marginal value of one additional unit of each resource is: Storage space Z ( S1) $0 Raw materials Z ( S ) 2 15 $ 7 Production time Z ( S 3 ) 16 $ 7 Thus, the marginal values of additional units of resources can be obtained directly from the coefficients of the objective function in the last tableau of a Simple solution. LINEAR PROGRAMMING - V. Kostoglou 97

98 The Giga Company should be willing to pay up to $15/7 for an additional unit of raw materials and up to $16/7 for an additional unit of production time. If the actual cost of an additional unit of these resources is smaller than the marginal value, the company should be able to increase its income by increasing production. However, the marginal values above are valid only as long as there is surplus storage space available. LINEAR PROGRAMMING - V. Kostoglou 98

99 Sensitivity analysis This analysis helps to test the sensitivity of the optimal solution with respect to changes of the objective function coefficients, the coefficients in the constraints inequalities, or the constant terms (right hand sides) of the constraints. For eample in the above case study: The actual selling prices (or market values) of the two products may vary from time to time. Over which ranges can these prices change without affecting the optimality of the present solution? Will the present solution remain the optimal solution if the amount of raw materials, production time or storage space is suddenly changed because of shortages, machine failures or other unepected events? The amount of each resource type needed to produce one unit of product type can be either increased or decreased. Will such charges affect the optimal solution? LINEAR PROGRAMMING - V. Kostoglou 99

4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1

4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1 4 Linear Programming (LP) E. Amaldi -- Foundations of Operations Research -- Politecnico di Milano 1 Definition: A Linear Programming (LP) problem is an optimization problem: where min f () s.t. X n the

More information

LINEAR PROGRAMMING INTRODUCTION 12.1 LINEAR PROGRAMMING. Three Classical Linear Programming Problems (L.P.P.)

LINEAR PROGRAMMING INTRODUCTION 12.1 LINEAR PROGRAMMING. Three Classical Linear Programming Problems (L.P.P.) LINEAR PROGRAMMING 12 INTRODUCTION ou are familiar with linear equations and linear inequations in one and two variables. They can be solved algebraically or graphically (by drawing a line diagram in case

More information

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D.

BCN Decision and Risk Analysis. Syed M. Ahmed, Ph.D. Linear Programming Module Outline Introduction The Linear Programming Model Examples of Linear Programming Problems Developing Linear Programming Models Graphical Solution to LP Problems The Simplex Method

More information

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016

Simulation. Lecture O1 Optimization: Linear Programming. Saeed Bastani April 2016 Simulation Lecture O Optimization: Linear Programming Saeed Bastani April 06 Outline of the course Linear Programming ( lecture) Integer Programming ( lecture) Heuristics and Metaheursitics (3 lectures)

More information

These notes are in two parts: this part has topics 1-3 above.

These notes are in two parts: this part has topics 1-3 above. IEEM 0: Linear Programming and Its Applications Outline of this series of lectures:. How can we model a problem so that it can be solved to give the required solution 2. Motivation: eamples of typical

More information

UNIT 6 MODELLING DECISION PROBLEMS (LP)

UNIT 6 MODELLING DECISION PROBLEMS (LP) UNIT 6 MODELLING DECISION This unit: PROBLEMS (LP) Introduces the linear programming (LP) technique to solve decision problems 1 INTRODUCTION TO LINEAR PROGRAMMING A Linear Programming model seeks to maximize

More information

Introduction. Linear because it requires linear functions. Programming as synonymous of planning.

Introduction. Linear because it requires linear functions. Programming as synonymous of planning. 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

Chapter 15 Introduction to Linear Programming

Chapter 15 Introduction to Linear Programming Chapter 15 Introduction to Linear Programming An Introduction to Optimization Spring, 2015 Wei-Ta Chu 1 Brief History of Linear Programming The goal of linear programming is to determine the values of

More information

Linear Programming. L.W. Dasanayake Department of Economics University of Kelaniya

Linear Programming. L.W. Dasanayake Department of Economics University of Kelaniya Linear Programming L.W. Dasanayake Department of Economics University of Kelaniya Linear programming (LP) LP is one of Management Science techniques that can be used to solve resource allocation problem

More information

II. Linear Programming

II. Linear Programming II. Linear Programming A Quick Example Suppose we own and manage a small manufacturing facility that produced television sets. - What would be our organization s immediate goal? - On what would our relative

More information

Chapter 7. Linear Programming Models: Graphical and Computer Methods

Chapter 7. Linear Programming Models: Graphical and Computer Methods Chapter 7 Linear Programming Models: Graphical and Computer Methods To accompany Quantitative Analysis for Management, Eleventh Edition, by Render, Stair, and Hanna Power Point slides created by Brian

More information

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 Mathematical programming (optimization) problem: min f (x) s.t. x X R n set of feasible solutions with linear objective function

More information

Linear Programming. Meaning of Linear Programming. Basic Terminology

Linear Programming. Meaning of Linear Programming. Basic Terminology Linear Programming Linear Programming (LP) is a versatile technique for assigning a fixed amount of resources among competing factors, in such a way that some objective is optimized and other defined conditions

More information

Intro to Linear Programming. The problem that we desire to address in this course is loosely stated below.

Intro to Linear Programming. The problem that we desire to address in this course is loosely stated below. . Introduction Intro to Linear Programming The problem that we desire to address in this course is loosely stated below. Given a number of generators make price-quantity offers to sell (each provides their

More information

Appendix F: Systems of Inequalities

Appendix F: Systems of Inequalities A0 Appendi F Sstems of Inequalities Appendi F: Sstems of Inequalities F. Solving Sstems of Inequalities The Graph of an Inequalit The statements < and are inequalities in two variables. An ordered pair

More information

UNIT 3 LINEAR PROGRAMMING GRAPHICAL METHOD

UNIT 3 LINEAR PROGRAMMING GRAPHICAL METHOD UNIT 3 LINEAR PROGRAMMING GRAPHICAL METHOD Objectives After studying this unit, you should be able to : Formulate management problem as a linear programming problem in suitable cases identify the characteristics

More information

Lesson 08 Linear Programming

Lesson 08 Linear Programming Lesson 08 Linear Programming A mathematical approach to determine optimal (maximum or minimum) solutions to problems which involve restrictions on the variables involved. 08 - Linear Programming Applications

More information

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V

CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH. Unit : I - V CDG2A/CDZ4A/CDC4A/ MBT4A ELEMENTS OF OPERATIONS RESEARCH Unit : I - V UNIT I Introduction Operations Research Meaning and definition. Origin and History Characteristics and Scope Techniques in Operations

More information

Linear Programming. Formulation and Graphical Solution

Linear Programming. Formulation and Graphical Solution Linear Programming Formulation and Graphical Solution A Two Variable Model Simple LP with two decision variables Two dimensional model is hardly useful in the real world systems which normally encompass

More information

Here are some guidelines for solving a linear programming problem in two variables in which an objective function is to be maximized or minimized.

Here are some guidelines for solving a linear programming problem in two variables in which an objective function is to be maximized or minimized. Appendi F. Linear Programming F F. Linear Programming Linear Programming: A Graphical Approach Man applications in business and economics involve a process called optimization, in which ou are asked to

More information

Linear Mathematical Programming (LP)

Linear Mathematical Programming (LP) Linear Mathematical Programming (LP) A MP is LP if : The objective function is linear where The set is defined by linear equality or inequality constraints c f T ) = ( ],..., [ n T c c c = = n b A where

More information

ISE 203 OR I. Chapter 3 Introduction to Linear Programming. Asst. Prof. Dr. Nergiz Kasımbeyli

ISE 203 OR I. Chapter 3 Introduction to Linear Programming. Asst. Prof. Dr. Nergiz Kasımbeyli ISE 203 OR I Chapter 3 Introduction to Linear Programming Asst. Prof. Dr. Nergiz Kasımbeyli 1 Linear Programming 2 An Example 3 The Data Gathered 4 Definition of the Problem Determine what the production

More information

Linear Programming has been used to:

Linear Programming has been used to: Linear Programming Linear programming became important during World War II: used to solve logistics problems for the military. Linear Programming (LP) was the first widely used form of optimization in

More information

Quantitative Technique

Quantitative Technique Quantitative Technique Subject Course Code Number : MMAS 521 : Optimization Techniques for Managerial Decisions Instructor : Dr. Umesh Rajopadhyaya Credit Hours : 2 Main Objective : The objective of the

More information

Introduction. Chapter 15. Optimization Modeling: Applications. Integer Programming. Manufacturing Example. Three Types of ILP Models

Introduction. Chapter 15. Optimization Modeling: Applications. Integer Programming. Manufacturing Example. Three Types of ILP Models Chapter 5 Optimization Modeling: Applications Integer Programming Introduction When one or more variables in an LP problem must assume an integer value we have an Integer Linear Programming (ILP) problem.

More information

LINEAR PROGRAMMING. Chapter Overview

LINEAR PROGRAMMING. Chapter Overview Chapter 12 LINEAR PROGRAMMING 12.1 Overview 12.1.1 An Optimisation Problem A problem which seeks to maximise or minimise a function is called an optimisation problem. An optimisation problem may involve

More information

MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM2046 ENGINEERING MATHEMATICS IV TUTORIAL

MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM2046 ENGINEERING MATHEMATICS IV TUTORIAL A. Linear Programming (LP) MULTIMEDIA UNIVERSITY FACULTY OF ENGINEERING PEM046 ENGINEERING MATHEMATICS IV TUTORIAL. Identify the optimal solution and value: (a) Maximize f = 0x + 0 x (b) Minimize f = 45x

More information

CHAPTER 12: LINEAR PROGRAMMING

CHAPTER 12: LINEAR PROGRAMMING CHAPTER 12: LINEAR PROGRAMMING Previous Years Board Exam (Important Questions & Answers) MARKS WEIGHTAGE 06 marks 1. A cottage industry manufactures pedestal lamps and wooden shades, each requiring the

More information

OPERATIONS RESEARCH. Linear Programming Problem

OPERATIONS RESEARCH. Linear Programming Problem OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com 1.0 Introduction Linear programming

More information

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization

Introduction to Linear Programming. Algorithmic and Geometric Foundations of Optimization Introduction to Linear Programming Algorithmic and Geometric Foundations of Optimization Optimization and Linear Programming Mathematical programming is a class of methods for solving problems which ask

More information

Chapter 2 - An Introduction to Linear Programming

Chapter 2 - An Introduction to Linear Programming True / False 1. Increasing the right-hand side of a nonbinding constraint will not cause a change in the optimal solution. TOPICS: Introduction 2. In a linear programming problem, the objective function

More information

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD

CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD CHAPTER 3 LINEAR PROGRAMMING: SIMPLEX METHOD Linear programming is optimization problem where the objective function is linear and all equality and inequality constraints are linear. This problem was first

More information

Chapter 2 An Introduction to Linear Programming

Chapter 2 An Introduction to Linear Programming Chapter 2 An Introduction to Linear Programming MULTIPLE CHOICE 1. The maximization or minimization of a quantity is the a. goal of management science. b. decision for decision analysis. c. constraint

More information

PROCESS MANAGEMENT. Selected Exact Managerial Methods. Study supports

PROCESS MANAGEMENT. Selected Exact Managerial Methods. Study supports PROCESS MANAGEMENT Selected Exact Managerial Methods Study supports Darja Noskievičová FMME VŠB-TUO Ostrava 2016 Language review: Mark Landry Title:, Selected Exact Managerial Methods Author: Prof. Ing.

More information

A Real Life Application of Linear Programming

A Real Life Application of Linear Programming Dagon University Research Journal 2012, Vol. 4 A Real Life Application of Linear Programming Win Win Myo * Abstract Linear programming is heavily used in microeconomics and company management, such as

More information

UNIT 2 LINEAR PROGRAMMING PROBLEMS

UNIT 2 LINEAR PROGRAMMING PROBLEMS UNIT 2 LINEAR PROGRAMMING PROBLEMS Structure 2.1 Introduction Objectives 2.2 Linear Programming Problem (LPP) 2.3 Mathematical Formulation of LPP 2.4 Graphical Solution of Linear Programming Problems 2.5

More information

Chapter II. Linear Programming

Chapter II. Linear Programming 1 Chapter II Linear Programming 1. Introduction 2. Simplex Method 3. Duality Theory 4. Optimality Conditions 5. Applications (QP & SLP) 6. Sensitivity Analysis 7. Interior Point Methods 1 INTRODUCTION

More information

AMATH 383 Lecture Notes Linear Programming

AMATH 383 Lecture Notes Linear Programming AMATH 8 Lecture Notes Linear Programming Jakob Kotas (jkotas@uw.edu) University of Washington February 4, 014 Based on lecture notes for IND E 51 by Zelda Zabinsky, available from http://courses.washington.edu/inde51/notesindex.htm.

More information

MLR Institute of Technology

MLR Institute of Technology Course Name : Engineering Optimization Course Code : 56021 Class : III Year Branch : Aeronautical Engineering Year : 2014-15 Course Faculty : Mr Vamsi Krishna Chowduru, Assistant Professor Course Objective

More information

Linear programming II João Carlos Lourenço

Linear programming II João Carlos Lourenço Decision Support Models Linear programming II João Carlos Lourenço joao.lourenco@ist.utl.pt Academic year 2012/2013 Readings: Hillier, F.S., Lieberman, G.J., 2010. Introduction to Operations Research,

More information

Simplex Method. Introduction:

Simplex Method. Introduction: Introduction: Simple Method In the previous chapter, we discussed about the graphical method for solving linear programming problems. Although the graphical method is an invaluable aid to understand the

More information

1.1 What is Microeconomics?

1.1 What is Microeconomics? 1.1 What is Microeconomics? Economics is the study of allocating limited resources to satisfy unlimited wants. Such a tension implies tradeoffs among competing goals. The analysis can be carried out at

More information

Linear Programming Terminology

Linear Programming Terminology Linear Programming Terminology The carpenter problem is an example of a linear program. T and B (the number of tables and bookcases to produce weekly) are decision variables. The profit function is an

More information

Chapter 2--An Introduction to Linear Programming

Chapter 2--An Introduction to Linear Programming Chapter 2--An Introduction to Linear Programming 1. The maximization or minimization of a quantity is the A. goal of management science. B. decision for decision analysis. C. constraint of operations research.

More information

ADMS 3330 FALL 2008 EXAM All Multiple choice Exam (See Answer Key on last page)

ADMS 3330 FALL 2008 EXAM All Multiple choice Exam (See Answer Key on last page) MULTIPLE CHOICE. Choose the letter corresponding to the one alternative that best completes the statement or answers the question. 1. Which of the following are assumptions or requirements of the transportation

More information

Supplemental Problems MAT (Prepared by Prof. Urmi Ghosh-Dastidar)

Supplemental Problems MAT (Prepared by Prof. Urmi Ghosh-Dastidar) Supplemental Problems MAT 3770 (Prepared by Prof. Urmi Ghosh-Dastidar) 1. Use Lagrange Multiplier methods to find the stationary values of z: (a) z = y, subject to + y = (b) z = (y+4), subject to + y =

More information

3. The Simplex algorithmn The Simplex algorithmn 3.1 Forms of linear programs

3. The Simplex algorithmn The Simplex algorithmn 3.1 Forms of linear programs 11 3.1 Forms of linear programs... 12 3.2 Basic feasible solutions... 13 3.3 The geometry of linear programs... 14 3.4 Local search among basic feasible solutions... 15 3.5 Organization in tableaus...

More information

Econ 172A - Slides from Lecture 2

Econ 172A - Slides from Lecture 2 Econ 205 Sobel Econ 172A - Slides from Lecture 2 Joel Sobel September 28, 2010 Announcements 1. Sections this evening (Peterson 110, 8-9 or 9-10). 2. Podcasts available when I remember to use microphone.

More information

Linear Programming Problems

Linear Programming Problems Linear Programming Problems Two common formulations of linear programming (LP) problems are: min Subject to: 1,,, 1,2,,;, max Subject to: 1,,, 1,2,,;, Linear Programming Problems The standard LP problem

More information

5-8. Systems of Linear Inequalities. Vocabulary. Lesson. Mental Math

5-8. Systems of Linear Inequalities. Vocabulary. Lesson. Mental Math Lesson 5-8 Systems of Linear Inequalities Vocabulary feasible set, feasible region BIG IDEA The solution to a system of linear inequalities in two variables is either the empty set, the interior of a polygon,

More information

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch. Iterative Improvement Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change the current feasible

More information

Introduction to Linear Programing Problems

Introduction to Linear Programing Problems Paper: Linear Programming and Theory of Games Lesson: Introduction to Linear Programing Problems Lesson Developers: DR. MANOJ KUMAR VARSHNEY, College/Department: Department of Statistics, Hindu College,

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

Notes for Lecture 18

Notes for Lecture 18 U.C. Berkeley CS17: Intro to CS Theory Handout N18 Professor Luca Trevisan November 6, 21 Notes for Lecture 18 1 Algorithms for Linear Programming Linear programming was first solved by the simplex method

More information

Graphical Methods in Linear Programming

Graphical Methods in Linear Programming Appendix 2 Graphical Methods in Linear Programming We can use graphical methods to solve linear optimization problems involving two variables. When there are two variables in the problem, we can refer

More information

LINEAR PROGRAMMING. Chapter Introduction

LINEAR PROGRAMMING. Chapter Introduction 504 MATHEMATICS Chapter 12 LINEAR PROGRAMMING The mathematical experience of the student is incomplete if he never had the opportunity to solve a problem invented by himself. G. POLYA 12.1 Introduction

More information

Linear Programming. Linear Programming

Linear Programming. Linear Programming APPENDIX C Linear Programming C Appendi C Linear Programming C Linear Programming Linear Programming Application FIGURE C. 7 (, ) (, ) FIGURE C. Feasible solutions (, ) 7 NOTE In Eample, tr evaluating

More information

The Generalized Simplex Method for Minimizing a Linear Form under Linear Inequality Restraints

The Generalized Simplex Method for Minimizing a Linear Form under Linear Inequality Restraints CS601: Great Works in Computer Science 11 April 2013 Wei Wang The Generalized Simplex Method for Minimizing a Linear Form under Linear Inequality Restraints George B. Dantzig, Alex Orden, Philip Wolfe

More information

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem

Tuesday, April 10. The Network Simplex Method for Solving the Minimum Cost Flow Problem . Tuesday, April The Network Simplex Method for Solving the Minimum Cost Flow Problem Quotes of the day I think that I shall never see A poem lovely as a tree. -- Joyce Kilmer Knowing trees, I understand

More information

CSE 460. Today we will look at" Classes of Optimization Problems" Linear Programming" The Simplex Algorithm"

CSE 460. Today we will look at Classes of Optimization Problems Linear Programming The Simplex Algorithm CSE 460 Linear Programming" Today we will look at" Classes of Optimization Problems" Linear Programming" The Simplex Algorithm" Classes of Optimization Problems" Optimization" unconstrained"..." linear"

More information

Controlling Air Pollution. A quick review. Reclaiming Solid Wastes. Chapter 4 The Simplex Method. Solving the Bake Sale problem. How to move?

Controlling Air Pollution. A quick review. Reclaiming Solid Wastes. Chapter 4 The Simplex Method. Solving the Bake Sale problem. How to move? ESE Operations Research 9// Controlling Air Pollution Technology can be use fully () or fractional thereof A quick review ESE Operations Research Reclaiming Solid Wastes Chapter The Simple Method ESE Operations

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 http://www.cs.fiu.edu/~giri/teach/cot6936_s12.html https://moodle.cis.fiu.edu/v2.1/course/view.php?id=174

More information

Linear Programming. Revised Simplex Method, Duality of LP problems and Sensitivity analysis

Linear Programming. Revised Simplex Method, Duality of LP problems and Sensitivity analysis Linear Programming Revised Simple Method, Dualit of LP problems and Sensitivit analsis Introduction Revised simple method is an improvement over simple method. It is computationall more efficient and accurate.

More information

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists 3,500 108,000 1.7 M Open access books available International authors and editors Downloads Our

More information

Linear Programming & Graphic Solution. Dr. Monther Tarawneh

Linear Programming & Graphic Solution. Dr. Monther Tarawneh Linear Programming & Graphic Solution Dr. Monther Tarawneh In this Lecture This topic concentrates on model formulation and computations in linear programming (LP). To illustrate the use of LP, real world

More information

CHAPTER 12: LINEAR PROGRAMMING

CHAPTER 12: LINEAR PROGRAMMING CHAPTER 12: LINEAR PROGRAMMING MARKS WEIGHTAGE 06 marks NCERT Important Questions & Answers 1. Determine graphically the minimum value of the objective function Z = 50x + 20y subject to the constraints:

More information

Resource Allocation (p. 254)

Resource Allocation (p. 254) Linear Optimization 4.2 120 Resource Allocation (p. 254) Determine the linear program corresponding to the following problem. A farmer has set aside 18 acres of land to be used entirely for plots of grapes,

More information

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini DM545 Linear and Integer Programming Lecture 2 The Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. 4. Standard Form Basic Feasible Solutions

More information

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way. University of Southern California Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research - Deterministic Models Fall

More information

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS

MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS MATHEMATICS II: COLLECTION OF EXERCISES AND PROBLEMS GRADO EN A.D.E. GRADO EN ECONOMÍA GRADO EN F.Y.C. ACADEMIC YEAR 2011-12 INDEX UNIT 1.- AN INTRODUCCTION TO OPTIMIZATION 2 UNIT 2.- NONLINEAR PROGRAMMING

More information

Math 273a: Optimization Linear programming

Math 273a: Optimization Linear programming Math 273a: Optimization Linear programming Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 some material taken from the textbook Chong-Zak, 4th Ed. History The word programming used traditionally

More information

Linear Programming. You can model sales with the following objective function. Sales 100x 50y. x 0 and y 0. x y 40

Linear Programming. You can model sales with the following objective function. Sales 100x 50y. x 0 and y 0. x y 40 Lesson 9.7 Objectives Solve systems of linear inequalities. Solving Systems of Inequalities Suppose a car dealer nets $500 for each family car (F) sold and $750 for each sports car (S) sold. The dealer

More information

Chapter 4 Linear Programming

Chapter 4 Linear Programming Chapter Objectives Check off these skills when you feel that you have mastered them. From its associated chart, write the constraints of a linear programming problem as linear inequalities. List two implied

More information

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014

The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014 The Islamic University of Gaza Faculty of Commerce Quantitative Analysis - Dr. Samir Safi Midterm #2-28/4/2014 Name TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false. 1)

More information

Design and Analysis of Algorithms (V)

Design and Analysis of Algorithms (V) Design and Analysis of Algorithms (V) An Introduction to Linear Programming Guoqiang Li School of Software, Shanghai Jiao Tong University Homework Assignment 2 is announced! (deadline Apr. 10) Linear Programming

More information

Introduction to Linear Programming

Introduction to Linear Programming Introduction to Linear Programming Linear Programming Applied mathematics is all about applying mathematical techniques to understand or do something practical. Optimization is all about making things

More information

Setup and graphical solution of Linear Programming Problems [2-variables] Mathematical Programming Characteristics

Setup and graphical solution of Linear Programming Problems [2-variables] Mathematical Programming Characteristics Setup and graphical solution of Linear Programming Problems [2-variables] Mathematical Programming Characteristics Decisions must be made on the levels of a two or more activities. The levels are represented

More information

7.5. Systems of Inequalities. The Graph of an Inequality. What you should learn. Why you should learn it

7.5. Systems of Inequalities. The Graph of an Inequality. What you should learn. Why you should learn it 0_0705.qd /5/05 9:5 AM Page 5 Section 7.5 7.5 Sstems of Inequalities 5 Sstems of Inequalities What ou should learn Sketch the graphs of inequalities in two variables. Solve sstems of inequalities. Use

More information

Operations Research. Unit-I. Course Description:

Operations Research. Unit-I. Course Description: Operations Research Course Description: Operations Research is a very important area of study, which tracks its roots to business applications. It combines the three broad disciplines of Mathematics, Computer

More information

a) Alternative Optima, b) Infeasible(or non existing) solution, c) unbounded solution.

a) Alternative Optima, b) Infeasible(or non existing) solution, c) unbounded solution. Unit 1 Lesson 5. : Special cases of LPP Learning Outcomes Special cases of linear programming problems Alternative Optima Infeasible Solution Unboundedness In the previous lecture we have discussed some

More information

Linear Programming: Introduction

Linear Programming: Introduction CSC 373 - Algorithm Design, Analysis, and Complexity Summer 2016 Lalla Mouatadid Linear Programming: Introduction A bit of a historical background about linear programming, that I stole from Jeff Erickson

More information

NATCOR Convex Optimization Linear Programming 1

NATCOR Convex Optimization Linear Programming 1 NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 5 June 2018 What is linear programming (LP)? The most important model used in

More information

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University)

Lecture notes on Transportation and Assignment Problem (BBE (H) QTM paper of Delhi University) Transportation and Assignment Problems The transportation model is a special class of linear programs. It received this name because many of its applications involve determining how to optimally transport

More information

CHAPTER 4 Linear Programming with Two Variables

CHAPTER 4 Linear Programming with Two Variables CHAPTER 4 Linear Programming with Two Variables In this chapter, we will study systems of linear inequalities. They are similar to linear systems of equations, but have inequalitites instead of equalities.

More information

Chapter 3 Linear Programming: A Geometric Approach

Chapter 3 Linear Programming: A Geometric Approach Chapter 3 Linear Programming: A Geometric Approach Section 3.1 Graphing Systems of Linear Inequalities in Two Variables y 4x + 3y = 12 4 3 4 x 3 y 12 x y 0 x y = 0 2 1 P(, ) 12 12 7 7 1 1 2 3 x We ve seen

More information

Graphing Linear Inequalities in Two Variables.

Graphing Linear Inequalities in Two Variables. Many applications of mathematics involve systems of inequalities rather than systems of equations. We will discuss solving (graphing) a single linear inequality in two variables and a system of linear

More information

FOUNDATIONS OF OPERATIONS RESEARCH

FOUNDATIONS OF OPERATIONS RESEARCH Master of Science in Computer Engineering FOUNDATIONS OF OPERATIONS RESEARCH Edoardo Amaldi DEI - Politecnico di Milano amaldi@elet.polimi.it Course website: http://home.dei.polimi.it/amaldi/for-10-11.html

More information

Unit.9 Integer Programming

Unit.9 Integer Programming Unit.9 Integer Programming Xiaoxi Li EMS & IAS, Wuhan University Dec. 22-29, 2016 (revised) Operations Research (Li, X.) Unit.9 Integer Programming Dec. 22-29, 2016 (revised) 1 / 58 Organization of this

More information

Linear Programming Problems

Linear Programming Problems Linear Programming Problems Linear inequalities are important because we often want to minimize or maximize a quantity (called the objective function) subject to certain constraints (linear inequalities).

More information

Discrete Optimization. Lecture Notes 2

Discrete Optimization. Lecture Notes 2 Discrete Optimization. Lecture Notes 2 Disjunctive Constraints Defining variables and formulating linear constraints can be straightforward or more sophisticated, depending on the problem structure. The

More information

Problem 1: The relationship of height, in cm. and basketball players, names is a relation:

Problem 1: The relationship of height, in cm. and basketball players, names is a relation: Chapter - Functions and Graphs Chapter.1 - Functions, Relations and Ordered Pairs Relations A relation is a set of ordered pairs. Domain of a relation is the set consisting of all the first elements of

More information

Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier

Linear Programming: Basic Concepts. Chapter 2: Hillier and Hillier Linear Programming: Basic Concepts Chapter 2: Hillier and Hillier Agenda Define Linear Programming The Case of the Wyndor Glass Co. A Maximization Problem Developing a Mathematical Representation of Wyndor

More information

Solving Linear and Integer Programs

Solving Linear and Integer Programs Solving Linear and Integer Programs Robert E. Bixby Gurobi Optimization, Inc. and Rice University Overview Linear Programming: Example and introduction to basic LP, including duality Primal and dual simplex

More information

What is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method

What is linear programming (LP)? NATCOR Convex Optimization Linear Programming 1. Solving LP problems: The standard simplex method NATCOR Convex Optimization Linear Programming 1 Julian Hall School of Mathematics University of Edinburgh jajhall@ed.ac.uk 14 June 2016 What is linear programming (LP)? The most important model used in

More information

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014 5/2/24 Outline CS38 Introduction to Algorithms Lecture 5 May 2, 24 Linear programming simplex algorithm LP duality ellipsoid algorithm * slides from Kevin Wayne May 2, 24 CS38 Lecture 5 May 2, 24 CS38

More information

Linear Programming. them such that they

Linear Programming. them such that they Linear Programming l Another "Sledgehammer" in our toolkit l Many problems fit into the Linear Programming approach l These are optimization tasks where both the constraints and the objective are linear

More information

Linear Programming: Model Formulation and Graphical Solution

Linear Programming: Model Formulation and Graphical Solution Linear Programming: Model Formulation and Graphical Solution Chapter 2 2-1 Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions of Linear Programming Models A Minimization

More information

CSE 40/60236 Sam Bailey

CSE 40/60236 Sam Bailey CSE 40/60236 Sam Bailey Solution: any point in the variable space (both feasible and infeasible) Cornerpoint solution: anywhere two or more constraints intersect; could be feasible or infeasible Feasible

More information

SECTION 3-4 Rational Functions

SECTION 3-4 Rational Functions 20 3 Polnomial and Rational Functions 0. Shipping. A shipping bo is reinforced with steel bands in all three directions (see the figure). A total of 20. feet of steel tape is to be used, with 6 inches

More information

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming Linear Programming 3 describes a broad class of optimization tasks in which both the optimization criterion and the constraints are linear functions. Linear Programming consists of three parts: A set of

More information