Linear Programming l12
Linear Programming l12
LINEAR PROGRAMMING
Linear programming is a widely used mathematical technique designed to help operations managers plan
and make the decisions necessary to allocate resources.
Characteristics of Linear Programming Models
Before solving problems in operations with linear programming, there are seven (7) characteristics of all
linear programming models:
Objective function: Linear programming is an optimization process. A single objective function states
mathematically what is being maximized (e.g., profit or present value) or minimized (e.g., cost or scrap).
The objective function provides the scorecard on which the attractiveness of different solutions is judged.
Decision variables: Solving a linear programming model yields the optimal values for decision variables,
which represent choices that the decision-maker can control. For example, a decision variable could be
the number of units of a product to make next month or the number of units of inventory to hold next
month. Linear programming is based on the assumption that decision variables are continuous; they can
be fractional quantities and need not be whole numbers. Often, this assumption is realistic, as when the
decision variable is expressed in dollars, hours, or some other continuous measure. Even when the
decision variables represent non-divisible units, such as workers, tables, or trucks, we sometimes can
simply round the linear programming solution up or down to get a reasonable solution that does not violate
any constraints, or we can use a more advanced technique, called integer programming.
Constraints: Limitations that restrict the permissible choices for the decision variables are called
constraints. Each limitation can be expressed mathematically in one (1) of three (3) ways: a less-than-or-
equal-to (≤), an equal-to (=), or a greater-than-or-equal-to (≥) constraint. A ≤ constraint puts an upper
limit on some function of decision variables and most often is used with maximization problems. For
example, a ≤ constraint may specify the maximum number of customers who can be served or the
capacity limit of a machine. An = constraint means that the function must equal some value. For example,
100 (not 99 or 101) units of one (1) product must be made. An = constraint often is used for certain
mandatory relationships, such as the fact that ending inventory always equals beginning inventory plus
production minus sales. A ≥ constraint puts a lower limit on some function of decision variables. For
example, a ≥ constraint may specify that production of a product must exceed or equal demand.
Feasible region: Every linear programming problem must have one (1) or more constraints. Taken
together, the constraints define a feasible region, which represents all permissible combinations of the
decision variables. In some unusual situations, the problem is so tightly constrained that there is only one
(1) possible solution—or perhaps none. However, in the usual case, the feasibility region contains
infinitely many possible solutions, assuming that the feasible combinations of the decision variables can
be fractional values. The goal of the decision-maker is to find the best possible solution.
Parameters: The objective function and constraints are functions of decision variables and parameters.
A parameter, also known as a coefficient or given constant, is a value that the decision-maker cannot
control and that does not change when the solution is implemented. Each parameter is assumed to be
known with certainty. For example, a computer programmer may know that running a software program
will take 30 minutes—no more, no less.
Linearity: The objective function and constraint equations are assumed to be linear. Linearity implies
proportionality and additivity—there can be no products (e.g., 10𝑥𝑥1 𝑥𝑥2) or powers (e.g., 𝑥𝑥13 ) of decision
variables. Suppose that the profit gained by producing two (2) types of products (represented by decision
variables 𝑥𝑥1 and 𝑥𝑥2) is 2𝑥𝑥1 + 3𝑥𝑥2. Proportionality implies that one (1) unit of 𝑥𝑥1 contributes to $2 to profits
and two (2) units contributes $4, regardless of how much of 𝑥𝑥1 is produced.
Non-negativity: This means that the decision variables must be positive or zero. A firm that makes
spaghetti sauce, for example, cannot produce a negative number of jars. To be formally correct, a linear
programming formulation should show 𝑎𝑎 ≥ 0 constraint for each decision variable (Krajewski, Malhotra,
& Ritzman, 2016).
The contribution to profits and overhead per 100 feet of pipe is $34 for type 1 and $40 for type 2.
Formulate a linear programming model to determine how much of each type of pipe should be produced
to maximize contribution to profits and to overhead, assuming that everything produced can be sold.
Step 1: Define the decision variables.
Let:
𝑥𝑥1 be the amount of type 1 pipe to be produced and sold next week measured in 100-foot increments
(e.g., 𝑥𝑥1 = 2 means 200 feet of type 1 pipe
𝑥𝑥2be the amount of type 2 pipe to be produced and sold next week, measured in 100-foot increments
Step 2: Write out the objective function.
The goal is to maximize the total contribution that the two (2) products make to profits and overhead.
Each unit of 𝑥𝑥1 yields $34, and each unit of 𝑥𝑥2 yields $40. For specific values of 𝑥𝑥1 and𝑥𝑥2, we find the
total profit by multiplying the number of units of each product produced by the profit per unit and adding
them. Thus, our objective function becomes:
4𝑥𝑥1 + 6𝑥𝑥2 ≤ 48
Similarly, the constraints for the packaging and raw materials are:
2𝑥𝑥1 + 2𝑥𝑥2 ≤ 18 (𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝)
2𝑥𝑥1 + 𝑥𝑥2 ≤ 16 (𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 𝑚𝑚𝑚𝑚𝑚𝑚)
The three (3) constraints restrict the choices of values for the decision variable because the values that
will be chosen for 𝑥𝑥1 and 𝑥𝑥2 must satisfy all of the constraints. Negative values for 𝑥𝑥1 and 𝑥𝑥2 do not make
sense. Thus, non-negativity restrictions should be added to the model:
𝑥𝑥1 ≥ 0 and 𝑥𝑥2 ≥ 0
Figure 3. Feasible Region for the Stratton Company Linear Programming Model
Source: Operations Management Processes and Supply Chains (11th ed.), 2016, p.435
4𝑥𝑥1 + 36 = 48
4𝑥𝑥1 = 12
𝑥𝑥1 =3
Thus corner point C is (3, 6).
Corner point D lies on equations 2𝑥𝑥1 + 𝑥𝑥2 ≤ 16 and 2𝑥𝑥1 + 2𝑥𝑥2 ≤ 18. Equate the two (2) equations:
2𝑥𝑥1 + 𝑥𝑥2 = 16
−2𝑥𝑥1 − 2𝑥𝑥2 = −18
−𝑥𝑥2 = −2
𝑥𝑥2 =2
To find 𝑥𝑥1,
2𝑥𝑥1 + 𝑥𝑥2 = 16
2𝑥𝑥1 + 2 = 16
2𝑥𝑥1 = 14
𝑥𝑥1 =7
Thus corner point D is (7, 2).
Going back to the corner point method,
Point C (3, 6) Profit $34(3) + $40(6) = 342
Point D (7, 2) Profit $34(7) + $40(2) = 318
In conclusion, the optimal solution is corner point C, which yields the highest profit of $342.
REFERENCES:
Heizer, J., Render, B., & Munson, C. (2017). Operations management: Sustainability and supply chain
Management (12th ed.). Boston: Pearson Education Inc.
Krajewski, L. J., Malhotra, M. K., & Ritzman, L. P. (2016). Operations management: Processes and supply
chains (11th ed.). Essex: Pearson Education Limited.