Eg Al is buying some cows and sheep for his farm. He buys c cows at £120 each He buys s sheep at £200 each. He wants at least 10 animals in total. He wants.

Slides:



Advertisements
Similar presentations
1 Chapter 14 Making the most of things: Linear Programming.
Advertisements

Lesson 08 Linear Programming
LIAL HORNSBY SCHNEIDER
Chapter 6 Linear Programming: The Simplex Method
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.
NCEA Questions. Question Andy’s confectionery shop sells sweets. Bags of wine gums and jaffas are put together in two different combinations. Small.
Linear Programming Models: Graphical Methods
D1: Linear Programming.
Section 12.0 Review of Linear Inequalities
Chapter 5 Linear Inequalities and Linear Programming Section 2 Systems of Linear Inequalities in Two Variables.
Chapter 5 Linear Inequalities and Linear Programming Section 1 Linear Inequalities in Two Variables.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
Chapter 5.1 Systems of linear inequalities in two variables.
Systems of Equations and Inequalities
Graphing Linear Inequalities
Chapter 19 Linear Programming McGraw-Hill/Irwin
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Chapter 12 Section 12.1 The Geometry of Linear Programming.
Systems of Inequalities And Linear Programming
Linear Algebra Achievement Standard 1.4.
1 Chapter 8 Linear programming is used to allocate resources, plan production, schedule workers, plan investment portfolios and formulate marketing (and.
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,
Solving Linear Systems by graphing
Spring 2015 Mathematics in Management Science Mixture Problems What are these? Examples Algebra Review.
Linear Inequalities and Linear Programming Learning Outcomes  I can solve a linear inequality  I can graph a linear inequality  I can find the region.
Donald Waters, Quantitative Methods for Business, 4 th Edition © Donald Waters 2008 Slide 12.1 Chapter 12 Planning with linear programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1 Sections 5.1 & 5.2 Inequalities in Two Variables After today’s lesson, you will be able to graph linear inequalities in two variables. solve systems.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan Department of Mathematics and CS
QUESTION 3 D1 JANUARY 2012 EXAM PAPER Federico Midolo.
Graphing in Three Dimensions Solutions of equations in three variables can be pictured with a three-dimensional coordinate system. To construct such a.
A LINEAR PROGRAMMING PROBLEM HAS LINEAR OBJECTIVE FUNCTION AND LINEAR CONSTRAINT AND VARIABLES THAT ARE RESTRICTED TO NON-NEGATIVE VALUES. 1. -X 1 +2X.
11C. Linear Programming. What is a linear programming problem? 1.A set of variables (in Further Maths there will only ever be two variables) called decision.
1Barnett/Ziegler/Byleen Finite Mathematics 12e Learning Objectives for Section 5.2  The student will be able to solve systems of linear inequalities graphically.
Warm-up Solve each system of equations:
Example 3.2 Graphical Solution Method | 3.1a | a3.3 Background Information n The Monet Company produces two type of picture frames, which.
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)
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 5.1 Inequalities in Two Variables The student will be able to graph linear.
 G K Powers 2013 Cambridge University Press 5. Interpreting linear relationships Study guide 1.
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
Slide 4- 1 Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Copyright © 2010 Pearson Education, Inc. Publishing.
Copyright © 2012 Pearson Education, Inc. Publishing as Addison Wesley CHAPTER 6: Systems of Equations and Matrices 6.1 Systems of Equations in Two Variables.
3.4 Graphing Linear Equations in Standard Form
An Introduction to Linear Programming
GENERAL MATHS – UNIT TWO
2.7 Linear Programming Objectives: Use linear programming procedures to solve applications. Recognize situations where exactly one solution to a linear.
Chapter 5 Linear Inequalities and Linear Programming
Math in Our World Section 7.4 Linear Inequalities.
GENERAL MATHS – UNIT TWO
Copyright © Cengage Learning. All rights reserved.
GENERAL MATHS – UNIT TWO
3-3 Optimization with Linear Programming
Linear Programming Objectives: Set up a Linear Programming Problem
Do Now! Solve the system of equations Do all work on the notecard.
Copyright © Cengage Learning. All rights reserved.
9. Modelling linear relationships
Systems of Inequalities
Systems of Inequalities and Linear Programming
Chapter 7: Systems of Equations and Inequalities; Matrices
Linear and nonlinear relationships
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Systems of Inequalities
Presentation transcript:

