Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach



Similar documents
Question 2: How do you solve a linear programming problem with a graph?

3.1 Solving Systems Using Tables and Graphs

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

Section 7.2 Linear Programming: The Graphical Method

1. Graphing Linear Inequalities

Module1. x y 800.

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

Question 2: How will changes in the objective function s coefficients change the optimal solution?

Introductory Notes on Demand Theory

Chapter 3: Section 3-3 Solutions of Linear Programming Problems

Linear Programming Supplement E

5 Systems of Equations

Linear Programming. Solving LP Models Using MS Excel, 18

The Graphical Method: An Example

Linear Programming Problems

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Study Guide 2 Solutions MATH 111

Linear Programming I

Standard Form of a Linear Programming Problem

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

0.1 Linear Programming

Chapter 9. Systems of Linear Equations

Questions. Strategies August/September Number Theory. What is meant by a number being evenly divisible by another number?

Using Mathematics to Solve Real World Problems

EdExcel Decision Mathematics 1

4. How many integers between 2004 and 4002 are perfect squares?

Chapter 2: Linear Equations and Inequalities Lecture notes Math 1010

What is Linear Programming?

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

Linear Programming. March 14, 2014

Sensitivity Analysis with Excel

16 21 Linear vs. Exponential.notebook May 14, LT 1c: I can compare linear vs. exponential change.

OPRE 6201 : 2. Simplex Method

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Consumer Theory. The consumer s problem

Lecture 2: August 29. Linear Programming (part I)

Linear Programming Notes V Problem Transformations

Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization

1 Solving LPs: The Simplex Algorithm of George Dantzig

Math 120 Final Exam Practice Problems, Form: A

Using Linear Programming in Real-Life Problems

PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71. Applications. F = mc + b.

Linear Programming. April 12, 2005

Algebra 1 End-of-Course Exam Practice Test with Solutions

Economics 2020a / HBS 4010 / HKS API-111 FALL 2010 Solutions to Practice Problems for Lectures 1 to 4

4.6 Linear Programming duality

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

Math 0980 Chapter Objectives. Chapter 1: Introduction to Algebra: The Integers.

Largest Fixed-Aspect, Axis-Aligned Rectangle

constraint. Let us penalize ourselves for making the constraint too big. We end up with a

Section 3.1 Quadratic Functions and Models

1 Calculus of Several Variables

Let s explore the content and skills assessed by Heart of Algebra questions.

. P. 4.3 Basic feasible solutions and vertices of polyhedra. x 1. x 2

Writing the Equation of a Line in Slope-Intercept Form

CHAPTER 11: BASIC LINEAR PROGRAMMING CONCEPTS

Profit and Revenue Maximization

Arrangements And Duality

Decision Mathematics D1. Advanced/Advanced Subsidiary. Friday 12 January 2007 Morning Time: 1 hour 30 minutes. D1 answer book

The Point-Slope Form

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

EQUATIONS and INEQUALITIES

1 Mathematical Models of Cost, Revenue and Profit

GENERALIZED INTEGER PROGRAMMING

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1

Sensitivity Report in Excel

Absolute Value Equations and Inequalities

7. Solving Linear Inequalities and Compound Inequalities

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the school year.

Review of Fundamental Mathematics

Basic Components of an LP:

ISyE 2030 Test 2 Solutions

Math 115 Extra Problems for 5.5

Solve addition and subtraction word problems, and add and subtract within 10, e.g., by using objects or drawings to represent the problem.

AP CALCULUS AB 2006 SCORING GUIDELINES (Form B) Question 4

Answer Key for California State Standards: Algebra I

Multiple Optimization Using the JMP Statistical Software Kodak Research Conference May 9, 2005

Optimization Modeling for Mining Engineers

Quickstart for Desktop Version

Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept

BALTIC OLYMPIAD IN INFORMATICS Stockholm, April 18-22, 2009 Page 1 of?? ENG rectangle. Rectangle

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

Section 9: Applied Optimization

SMT 2014 Algebra Test Solutions February 15, 2014

POTENTIAL OUTPUT and LONG RUN AGGREGATE SUPPLY

Solving Linear Programs

Solving Quadratic & Higher Degree Inequalities

Composite Surfaces Tutorial

