Linear Programming Models
Linear Programming Models
7.1 INTRODUCTION
Resources - typically include machinery, labor, money, time, warehouse space,
and raw materials.
Linear Programming (LP)
- is a widely used mathematical modeling technique designed to help
managers in planning and decision making relative to resource allocation.
- LP and the more general category of techniques called “mathematical”
programming have very little to do with computer programming.
- Programming – refers to modeling and solving a problem mathematically.
7.2 REQUIREMENTS OF A LINEAR PROGRAMMING PROBLEM
PROPERTIES OF A LINEAR PROGRAMMING
1. One objective function
2. One or more constraints
3. Alternative courses of action
4. Objective function and constraints are linear—proportionality and divisibility.
5. Certainty
6. Divisibility
7. Nonnegative variables
Objective function of LP - all problems seek to maximize or minimize some
quantity, usually profit or cost. The major objective of a typical manufacturer is to
maximize dollar profits.
Constraints – limits the degree to which we can pursue our objective. We want to
maximize or minimize a quantity (the objective function) subject to limited
resources (the constraints).
Alternatives example:
- Should it devote all manufacturing capacity to make only the first product?
- Should it produce equal amounts of each product?
- Should it allocate the resources in some other ratio?
- If there were no alternatives to select from, we would not need LP.
Mathematical relationships are linear
- the objectives and constraints in LP problems must be expressed in terms of
linear equations or inequalities. It means that all terms used in the
objective function and constraints are of the first degree (i.e not squared, no
exponents, or appearing more than once). Example: 2A + 5B = 10.
- linear implies both proportionality and additivity. Proportionality
means that changes in one quantity result in corresponding proportional
changes in another. Additivity means that the total effect is the sum of the
individual effects from different factors or inputs.
Certainty assumption – that is, number in the objective and constraints are
known with certainty and do not change during the period being studied.
Divisibility assumption – solutions need not be in whole numbers (integers). They
are divisible and may take fractional value. Fractional value simply means that
there are work in progress. However, they do not make sense. If a fraction of a
product cannot be purchased, an integer programming problem exists.
Nonnegative – we assume that all answers and variables are nonnegative because
negative value of physical quantities are impossible.
7.3 FORMULATING LP PROBLEMS
Steps in formulating a linear program follow:
1. Completely understand the managerial problem being faced
2. Identify the objective and the constraints
3. Define the decision variables
4. Use the decision variables to write mathematical expressions for the
objective function and the constraints
Product Mix Problem – one of the most common LP applications. Two or more
products are usually produced using limited resources such as personnel, machines,
raw materials, and so on.
Profit contribution = Selling Price per unit – Variable cost per unit
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.
Step 1: Objective – maximize profit
Step 2: The constraints are
1. The hours of carpentry time used cannot exceed 240 hours per week.
2. The hours of painting and varnishing time used cannot exceed 100 hours per
week.
Step 3: Decision variables:
Let T = number of tables to be produced per week
Let C = number of chairs to be produced per week
Step 4: Hence, Objective Function: Maximization Profit (Z) = $70T + $50C
Step 5: Develop mathematical relationship 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 resource available.
First constraint:
(4 hours per table)(Number of tables produced) + (3 hours per chair)(Number of
chairs produced)
Carpentry time used Carpentry time available
4T + 3C 240 (hours of carpentry time)
Second constraint:
Painting and varnishing time used Painting and varnishing time available
2T + 1C 100 (hours of painting and varnishing time)
Nonnegative constraints:
T 0,C 0 or T,C 0
7.4 GRAPHICAL SOLUTION TO AN LP PROBLEM
Graphical procedure is useful only when there are two decision variables in the
problem. When there are more than two variables, it is not possible to plot the
solution on a two-dimensional graph and we must
turn more complex approaches.
Step 1 is to plot each of the problem’s
constraints on a graph. For instance, T(tables)
is plotted as the horizontal axis, and C(Chairs) is plotted as the vertical
axis.
The Nonnegative constraints mean that we are always working in the first (or
northeast) quadrant of the graph (Quadrant 2).
Step 2.
Step 3.
For example, if one constraint is supplied by the marketing manager, who states that at
least 300 tables must be produced (namely, X1 ≥ 300) to meet
sales demand, and a second restriction is supplied by the production manager, who insists
that no more than 220 tables be produced (namely, X1 ≤ 220) because of a lumber short
X1 + 2X2 ≤ 6
2X1 + X2 ≤ 8
X1 ≥ 7
UNBOUNDEDNESS
Sometimes a linear program will not have a finite solution. This means that in a
maximization problem, for example, one or more solution variables, and the profit,
can be made infinitely large without violating any constraints
subject to X1 ≥ 5
X2 ≤ 10
X1 + 2X2 ≥ 10
X1, X2 ≥ 0
Redundancy
The presence of redundant constraints is another common situation that occurs in large LP
formulations. Redundancy causes no major difficulties in solving LP problems graphically,
but you should be able to identify its occurrence.
subject to X1 + X2 ≤ 20
2X1 + X2 ≤ 30
X1 ≤ 25
X1, X2 ≥ 0
The third constraint, X1 ≤ 25, is less binding, but the first two constraints are indeed more
restrictive constraints.
Managers of a firm noticed the presence of more than one optimal solution when they
X1 ≤ 3
X1, X2 ≥ 0