Linear Programming Joseph Mark November 3, 2009. What is Linear Programming Linear Programming – a management science technique that helps a business.

Slides:



Advertisements
Similar presentations
30S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Linear Programming Lesson 5: Problem Solving Problem Solving with Linear Programming Learning.
Advertisements

Lesson 08 Linear Programming
LIAL HORNSBY SCHNEIDER
Linear Programming.
Optimization Models Module 9. MODEL OUTPUT EXTERNAL INPUTS DECISION INPUTS Optimization models answer the question, “What decision values give the best.
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.
Lesson 7.6, page 767 Linear Programming
Linear Programming?!?! Sec Linear Programming In management science, it is often required to maximize or minimize a linear function called an objective.
Objectives: Set up a Linear Programming Problem Solve a Linear Programming Problem.
Systems. Day 1 Systems of Linear Equations System of Linear Equations: two or more linear equations together The solution of the system of equations.
FORMULATION AND GRAPHIC METHOD
Linear Programming.
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
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
Spring 2015 Mathematics in Management Science Linear Prog & Mix Problems Two products Two resources Minimum constraints.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Systems Two or more unknown quantities that are related to each other can be described by a “system of equations”. If the equations are linear,
Mr. Barker Discrete math. Linear programming is a tool for maximizing or minimizing a quantity, typically a profit or a cost, subject to constraints.
Spring 2015 Mathematics in Management Science Mixture Problems What are these? Examples Algebra Review.
Linear Systems Chapter 3 – Algebra Graphing Systems of Equations EQ: How do you find the solution to a system by graphing?
Chapter 4: Linear Programming Lesson Plan
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 7.6 Linear Programming.
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.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Solve problems by using linear programming.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
Systems of Inequalities in Two Variables Sec. 7.5a.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Linear Programming 1.4 Algebra II.
Monday WARM-UP: TrueFalseStatementCorrected Statement F 1. Constraints are conditions written as a system of equations Constraints are conditions written.
Warm-up Solve each system of equations:
Spring 2015 Mathematics in Management Science Linear Programming Mixture Problems Dolls & Skateboards.
Chapter 4: Linear Programming Lesson Plan Mixture Problems  Combining Resources to Maximize Profit Finding the Optimal Production Policy Why the Corner.
Unit 1 Linear programming. Define: LINEAR PROGRAMMING – is a method for finding a minimum or maximum value of some quantity, given a set of constraints.
Linear Programming The Table Method. Objectives and goals Solve linear programming problems using the Table Method.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
3.3 Linear Programming. Vocabulary Constraints: linear inequalities; boundary lines Objective Function: Equation in standard form used to determine the.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
Linear programming Lecture (4) and lecture (5). Recall An optimization problem is a decision problem in which we are choosing among several decisions.
Section 7.5 Linear Programming Math in Our World.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Linear Programming.
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
Do Now The cost of renting a pool at an aquatic center is either $30 an hr. or $20 an hr. with a $40 non refundable deposit. Use algebra to find for how.
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
Chapter 5 Linear Inequalities and Linear Programming
Chapter 4: Linear Programming Lesson Plan
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Math 1 Warm Up In the Practice Workbook… Practice 7-6 (p. 94)
Linear Programming.
3-3 Optimization with Linear Programming
Linear Programming Objectives: Set up a Linear Programming Problem
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Optimization Models Module 9.
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
Nature does nothing uselessly.
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Section Linear Programming
Linear Programming.
Presentation transcript:

Linear Programming Joseph Mark November 3, 2009

What is Linear Programming Linear Programming – a management science technique that helps a business allocate the resources it has on hand to make a particular mix of products that will maximize profit. Tool for maximizing or minimizing a quantity subject to constraints Said to account for 50-90% of computing time used for management decisions

Real World Applications and Examples What crops to grow on limited farmland How to use resources in a bakery (eggs, butter, sugar, eggs, flour) How to use labor force

Linear Programming Uses an algorithm based on available data to produce an optimal solution Can take on decimal values unlike integer programming  However, sometimes the optimal solution is an unfeasible solution It doesn’t make sense to produce 3.24 dolls to sell

