Copyright © Cengage Learning. All rights reserved.

Slides:



Advertisements
Similar presentations
LIAL HORNSBY SCHNEIDER
Advertisements

Chapter 5 Linear Inequalities and Linear Programming
5.2 Linear Programming in two dimensions: a geometric approach In this section, we will explore applications which utilize the graph of a system of linear.
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.
Ch 2. 6 – Solving Systems of Linear Inequalities & Ch 2
Linear Programming?!?! Sec Linear Programming In management science, it is often required to maximize or minimize a linear function called an objective.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 8 Systems of Equations and Inequalities.
Linear Programming Unit 2, Lesson 4 10/13.
1 Lecture 11 Resource Allocation Part1 (involving Continuous Variables- Linear Programming) 1.040/1.401/ESD.018 Project Management Samuel Labi and Fred.
Objectives: Set up a Linear Programming Problem Solve a Linear Programming Problem.
Linear Programming Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Linear programming is a strategy for finding the.
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 7.6 Linear Programming.
Graphing Linear Inequalities in Two Variables Chapter 4 – Section 1.
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: 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.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
3  Graphing Systems of Linear Inequalities in Two Variables  Linear Programming Problems  Graphical Solutions of Linear Programming Problems  Sensitivity.
Warm-Up 3.4 1) Solve the system. 2) Graph the solution.
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Class Opener: Solve each equation for Y: 1.3x + y = y = 2x 3.x + 2y = 5 4. x – y = x + 3y = x – 5y = -3.
Warm-up Solve each system of equations:
Copyright © Cengage Learning. All rights reserved. 3 LINEAR PROGRAMMING: A GEOMETRIC APPROACH Warm Up: Graph the inequality 2x + 3y < 6.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
1 What you will learn  Lots of vocabulary!  How to find the maximum and minimum value of a function given a set of “rules”
Slide Copyright © 2009 Pearson Education, Inc. 7.6 Linear Programming.
3-5: Linear Programming. Learning Target I can solve linear programing problem.
Linear Programming. What is linear programming? Use a system of constraints (inequalities) to find the vertices of the feasible region (overlapping shaded.
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: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
Section 3.5 Linear Programing In Two Variables. Optimization Example Soup Cans (Packaging) Maximize: Volume Minimize: Material Sales Profit Cost When.
Slide 4- 1 Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Copyright © 2010 Pearson Education, Inc. Publishing.
Copyright © Cengage Learning. All rights reserved.
2.7 Linear Programming Objectives: Use linear programming procedures to solve applications. Recognize situations where exactly one solution to a linear.
Digital Lesson Linear Programming.
Copyright © Cengage Learning. All rights reserved.
1 Equations, Inequalities, and Mathematical Modeling
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
Systems of Inequalities
Chapter 5 Linear Inequalities and Linear Programming
Chapter 5 Linear Inequalities and Linear Programming
Systems of Equations and Inequalities
Linear Programming: The Graphical Method
Digital Lesson Linear Programming.
ALGEBRA II HONORS/GIFTED SECTION 3-4 : LINEAR PROGRAMMING
Linear Systems Chapter 3.
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.
Objective Vocabulary Solve linear programming problems.
3-4 Linear Programming Warm Up Lesson Presentation Lesson Quiz
Graphical Solution of Linear Programming Problems
Systems of Inequalities and Linear Programming
Chapter 7: Systems of Equations and Inequalities; Matrices
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
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
College Algebra Sixth Edition
Do Now Exercise Solve each linear system
Section 7.5 Linear Programming.
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. 7.6 Linear Programming Copyright © Cengage Learning. All rights reserved.

Objectives Solve linear programming problems. Use linear programming to model and solve real-life problems.

Linear Programming: A Graphical Approach

Linear Programming: A Graphical Approach Many applications in business and economics involve a process called optimization, in which you find the minimum or maximum value of a quantity. In this section, you will study an optimization strategy called linear programming. A two-dimensional linear programming problem consists of a linear objective function and a system of linear inequalities called constraints.

Linear Programming: A Graphical Approach The objective function gives the quantity to be maximized (or minimized), and the constraints determine the set of feasible solutions. For instance, suppose you want to maximize the value of z = ax + by subject to a set of constraints that determines the shaded region shown at the right. Objective function

Linear Programming: A Graphical Approach Because every point in the shaded region satisfies each constraint, it is not clear how you should find the point that yields a maximum value of z. Fortunately, it can be shown that when there is an optimal solution, it must occur at one of the vertices. This means that to find the maximum value of z, test z at each of the vertices.

Linear Programming: A Graphical Approach A linear programming problem can include hundreds, and sometimes even thousands, of variables. However, in this section, you will solve linear programming problems that involve only two variables.

Linear Programming: A Graphical Approach The guidelines for solving a linear programming problem in two variables are listed below.

Example 1 – Solving a Linear Programming Problem Find the maximum value of z = 3x + 2y subject to the following constraints. x > 0 y > 0 x + 2y < 4 x – y < 1 Objective function Constraints

Applications

Example 5 – Optimal Profit A candy manufacturer wants to maximize the combined profit for two types of boxed chocolates. A box of chocolate covered creams yields a profit of $1.50 per box, and a box of chocolate covered nuts yields a profit of $2.00 per box. Market tests and available resources have indicated the following constraints. 1. The combined production level should not exceed 1200 boxes per month. 2. The demand for a box of chocolate covered nuts is no more than half the demand for a box of chocolate covered creams.

Example 5 – Optimal Profit cont’d 3. The production level for chocolate covered creams should be less than or equal to 600 boxes plus three times the production level for chocolate covered nuts. What is the maximum monthly profit? How many boxes of each type should be produced per month to yield the maximum profit? Solution: Let x be the number of boxes of chocolate covered creams and let y be the number of boxes of chocolate covered nuts.

Example 5 – Solution cont’d So, the objective function (for the combined profit) is P = 1.5x + 2y. The three constraints translate into the following linear inequalities. 1. x + y < 1200 x + y < 1200 2. y < x –x + 2y < 0 3. x < 600 + 3y x – 3y < 600 Objective function

Example 5 – Solution cont’d Because neither x nor y can be negative, you also have the two additional constraints of x > 0 and y > 0. Figure 7.26 shows the region determined by the constraints. Maximum Monthly Profit Figure 7.26

Example 5 – Solution cont’d To find the maximum monthly profit, test the values of P at the vertices of the region. At (0, 0): P = 1.5(0) + 2(0) At (800, 400): P = 1.5(800) + 2(400) At (1050, 150): P = 1.5(1050) + 2(150) At (600, 0): P = 1.5(600) + 2(0) So, the maximum monthly profit is $2000, and it occurs when the monthly production consists of 800 boxes of chocolate covered creams and 400 boxes of chocolate covered nuts. = 0 = 2000 Maximum profit = 1875 = 900

7.6 Example – Worked Solutions

Example 1 – Solving a Linear Programming Problem Find the maximum value of z = 3x + 2y subject to the following constraints. x > 0 y > 0 x + 2y < 4 x – y < 1 Objective function Constraints

Example 1 – Solution The constraints form the region shown in Figure 7.21. Figure 7.21

Example 1 – Solution cont’d At the four vertices of this region, the objective function has the following values. At (0, 0): z = 3(0) + 2(0) At (0, 2): z = 3(0) + 2(2) At (2, 1): z = 3(2) + 2(1) At (1, 0): z = 3(1) + 2(0) So, the maximum value of z is 8, and this occurs when x = 2 and y = 1. = 0 = 4 = 8 Maximum value of z = 3

Linear Programming: A Graphical Approach In Example 1, try testing some of the interior points in the region. You will see that the corresponding values of z are less than 8. Here are some examples.

Linear Programming: A Graphical Approach To see why the maximum value of the objective function in Example 1 must occur at a vertex, consider writing the objective function in slope-intercept form where is the y-intercept of the objective function. This equation represents a family of lines, each of slope . Family of lines

Linear Programming: A Graphical Approach Of these infinitely many lines, you want the one that has the largest z-value while still intersecting the region determined by the constraints. In other words, of all the lines whose slope is , you want the one that has the largest y-intercept and intersects the given region, as shown in Figure 7.22. Notice from the graph that such a line will pass through one (or more) of the vertices of the region. Figure 7.22

Linear Programming: A Graphical Approach It is possible for the maximum (or minimum) value in a linear programming problem to occur at two different vertices. For instance, at the vertices of the region shown in Figure 7.24, the objective function z = 2x + 2y has the following values. At (0, 0): z = 2(0) + 2(0) = 0 At (0, 4): z = 2(0) + 2(4) = 8 Objective function Figure 7.24

Linear Programming: A Graphical Approach At (2, 4): z = 2(2) + 2(4) = 12 At (5, 1): z = 2(5) + 2(1) = 12 At (5, 0): z = 2(5) + 2(0) = 10 In this case, the objective function has a maximum value not only at the vertices (2, 4) and (5, 1); it also has a maximum value (of 12) at any point on the line segment connecting these two vertices. Maximum value of z Maximum value of z

Linear Programming: A Graphical Approach Note that the objective function in slope-intercept form has the same slope as the line through the vertices (2, 4) and (5, 1). Some linear programming problems have no optimal solutions. This can occur when the region determined by the constraints is unbounded.