Common Core Unit Summary Grades 6 to 8

Duality in Linear Programming

MATH 21. College Algebra 1 Lecture Notes

Linear Programming Sensitivity Analysis

What are the place values to the left of the decimal point and their associated powers of ten?

Section 1.5 Linear Models

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

1.4 Compound Inequalities

Problem Set 1 Solutions

Transcription:

Chapter 5 Linear Programming in Two Dimensions: A Geometric Approach Linear Inequalities and Linear Programming Section 3 Linear Programming gin Two Dimensions: A Geometric Approach In this section, we will explore applications which utilize the graph of a system of linear inequalities. 2 A Familiar Example Linear Programming Problem We have seen this problem before. An extra condition will be added to make the example more interesting. Suppose a manufacturer makes two types of skis: a trick ski and a slalom ski. Each trick ski requires 8 hours of design work and 4 hours of finishing. Each slalom ski requires 8 hours of design and 12 hours of finishing. Furthermore, the total number of hours allocated for design work is 160 and the total available hours for finishing work is 180. Finally, the number of trick skis produced must be less than or equal to 15. How many trick skis and how many slalom l skis can be made under these conditions? Now, here is the twist: Suppose the profit on each trick ski is $5 and the profit for each slalom ski is $10. How many each of each type of ski should the manufacturer produce to earn the greatest profit? This is an example of a linear programming gproblem. Every linear programming problem has two components: 1. A linear objective function is to be maximized or minimized. In our case the objective function is Profit = 5x + 10y (5 dollars profit for each trick ski manufactured and $10 for every slalom ski produced). 2. A collection of linear inequalities that must be satisfied simultaneously. These are called the constraints of the problem because these inequalities give limitations on the values of x and y. In our case, the linear inequalities are the constraints. 3 4

Constraints Linear Programming Problem The number of trick skis must be less than or equal to 15 Finishing constraint: 4 hours for each trick ski and 12 hours for each slalom ski. x and y have to be positive Design constraint: 8 hours to design each trick ski and 8 hours to design each slalom ski. 3. The feasible set is the set of all points that are possible solutions. In this case, we want to determine the value(s) of x, the number of trick skis and y, the number of slalom skis that will yield the maximum profit. Only certain points are eligible. Those are the points within the common region of intersection of the graphs of the constraining inequalities. Let s return to the graph of the system of linear inequalities. Notice that the feasible set is the yellow shaded region. Our task kis to maximize i the profit function P = 5x + 10y by producing x trick skis and y slalom skis, but use only values of x and y that are within the yellow region graphed in the next slide. 5 6 The Feasible Set Maximizing the Profit The profit is given by P = 5x + 10y. The equation k =5x +10y represents a line with slope (-1/2). For each point (x, y) on this line, the profit equals k. This is called an constant-profit line. As the profit k increases, the line shifts upward by the amount of increase while remaining parallel to all other constant-profit lines. What we are attempting to do is to find the largest value of k possible. The graph on the next slide shows a few isoprofit lines. The maximum value of profit occurs at a corner point - a point of intersection of two lines. 7 8

Constant-profit Lines Maximizing the Profit The exact point of intersection of the two lines is (7.5,12.5). Since x and y must be whole numbers, we round the answer down to (7,12). The maximum value of the profit function in this example was at the corner point, (7.5, 12.5), but since we cannot produce a fraction of a ski, we will round down to (7, 12). We cannot exceed the constraints, so we can t round up. Thus, the manufacturer should produce 7 trick skis and 12 slalom skis to achieve maximum profit. What is the maximum profit? P = 5x + 10y P = 5(7)+10(12) = 35 + 120 = 155. 9 10 General Result If a linear programming problem has a solution, it is located at a corner point of the set of feasible solutions. If a linear programming problem has more than one solution, at least one of them is located at a corner point of the set of feasible solutions. If the set of feasible solutions is bounded, as in our example, the solution of the linear programming problem will exist. Bounded means that the region can be enclosed in a circle. If the set of feasible solutions is not bounded, d then the solution may or may not exist. Use the graph to determine whether a solution exists or not. Constructing a Model for a Linear Programming Problems 1. Introduce decision variables. 2. Summarize relevant material in table form, relating columns to the decision variables, if possible. 3. Determine the objective and write a linear objective function. 4. Write problem constraints using linear equations and/or inequalities. 5. Write non-negative constraints. 11 12