Mixture Problem In a mixture problem, limited resources are combined into products so that the profit from selling those products is a maximum  Example: how different kinds of aviation fuel can be manufactured using different kinds of crude oil An optimal production policy has two properties. First it is possible; that is, it does not violate any of the limitations under which the manufacturer operates, such as availability of resources. Second, the optimal production policy gives the max profit

Mixture Problems with One Resource Suppose a toy manufacturer has 60 containers of plastic and wants to make and sell skateboards.  One skateboard requires 5 containers of plastic  The profit on 1 skateboard is $1 Manufacturer can make 60/5 = 12 skateboards So the number of skateboards, x, that can be made is between 0 and 12, or 0 ≤ x≤ 12  These values are the feasible set (set of all possible solutions)

Notes on Feasible Region Any point within the feasible region represents a possible production policy – any number within this region is possible to produce given the limited supplies. For most problems, negative values are unfeasible, for example, how do you make negative skateboards? Maximum profit always occurs at a corner point of a feasible region, in both simple and complex problems

Common Features of Mixture Problems Resources  Definite resources are available in limited, known quantities for the time period in question. Ex. plastic Products  Definite products can be made by combining, or mixing, the resources. Ex. Skateboards Recipes  A recipe for each product specifies how many units of each resource are needed to make one unit of that product. Ex. 1 skateboard = 5 containers of plastic Profits  Each product earns a known profit per unit Objective  The objective in a mixture problem is to find out how much of each product to make so to maximize profits without exceeding resource limitations

Two Products and One Resource Toy manufacturer makes skateboards and dolls  1 doll requires 2 containers of plastic  1 skateboard requires 5 containers of plastic Can make all dolls, all skateboards, or some combination of the two  One doll makes $.55 profit  One skateboard makes $1 profit Total Profit will be $1x+$.55y, where x is the number of skateboards and y is the number of dolls manufactured

Mixture Charts Answers  1. what are the resources  2. what quantity of each resource is available  3. what are the products  4. what are the recipes for the products  5. what are the unknown quantities  6. what is the profit formula

Mixture Chart for Skateboards and Dolls Skateboards (x units) 5$1.00 Dolls (y units) 2$0.55 RESOURCES Containers of Plastic 60 PROFIT PRODUCTS

Resource Constraints Tell how much of a resource you have  You can’t use more than the amount available For the skateboards and dolls problem  The number of plastic containers used must be less than 60 So 5x + 2y ≤ 60. Constraint inequalities are always associated with equations for lines, thus linear programming.

Finding the Optimal Production Policy Now need to find the point within the region that gives the maximum profit Corner Point Principle  The corner point principle states that in a linear programming problem, the maximum value for the profit formula always corresponds to a corner point of a feasible region

Corner Point Principle 1. Determine the corner points of the feasible region 2. Evaluate the profit at each corner point of the feasible region 3. Choose the corner point with the highest profit as the production policy.

Optimal Production Policy for Skateboards and Dolls We have three corner points (0, 0) (12, 0) (0, 30) Evaluate profit formula at these points  $1x + $.55y Maximum profit at (0, 30) = $16.50 This point is called the optimal production policy

Role of Profit Formula The optimal production policy is dependent on the profit formula.  For example, if the profit for skateboards were $1.05 and profit for dolls were $.40, we would make all skateboards (12,0) instead of all dolls. However, there may be reasons for wanting to produce both products

Adding Minimums to Mixture Chart Skateboards (x units) 54(1)$1.00 (2)$1.05 Dolls (y units) 210(1)$0.55 (2)$0.40 RESOURCES Containers of Plastic 60 PROFIT PRODUCTS MINIMUMS

Adding Minimums

Find New Optimal Solution Have new corner points at (4,10) (4,20) (8,10) Can find these points algebraically  (4,10) easy to see  Upper left point has 4 as x-coordinate Substitute x=4 into second line 5x+2y=60  5(4)+2y=60 -> y = 20  Same for lower right, substitute y=10 instead 5x+2(10)=60 -> x=8