Eg Al is buying some cows and sheep for his farm. He buys c cows at £120 each He buys s sheep at £200 each. He wants at least 10 animals in total. He wants more sheep than cows. He has a maximum of £1800 to spend. Write down three inequalities involving c and s By the end of the module you will know how to find a possible combination of cows and sheep that satisfies all 3 inequalities. Linear programming It is a method for maximising or minimising variables, subject to constraints. An area of relatively recent development in Mathematics, and one which has a financially important application, is that of linear programming This can be applied to maximising profit, given constraints on time, material & money Or applied to minimising costs, given constraints

Eg from previously Al is buying c cows and s sheep for his farm. Three inequalities involving c and s are: Linear programming We will look in more detail about how to sketch inequalities, but for now, just to give an overall sense of the purpose of the method… What possible combinations could Al buy? Al can sell the produce of each cow for £150 and the produce of each sheep for £450. How many of each should he buy to maximise his profit? CowsSheepProfit 3 7£3600 £3300 £

Eg find the region that satisfies the inequalities: Sketching regions First identify the lines of the boundaries of each region by replacing inequality signs with equals signs Then plot these lines using: Either use intercept and gradient to plot Or find where each line intersects the axes Gradient = 2, Intercept = 0 Horizontal line through 6 Test a coordinate not on the line to see which side satisfies the inequality so eliminate above the line If we want eliminate below the line Eliminate below the line as Test a coordinate not on the line

Eg find the coordinates of the vertices of the feasible region below R A A is at the intersection of: (1) (2) Sub (1) in (2): Sub x = 7.5 in (1): So A has coordinates (7.5,15)

Eg find the coordinates of the vertices of the feasible region below R B B is at the intersection of: (1) (2) Sub (1) in (2): So B has coordinates (12,6)

Eg find the coordinates of the vertices of the feasible region below R C C is at the intersection of: (1) (2) Sub (1) in (2): So C has coordinates (9,6)

Eg find the coordinates of the vertices of the feasible region below R D D is at the intersection of: (1) (2) Sub (1) in (2): Sub x = 4.5 in (1): So D has coordinates (4.5,9)

In linear programming, you need to be able to draw the line of an equation where, effectively, the intercept is a variable. Consider: so the gradient is and the intercept is ie you know the gradient but not the intercept The intercept is a function of c As c is varied, so will the intercept, but not the gradient Watch the demo! Whatever the value of c, you get parallel lines So to draw, draw any line with a gradient of

a b If then and the line will have gradient This means Eghas gradient 3 5 When drawing this, we could imagine triangles repeatedly, or use a larger similar triangle like: or Depending on the scale of the axes, this may be a lot faster for accurately sketching a line

Eg show a suitable line, for each axes, of the equation use use

Eg John makes £1 profit for every chocolate brownie he sells and £2 for every muffin. Using x as the number of brownies he sells and y as the number of muffins he sells, write an equation for his total profit P If he needs to make a profit of £120, what combination could he sell? (0,60), he sells no brownies and 60 muffins (20,50), he sells 20 brownies and 50 muffins (40,40), he sells 40 brownies and 40 muffins (60,30), he sells 60 brownies and 30 muffins (80,20), he sells 80 brownies and 20 muffins (100,10), he sells 100 brownies and 10 muffins (120,0), he sells 120 brownies and no muffins If he needs to make a profit of £180, what combination could he sell? If he needs to make a profit of £240, what combination could he sell? To increase profit, move the objective line away from the origin

Eg The feasibility region of a linear programming problem is given below. Use the objective line method to identify the optimum solution if the aim is to: Maximise Draw a ‘suitable’ line with the correct gradient use Increase the profit by imagining the line sliding away from the origin, keeping it parallel The optimum point is the last value within the critical region The optimum solution is: x = 10, y = 10, P = 30