Geometric Method for Solving Linear Programming Problems Example 1 1. Graph the feasible region. Then, if an optimal solution exists, find the coordinates of each corner point. 2. Construct a corner point table listing the value of the objective function at each corner point. 3. Determine the optimal solution(s) from the table in step 2. 4. For an applied problem, interpret the optimal solution(s) in terms of the original problem. Maximize the quantity z = x + 2y subject to the constraints x + y 1, x 0, y 0. 13 14 Example 1 (no solution) Maximize the quantity z = x + 2y subject to the constraints x+y 1, x 0, y 0. 1. The objective function is z = x + 2y, which is to be maximized. 2. Graph the constraints: (see next slide) 3. Determine the feasible set (see next slide) 4. Determine the corner points of the feasible set. There are two corner points from our graph: (1,0) and (0,1) 5. Determine the value of the objective function at each vertex. At (1, 0), z = (1) + 2(0) = 1; at (0, 1), z = 0 + 2(1) = 2. Example 1 The pink lines are the graphs of z = x + 2y for z = 2, 3 and 4. We can see from the graph there is no feasible point that makes z largest. The region is unbounded. We conclude that this linear programming problem has no solution. 15 16

Example 2 A manufacturing plant makes two types of boats, a two-person boat and a four-person boat. Each two- person boat requires 0.9 labor-hours from the cutting department and 0.8 labor-hours from the assembly department. Each four-person boat requires 1.8 labor-hours from the cutting department and 1.2 labor-hours from the assembly department. The maximum labor-hours available per month in the cutting department and the assembly department are 864 and 672, respectively. The company makes a profit of $25 on each two-person boat and $40 on each four-person boat How many boats of each kind should the company produce in order to maximize profit? Example 2 (unique solution) 1. Write the objective function. 2. Write the problem constraints t and the nonnegative constraints. 3. Graph the feasible region. Find the corner points. 4. Test the corner points in the objective function to find the maximum profit. Answers: 1. Objective Function If x is the number of two-person boats and y is the number of four-person boats, and the company makes a profit of $25 on each two-person boat and $40 on each four-person boat, the objective function is P = 25x + 40y. 17 18 Example 2 Example 2 2. Constraints Since each 2-person boat requires 0.9 labor hours from the cutting department and each 4-person boat requires 1.8 hour of cutting, and the maximum hours available in the cutting department is 864, we have 0.9x + 1.8y < 864 Since each 2-person boat requires 0.8 labor-hours from assembly and each 4-person requires 1.2 hour from assembly, and the maximum hours available in assembly is 672, we have 0.8x + 1.2y < 672. 3. Feasible region The yellow shaded area is the feasible region. Corner points are (0, 0), (0, 480), (480, 240), and (840, 0) 500.8x + 1.2y = 672.9x + 1.8y = 864 Also, x > 0 and y > 0. 19 20

Example 2 Example 3 4. Maximum Profit Corner point Value of P = 25x + 40y (0,0) 0 (0,480) 40(480) = $19,200 Maximize z = 4x + 2y subject to 2x + y < 20 10x + y > 36 2x + 5y > 36 x, y > 0 (480,240) 25(480) + 40(240) = $21,600 This is max. profit (840,0) 25(840) = $21,000 21 22 Example 3 (multiple solution) Example 3 Maximize z = 4x + 2y subject to 2x + y < 20 10x + y > 36 2x + 5y > 36 x, y > 0 36 10x+y=36 2x+y=20 Test corner points: (2,16) z = 4(2) + 2(16) = 40 (8,4) z = 4(8) + 2(4) = 40 (3,6) z = 4(3) + 2(6) = 2 The feasible solution is shaded green. The corner points are (2,16), (8,4) and (3,6). } 10 2x+5y=36 These are both optimal. The solution to example 3 is a multiple optimal solution. In general, if two corner points are both optimal solutions to a linear programming problem, then any point on the line segment joining them is also an optimal solution. Thus any point on the line 2x + y = 20, where 2 < x < 8, such as (3, 14), would be an optimal solution. 23 24