Chapter 2 LPP
Chapter 2 LPP
2.1. Introduction
A model, which is used for optimum allocation of scarce or limited resources to competing products
or activities under such assumptions as certainty, linearity, fixed technology, and constant profit per
unit, is linear programming.
Linear Programming is one of the most versatile, powerful and useful techniques for making
managerial decisions. Linear programming technique may be used for solving broad range of
problems arising in business, government, industry, hospitals, libraries, etc. Whenever we want to
allocate the available limited resources for various competing activities for achieving our desired
objective, the technique that helps us is linear programming. As a decision making tool, it has
demonstrated its value in various fields such as production, finance, marketing, research and
development and personnel management. Determination of optimal product mix (a combination of
products which gives maximum profit), transportation schedules, Assignment problem, and many
more.
LP is also a mathematical modeling technique useful for economic allocation of ‘scarce’ or
‘limited’ resources, such as labour, material, machine, time, warehouse space, capital, energy, etc.,
to several competing activities, such as products, services, jobs, new equipment, projects, etc., on
the basis of a given criterion of optimality.
Scarce resources mean resources that are not infinite in availability during the planning period.
The criterion of optimality generally is either performance, return on investment, profit, cost, utility,
time, distance, etc.
LP model was developed primarily for solving military logistics problems. But now, it is being used
extensively in all functional areas of management, airlines, agriculture, military operations, oil
refining, education, energy, pollution control, transportation planning & scheduling, research &
development, health care systems, and etc. even though these applications are diverse, all LP
models consist of certain common properties & assumptions.
2.2. Terms Used in Linear Programming Problem
Linear programming is a method of obtaining an optimal solution or programme (say, product mix
in a production problem), when we have limited resources and a good number of competing
candidates to consume the limited resources in certain proportion. The term linear implies the
condition of proportionality and additivity. The programme is referred as a course of action
covering a specified period of time, say planning period. The manager has to find out the best
course of action in the interest of the organization. This best course of action is termed as optimal
course of action or optimal solution to the problem. A programme is optimal, when it maximizes or
minimizes some measure or criterion of effectiveness, such as profit, sales or costs.
Programming consists of a series of instructions and computational rules for solving a problem that
can be worked out manually or can feed into the computer. In solving linear programming problem,
we use a systematic method known as simplex method developed by American mathematician
George B. Dantzig in the year 1947.
1
The candidates or activity here refers to number of products or any such items, which need the
utilization of available resources in a certain required proportion. The available resources may be of
any nature, such as money, area of land, machine hours, and man-hours or materials. But they are
limited in availability and which are desired by the activities / products for consumption.
2.3. A Standard Form of the Model
We can now formulate the mathematical model for this general problem of allocating resources to
activities. In particular, this model is to select the values for X1, X2. . . Xn so as to
Optimize (Maximize or Minimize) Z =C1X1 + C2X2 +………….. +CnXn
Subject to the restrictions
a11x1 +a12x2 +………………..+ a1nxn (≤, =, ≥) b1
a21x1 +a22x2 +………………..+a2nxn (≤, =, ≥) b2
. . .
. . .
. . .
am1x1 +am2x2+………………. + amnxn (≤, =, ≥) bm,
This table implies data needed for a linear programming model involving the allocation of resources
to activities.
Resource Usage per Unit of Activity Sign of Amount of
equalities Resources
Available
Resources Activity
Contribution C1 C2 . . . Cn
to Z per unit
of activity
1 2 . . . n
1 a11 a 12 . . . a 1n ≤ = ≥ b1
2 a21 a22 . . . a2n ≤ = ≥ b2
. . . . . . . . .
. . . . . . . . .
M am1 am2 . . . amn ≤ = ≥ bm
And
X1 ≥0, X2 ≥ 0. . . Xn ≥0
We call this standard form for the linear programming problem. Any situation whose mathematical
formulation fits this model is a linear programming problem.
Common terminology for the linear programming model can now be summarized.
The function being maximized or minimized, c1x1 +c2x2+………+ cjxn, is called the objective
function.
2
The restrictions normally are referred to as constraints. The first m constraints (those with a
function of all the variables ai1x1 +ai2x2 +…………..+ ainxn on the left-hand side) are sometimes
called functional constraints (or structural constraints). Similarly, the xn ≥ 0 restrictions are called
non-negativity constraints (or non-negativity conditions).
2.4. Structure Linear programming Models (LPM)
Linear Programming (LP) models are mathematical representations of LP problems. Some LP
models have a specialized format, whereas others have a more generalized format. Despite this, LP
Models have certain characteristics in common. Knowledge of these characteristics enables us to
recognize problems that are amenable to a solution using LP models and to correctly formulate an
LP model. The characteristics can be grouped into two categories: Components and Assumptions:
The components relate to the structure of a model, whereas the assumptions reveal the conditions
under which the model is valid.
Components Assumptions
1. Objective function 1. Linearity
2. Decision variables Model 2. Divisibility Model Validity
3. Constraints Structure 3. Certainty
4. Parameters & RHSV 4. Non-negativity
Components of LP model
1. The Objective Function- is the mathematical or quantitative expression of the objective of the
company/model. The objective in problem solving is the criterion by which all decisions are
evaluated. In LPMs a single quantifiable objective must be specified by the decision maker. For
example, the objective might relate to profits, or costs, or market share, but to only one of these.
Moreover, because we are dealing with optimization, the objective will be either maximization or
minimization, but not both at a time.
2. The Decision Variables - represent unknown quantities to be resolved for. These decision variables
may represent such things as the number of units of different products to be sold, the amount of Birr
to be invested in various projects, the number of ads to be placed with different media.
Since the decision maker has freedom of choice among actions, these decision variables are
controllable variables.
3. The constraints - are restrictions which define or limit the feasibility of a proposed course of action.
They limit the degree to which the objective can be pursued.
A typical restriction embodies scarce resources (such as labor supply, raw materials, production
capacity, machine time, storage space), legal or contractual requirements (e.g. Product standards,
work standards), or they may reflect other limits based on forecasts, customer orders, company
policies etc.
4. Parameters - are fixed values that specify the impact that one unit of each decision variable will
have on the objective and on any constraint it pertains to as well as to the numerical value of each
constraint.
3
The components are the building blocks of an LP model. We can better understand their
meaning by examining a simple LP model as follows.
Example:
Maximize: 4X1 + 7X2 + 5X3 (Profit) ___________________ objective function
Subject to:
2X1 + 3X2 + 6X3 300 labor hrs
5X1 + X2 + 2X3 200 lb raw material System constraints
3X1 + 5X2 + 2X3 360
X1 = 30 Individual constraints
X2 40
X1, X2, X3 0 Non-negativity constraints.
System constraints – involve more than one decision variables.
Individual constraints – involve only one decision variable.
None-negativity constraints specify that no variable will be allowed to take on a negative value. The
non-negativity constraints typically apply in an LP model, whether they are explicitly stated or not.
Assumption of LP Models
1. Linearity. The linearity requirement is that each decision variable has a linear impact on the
objective function and in each constraint in which it appears. Following the above example,
producing one more unit of product 1 adds Br. 4to the total profit. This is true over the entire range
of possible values of X1. The same applies to each of the constraints. It is required that the same
coefficient (from example, 2 lb. per unit) apply over the entire range of possible value so the
decision variable.
2. Divisibility. The divisibility requirement pertains to potential values of decision variables. It is
assumed that non-integer values are acceptable. For example: 3.5TV sets/hr would be acceptable
7 TV sets/2hrs.
3. Certainty. The certainty requirement involves two aspects of LP models.
i) With respect to model parameters (i.e., the numerical values) – It is assumed that these
values are known and constant e.g. in the above example each unit of product 1 requires
2lab his is known and remain constant, and also9 the 300 lab/hr available is deemed to be
known and constant.
ii) All the relevant constraints identified and represented in the model are as they are.
4. Additivity: the value of the objective function & the total amount of each resource used
(supplied), must be equal to the sum of the respective individual contributions (profit or cost) by
decision variables.
5. Non-negativity. The non-negativity constraint is that negative values of variables are unrealistic
and, therefore, will not be considered in any potential solution; only positive values and zero
will be allowed.
4
2.5. Formulating LP Models
Once a problem has been defined, the attention of the analyst shifts to formulating a model. Just as
it is important to carefully define a problem, it is important to carefully formulate the model that
will be used to solve the problem. If the LP model is ill formulated, ill-structured, it can easily lead
to poor decisions.
Formulating linear programming models involves the following steps:
1. Define the problem/problem definition
* To determine the # of type 1 and type 2 products to be produced per month so as to
maximize the monthly profit given the restrictions.
2. Identify the decision variables or represent unknown quantities
* Identify the unknown decision variables to be determined and assign symbols to them.
Example
1. A firm that assembles computer and computer equipment is about to start production of two
new microcomputers. Each type of micro-computer will require assembly time, inspection
time and storage space. The amount of each of these resources that can be devoted to the
production of microcomputers is limited. The manger of the firm would like to determine
the quantity of each microcomputer to produce in order to maximize the profit generated by
sales of these microcomputers.
Additional information
In order to develop a suitable model of the problem, the manager has met with design and
manufacturing personnel. As a result of these meetings, the manger has obtained the following
information:
5
Type 1 Type 2
Profit per unit Birr 60 Birr 50
Assembly time per unit 4hrs 10hrs
Inspection time per unit 2hrs 1hr
Storage space per unit 3cubic ft 3cubic ft
The manager also has acquired information on the availability of company resources. These weekly
amounts are:
Resource Resource available
Assembly time 100hrs
Inspection time 22hrs
Storage space 39 cubic feet
The manger also meet with the firm’s marketing manager and learned that demand for the
microcomputers was such that whatever combination of these two types of microcomputer is
produced, all of the output can be sold.
Required: Formulate the Linear programming model.
Solution:
Step 1: Problem Definition
- To determine the number of two types of microcomputers to be produced (and sold)
per week so as to maximize the weekly profit given the restriction.
Step 2: Variable Representation
- Let X1 and X2 be the weekly quantities of type 1 and type 2 microcomputers,
respectively.
Step 3: Develop the Objective Function
7
respectively, how many pounds of each type should be purchased to satisfy the requirements at a
minimum cost?
Vitamins
Foods A B
Type 1 10 20
Type 2 30 15
Solution:
Step 1: Problem definition
To determine the pounds of the two types of foods to be purchased to make the diet at a
minimum possible cost within the requirements.
Step 2: Variable representation
Let X1 and X2 be the number of pounds of type 1 and type 2 foods to be purchased,
respectively.
Step 3: Objective function
Min Z: 5X1 + 8X2
4. Constraints
10X1 + 30X2 140 System constraints
20X1 + 15X2 145
X1, X2 0 non-negativity constraints.
Linear Programming, is a method of solving the type of problem in which two or more candidates
or activities are competing to utilize the available limited resources, with a view to optimize the
objective function of the problem. The objective may be to maximize the returns or to minimize
the costs. The various methods available to solve the problem are:
1. The Graphical Method we use when we have two decision variables in the problem. To
deal with more decision variables by graphical method will become complicated, because
we have to deal with planes instead of straight lines. Hence in graphical method let us limit
ourselves to two variable problems.
2. The Simplex method. When the problem is having more than two decision variables,
simplex method is the most powerful method to solve the problem. It has a systematic
programme which can be used to solve the problem.
One problem with two variables is solved by using both graphical and simplex method, so as to
enable the reader to understand the relationship between the two.
2.5.1. Graphical Method
8
In graphical method, the inequalities (structural constraints) are considered to be equations. This is
because; one cannot draw a graph for inequality. Only two variable problems are considered,
because we can draw straight lines in two-dimensional plane (X- axis and Y-axis). More over as we
have non-negativity constraint in the problem that is all the decision variables must have positive
values always the solution to the problem lies in first quadrant of the graph. Some times the value
of variables may fall in quadrants other than the first quadrant. In such cases, the line joining the
values of the variables must be extended in to the first quadrant. The procedure of the method will
be explained in detail while solving a numerical problem.
The characteristics of Graphical method are:
(i) Generally the method is used to solve the problem, when it involves two decision variables.
(ii) For three or more decision variables, the graph deals with planes and requires high imagination
to identify the solution area.
(iii) Always, the solution to the problem lies in first quadrant.
(iv)This method provides a basis for understanding the other methods of solution.
4. Identify the feasible area of the solution which satisfies all constrains.
9
X1, X2 0 non-negativity constraints.
SPECIAL CASES IN GRAPHICS METHODS
1. Redundant Constraint
Solution
________________________________________________________________
Products Resource
available
Resources A B
per week
_____________________________________________________________________
Labor (hr) 4 3 96
a. LPP Model
10
Max . Z=40 X 1 +35 X 2
St :
2 X 1 +3 X 2 ≤60
4 X 1 +3 X 2 ≤96
4 X 1 +3 . 5 X 2 ≤105
X 1 , X 2≥0
X2
(0, 32)
(0, 30)
Packaging: 4X1 +3.5X2 = 105
(0, 20) C (18,8)
Raw material: 2X1 +3X2 = 60
FR
X1
A (0, 0) D (24, 0) (26, 0) (30, 0)
A (0, 0) 0
C (18, 8) 1000
D (24, 0) 960
X1 =18
X2=8 and
MinZ= 1000
Interpretation:
11
The company should produce and sale 18 units of product A and 8 units of
product B per week so as to get a maximum profit of 1000.
Note:
The packaging hour’s constraint does not form part of the boundary making
the feasible region. Thus, this constraint is of no consequence and is therefore,
redundant. The inclusion or exclusion of a redundant constraint does not affect
the optimal solution of the problem.
-This is a situation where by a LPP has more than one optimal solution.
Multiple optimal Solutions will be found if two corners give optimal solution,
then the line segment joining these points will be the solution.
Example:
12
_____________________________________________________________________
__________________________________________________________________
Cutting 3 6 900
Assembly 1 1 200
_____________________________________________________________________
Assume that the company has a marketing constraint on selling products B and
therefore it can sale a maximum of 125units of this product.
Required:
Solution:
X2
X1=0
(0, 200) 13
(0,150)
C (50, 125) X2=125 Marketing equation
Cutting: 3X1+6X2=900
FR X2=0
X1
E (200, 0) (300,0)
A (0, 0) 0
Interpretation:
Both C and D are optimal solutions. Any point on the line segment CD will also
lead to the same optimal solution.
3. Infeasible Solution
A solution is called feasible if it satisfies all the constraints and the constraints
and non-negativity condition. However, it is sometimes possible that the
constraints may be inconsistent so that there is no feasible solution to the
problem. Such a situation is called infeasibility.
Example:
14
MaxZ=20X1+30X2
St:
2X1+X2< 40
4X1+X2< 60
X1 > 30
X1, X2 > 0
Solution:
X2 X1=0
(0, 60) X1=30
4X1+X2= 60
(0, 40)
2X1+X2= 40 X2=0
X1
Note:
-In the above graph, there is no common point in the shaded area.
4. Mix of constraints
Example:
MinZ=1500X1+2400X2
St:
15
4X1+1X2>24
2X1+3X2>42
X1+4X2 > 36
X1 < 14
X2< 14
X1, X2 > 0
A solution is unbounded if the objective function can be improved without limit. The solution is
unbounded if there are no positive ratios in determining the leaving variable. A negative ratio
means that increasing a basic variable would increase resources! a zero ratio means that
increasing a basic variable would not use any resources. This condition generally arises because
the problem is incorrectly formulated. For example, if the objective function is stated as
maximization when it should be a minimization, if a constraint is stated when it should be , or
vice versa.
Or
16
However, an unbounded feasible region may yield some definite value of the
objective function.
It exists when the value of the objective function can be increased without limit. A graphical
example of this is shown in the figure below. This difficulty is usually due to either incorrectly
maximizing when the real goal is to minimize an objective function or using greater than constraints
when less than constraints are called for. Although the latter error also may occur in a minimization
problem, the problem will not be unbounded because of the non-negativity constraints (i.e., the
resulting solution will be 0, 0). Again, checking equalities or re-thinking the problem statement will
resolve the problem. The latter case may uncover another constraint that should have been included
in the original statement of the problem.
[Example:
1. Max.Z=3X1+4X2
St:
-X1+X2<0
X1, X2 > 0
X2 X1-X2 =-1
X1+X2 =0
1 Unbounded
Feasible Region
X1
Fig: Unbounded Solution
SIMPLEX METHOD
INTRODUCTION
17
The graphical method to solving LPPs provides fundamental concepts for fully
understanding the LP process. However, the graphical method can handle
problems involving only two decision variables (say X1 and X2).
The simplex method is an ITERATIVE or “step by step” method or repetitive algebraic approach
that moves automatically from one basic feasible solution to another basic feasible solution
improving the situation each time until the optimal solution is reached.
The simplex procedure for a maximization problem with all constraints consists of the following
steps.
Step 1
Step2. Write the LPM in a standard form: when all of the constraints are written as equalities, the
linear program is said to be in standard form. We convert the LPM in to a standard form by
applying (introducing) the slack variables, S, which carries a subscript that denotes which constraint
it applies to. For example, S1 refers to the amount of slack in the first constraint, S2 to the amount
of slack in the second constraint, and so on. When slack variables are introduced to the constraints,
they are no longer inequalities because the slack variable accounts for any difference between the
left and right-hand sides of an expression. Hence, once slack variables are added to the constraints,
they become equalities. Furthermore, every variable in a model must be represented in the objective
function. However, since slack does not provide any real contribution to the objective, each slack
variable is assigned a coefficient of zero in the objective function.
Slack variables represent unused resource or idle capacity. Thus, they don’t
produce any product and their contribution to profit is zero.
Slack variables are added to the objective function with zero coefficients.
18
Let that s1, s2, and s3 are unused assembly time, inspection time and storage
space respectively.
Step 3. Develop the initial tableau: the initial tableau always represents the “Do Nothing” strategy,
so that the decision variables are initially non-basic.
In constructing the initial simplex tableau, the search for of the optimal solution
begins at the origin. Indicating that nothing can be produced
==>n=5 variables (x1 , x2, s1, s2, and s3) and m=3 constraints (Labor,
machine and marketing constraints), excluding non-negativity
Therefore, n-m=5-3=2 variables(x1 and x2) are set equal to zero in the 1st
simplex tableau. These are non-basic variables. 3 Variables (s1, s2, and s3) are
basic variables (in the 1st simplex tableau) because they have non-zero solution
values.
Step 4
19
a) List the variables across the top of the table and write the objective function coefficient of
each variable just above it.
b) There should be one row in the body of the table for each constraint. List the slack
variables in the basis column, one per raw.
c) In the Cj column, enter the objective function coefficient of zero for each slack variable. (Cj
- coefficient of variable j in the objective function)
quantity column
Real or decision variables column
Basic or Solution variable column
20
60 50 0 0
Cj
0
X1 X2 S1 S2
SV Q
S3
4 10 1 0 100 R1
0 S1
0
R2
2 1 0 1 22
0 S2
0
R3
3 3 0 0
0 S3 39
1
0 0 0 0
Zj 0
0
Cj - 60 50 0 0
Zj 0
Step 5:
Note:
The entering variable is the variable that has the most positive value in the
Cj - Zj row also called as indicator row. Or the entering variable is the
variable that has the highest contribution to profit per unit.
==> In this step, we determine the variable that will leave the solution for X1
(or entering variable)
Note:
21
The row with the minimum or lowest positive (non-negative)
replacement ratio shows the variable to leave the solution.
Note: RR>0
Repeat step 3-5 till optimum basic feasible solution is obtained. Optimum
basic feasible solution is occurred when the values in the Cj - Zj row are
become equal to zero or negative value. Or: repeat step 3-5 till no
positive value occurs in the Cj - Zj row.
Note:
Divide each element of the pivot row by the pivot element to find new
values in the key or pivot row. All elements of old-row divided by Pivot-element
Up-Dating all other rows. (Old-row element) - (Corresponding pivot column element *
updated corresponding pivot row element) = (New element)
Perform row operations to make all other entries for the pivot
column equal to zero.
Up-dating Zj & Cj - Zj rows. Each Zj, is obtained as the sum of the products of the Cj
column coefficients multiplied by the corresponding coefficient in the Jth column. (i.e.) the
Quantity column). It is then subtracted from Cj - Zj row values to get Cj - Zj values.
Test of optimality
22
i. A variable that has the most positive value in the C j - Zj row
(Maximization case)
ii. A variable that has the highest negative value in the C j - Zj row
(Minimization case)
In order to break this tie, the selection for the key column (entering variable)
can be made arbitrary. However; the number of solution can be minimized by
adopting the following rules:
Example:
Cj
X1 X2 S1
SV Q
S3
Zj 23
5 2
Cj - Z j
5 0
In such a case,X1 is the entering variable
Degeneracy
If there is a tie for the smallest ratio, this is a signal that degeneracy exists.
Degeneracy can occur right in the first (initial tableau).This normally happens
when the number of constraints is less than the number of variables in the
objective function. Problem can be overcome by trial and error method
5 8 2 0
Cj
0 0
X1 X2 X3 S1 Q
SV
S2 S3
RR
1/4 1 1 -2 10/1/4=40
8 X2 10 20/4=5 Tie for the smallest ratio in
0 0 10/2=5 degeneracy
indicates degeneracy
4 0 1/3 -1 10/2=5
0 S2 20 Tie for the smallest ratio
1 0 indicates degeneracy
10/2=5
2 0 2 2/5 Tie for the smallest ratio
0 S3 10 indicates degeneracy.
0 1 10/2=5
2 8 8
Zj 80 24
16 0 0
Cj - Z j 3 0 -6 -
16 0 0
Degeneracy could lead to a situation known as cycling, in which the simplex
algorithm alternatives back and forth between the same non-optimal solutions,
i.e, it puts a new variable in, then takes it out in the next tableau, puts it back
in ,and so on.
One simple way of dealing with the issue is to select either row (S2 or S3 in this
case) arbitrary. If we are unlucky and cycling does occur, we simply go back
and select the other row.
DUALITY
Every LPP has another LPP associated with it, which is called its dual. The
first way of starting a linear problem is called the primal of the problem.
The second way of starting the same problem is called the dual. The
optimal solutions for the primal and the dual are equivalent, but they are
derived through alternative procedures.
Duality Theory
Dual Problem: Given a (min, ≥) problem, we create a (max, ≤) problem by the following
transformations:
a b c a d
c f
25
0Problem P (Primal
Min C =5x1+3x2
s.t.
x1+3x2≥82
x1−4x2≥7
x1, x2≥0
0Problem D (Dual)
Max P= 8y1+7y2
s.t.
y1+3y2≤5
y1−4y2≤3
y1,y2≥0
SENSITIVITY ANALYSIS
Sensitivity analysis is an extension of linear programming beyond identifying the optimal solution.
It enables managers to answer “What if…?” questions concerning the impact of potential changes
to model parameters (constraints).
Sensitivity analysis, or post optimality analysis, as it is also referred to, carries the LP analysis
beyond the determination of the optimal solution. It begins with the final simplex tableau. Its
purpose is to explore how changes in any of the parameters of a problem, such as the coefficients
of the constraints, coefficients of the objective function, or the right-hand side values, would
affect the solution. This kind of analysis can be quite beneficial to a decision maker in a number of
ways.
In preceding units, the formulation and solution of linear programming problems treated the
parameters of a problem as if they were known and fixed. The goal of analysis was to determine
the optimal value of the decision variables in the context. Unfortunately, in practice, the
parameters of a problem often are no more than educated guesses. Consequently, the optimal
solution may or may not be optimal, depending on how sensitive that solution is to alternate
values of parameters. Hence, a decision maker usually would want to perform sensitivity analysis
26
before implementing a solution. If the additional analysis satisfies the decision maker that the
solution is reasonable, he or she can proceed with greater confidence in using the solution.
Conversely, if sensitivity analysis indicates that the solution is sensitive to changes that are within
the realm of possibility, the decision maker will be warned that more precise information on
parameters is needed.
Even if the parameters of a problem are known with a high degree of certainty, a decision maker
might still want to use sensitivity analysis in order to determine how changes in parameters would
affect the final solution. For instance, a manager may want to consider obtaining an additional
amount of some scarce resource that might be available, in which case the manager would want
to know the answers to questions such as:
1. Will an increase in the right-hand side of this constraint affect the objective function?
2. If so, how much of the resource can be used?
3. Given the answer to the preceding question, what will be the revised optimal solution?
Conversely, the decision maker might be facing a situation in which the amount of a scarce
resource available is less than the original amount, in which case the issues would be:
1. Will the decreased level of the resource have an impact on the value of the objective
function?
2. If yes, how much of an impact will it have, and what will be the revised optimal solution?
Of course, not all constraints pertain to scarce resources. However, the concept is the same: What
impact will a change in the right-hand side value of a constraint have on the optimal value of the
objective function and what impact will the change have on the optimal values of the solution
variables?
Similar questions can arise if there are changes contemplated in the coefficients of the objective
function. For instance, the marketing department may want to change the price of a product, and
that may alter the product’s coefficients in the objective function. Similarly, a change in a
manufacturing process may require a change in a constraint coefficients are beyond the scope of
this book
The first step in determining how a change in the RHS (right hand side) of a constraint (e.g., the
amount of scarce resource that is available for use) would influence the optimal solution is to
examine the shadow prices in the final simplex tableau. These are the values in the Z row in the
slack columns. The final tableau for the microcomputer problem is shown in Table 6-1.
27
C 60 50 0 0 0
Basis x1 x2 S1 S2 S3 Quantity
S1 0 0 0 1 6 -
16
3 24
x1 60
1
1 0 0 1 - 3
x2 9
50
2
0 1 0 -1 3
Z 60 50 0 10
40
3 740
C-Z 40
0 0 0 -10 - 3
Negatives of
shadow prices
A shadow price is a marginal value; it indicates the impact that a one-unit change in the amount of
a constraint would have on the value of the objective function. More specifically, a shadow price
reveals the amount by which the value of the objective function would increase if the level of the
constraint was increased by one unit. Table 6-1 reveals that the shadow prices are $0 for S1 (i.e.,
the first constraint, assembly time), $10 for S2 (i.e., the second constraint, inspection time) and $
40 S
for 3 (i.e., the third constraint, storage space). This tells us that if the amount of assembly
3
time was increased by one hour, there would be no effect on profit; if inspection time was
increased by one hour, the effect would be to increase profit by $10; and if storage space was
40
increased by one cubic foot, profit would increase by $ 3 , or $13.33. The reverse also holds. That
is, by using the negative sign of each shadow price, we can determine how much a one-unit
decrease in the amount of each constraint would decrease profit. Hence, a one-unit decrease in
assembly time would have no effect because its shadow price is $0. However, a one-unit decrease
28
in inspection time would decrease profit by $10, and a one unit decrease in storage space would
decrease profit by $13.33. In effect, shadow prices are a manager’s “window” for gauging the
impact that changes have on the value of the objective function.
29