Finding New Optimal Solution Substitute new corner points into profit formula  Using profit formula 1: (4, 10) = 1(4) +.55(10) = $9.50 (4, 20) = 1(4) +.55(20) = $15.00 (8, 10) = 1(8) +.55(10) = $13.50  Using profit formula 2: (4, 10) = 1.05(4) +.40(10) = $8.20 (4, 20) = 1.05(4) +.40(20) = $12.20 (8, 10) = 1.05(8) +.40(10) = $12.40

Summary of Pictorial Method 1. Identify resources and products 2. Make a Mixture Chart showing resources, products, recipes for creating products, profit of each product, and the amount of each resource on hand. If problem has minimums, include that as well 3. Assign unknowns, x or y, to each product. Use the mixture chart to write down the resource constraints, the minimum constraints, and the profit formula 4. Graph the line corresponding to each resource constraint and determine which side of the line is in the feasible solution (≥ or ≤ ) 5. Find the corner points and evaluate the profit formula at these points

Mixture Problems with 2 Resources Consider the toy manufacturer and now has a second constraint of time. Suppose there are 360 minutes of available labor.  One skateboard requires 15 minutes  One doll requires 18 minutes  Still maintain zero minimum constraints

New Mixture Chart Skateboards (x units) 515(1)$1.00 Dolls (y units) 218(1)$0.55 Containers of Plastic 60 PROFIT PRODUCTS Minutes 360 RESOURCES

Resource Constraints 5x + 2y ≤ 60 containers of plastic 15x + 18y ≤ 360 minutes available Profit Formula $1x + $0.55y Graph two lines and find the intersection

Find New Corner Points (0,0) (12,0) (0,20) Find the intersection point  5x+2y=60  15x+18y=360 Solve for one variable  18(5x+2y=60) -> 90x+36y=1080  -2(15x+18y=360)-> -30x-36y= x = 360 x = 6 5(6)+2y=60 y = 15 (6,15) is last point

Evaluate Evaluate your new points in your profit formula $1x + $.55y (0,0) = $0 (12,0) = = $12 (0,20) = (20) = $11 (6,15) = (15) = $14.25 So the optimal production policy is to make 6 skateboards and 15 dolls for a profit of $14.25

Mixing Two Juices A juice manufacturer produces and sells two fruit beverages: Cranapple and Appleberry 1 gal of Cranapple is 3qts Cranberry Juice and 1qt Apple Juice 1 gal of Appleberry is 2qts Apple Juice and 2qts Cranberry Juice Cranapple makes a profit of 2cents/gallon Appleberry makes a profit of 5cents/gallon

Constraints You have 200 quarts of Cranberry Juice available and 100 quarts of Apple Juice available, how many gallons of each drink mixture should we make?  Cranberry constraint 3x+2y ≤ 200  Apple Juice constraint 2x+2y ≤ 100 X = gallons of cranapple juice Y = gallons of appleberry juice

With Minimum Constraints Want x (gallons of cranapple juice) ≥ 20 Want y (gallons of appleberry juice) ≥ 10 Get corner points of (20, 10) (20, 40) (50, 25) (60,10) Evaluate in profit formula 2x+5y (20,40) is optimal point  But substituting (20,40) into our cranberry juice constraint, we find we only use 3(20)+2(40)=140 of our allotted 200 quarts available. So we have 60 quarts of slack. So perhaps sell cranberry juice separately or purchase more apple juice if it’s profitable.

Complex Regions Sometimes there are so many corner points of a feasible region that multiple calculations are needed to determine the coordinates and profits for each one. Computing the profit for every corner point for even the fastest computer could be impossible Also, it is not possible to visualize the feasible region as a part of two-dimensional space where there are more than two products. Each product is represented by an unknown, and each unknown is represented by a dimension of space. If we have 50 products, we would need 50 dimensions and we couldn’t visualize such a region.

EXCEL Linear Programming in Excel

LINDO

Courses for Additional Information BUAD 361 – Intro to Operations Technology BUAD 467 – Adv. Data Management & Modeling MATH 323 – Intro to Operations Research