| Excel Companion Chapter 2 --- LP Maximization | |
| Linear Programming | Machines.xls |
Open the file Machines.xls and click the tab for Graph 1.
SITUATION: Three machines, A, B, and C, are needed to manufacture two types of nails: type X and type Y. To make one pound of type X requires 5 minutes on machine A, 18 minutes on machine B, and 11 minutes on machine C. To make one pound of type Y requires 10 minutes on machine A, 18 minutes on machine B and 4 minutes on machine C. On one day, machine A will be available for at most 150 minutes, machine B for at most 324 minutes and machine C for at most 132 minutes. The manufacturer can sell all the nails that it can produce and makes a profit of $3.00 per pound for type X and $5.00 per pound for type Y. The goal is to determine the optimal mixture of type X and type Y nails to manufacture in order to maximize daily profit.
| In the figure on the right,
the feasible region is in white and the corners are at
the origin and at points P, Q, R, and S whose coordinates
are: (0, 15), (6, 12), (8.57, 9.43), and (12, 0) respectively. |
![]() |
As the Excel graph confirms in sheet 2_2_2, the intersection of the boundary lines for machines A and C is not one of the corner points since that point is above the boundary line for the machine B constraint. The feasible solution set is made up of only those points in the first quadrant that are on or below the boundary lines. The objective function is of the form
Z = ax+by, where a is the unit profit for type X nails and b is the unit profit for type Y nails. The current values of the parameters a and b are 3.00 and 5.00 respectively. By changing the value of these coefficients in cells C4 and E4, we obtain profit functions with different slopes.

Machines.xls - Graph 1
All points on the $50.00 iso-profit line, such as (0, 10), (6, 6.4), and (10, 4), satisfy the equation 3x + 5y = 50. All points on the dotted line with the double-headed arrows in sheet 2_2_2 give a $30.00 profit. Observe that iso-profit lines are parallel to each other and that the $30.00 iso-profit line is closer to the origin (0,0) than the $50.00 iso-profit line. As iso-profit lines move further and further away from the origin, the corresponding profit increases. If you click on the middle part of the line with arrows and slowly translate it away from the origin, you will observe that the last iso-profit line in contact with the feasible region contains the point (6, 12). This point corresponds to a profit of 3* 6+5* 12=78. Verify that this is indeed the maximum profit by checking each of the other corner points: (8.57, 9.43), (12, 0), (0, 0), and (0, 15) in the objective function.
![]()
Copyright © Joseph F. Aieta,
Babson College 1997