Man Sci-Minimization Model Example
Man Sci-Minimization Model Example
Following the formulation of mathematical model, the next stage in the application of
linear programming to a decision-making problem is to find the solution of the model.
A common solution is to solve algebraically the set of mathematical relationships that
form the model either manually or using a computer program, thus determining the
values of the decision variables. However, because the relationship are linear, some
models and solutions can be illustrated graphically.
The graphical method is realistically limited to models with only 2 decision variables,
which can be represented on a graph of 2 dimensions. Models with 3 decision variables
can be graphed in 3 dimensions, but the process is quite cumbersome, and models of 4 or
more decision variables cannot be graphed at all.
Although the graphical method is limited as a solution approach, it is very useful at this
point in our presentation of linear programming in that it gives a picture of how a solution
is derived.
Graphs can provide a clearer understanding of how the mathematical solution approaches
presented in subsequent chapters work, and thus, a better understanding of the solution.
GRAPHICAL SOLUTION OF A MAXIMIZATION MODEL
The product mix model will be used to demonstrate the graphical interpretation of a
linear programming problem.
Problem: Beaver creek pottery attempt to decide on how many bowls and mugs to
produce daily, given limited amounts of labor and clay. The complete linear
programming model was formulated as
Maximize Z = $40x1 + 50x2
Subject to
x1 + 2x2 ≤ 40 hr. of labor
4x1 + 3x2 ≤ 120 lb. of clay
x1, x2 ≥ 0
where:
x1 = number of bowls produced
x2 = number of mugs produced
We draw the line for the clay constraint (Line 2) the same way as the one for the labor
constraint – by finding 2 points on the constraint line and connecting them with a straight
line. First, let x1 = 0 and solve for x2:
4(0) + 3x2 = 120
x2 = 40
Performing
2 types of Linear Programming
*Maximization Problems
*Minimization Problems - formulated the same basic way as a maximization problem, except for
a few minor differences.
The farmer’s field requires at least 16 pounds of nitrogen and at least 24 pounds of
phosphate. Super-gro costs $6 per bag, and Crop-quick costs $3. The farmer wants to
know how many bags of each brand to purchase in order to minimize the total cost of
fertilizing.
STEPS:
Step 1: Decision Variables
This problem contains 2 decision variables, representing the number of bags of each
brand of fertilizer to purchase:
x1 = bags of super-gro
x2 = bags of crop-quick
Step 2: Objective Function
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:
Minimize Z = $6x1 + 3x2
Where:
$6x1 = cost of bags of Super-gro
3x2 = cost of bag of Crop-quick
The constraint for phosphate is constructed like the constraint for nitrogen:
4x1 + 3x2 ≥ 24 lb.
With these example, we have shown 2 of the 3 types of linear programming 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
4x1 + 3x2 = 24 lb.
As in our maximization model, there are also nonnegativity constraints in this problem to
indicate that negative bags of fertilizer cannot be purchased:
x1, x2 ≥ 0
graph screenshot
red line – concern for minimization
yellow – concern for maximization
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:
Minimize Z = $6x1 + 3x2
Subject to
2x1 + 4x2 ≥ 16 lb. of nitrogen
4x1 + 3x2 ≥ 24 lb. of phosphate
x1, x2 ≥ 0
where:
x1 = bags of super-gro fertilizer
x2 = bags of crop-quick fertilizer
Z = farmer’s total cost ($) of purchasing fertilizer
Instead of adding a slack variable as we did with a ≥ constraint, we subtract a surplus
variable. Whereas a slack variable is added and reflects unused resources, requirement
level. Like a slack variable, a surplus variable is represented symbolically by s 1 and must
be nonnegative.