Linear Programming An Example. Problem The dairy "Fior di Latte" produces two types of cheese: cheese A and B. The dairy company must decide how many.

Slides:



Advertisements
Similar presentations
LIAL HORNSBY SCHNEIDER
Advertisements

Linear Programming Problem
Session II – Introduction to Linear Programming
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.
Introduction to Management Science
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Chapter 5 Linear Inequalities and Linear Programming
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Chapter 4: Linear Programming Presented by Paul Moore.
Operation Research Chapter 3 Simplex Method.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
QM B Linear Programming
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Linear-Programming Applications
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Determine if the given ordered pair is a solution of
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
LINEAR PROGRAMMING SIMPLEX METHOD.
Chapter 12 Section 12.1 The Geometry of Linear Programming.
1. The Simplex Method.
Linear Programming Chapter 13 Supplement.
Module B: Linear Programming
Linear Programming: Basic Concepts
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.
Linear Programming. What is Linear Programming? Say you own a 500 square acre farm. On this farm you can grow wheat, barley, corn or some combination.
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
 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.
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
5. Linear Programming Objectives: 1.Problem formulation 2.Solving an LP problem graphically 3.Bounded regions and corner points Refs: B&Z 5.2.
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
A LINEAR PROGRAMMING PROBLEM HAS LINEAR OBJECTIVE FUNCTION AND LINEAR CONSTRAINT AND VARIABLES THAT ARE RESTRICTED TO NON-NEGATIVE VALUES. 1. -X 1 +2X.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Simplex Method for solving LP problems with two variables.
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.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Warm-upWarm-up Sketch the region bounded by the system of inequalities: 1) 2) Sketch the region bounded by the system of inequalities: 1) 2)
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
An Introduction to Linear Programming
Linear Programming for Solving the DSS Problems
Linear Programming.
Engineering Economics (2+0)
Chapter 5 Linear Inequalities and Linear Programming
Linear Programming Dr. T. T. Kachwala.
Linear programming Simplex method.
Linear Programming Objectives: Set up a Linear Programming Problem
Linear Programming SIMPLEX METHOD.
Linear programming Simplex method.
TBF General Mathematics - II Lecture – 9 : Linear Programming
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Linear Programming.
Presentation transcript:

Linear Programming An Example

Problem The dairy "Fior di Latte" produces two types of cheese: cheese A and B. The dairy company must decide how many tons of each type of cheese can be produced. The company uses only the milk from some stables that can provide 2880 tons of milk per year. From the processing point of view, the two cheeses differ in the amount of milk and in the work needed to produce one unit of processed product In fact, 1 ton of A cheese requires 12 tons of milk and 9 hours of work, while, 1 ton of B needs 16 tons of milk and 6 hours of work. The dairy has a maximum capacity of 200 tons of cheese. The hours available are The profit that the company can benefit from cheese sale is 350 euros for cheese A and 300 euros for cheese B. The question is: how many tons of cheese A and B the company should produce in order to obtain the maximum profit?

Problems of choice In any economic context where resources to be used are available in limited quantities, there is a problem of choice concerning the quantities and combinations of factors to be used to obtain the best possible result. For example, entrepreneurial activity has as main purpose the continuity of their business and the factors of production remuneration. The entrepreneur organizes his activities in order to find that combination of factors that can provide the highest profit. In the field of transport logistics, for example, the goal is to find the shortest way to reach a certain place to minimize the transport costs of goods.

Developing the problem To solve any linear programming problem, first of all we must try to formulate it in algebraic terms by following these rules: 1. Understanding the problem; 2. Identify the decision variables; 3. Identify the objective function as a linear combination of decision variables; 4. Formulate the constraints of the problem as a linear combination of decision variables.

Understanding the problem Before dealing with the mathematical formulation of each problem, it is important to consider the context in which we are developing a mathematical programming model and ask to ourselves: 1. Which is the goal to which we respond by developing a mathematical programming model? 2. There are decision variables that can influence the objective? 3. Which are the factors or resources used in the technical- economic transformation process? 4. Which are the times required to give a decision support? 5. It 's really necessary to develop a mathematical programming model?

Identifying the decision variables If we have understood the terms of the problem, then we can identify the decision variables, those variables that through the use of the resources available in limited quantities determine the outcomes of the problem. The variables are those elements of the problem that have to be calculated to obtain the best possible result. Usually the variables of a LP problem are identified by the letters X 1, X 2, X 3, …, X n In our example, the decision variables are implicit in the final question: how many tons of cheese A and B the company should produce to maximize profit? The variables are: Cheese A X1X1 Cheese B X2X2 Decision variables for the LP problem

Objective Function After having identified the decision variables of the problem, we formulate in mathematical terms the objective of the LP problem. Question: What is to be maximized / minimized? The objective function is the algebraic transposition of the aim of who want to optimize a given situation using a LP model. In our example, the objective function is given by maximizing the total profit of the dairy, namely: Total Profit = 350 X X 2 Objective= maximize (max) Total Profit Objective Function= max Total Profit = max 350 X X 2

