1 Linear Programming Chapter 2 By Mohammad Shahid Khan M.Eco, MBA, B.Cs, B.Ed. Lecturer in Economics & Business Administration Department of Economics.

Slides:



Advertisements
Similar presentations
1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
Advertisements

Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Lesson 08 Linear Programming
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Linear Programming We are to learn two topics today: LP formulation
Linear Programming Problem
Session II – Introduction to Linear Programming
Chapter 2: Modeling with Linear Programming & sensitivity analysis
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
Chapter 5 Linear Inequalities and Linear Programming
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Linear Programming Pre-Calc Section 3.4 Running a profitable business requires a careful balancing of resources (for example, peoples’ time, materials,
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: Formulations & Graphical Solution.
© 2008 Prentice-Hall, Inc. Chapter 7 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created.
Introduction to Management Science
Linear Programming (6S) and Transportation Problem (8S)
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
Linear and Integer Programming Models
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
Introduction to Management Science
Linear Programming: Model Formulation and Graphical Solution
Linear-Programming Applications
FORMULATION AND GRAPHIC METHOD
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
3.4 Linear Programming.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
1 Linear Programming: Model Formulation and Graphical Solution.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Management Science – MNG221 Linear Programming: Graphical Solution.
 A concert promoter wants to book a rock group for a stadium concert. A ticket for admission to the stadium playing field will cost $125, and a ticket.
Introduction to linear programming:- - Linear programming (LP) applies to optimization models in which the objective and constraints functions are strictly.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
LINEAR PROGRAMMING.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
QUANTITATIVE TECHNIQUES (QUAN 1202) Lecture 3 Linear Programming Modeling September 2009.
Introduction to Linear Programming and Formulation Meeting 2 Course: D Deterministic Optimization Year: 2009.
Linear Programming Department of Business Administration FALL by Asst. Prof. Sami Fethi.
LINEAR PROGRAMMING MEANING:
Chapter 3 Linear Programming Applications
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
LINEAR PROGRAMMING. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
Introduction Operations Research (OR) It is a scientific approach to determine the optimum (best) solution to a decision problem under the restriction.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
F2:Management Accounting. 2 Designed to give you knowledge and application of: Section F: Short–term decision–making techniques F1. Cost –Volume-Profit.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Engineering Economics (2+0)
MID-TERM EXAM/REVISION
Chapter 2 An Introduction to Linear Programming
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
Chapter 5 Linear Inequalities and Linear Programming
Linear Programming Dr. T. T. Kachwala.
Linear Programming Introduction.
Linear Programming Introduction.
TBF General Mathematics - II Lecture – 9 : Linear Programming
Introduction to Linear Programming
Linear Programming.
Presentation transcript:

1 Linear Programming Chapter 2 By Mohammad Shahid Khan M.Eco, MBA, B.Cs, B.Ed. Lecturer in Economics & Business Administration Department of Economics Kardan Institute of Higher Education, Kabul

Introduction to Linear Programming: 2 Linear Programming is a mathematical technique that seeks to maximize or minimize a linear function, subject to a set of linear constraints. Linear programming is a mathematical technique designed to aid managers in allocating scarce resources (such as labor, capital, or energy) among competing activities. It reflects, in the form of a model, the organization‘s attempt to achieve some objective (frequently, maximizing profit contribution, maximizing rate of return, minimizing cots) in view of limited or constrained resources (available capital or labor, service levels, available machine time, budgets).

Introduction to Linear Programming: 3 The linear model consists of the following components: A set of decision variables. An objective function. A set of constraints. Min C=3x + 4y Subject to 5x + 8y  24, x  0, y  0

4 Terminology: Decision variables: e.g., x and y. In general, there are quantities you can control to improve your objective which should completely describe the set of decisions to be made. Objective Function. The Objective Function is a linear function of variables which is to be optimized i.e., maximized or minimized. e.g., profit function, cost function etc. The objective function may be expressed as a linear expression. e.g., Min C=3x + 4y Constraints: e.g., 5x + 8y  24, x  0, y  0 Limitations on the values of the decision variables.

Feasible Solution: A set of values of the variables x 1, x 2, x 3,….,x n which satisfy all the constraints is called the feasible solution of the LPP. Optimal Solution. A feasible solution that makes the value of the objective function an optimum (maximum or minimum) is called an optimal solution.

Steps in Linear Programming: 1. Identifying the problem: The first step in Linear Programming is to identify the problem and it causes. problem may be vague, find appropriate objective of the problem. Identify the decision variables and assign symbols x and y to them. These decision variables are those quantities whose values we wish to determine. Identify the set of constraints and express them as linear equations in terms of the decision variables. These constraints are the given conditions.

Steps in Linear Programming: 2. Construct a (math) model and data acquisition. Find model appropriate for objective. Identify the objective function and express it as a linear function of decision variables. It might take the form of maximizing profit or production or minimizing cost. 3. Deriving a solution (optimal or good enough solution) using the substitution or graphical or simultaneous equation methods to solve the constraints equations to find the feasible solutions for the decision variables of the model.

Steps in Linear Programming: 4. Test the model and the solution: check the function value for the various feasible solutions and find the optimum value which satisfies the objective of the function. 5. Implementation of the solution: The last step is to practically implement the solution to the problem for which the model was constructed and optimal value of the decision variable is derived.

Advantages of Linear Programming i. The linear programming technique helps to make the best possible use of available productive resources (such as time, labour, machines etc.) Limitations of Linear Programming (a). Linear programming is applicable only to problems where the constraints and objective function are linear i.e., where they can be expressed as equations which represent straight lines. In real life situations, when constraints or objective functions are not linear, this technique cannot be used. (b). Factors such as uncertainty, weather conditions etc. are not taken into consideration.

10 Graphical Analysis of Linear Programming In the graphical technique, each inequality constraint is graphed as an equality constraint. The Feasible Region is determined from the points where constraints intersect each other. The Feasible Solution Space is the area which satisfies all of the inequality constraints. The Optimal Feasible Solution occurs along the boundary of the Feasible Solution Space, at the extreme points or corner points. Note: The feasible region will be Left to the Feasible Region Curve when constraints include < sign The Feasible region will be Right to the Feasible Region Curve if the constraints include > sign

GRAPHICAL X1X1 X2X2 A B C CONSTRAINT # 1 CONSTRAINT # 2 Corner Points A, B, and C Feasible Region OABC O

GRAPHICAL X1X1 X2X2 A B C CONSTRAINT # 1 CONSTRAINT # 2 Corner Points A, B, and C Feasible Region OABC O

Example: Graphical Solution

Graphical Solution:

Practice to Formulate the Objective Function and Constraints

Example 1: Product Mix The Regal China Company produces two products daily plates and mugs. The company has limited amounts of two resources used in the production of these products clay and labor. Given these limited resources, the company desires to know how many plates and Mugs to produce each day, in order to Maximize profit. The two products have the following resource requirements for production and profit per item produced (i.e., the model parameters). Product Labor Clay Profit (hours/unit) (lbs./unit) (Rs./unit) Plate Mug There are 40 hours of labour and 120 pounds of clay available each day for production. The objective of the company is to Maximize total profit.

The company's profit is the sum of the individual profits gained from each plate and mug. As such, profits from plates is determine by multiplying the unit profit for each plate, 4, by the number of plates produced, X 1. Likewise, profit derived from mugs is the unit profit of a mug, 5, multiplied by the number of mugs produced, X 2. Thus, total profit, Z, can be expressed mathematically as Maximize Z = 4X 1 + 5X 2 where Z = total profit per day 4X 1 = profit from plates ; 5X 2 = profit from mugs By placing the term Maximize in front of the profit function, the relationship expresses the objective of the firm to Maximize total profit.

Model Constraints This problem has two resources used for production, which are limited, labor and clay. Production of plates and mugs require both labor and clay. For each plate produce, one hour of labor is required. Therefore, the labor used for the production of plates is 1X 1 hours. Similarly, each mug requires two hours of labor; the labor used for the production of mugs is 2X 2 hours. Thus, the labor used by the company is the sum of the individual amounts of labor used for each product. 1X 1 + 2X 2 However, the amount of labor represented "1X 1 + 2X 2 " is limited to 40 hrs per day, thus, the complete labor constraint is 1X 1 + 2X 2 < 40 hours

The constraint for clay is formulated in the same way as the labor constraint. Since each plate requires four pounds of clay, the amount of clay used daily for the production of plates is 4X 1 pounds, and since each mug requires three pounds of clay, the amount of clay used for mugs daily is 3X 2. Given that amount of clay available for production each day is 120 pounds, the material constraint can be formulated as 4X 1 + 3X 2 < 120 pounds A final restriction is that the number of plates and mugs produced be either zero or a positive value, since it would be impossible to produce negative items. These restrictions are referred to as nonnegative constraints and are expressed mathematically as X 1 > 0, X 2 > 0 Constraints……. continued

The complete linear programming model for this problem can now be summarized as Maximize Z = 4X 1 + 5X 2 Subject to 1X 1 + 2X 2 < 40 4X 1 + 3X 2 < 120 X 1, X 2 > 0

Example. A Product Mix Problem A firm produces two different products P 1 and P 2. Every unit of P 1 uses 3 units of resource(R 1 ) and 1 unit of resource(R 2 ) and earns a profit of 5 Afs. Similarly every unit of P 2 uses 2 units of resources (R 1 ) and 2 units of resource (R 2 ) and earns a profit of 4 Afs. Resources R 1 and R 2 are available in quantities as 60, 40 respectively. The firm wants to determine how many of the two products must be manufactured each week in order to maximize profit subject to resource availability.

Product Mix Problem…continued A firm produces two different products P 1 and P 2. Every unit of P 1 uses 3 units of resource(R 1 ) and 1 unit of resource(R 2 ) and earns a profit of 5 Afs. Similarly every unit of P 2 uses 2 units of resources (R 1 ) and 2 units of resource (R 2 ) and earns a profit of 4 Afs. Resources R 1 and R 2 are available in quantities as 60, 40 respectively. The firm wants to determine how many of the two products must be manufactured each week in order to maximize profit subject to resource availability.

Product Mix Problem….. continued Product1 P 1 (per unit) Product2 P 2 (per unit) Available Resource R1R R2R Unit Profit54

40

Example. A Nutrition Aid Problem A Nutrition Aid Program is considering two food supplements S 1 and S 2 for distribution among a population deficient in nutrients N 1, N 2, and N 3. Each unit of S 1 provides 4 units of N 1, 8 units of N 2, 5 units of N 3, and costs $6. Similarly each unit of S 2 provides 12 units of N 1, 4 units of N 2, 5 units of N 3, and costs $4. The minimum daily requirement per person of N 1, N 2, N 3 are 96, 112 and 100 respectively. The problem is to determine the daily quantities of the food supplements for each person that meet the minimum daily requirements and entail the least cost.

Table 3.1. Dietary and Price Data S 1 (Per Unit) S 2 (Per Unit) Minimum Daily Requirement (Per Person) N1N N2N N3N Price64

Example 5 Marketing The Bata Shoe Company has contracted with an advertising firm to determine the types and amount of advertising it should have for its stores. The three types of advertising available are radio and television commercials and newspaper ads. The retail store desires to know the number of each type of advertisement it should purchase in order to Maximize exposure. It is estimated that each ad and commercial will reach the following potential audience and cost the following amount. Type of Advertisement ExposureCost (people/ad or commercial) Television commercial 20, 000 Rs. 15, 000 Radio commercial 12, 000 8, 000 Newspaper ad 9, 000 4, 000 The following resource constraints exist: 1. There is a budget limit of Rs. 100,000 available for advertising. 2. The television station has enough time available for four commercials. 3. The radio station has enough time available for ten radio commercials. 4. The newspaper has enough space available for seven ads. 5. The advertising agency has time and staff to produce at most a total of fifteen commercials ads.

Decision Variables This model consists of three decision variables representing the number of each type of advertising produced: X 1 = the number of television commercials X 2 = the number of radio commercials X 3 = the number of newspaper ads The Objective Function The objective of this problem is different from the objectives in the previous examples in which only profit was Maximized (or cost minimized). In this problem profit is not Maximized, but rather the audience exposure is Maximized. This objective function demonstrates that although a linear programming model must either Maximize or Minimize some objective, the objective itself can be in terms of any type of activity or valuation. For this problem the objective of audience exposure is determined by summing the audience exposure gained from each type of advertising Maximize Z = 20, 000 X1 + 12, 000 X2 + 9, 000 X3 Where Z = the total number of audience exposures 20, 000 X1 = the estimated number of exposures from television commercials 12, 000 X2 = the estimated number of exposures from radio commercials 9, 000 X3 = the estimated number of exposures from newspaper ads

Model Constraints The first constraint in this model reflects the limited budget of Rs. 100, 000 allocated for advertisement, 15, 000 X 1 + 6, 000 X 2 + 4, 000 X 3 < 100, 000 where 15, 000 X 1 = the amount spent for television advertising 6, 000 X 2 = the amount spent for radio advertising 4, 000 X 3 = the amount spent for newspaper advertising The next three constraints represent the fact that television and radio commercials are limited to four and ten, respectively, while newspaper ads are limited to seven. X 1 < 4 (TV commercials) X 2 < 10 (Radio commercials) X 3 < 7 (Newspaper ads) The final constraint specifies that the total number of commercials and ads cannot exceed fifteen due to the limitations of the advertising firm: X 1 + X 2 + X 3 < 15 commercials and ads

The complete linear programming model for this problem is summarized as Maximize Z = 20, 000 X , 000 X 2 + 9, 000 X 3 Subject to 15, 000 X 1 + 6, 000 X 2 + 4, 000 X 3 < Rs. 100, 000 X 1 < 4 X 2 < 10 X 3 < 7 X 1 + X 2 + X 3 < 15 X 1, X 2, X 3 > 0

Question Practice: A Steel Mills produces two types of steel (g 1, g 2 ). The g 1 type of steel requires 2 hours for melting (m), 4 hours for rolling (r) and 10 hours for cutting (c). While g 2 type of steel requires 5 hours for m, 1 hour for r and 5 for c. The firm has 40 hours for m, 20 hours for r and 60 hours for c. The firm expects to yield the profit of 24Afs from g 1 and 8Afs from g 2. Find the quantities of g 1 and g 2 where firm’s profits are maximized. Max π = 24g 1 + 8g 2 Constraints Answer: g 1 =4, g 2 =4, π =128

Questions for Practice……. continued A n agriculturalist wants to produce a fertilizer in such a way that it has 15 units of potash, 120 units of nitrate and 24 units of phosphate. The first brand (X 1 ) provides 3 units of potash, 1 unit of nitrate and 3 units of phosphate. The other brand (X 2 ) provides 1 unit of potash, 5 units of nitrate and 2 units of phosphate. The first brand (X 1 ) costs 120Afs and the second brand (X 2 ) costs 60Afs. How the agriculturalist costs can be minimized. Min C = 120X X 2 Constraints Answer: X 1 =2, X 2 =9, C=780