Eg The feasibility region of a linear programming problem is given below. Use the objective line method to identify the optimum solution if the aim is to: Maximise Draw a ‘suitable’ line with the correct gradient use Increase the profit by imagining the line sliding away from the origin, keeping it parallel The optimum point is the last value within the critical region The optimum solution is: x = 20, y = 0, N = 60

Eg The feasibility region of a linear programming problem is given below. Use the objective line method to identify the optimum solution if the aim is to: Minimise Draw a ‘suitable’ line with the correct gradient use Minimise by imagining the line sliding towards the origin, keeping it parallel The optimum point is the last value within the critical region The optimum solution is not a whole number and we need to solve simultaneous equations to find their values

The fact that the optimal point is always a vertex of the feasibility region gives rise to a second method of identifying the optimal point called vertex testing With this method, we find the value of the objective function at every vertex. For maximise problems, we then identify the vertex that gives the largest value For minimise problems, we then identify the vertex that gives the smallest value Eg previously used A(7.5,15) B(12,6) C(9,6) D(4.5,9) Identify the optimum point and value if the aim is to: a)Maximise M = x + y b)Minimise N = x + 3 y Vertex M = x + y N = x + 3 y A(7.5,15) B(12,6) C(9,6) D(4.5,9)

Ex 6C, Q1 R Find the optimum point and the optimum value, using: a) the objective line method, with the objective ‘maximise ‘ use Solution x = 320, y = 120

Ex 6C, Q1 R Find the optimum point and the optimum value, using: a) the objective line method, with the objective ‘maximise ‘ use Solution x = 0, y = 400

Integer value solutions Often, solutions to linear programming problems require integer values. There are 2 methods for doing this, depending on the scale of the graph: Maximise The closest point is obviously (3,6) Minimise The closest point is NOT obvious… Objective line

PointIn R? Test 4 nearest points if integer solutions required Yes 343

WB11 A manager wishes to purchase seats for a new cinema. He wishes to buy three types of seat; standard, deluxe and majestic. Let the number of standard, deluxe and majestic seats to be bought be x, y and z Standard, deluxe and majestic seats each cost £20, £26 and £36, respectively. The manager wishes to minimise the total cost, £C, of the seats. Formulate this situation as a linear programming problem, simplifying your inequalities so that all coefficients are integers. He decides that the total number of deluxe and majestic seats should be at most half of the number of standard seats. The number of deluxe seats should be at least 10% and at most 20% of the total number of seats. The number of majestic seats should be at least half of the number of deluxe seats. The total number of seats should be at least 250. Minimise Constraints Objective function Non-negativity

WB12.A company produces two types of self-assembly wooden bedroom suites, the ‘Oxford’ and the ‘York’. After the pieces of wood have been cut and finished, all the materials have to be packaged. The table below shows the time, in hours, needed to complete each stage of the process and the profit made, in pounds, on each type of suite. OxfordYork Cutting46 Finishing3.54 Packaging24 Profit (£) The times available each week for cutting, finishing and packaging are 66, 56 and 40 hours respectively. The company wishes to maximise its profit. Let x be the number of Oxford, and y be the number of York suites made each week. (a) Write down the objective function. (b) In addition to find two further inequalities to model the company’s situation. Maximise Finishing: Packaging: Cutting: given

(c) On the grid below, illustrate all the inequalities, indicating clearly the feasible region use R

(d) Explain how you would locate the optimal point Point testing: test corner points in feasible region, find profit at each and select the point yielding maximum Profit line: draw profit line, then select point on profit line furthest from the origin Make 6 Oxford and 7 York = £5300 Furthest point (6,7) VertexProfit (0,10) (16,0) (6,7) (14,1) use

It is noticed that when the optimal solution is adopted, the time needed for one of the three stages of the process is less than that available. (f) Identify this stage and state by how many hours the time may be reduced Finishing: Packaging: Cutting: The maximum time possible for finishing is not used in the optimum solution So only 49 hours of finishing is required Reduce the amount of time by 7 hours