Constraints In each choice issue, there are bounds to the values that decision variables can assume. In particular, in each of LP problem it is very important to consider the limiting factors, namely the resources available in limited quantities. Moreover, in many problems of choice it is necessary to consider the technological constraints, namely the links between variables and between variables and limiting factors. In the LP problem we considerd we can see 3 main constraints. I constraint. The dairy wearhouse capacity The dairy can contain up to 200 tons of cheese. In other terms: X 1 + X 2 ≤ 200 The quantity of cheese A added to the quantity of cheese B cannot be higher that 200 tons.

Constraints II constraint. The technological constraint on the milk availibility The dairy company uses milk produced by some breeders to make the two types of cheese: 12 X X 2 ≤ 2880 To produce one unit (ton) of cheese A it is necessary to use 12 tons of milk and to produce cheese B It needs to use 16 tons of milk. The total amount of milk that may enter in the dairy processing is equal to 2880 tons. III constraint. The constraint on work The maximum amount of hours that can be devoted to the processing activity represents a further constraint to the problem. In fact: 9 X X 2 ≤ hours to produce 1 ton of cheese A and 6 hours to produce 1 ton of cheese B.

Constraints Finally, to achieve consistency between the solutions of the problem with the observed reality and in order to avoid implausible solutions to LP problems, the so-called non- negativity constraints related to variables must be added. So in our example, it would be surprising to obtain solutions with negative values of decision variables. For this reason, the problem is integrated by the following 2 constraints: X 1 ≥ 0 X 2 ≥ 0 The two constraints ensure that the solution of the problem be realistic and coherent. Non-negativity constraints

The LP Problem Now, we can write the LP problem in its full algebraic formulation: Subject to Objective Function Dairy capacity Milk supply Labour availibility Non-negativity 1 Non-negativity 2 Activity 1 Activity 2

Graphical Solution The constraints of a LP problem define the set of feasible solutions, i.e. the region of feasible solutions for the problem (feasible region). Our task is to determine which point of the feasible region corresponds to the optimal value of the objective function. Subject to

Graphical Solution Let us represent the first constraint x2x2 x1x1 (200,0) (0,200)

Graphical Solution x2x2 x1x1 (200,0) (0,200) Boundary line for the dairy company capacity Let us represent the first constraint

Graphical Solution x2x2 x1x1 (240,0) (0,180) 250 Let us represent the first constraint Boundary line for the dairy company capacity

Graphical Solution x2x2 x1x1 (240,0) (0,180) Boundary line for the milk supply 250 Let us represent the second constraint

Graphical Solution x2x2 x1x1 (174,0) (0,261) 250 Let us represent the third constraint Boundary line for the avaiable labour hours

Graphical Solution x2x2 x1x1 (174,0) (0,261) 250 Feasible region Let us represent the third constraint Boundary line for the avaiable labour hours

Graphical Solution The feasible region is the cloud of points with respect to which the values assumed by the decision variables do not conflict with the constraints of the problem x2x2 x1x1 250 Feasible Region

Graphical Solution The feasible region offers an endless cloud of points in which we find the pair of values ​ that produce the highest profit. For this reason, there is an infinite number of values of the objective function that satisfies the constraints of the problem. However, only a point allows to get the maximum value of the objective function. The research of this point shall follow the criterion of saturation of the limited factors. You must find the solution that fully utilizes the scarce resources. This is why, the solution of our problem must be found on the border line of the feasible region. In LP, these points are in correspondence of the intersection of the constraint lines, namely the corner points of the feasible region.

Graphical Solution We proceed by trial from the following value of the objective function: 350x x 2 = Graphically: x2x2 x1x1 250 Objective Function (100,0) (0,116.67)

Graphical Solution The objective function value satisfies the previous constraints, but it does not maximize the result because we still have availability factors to use. Let us now with an OF value equal to euro. Graphically: x2x2 x1x1 250 New objective function (150,0) (0,175)

Graphical Solution By moving the objective function at the extremes of the feasible region, the economic performance continues to increase. The point beyond which no longer can move the OF is the optimal point x2x2 x1x1 250 Optimal solution (122,78)

Graphical Solution To find the optimal solution of a LP problem it is necessary to study the corner points and determine the value of the objective function. The point that returns the highest value of OF coincides with the optimal point x2x2 x1x1 250 (0,0) OF=0€ (174,0) OF=60900€ (0,180) OF=54000€ (80,120) OF=64000€ (122,78) OF=66100€

LP Problem Solve graphically the following LP problem. Subject to

Graphical Solution Some problems may present multiple optimal solutions x2x2 x1x1 250 (0,0) OF=0€ (174,0) OF=78300€ (0,180) OF=54000€ (80,120) OF=72000€ (122,78) OF=78300€

LP Problem Solve graphically the following LP problem: Subject to