activity 3 - 6

16
Activity 3 - 6 Helping Hurricane Victims Vanceboro, NC 10/2/2010, photo courtesy of Weather Underground

Upload: darius-farrell

Post on 01-Jan-2016

34 views

Category:

Documents


0 download

DESCRIPTION

Activity 3 - 6. Helping Hurricane Victims. Vanceboro, NC 10/2/2010, photo courtesy of Weather Underground. Objectives. Determine the objective function in a situation where a quantity is to be maximized or minimized - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Activity 3 - 6

Activity 3 - 6

Helping Hurricane VictimsVanceboro, NC 10/2/2010, photo courtesy of Weather Underground

Page 2: Activity 3 - 6

Objectives• Determine the objective function in a situation where

a quantity is to be maximized or minimized

• Determine the constraints that place limitations on the quantities contained in the objective function

• Translate the constraints into a system of linear inequalities

• Use linear programming method to solve a problem in which a quantity is to be maximized or minimized subject to a set of constraints

Page 3: Activity 3 - 6

Vocabulary• Objective function – an equation that describes a

quantity to be maximized or minimized in terms of two or more variables.

• Constraints – the limitations or restrictions placed on the variables upon which the quantity to be maximized or minimized depends. Each constraint is written as a linear inequality.

• Feasible region – the graph of the solution set of the system of linear inequalities representing the constraints.

• Feasible points – the corner points determined by the intersection of the boundary lines of the feasible region in a linear programming problem.

Page 4: Activity 3 - 6

Linear Programming (LP)

Linear programming is a mathematical model used to determine the “best” way to attain a certain objective subject to a set of constraints

•Objectives are usually something like maximization of output or minimization of cost •The optimal solution (“best”) to a problem is found at a corner point of the feasible region bounded by certain constraints•Constraints are the inequalities

Page 5: Activity 3 - 6

LP – A Graphical ViewOptimal solutions are only found at the corner points. Advanced techniques, like the simplex method, provide a way to evaluate the corner points.

A graphical view is that the objective function is tangent to the feasible region at the optimal solution (see above)

y

x

1) Constraints (inequalities) are laid out like last lesson

2) Feasible Region is drawn3) Corner points are determined4) Objective function is drawn and

translated out until it is tangent (at a corner point)

Page 6: Activity 3 - 6

Activity

Food and clothing are being sent by commercial airplanes to hurricane victims in Florida. Each container of food is estimated to feed 12 people. Each container of clothing is intended to help 5 people.

Organizers of the relief effort want to determine the number of containers of food and clothing that should be sent in each plane shipment that will maximize the number of victims helped.

Maximize N = 12F + 5C (Objective Function)

Page 7: Activity 3 - 6

Activity continued

Weight and space restrictions imposed by the airlines are summarized as follows:

•Total weight cannot exceed 19,000 pounds•Total volume must be no more than 8,000 cubic feet

A container of food weighs 50 pounds and occupy 20 cubic feet. A container of clothes weighs 20 pounds and occupy 10 cubic feet.

Write the constraints as a linear inequality:

50F + 20C ≤ 19000 Weight constraint

20F + 10C ≤ 8000 Volume constraint

Page 8: Activity 3 - 6

Activity continued

Logical restrictions as follows:

•You can’t ship negative containers of food•You can’t ship negative containers of clothes

Logical constraints help to limit the feasible region; after all we are trying to help the help and bringing nothing with you to help makes no sense.

Write these constraints as a linear inequality:

F > 0 Food constraint

C > 0 Clothes constraint

Page 9: Activity 3 - 6

Activity continued

Writing all that we have figured out in a mathematical problem format:

•Maximize N = 12F + 5C Objective Function

subject to the following constraints:

•50F + 20C ≤ 19000 Weight constraint•20F + 10C ≤ 8000 Volume constraint•F ≥ 0 Food constraint•C ≥ 0 Clothes constraint

Page 10: Activity 3 - 6

Graphical Method to Solve

1) Graph the Constraints (inequalities)

2) Determine the feasible region

3) Locate corner points (need the values!)Usually the intercepts and intersection

4) Objective function is drawn and translated out until it is tangent (at a corner point) ORUse a table to evaluate all the corner points

Page 11: Activity 3 - 6

Solving the Hurricane Relief Problem

• 50F + 20C ≤ 19000 Weight constraint

• 20F + 10C ≤ 8000 Volume constraint

• F ≥ 0 Food constraint

• C ≥ 0 Clothes constraint

50F + 20C ≤ 19000 20F + 10C ≤ 8000

20C ≤ 19000 – 50F 10C ≤ 8000 – 20F

C ≤ 950 – (5/2)F C ≤ 800 – 2F

Y1 = 950 – (5/2)X (don’t graph F>0 and C>0)

Y2 = 800 – 2X

Window(-1, 500, 50 -1, 1000, 50)

Page 12: Activity 3 - 6

Solving the Hurricane Relief Problem

C1 = 950 – (5/2)F F>0 and C>0

C2 = 800 – 2F

Determine corner points:

C1: y-intercept (0, ) x-intercept ( , 0)

C2: y-intercept (0, ) x-intercept ( , 0)

Intersection point: ( , )

C

F

Page 13: Activity 3 - 6

Solving the Hurricane Relief Problem

C1 = 950 – (5/2)F F>0 and C>0

C2 = 800 – 2F

Determine corner points:

C1: y-intercept (0, 950) x-intercept (380, 0)

C2: y-intercept (0, 800) x-intercept (400, 0)

Intersection point: (300, 200)

C

F

Page 14: Activity 3 - 6

Finding Corner Points

• Y-intercepts: read off of y = mx + b• X-intercepts: set y = 0 and solve

0 = -2.5x + 950 0 = -2x + 800 2.5x = 950 2x = 800 x = 380 x = 400

• Intersection Point: set equations equal -2.5x + 950 = -2x + 800 950 = 0.5x + 800 150 = 0.5x 300 = x y = -2(300) + 800 = 200

Page 15: Activity 3 - 6

Solving the Hurricane Relief Problem

Maximize N = 12F + 5C

C1 = 950 – (5/2)F F>0 and C>0

C2 = 800 – 2F

Evaluating Objective Function at corner points:

Corner Point F C N = 12F + 5C

(0, 0) 0 0 N = 12(0) + 5(0) = 0

(0, 800) 0 800 N = 12(0) + 5(800) = 4000

(380, 0) 380 0 N = 12(380) + 5(0) = 4560

(300, 200) 300 200 N = 12(300) + 5(200) = 4600

Corner point (300, 200) maximizes the objective function!

Page 16: Activity 3 - 6

Summary and Homework

• Summary– Linear programming is a method used to

determine the maximum or minimum values of a quantity that are dependent upon variable quantities that are restricted.

– A linear programming problem consists of an objective function and a set of constraints.

• Homework– pg 358 – 364; 1 and 2