Programming Problem
Programming Problem
Subject to:
xi ≥ 0 (i = 1, 2, . . ., n).
The linear function (1) is called the objective function while the inequalities (2)
represent the constraints.
To cast the above problem into this form, first find the objective function. Since
cases are being bought, it is desired to minimize:
Each small case contains 2 units, each medium case contains 2 units and
each large case contains 1 unit. Thus, the manganese constraint is
2S + 2M + L ≥ 10.
2S + 3M + L ≥ 12
S + M + 5L ≥ 14.
Subject to:
2S + 2M + L ≥ 10 (4)
2S + 3M + L ≥ 12 (5)
S + M + 5L ≥ 14 (6)
S ≥ 0, M ≥ 0, L ≥ 0. (7)
The region common to the constraints (4) – (7) is called the feasible region.
From the theory of linear programming it is known that a point at which the
objective function is optimized must be on the boundary. Hence, convert the
inequalities in (4) – (7) to equations. A fundamental theorem of
linear programming is that if a solution exists it must be at a point
of intersection of three equations. There are 6 constraints and
three unknowns; hence the number of possible solutions is (6 3) or 20.
For example, the point (0, 0, 0), corresponding to the solution set of S = M = L
= 0, is a possible solution. But since it fails to satisfy the constraints (4) – (6) it
is not a feasible solution. On the other hand, the solution to S = 0, 2S + 2M +
L = 10 and 2S + 3M + L = 12 is (0, 2, 6) which is a feasible point. Substituting
into the objective function (3):
This is the minimum cost and is the solution to the problem. Two small cases,
2 medium cases and 2 large cases should be bought to obtain
this minimum cost.