1 / 14

Linear Programming

Linear Programming. Linear Programming Problems. A linear programming problem is made up of an objective function and a system of constraints.

jewell
Télécharger la présentation

Linear Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Linear Programming

  2. Linear Programming Problems • A linear programming problem is made up of an objective function and a system of constraints. • The objective function is an algebraic expression in two or more variables describing a quantity that must be maximized or minimized. It has the form z = Ax + By • The system of constraints are made up of a system of linear inequalities. In applications, the variables are also limited to positive values. • The solution to the linear programming problem, if it exists, will occur at the vertices (corner points) of the solution region obtained from the system of constraints.

  3. Solution Because each bottle of water serves 10 people and each medical kit aids 6 people, we have = 10x + 6y. Using z to represent the objective function, we have z = 10x + 6y. Unlike the functions that we have seen so far, the objective function is an equation in three variables. For a value of x and a value of y, there is one and only one value of z. Thus, z is a function of x and y. The number of People helped 10 times the number of bottles of water 6 times the number of medical kits. is plus Example Bottled water and medical supplies are to be shipped to victims of an earth-quake by plane. Each container of bottled water will serve 10 people and each medical kit will aid 6 people. If x represents the number of bottles of water to be shipped and y represents the number of medical kits, write the objective function that describes the number of people that can be helped.

  4. The total weight of the water bottles The total weight of the medical kits must be less than or equal to 80,000 pounds plus Each bottle is 20 pounds. Each kit is 10 pounds. Example Each plane can carry no more than 80,000 pounds. The bottled water weighs 20 pounds per container and each medical kit weighs 10 pounds. If x represents the number of bottles of water to be shipped and y represents the number of medical kits, write an inequality that describes this constraint . SolutionBecause each plane can carry no more than 80,000 pounds, 20x + 10y< 80,000. The plane's volume constraint is described by the inequality 20x + 10y< 80,000.

  5. The total volume of the water bottles The total volume of the medical kits must be less than or equal to 6000 cubic feet. plus Each bottle is 1 cubic foot. Each kit is 1 cubic foot. Example Planes can carry a total volume for supplies that does not exceed 6000 cubic feet. Each water bottle is 1 cubic foot and each medical kit also has a volume of 1 cubic foot. With x still representing the number of water bottles and y the number of medical kits, write an inequality that describes this constraint. SolutionBecause each plane can carry a volume of supplies that does not exceed 6000 cubic feet, we have lx + ly< 6000. The plane's volume constraint is described by the inequality x + y< 6000.

  6. Solving a Linear Programming Problem • If a maximum or minimum value of z = Ax + By exists, it can be determined as follows: • Graph the system of inequalities representing the constraints. • Find the value of the objective function at each corner of the graphed region. • Use the values that you found in the prior step to determine the maximum or minimum value of the objective function and the values of x and y for which the maximum or minimum occurs.

  7. Example • Solve: Steps: • Graph the system of inequalities representing the constraints. • Find the value of the objective function at each corner of the graphed region. • Use the values that you found in the prior step to determine the maximum value of the objective function and the values of x and y for which the maximum occurs.

  8. Example cont. • Graph the constraints:

  9. Example cont. x > 0 y > 0

  10. Example cont. 2x+y<8

  11. Example cont. x+y>4

  12. Example cont. • Corners: (4,0), (0,4), (0,8)

  13. Example cont. Objective function z = 3x+2y Corners Objective function (4,0) z = 3(4) + 2 (0) = 12 (0,4) z = 3(0) + 2(4) = 8 (0,8) z = 3(0) + 2(8) = 16 The maximum value of the objective function is 16 and it occurs when x = 0 and y = 8

  14. 5 x + 2y = 5 4 (0, 2.5) 2 (3, 1) 1 (0, 0) -3 -2 -1 1 3 4 5 6 7 -1 (2, 0) Now we evaluate the objective function at the four vertices of this region. -2 -3 x – y = 2 -4 -5 Corners Obj. Func.: z = 2x + y (0, 0) z = 2 • 0 + 0 = 0 (2, 0) z = 2 • 2 + 0 = 4 (3, 1) z = 2 • 3 + 1 = 7 (0, 2.5) z = 2 • 0 + 2.5 = 2.5 The maximum value of z. Example Find the maximum value of the objective function z = 2x + y subject to the constraints: x> 0, y> 0, x + 2y< 5, x – y< 2. Solution We begin by graphing the region in quadrant I (x> 0, y> 0) formed by the constraints. Thus, the maximum value of z is 7, and this occurs when x = 3 and y = 1.

More Related