Professional Documents
Culture Documents
The farmer's objective is to minimize the total cost of fertilizing. The total cost is the sum of the
individual costs of each type of fertilizer purchased. The objective function that represents total
cost is expressed as
Where:
Model Constraints
The requirements for nitrogen and phosphate represent the constraints of the model. Each bag of
fertilizer contributes a number of pounds of nitrogen and phosphate to the field. The constraint
for nitrogen is
Where:
Rather than a (less than or equal to) inequality, as used in the Beaver Creek Pottery Company
model, this constraint requires a ≥ (greater than or equal to) inequality. This is because the
nitrogen content for the field is a minimum requirement specifying that at least 16 pounds of
nitrogen be deposited on the farmer’s field. If a minimum cost solution results in more than 16
pounds of nitrogen on the field, that is acceptable; however, the amount cannot be less than 16
pounds.
The constraint for phosphate is constructed like the constraint for nitrogen:
With this example we have shown two of the three types of linear programming model
constraints, and . The third type is an exact equality, =. This type specifies that a constraint
requirement must be exact. For example, if the farmer had said that the phosphate requirement
for the field was exactly 24 pounds, the constraint would have been
As in our maximization model, there are also non-negativity constraints in this problem to
indicate that negative bags of fertilizer cannot be purchased:
x 1 , x 2
We follow the same basic steps in the graphical solution of a minimization model as in a
maximization model. The fertilizer example will be used to demonstrate the graphical solution of
a minimization model.
The first step is to graph the equations of the two model constraints, as shown in Figure 2.16.
Next, the feasible solution area is chosen , to reflect the inequalities in the constraints, as
shown in Figure 2.17.
The optimal solution of a minimization problem is at the extreme point closest to the origin .
As in a maximization problem, the optimal solution is located at one of the extreme points of the
boundary. In this case the corner points represent extremities in the boundary of the feasible
solution area that are closest to the origin. Figure 2.18 shows the three corner points A , B ,
and C and the objective function line.
As the objective function edges toward the origin, the last point it touches in the feasible solution
area is A . In other words, point A is the closest the objective function can get to the origin
without encompassing infeasible points. Thus, it corresponds to the lowest cost that can be
attained.
The final step in the graphical solution approach is to solve for the values of x 1 and x 2 at
point A . Because point A is on the x 2 axis, x 1 = 0; thus,
Given that the optimal solution is x 1 = 0, x 2 = 8, the minimum cost, Z , is
This means the farmer should not purchase any Super-gro but, instead, should purchase eight
bags of Crop-quick, at a total cost of $24.
Surplus Variables
Greater than or equal to constraints cannot be converted to equations by adding slack variables,
as with constraints. Recall our fertilizer model, formulated as
Where
x 1 = bags of Super-gro fertilizer
Because this problem has constraints as opposed to the constraints of the Beaver Creek
Pottery Company maximization example, the constraints are converted to equations a little
differently.
Instead of adding a slack variable with a constraint, we subtract a surplus variable . Whereas
a slack variable is added and reflects unused resources, a surplus variable is subtracted and
reflects the excess above a minimum resource requirement level. Like a slack variable, a surplus
variable is represented symbolically by s 1 and must be nonnegative.
2 x 1 + 4 x 2 s 1 = 16
x 1 = 0
x 2 = 10
4 x 1 + 3 x 2 s 2 = 24