§3.3 Graphical Solution of Linear Programming Problems Outline

advertisement
Math 141: Business Mathematics I
Fall 2015
§3.3 Graphical Solution of Linear Programming Problems
Instructor: Yeong-Chyuan Chung
Outline
• Feasible set, feasible solution, optimal solution
• The method of corners
In section 3.2, we saw how to formulate linear programming problems. Recall that these
are problems that involve maximizing or minimizing a linear function (called the objective
function) subject to constraints given as a system of linear inequalities (or equations).
In section 3.1, we saw how to graphically determine the solution set of a system of linear
inequalities. In the context of a linear programming problem, we call this solution set the
feasible set. Each point in this set is a candidate for the solution of the optimization
problem (since it satisfies all the constraints), and is called a feasible solution. Our goal is
to find the feasible solution(s) that optimizes the objective function. Such a feasible solution
is called an optimal solution.
Given a feasible solution, we can compute the value of the objective function at that point.
However, it is impossible to compute the value of the objective function at every single
feasible solution. Therefore, we need a different method to find the optimal solution.
Consider the following linear programming problem:
Maximize P = 3x + 2y
subject to 2x + 3y ≤ 12
2x + y ≤ 8
x ≥ 0, y ≥ 0
One question we may ask is whether there are any feasible solutions corresponding to a given
value of P (say P = 6, or P = 10). This question can be answered graphically, and suggests
a method for finding the optimal solution. Let’s analyze this a little bit.
1
§3.3 Graphical Solution of Linear Programming Problems
2
Facts:
• If a linear programming problem has an optimal solution, then it must occur at a
corner point of the feasible set.
• If the objective function is optimized at two adjacent corner points of the feasible set,
then it is also optimized at every point on the line segment joining those two corner
points. In this case, there are infinitely many solutions to the problem.
• If the feasible set is bounded, then the objective function has both a maximum and a
minimum value on the feasible set.
• If the feasible set is unbounded, and the coefficients of the variables in the objective
function are both nonnegative, then the objective function has a minimum value on
the feasible set provided that x ≥ 0 and y ≥ 0 are included in the constraints.
• If the feasible set is empty, then the problem has no solution.
The method of corners
Based on the facts, we have the following procedure for solving linear programming problems.
1. Graph the feasible set.
2. Find the coordinates of all the corner points of the feasible set. These are intersection
points of pairs of lines so you may use your calculator to do this (recall section 1.3).
3. Evaluate the objective function at each corner point.
4. Find the corner point that optimizes the objective function. If there is only one, then
it is a unique solution to the problem. If the objective function is optimized at two
adjacent corner points, then there are infinitely many optimal solutions given by the
points on the line segment joining the two corner points.
§3.3 Graphical Solution of Linear Programming Problems
3
Let’s use this method to finish some of the examples from the previous section.
Example (Exercise 18 in the text section 3.2). Everest Deluxe World Travel has decided to
advertise in the Sunday editions of two major newspapers in town. These advertisements are
directed at three groups of potential customers. Each advertisement in Newspaper I is seen
by 70,000 Group A customers, 40,000 Group B customers, and 20,000 Group C customers.
Each advertisement in Newspaper II is seen by 10,000 Group A, 20,000 Group B, and 40,000
Group C customers. Each advertisement in Newspaper I costs $1000, and each advertisement
in Newspaper II costs $800. Everest would like their advertisements to be read by at least 2
million people from Group A, 1.4 million people from Group B, and 1 million people from
Group C. How many advertisements should Everest place in each newspaper to achieve its
advertising goals at a minimum cost?
4
§3.3 Graphical Solution of Linear Programming Problems
Example (Exercise 50 in the text). A veterinarian has been asked to prepare a diet for a
group of dogs to be used in a nutrition study at the School of Animal Science. It has been
stipulated that each serving should be no larger than 8 oz and must contain at least 29 units
of Nutrient I and 20 units of Nutrient II.
The vet has decided that the diet may be prepared from two brands of dog food: Brand A and
Brand B. Each ounce of Brand A contains 3 units of Nutrient I and 4 units of Nutrient II.
Each ounce of Brand B contains 5 units of Nutrient I and 2 units of Nutrient II. Brand A
costs 3 cents/oz, and Brand B costs 4 cents/oz. Determine how many ounces of each brand
of dog food should be used per serving to meet the given requirements at a minimum cost.
§3.3 Graphical Solution of Linear Programming Problems
Example. Solve the following linear programming problem.
Minimize P = 2x + 2y
subject to 2x + 3y ≤ 30
y−x≤5
x+y ≥5
x≤6
x ≥ 0, y ≥ 0
5
Download