Formulating a linear program involves developing a mathematical model to represent the managerial problem. Thus, in order to formulate a linear program, it is necessary to completely understand the managerial problem being faced. Once this is understood, we can begin to develop the mathematical statement of the problem. The stpng in formulating a linear program follow:
Completely understand the managerial problem being faced.
Identify the objective and the constraints.
Define the decision variables.
Use the decision variables to write mathematical expressions for the objective function and the constraints.
One of the most common LP applications is the product mix problem. Two or more products are usually produced using limited resources such as personnel, machines, raw materials, and so on. The profit that the firm seeks to maximize is based on the profit contribution per unit of each product. (Profit contribution, you may recall, is just the selling price per unit minus the variable cost per unit.1) The company would like to determine how many units of each product it should produce so as to maximize overall profit given its limited resources. A problem of this type is formulated in the following example.
The Flair Furniture Company produces inexpensive tables and chairs. The production process for each is similar in that both require a certain number of hours of carpentry work and a certain number of labor hours in the painting and varnishing department. Each table takes 4 hours of carpentry and 2 hours in the painting and varnishing shop. Each chair requires 3 hours in carpentry and 1 hour in painting and varnishing. During the current production period, 240 hours of carpentry time are available, and 100 hours in painting and varnishing time are available. Each table sold yields a profit of $70; each chair produced is sold for a $50 profit.
Flair Furniture’s problem is to determine the best possible combination of tables and chairs to manufacture in order to reach the maximum profit. The firm would like this production mix situation formulated as an LP problem.
We begin by summarizing the information needed to formulate and solve this problem (see Table 7.2). This helps us understand the problem being faced. Next, we identify the objective and the constraints. The objective is
HOURS REQUIRED TO PRODUCE 1 UNIT | |||
---|---|---|---|
DEPARTMENT | TABLES (T) | >CHAIRS (C) | >AVAILABLE HOURS THIS WEEK |
Carpentry | 4 | 3 | 240 |
Painting and varnishing | 2 | 1 | 100 |
Profit per unit | $70 | $50 |
The constraints are
The hours of carpentry time used cannot exceed 240 hours per week.
The hours of painting and varnishing time used cannot exceed 100 hours per week.
The decision variables that represent the actual decisions we will make are defined as
Now we can create the LP objective function in terms of T and C. The objective function is Maximize
Our next step is to develop mathematical relationships to describe the two constraints in this problem. One general relationship is that the amount of a resource used is to be less than or equal to the amount of the resource available.
In the case of the carpentry department, the total time used is
So the first constraint may be stated as follows:
Similarly, the second constraint is as follows:
Painting and varnishing time used ≤ Painting and varnishing time available
Both of these constraints represent production capacity restrictions and, of course, affect the total profit. For example, Flair Furniture cannot produce 80 tables during the production period because if both constraints will be violated. It also cannot make tables and chairs. Why? Because this would violate the second constraint: that no more than 100 hours of painting and varnishing time can be allocated.
To obtain meaningful solutions, the values for T and C must be nonnegative numbers. That is, all potential solutions must represent real tables and real chairs. Mathematically, this means that
The complete problem may now be restated mathematically as
subject to the constraints
While the nonnegativity constraints are technically separate constraints, they are often written on a single line with the variables separated by commas. In this example, this would be written as