Management Scientist User's Guide
Management Scientist User's Guide
Management Scientist User's Guide
VERSION 5.0
FOR WINDOWS® 95 AND WINDOWS® 98
David R. Anderson
University of Cincinnati
Dennis J. Sweeney
University of Cincinnati
Thomas A. Williams
Rochester Institute of Technology
i
TABLE OF CONTENTS
Preface
Chapter 1 Introduction
Chapter 8 PERT/CPM
Chapter 9 Inventory
Chapter 12 Forecasting
ii
PREFACE
This user’s manual accompanies version 5.0 of The Management Scientist, a personal
computer software package developed by David R. Anderson, Dennis J. Sweeney, and
Thomas A. Williams. The software, developed to assist students enrolled in quantitative
methods and management science courses, can be used to solve a wide variety of textbook
problems as well as small-scale problems encountered in practice. Use of The Management
Scientist demonstrates the valuable role of the computer in applying quantitative methods to
decision problems.
The new version 5.0, available for Windows 95 and Windows 98 environments, has a
significantly improved user interface as well as more robust solution algorithms.
We take this opportunity to acknowledge the major contribution made by Amy Anneken
in the development of Versions 4.0 and 5.0. Also, we are indebted to Daniel Joseph and
Bradley Beck who assisted with previous versions of the software. At this time we do not
know of errors but, of course, take responsibility for any that remain.
If you have any comments and suggestions regarding The Management Scientist
software, we welcome your input. Please send comments and suggestions to
David R. Anderson
Dennis J. Sweeney
Thomas A. Williams
iii
CHAPTER 1
INTRODUCTION
Linear programming
Transportation
Assignment
Integer linear programming
Shortest route
Minimal spanning tree
PERT/CPM
Inventory
Waiting lines
Decision analysis
Forecasting
Markov processes
1
1.Follow the directions in Section 1.2 to install The Management
Scientist on a personal computer using Windows 95, Windows 98, or
Windows NT.
1.2 INSTALLATION
Version 5.0 of The Management Scientist will run on personal computers
running Windows 95, Windows 98, or Windows NT. Installing the software
on your computer is easy. Install The Management Scientist as follows:
3.On the Command line, type D:\ Setup. If your CD-ROM drive is not
D:, substitute the appropriate letter.
2
decision-making information. A brief description of each of the modules
including problem-size information is provided below. More detailed
information about each of the modules is presented in the remaining
chapters.
Assignment. This program will minimize the cost or maximize the rev-
enue associated with assigning a set of agents to a set of tasks.
Assignment problems with up to 30 agents and up to 30 tasks are
permitted.
Integer Linear Programming. This program will solve all integer and
mixed integer programming problems with up to 100 variables and 50
constraints. Both general integer and 0–1 variable problems can be
solved. Data input and editing features are the same as for the linear
programming module. Large numbers of integer variables significantly
increase solution time.
Shortest Route. This program will find the shortest route between any
two nodes of a network. Any node may be selected as the starting node
and any other node may be selected as the ending node. The program will
handle networks with a maximum of 20 nodes and a maximum of 40 arcs.
Minimal Spanning Tree. This program will find the minimal spanning
tree for a network that has a maximum of 20 nodes and a maximum of 40
arcs.
PERT/CPM. This program will develop activity schedules for projects with
up to 25 activities. Both the cases of certain activity times (single activity
time estimates) and uncertain activity times (three activity time
estimates) are allowed. The activity schedule, the critical activities, and
the expected project completion time are computed.
Inventory. This program provides six inventory models that can be used
to determine
the optimal order quantity, the optimal reorder point, and related
operating policies for a
3
variety of inventory situations. Both the cases of deterministic demand
and probabilistic demand are permitted.
Selecting a Module
After starting The Management Scientist, you will encounter the Select a
Module menu shown in Figure 1.1. The choices provide access to the 12
modules. Click the desired module title and a brief description of the
module will appear on the screen. To use the selected module simply click
OK or, alter natively, double click the module title.
4
Creating a New Problem
Whenever you want to begin working on a new problem, choose the
appropriate module and select the File pull-down menu. Then, selecting
the option New will begin the problem description and data input process
and allow you to create the new problem.
Saving a Problem
You may save a problem by selecting the File pull-down menu, and then
selecting the Save option. This will enable you to name the problem and
save it for later use. The Inventory and Waiting Line modules have a Save
button directly on the data input dialog box. The Save button will enable
you to save the problem without accessing the File pull-down menu.
After you specify the name of the problem, The Management Scientist
automatically adds a three-letter extension. The extension is used to
identify the module used to create the problem. For example, suppose you
have a linear programming problem that you want to save using the name
LPExample. The Management Scientist will add the extension LPM so that
your problem will be saved as a file LPExample.LPM. Only files with the
LPM extension can be saved and retrieved with the Linear Programming
module. Other modules have their own three-letter extensions. While you
can see the extensions on your directory of saved problems, you do not
5
have to input the extensions because they are handled automatically by
The Management Scientist.
Many users who elect to save problems find it a good file
management practice to create a separate directory for saved problems.
If you wish to do this, you will need to create your own problem directory.
Then, whenever you select the Save option, you will be able to designate
your problems directory as the place where you want to save the new
problem. If you name the problems directory Problems and if it is a
subdirectory of the directory containing The Management Scientist, The
Management Scientist will automatically go to the Problems directory
whenever you request Save.
Editing a Problem
Once you have created a new problem or opened a saved problem, you
may make modifications, changes, or corrections right on the screen. If
you have solved a problem and the solution is on the screen, you may go
back and edit the problem by selecting the Edit pull-down menu. Select-
ing the Display/Edit the Problem option will display the problem’s data
input screen. You can use this screen to make changes to the problem.
This editing process can be repeated any number of times, allowing you to
learn how the solution changes as various aspects of the problem are
modified.
For most of the modules, the Edit pull-down menu only has the
Display/Edit the Problem option. However, some of the modules have
an additional editing option. For example, the Linear Programming and
Integer Linear Programming modules have options on the Edit pull-down
menu that allow you to change the number of variables and/or the
number of constraints for the problem. The Transportation and
Assignment modules also have Edit options that enable you to change
the size of the problem.
Solving a Problem
When you have created a new problem, opened a saved problem, or
edited a current problem, you will most likely want to solve it. Select the
Solution pull-down menu. Then selecting Solve will solve the problem
and display the solution on the screen. The Inventory and Waiting Line
6
modules have a Solve button on the data input dialog box. In these
modules, the Solve button will enable you to display the solution without
accessing the Solution pull-down menu.
Printing a Solution
Once the solution appears on the screen, you may want to send it to a
printer or to a text file. This is accomplished by selecting the Solution
pull-down menu and then selecting the Print Solution option. The To
Printer or To Text File options indicate where the solution will be
directed. A text file can be later accessed by a word processor so that the
solution output can be edited and displayed as part of a solution report.
Changing Modules
After working with one module, you may want to change to a different
module and solve another type of problem. Selecting the File pull-down
menu and then selecting the Change Modules option will return you to
the Select a Module screen shown in Figure 1.1. At this point, you may
choose another module.
7
entered, the Tab key will signal the computer to accept the cell’s input and
move the cursor automatically to the next logical step of the input
process. If the Tab key results in a move that is not where the user wants
to go, the mouse can be used to reposition the cursor. The arrow keys
may be used to navigate data input worksheets.
The mouse can be used to open the File, Edit, and Solution pull-down
menus and to select options from the menus. In addition to the mouse,
key strokes can be used. The underlined letter in the menu or option title
indicates the keystroke to use. Specifically, Alt-F will open the File pull-
down menu, Alt-E will open the Edit pull-down menu, and Alt-S will open
the Solution pull-down menu. Once a pull-down menu is opened, the Alt
key is no longer required and the underlined letter for the desired option
can be used. For example, in the File pull-down menu, N will activate
New, O will activate Open, S will activate Save, M will activate Change
Modules, and X will activate Exit.
2.Do not enter the dollar sign ($) for profit or cost data. For example,
a cost of $20.00 should be entered as 20.
3.Do not enter the percent sign (%) if percentage input is requested.
For a percentage of 25%, simply enter 25. Do not enter 25% or .25.
8
the messages will be self-explanatory and simply give you the opportunity
to re-enter corrected data values.
9
CHAPTER 2
LINEAR PROGRAMMING
2.1 OVERVIEW
The Linear Programming module uses the revised simplex method with LU
decomposition to solve linear programs containing up to 100 variables
and 50 constraints.
Significant features available with this module include:
10
beginning students but still provide extensive problem-solving capabilities
for more experienced users.
5. The ability to save and retrieve problems from any disk drive and
subdirectory; when the user asks to retrieve a problem, a list of all pre-
viously saved problems is displayed.
6. An extensive error checking capability that prevents the user from getting
“hung up” because of an error in input.
max 10X + 9X
1 2
s.t.
7/10X + 1X
<_630 Cutting and Dyeing
1 2
1/2X +5/6X <_600 Sewing
1 2
11
1X +2/3X <_708 Finishing
1 2
1/10X +1/4X <_135 Inspection/Packaging
1 2
X , X >_ 0
1 2
12
After entering the objective function coefficients, the constraint coeffi-
cients, the constraint relationships, and the right-hand side values, the
data input screen appears as shown in Figure 2.3. All fractional
coefficients must be converted to their decimal equivalent. For example,
the coefficient of X1 in the cutting and dyeing constraint must be written
as .7 instead of 7/10, the coefficient of X1 in the sewing constraint must
be written as .5 instead of 1/2, and so on. When rounding is necessary, we
recommend using the closest five-place decimal value; thus, the 5/6
coefficient of X2 in the sewing constraint is writ ten as .83333. Note also
that each of the four less-than-or-equal-to constraints is entered using <
instead of <_, and the nonnegativity constraints, X1, X2>_0 do not have
to be entered. After choosing Solve from the Solution menu, the optimal
solution will be presented as shown in Figure 2.4.
Figure 2.3 Data Input Screen for the Par, Inc., Problem
13
Objective Function Value = 7667.99417
Variable Value Reduced Costs
-------------- -------------- ---------------
X1 539.99842 0.00000
X2 252.00110 0.00000
14
1 495.60000 630.00000 682.36316
2 479.99929 600.00000 No Upper Limit
3 580.00140 708.00000 900.00000
4 117.00012 135.00000 No Upper Limit
1
For a maximization problem, improve means get bigger; for a minimization problem, improve
means get smaller.
15
The dual price associated with a constraint is the improvement in the
optimal value of the objective function per unit increase in the right-
hand side of the constraint.
Thus, the nonzero dual price of 4.37 for constraint 1 (cutting and
dyeing) and 6.94 for constraint 3 (finishing) tell us that an additional hour
of cutting and dyeing time will improve (increase) the value of the
objective function by $4.37 and an additional hour of finishing time will
improve (increase) the value of the objective function by $6.94. The range
over which this interpretation is applicable will be discussed shortly. Thus,
if the cutting and dyeing time were increased from 630 to 631 hours, with
all other coefficients in the problem remaining the same, Par’s profit would
be increased by $4.37 from $7668 to $7668 + $4.37 = $7672.37. Since
the sewing and the inspection and packaging constraints both have slack
or unused capacity available, the dual prices of zero show that additional
hours of these two resources will not improve the value of the objective
function.
From the information provided under the heading labeled OBJECTIVE
COEFFICIENT RANGES, we see that as long as the profit contribution
associated with the standard bag (currently a value of $10) is between
$6.30 and $13.50, the production of X1 = 540 standard bags and X2 = 252
deluxe bags will remain optimal. Similarly, as long as the profit
contribution associated with the deluxe bags is between $6.67 and
$14.29, the production of 540 standard bags and 252 deluxe bags will
remain optimal.
The final section of the computer output (RIGHT HAND SIDE RANGES)
contains ranging information for the constraint right-hand sides. As long
as the constraint right-hand-side value stays within this range, the
associated dual price gives the improvement in value of the objective
function per unit increase in the right-hand side. For example, since the
dual price for constraint 1 (cutting and dyeing) is $4.37, we can conclude
that additional hours will increase the objective function by $4.37 per hour
until the number of hours available reaches 682.36. It is also true that a
reduction in the hours available will reduce the value of the objective
function by $4.37 per hour. From the ranging information given we see
that the dual price of $4.37 is valid as long as the right-hand-side value is
between 495.60 and 682.36. For constraint 3 (finishing) we see that the
dual price of $6.94 is applicable as long as the right- hand-side value is
between 580 and 900.
At this point it is important to note that the sensitivity analysis (dual
prices and ranging information) presented in the computer output is
based on the assumption that coefficients are changed one at a time, with
all other coefficients of the problem remaining as stated in the original
problem. The sensitivity analysis information provided in the computer
output does not apply to two or more simultaneous changes in problem
coefficients.
16
2.5 OTHER CONSIDERATIONS
As you solve more linear programming problems you will find that in many
cases only a few of the variables appear in each constraint (i.e., they have
coefficients of 0 in many constraints). The Management Scientist does not
require you to enter any terms that have 0 coefficients. This can
substantially reduce the time needed to enter a large problem.
It is often desirable to use more descriptive names for the decision
variables. For example, in the Par, Inc., problem, if you wanted to use the
name STANDARD instead of X1 and the name DELUXE instead of X2, you
enter the name STANDARD in the X1 variable names cell and DELUXE in
the X2 variable names cell. Variable names are restricted to any
combination of up to eight letters or numbers; the first character,
however, must be a letter.
When entering coefficients that are 1000 or greater, do not enter any
commas. For example, a constraint that required the variable named
FUNDSINV to be less than or equal to $100,000 would be written as
Note also that the $ symbol must be deleted when writing the right-hand-
side value.
When you enter a constraint make sure that no variables appear on
the right-hand side of the constraint. For example, if you have the
constraint
VARONE = VARTWO + 10
VARONE – VARTWO = 10
17
CHAPTER 3
TRANSPORTATION
PROBLEM
3.1 OVERVIEW
The Transportation module of The Management Scientist will find the
optimal solution to transportation problems with up to 30 origins and 30
destinations. The following input data must be entered by the user:
5.The per unit cost or the per unit revenue of shipping from each
origin to each destination.
18
period are as follows:
Three-Month
Production Capacity
Origin Plant (Units)
1 Cleveland 5000
2 Bedford 6000
3 York 2500
Destination
Origin Boston Chicago St. Louis Lexington
Cleveland 3 2 7 6
Bedford 7 5 2 3
York 2 5 4 5
Table 3.1 Transportation Cost per Unit for the Foster Generators Problem
19
Figure 3.1 Origins and Destinations Dialog Box
Origins Destinations
1. Cleveland 1. Boston
2. Bedford 2. Chicago
3. York 3. St. Louis
20
4. Lexington
the minimum cost solution calls for shipping 3500 units from Cleveland to
Boston, 1500 units from Cleveland to Chicago, 2500 units from Bedford to
Chicago, 2000 units from Bedford to St. Louis, 1500 units from Bedford to
Lexington, and 2500 units from York to Boston. The total transportation
cost of this solution is shown to be $39,500.
21
Figure 3.3 Solution Screen for the Foster Generators’ Problem
22
cells. When Solve is selected, The Management Scientist will provide a
warning message that some of the data cells have 0 entries. The user
may return to the Transportation Tableau and replace the 0 entries with
appropriate data or the user may solve the transportation problem with 0
entries assumed.
CHAPTER 4
ASSIGNMENT PROBLEM
4.1 OVERVIEW
The Assignment module of The Management Scientist will find the optimal
solution to assignment problems with up to 30 agents and/or 30 tasks.
The following input data must be entered by the user:
23
like to determine the assignments that will minimize the total number of
days required to complete all three. If a project leader is to be assigned to
one and only one client, what assignments should be made?
With three project leaders and three clients, there is a total of nine
possible assignment alternatives. The alternatives and the estimated
project completion times in days are summarized in Table 4.l.
Client
Project Leader 1 2 3
1 Terry 10 15 9
2 Carle 9 18 5
3 McClymonds 6 14 3
Table 4.1 Estimated Project Completion Times (Days) for the Fowle Assignment
Problem
24
25
Figure 4.2 Assignment Tableau Input Screen
26
Figure 4.3 Solution Screen for the Fowle Marketing Research Program
27
with appropriate data or the user may solve the assignment problem with
the 0 entries assumed.
28
CHAPTER 5
INTEGER LINEAR
PROGRAMMING
Note that if the phrase “and integer” is dropped from the above model we
are left with the familiar two-variable linear program.
If some, but not all, of the variables in a problem are required to be
integers, we say we have a mixed-integer linear program. For example, in
the above model if the phrase “and integer” is replaced by “and X2
integer” we would have a mixed-integer linear program. In this case
although X2 would be restricted to only integer values, X1 would be said to
be continuous; it could assume any value greater-than-or-equal-to zero.
In most practical applications, the integer variables are only permitted
to assume the values 0 or 1. In such cases, we say that we have a binary,
or a 0–1, integer linear program. Zero–one problems may be either the
all-integer or mixed-integer type.
5.1 OVERVIEW
29
The Integer Linear Programming module of The Management Scientist
employs a branch and bound solution procedure. It can solve all-integer,
mixed-integer, and 0–1 integer linear programs with up to 100 variables
and 50 constraints. However, problems with large numbers of integer
variables may solve slowly. Just as with the Linear Programming module,
the number of decision variables that can be used must allow for slack,
surplus,
and artificial variables that are added automatically by the Integer Linear
Programming module.
Since the Linear Programming module and the Integer Linear
Programming module are the same with respect to creating, retrieving,
saving, and editing a problem, we will focus our attention on the
differences associated with solving integer linear programs. Readers
unfamiliar with the Linear Programming Module of The Management
Scientist should review Chapter 2 before continuing with this chapter.
30
4X1 + 40X2 <_ 140 Manager’s time (hours)
X1 <_ 4 Townhouses available
Adding the nonnegativity requirements we obtain a linear programming
model involving the two variables and three constraints. This model could
be solved using the Linear Programming module described in Chapter 2;
the optimal linear programming solution is X1 = 2.442 and X2 = 3.256,
with an objective function value of 14.651.
However, since fractional values do not make any sense in the
context of the problem, the standard linear programming approach to this
problem is not appropriate. What we need to do is add the requirement
that both X1 and X2 are restricted to integer values. Doing this, we obtain
the following all-integer linear programming model:
max 2X1 + 3X2
s.t.
195X1 + 273X2 <_ 1365 Funds available ($1000s)
4X1 + 40X2 <_ 140 Manager’s time (hours)
X1 <_ 4 Townhouses available
X1, X2 > _ 0 and integer
31
32
Figure 5.2 Initial Data Input Screen
33
Figure 5.3 Data Input Screen for the Security Realty Investors Problem
34
Figure 5.5 Optimal Solution to the Security Realty Problem
35
most profitable projects and budget for the necessary capital
expenditures. The estimated present values for the projects, the capital
requirements, and the available capital projections are as follows:
Estimated
Present Capital Requirements
Project Value($) Year l Year 2 Year 3 Year 4
Plant expansion 90,000 15,000 20,000 20,000 15,000
Warehouse expansion 40,000 10,000 15,000 20,000 5,000
New machinery 10,000 10,000 0 0 4,000
New product research 37,000 15,000 10,000 10,000 10,000
Available capital funds 40,000 50,000 40,000 35,000
36
Integer Linear Programming module, we enter the problem in the usual
fashion. After verifying that the problem has been entered correctly, we
choose Solve from the Solution menu. Then, in the Integer Variable
Identification dialog box, we select the All Variables Are 0/1 (Binary) option
and choose Solve; the optimal solution, shown in Figure 5.6, is given by X1
= 1, X2 = 1, X3 = 1, and X4 = 0 with a total estimated present value of
$140,000.
37
After entering this problem, we choose Solve from the Solution menu.
Then, in the Integer Variable Identification dialog box we select the
Multiple Types of Variables option. From the General Integer Variables list
we choose X2.
After selecting Solve, the optimal mixed integer solution is displayed
as shown in Figure 5.7.
38
prices and ranging information made available with the solution of linear
programming problems are not helpful with integer linear programming
problems. Thus, practitioners usually recommend resolving an integer
linear program several times with slight variations in the coefficients to
explore sensitivity issues before attempting to choose an optimal solution
for implementation.
39
CHAPTER 6
SHORTEST ROUTE
6.1 OVERVIEW
The Shortest Route module of The Management Scientist will find the
shortest distance between any 2 nodes in a network consisting of up to 20
nodes and 40 arcs. To create and solve a new problem, the user must first
develop a net work diagram of the problem to be solved and then provide
the following data input to the Shortest Route module:
40
located throughout a three-county area. With multiple daily trips carrying
personnel, equipment, and supplies to and from the construction sites, the
costs associated with transportation activities are substantial. The
network shown in Figure 6.1 describes the travel alternatives to and from
six of Gorman’s newest construction sites. The circles (nodes) of the
network correspond to the site locations. The lines between the nodes
(arcs) correspond to the roads and the streets between the locations. The
numbers next to each arc represent road distances in miles. If Gorman
wishes to minimize the travel distance from the office to site 7, what is
the route that should be followed? Note that the net work has 7 nodes and
10 arcs.
41
node 7 for the Gorman problem and selecting OK provides the optimal
shortest route as shown in Figure 6.4. Thus we see that the shortest route
between nodes 1 and 7 passes through nodes 3, 5, and 6. The total
distance is 22 miles.
42
Figure 6.2 Nodes and Arcs Dialog Box
43
Figure 6.4 Shortest Route Between Nodes 1 and 7 for the Gorman
Problem
At this point, the user may select Solve from the Solution menu again.
Altering the starting node and/or ending node and selecting OK will
provide the shortest route between the two specified nodes. This process
can be repeated in order to find the shortest route between any other pair
of nodes in the network.
44
CHAPTER 7
MINIMAL
SPANNING TREE
The minimal spanning tree problem involves using the arcs of the network
to connect all nodes in such a fashion that the total length of the arcs
used is minimized. As with the shortest route problem, it is customary to
use distance as a measure of arc length. However, in some applications it
is more appropriate to use arc cost, time to go from one node to another,
and so on.
A common situation in which the minimal spanning tree problem arises
involves the design of communication networks, where the objective is to
minimize the amount of the cable necessary to connect all nodes that
must communicate with one another. Other applications involve designing
road networks, developing the layout for conveyor systems, and so on.
7.1 OVERVIEW
The Minimal Spanning Tree module of The Management Scientist will find
the optimal solution to minimal spanning tree problems with up to 20
nodes and 40 arcs. The module will find the set of arcs that creates a path
connecting every node to every other node in such a manner that the
total length of all arcs used is minimized. To create and solve a new
problem, the user must first develop a network diagram of the problem to
be solved and then provide the following input data:
45
The Southwestern Regional Computer Center must have special computer
communication lines installed in order to connect five satellite users with
a new central computer. Because the lines are expensive, the computer
center’s management wants the total length of the new communication
lines to be as small as possible. While the central computer could be
connected directly to each user, it appears to be more economical to
install a direct line to some users and let other users tap into the system
by linking up with the users who are already connected to the system. The
network shown in Figure 7.1 shows us the links being considered between
the regional computer center and the satellite users. The distance, in
miles, between locations is shown above the associated arcs. Note that
the network has 6 nodes and 11 arcs.
46
input process is completed, choosing Solve from the Solution menu
provides the minimal spanning tree solution as shown in Figure 7.4. Thus
we see that communication lines must be installed between five pairs of
locations: 1 and 2, 1 and 4, 4 and 3, 4 and 6, and 3 and 5. The total length
of the communication lines is 110 miles.
47
Figure 7.2 Nodes and Arcs Dialog Box
48
Figure 7.4 Minimal Spanning Tree for the Regional Computer Center
Problem
49
CHAPTER 8
PERT/CPM
PERT (Program Evaluation and Review Technique) and CPM (Critical Path
Method) are approaches management scientists have developed to assist
managers with planning, scheduling, and controlling projects. PERT and
CPM were initially developed independently for slightly different purposes,
but in today’s usage, the distinction between PERT and CPM as two
separate techniques has largely disappeared.
PERT/CPM has been used to plan, schedule, and control a wide variety
of projects, such as:
2.What start and finish dates should be scheduled for each activity?
8.1 OVERVIEW
50
The PERT/CPM module of The Management Scientist can be used to
analyze projects with up to 25 activities. The program will develop an
activity schedule, identify the critical activities, and compute the expected
project completion time. It can be used for projects with known activity
completion times and for projects with uncertain activity completion
times. For projects with uncertain activity completion times, the PERT/CPM
module will compute the expected time and variance for each activity as
well as the expected completion time and variance for the entire project.
Before using the PERT/CPM module, the user must develop a list of the
activities and, for each activity, the immediate predecessors. Each activity
must be identified by a letter of the alphabet and no activity may have as
an immediate predecessor an activity identified by a letter coming later in
the alphabet. The data input requirements differ depending on whether
activity times are known or uncertain. We illustrate the use of the module
in both cases.
Completion
Activity Immediate Time
Activity Description Predecessor (Weeks)
A Prepare architectural drawings — 5
B Identify potential tenants — 6
C Develop prospectus A 4
D Select contractor A 3
E Prepare building permits A 1
F Secure approval of building permits E
4
G Construction D, F 14
H Finalize tenant contracts B, C 12
I Tenants move in G, H 2
Table 8.1 Activity List for the Western Hills Shopping Center Expansion
Project
51
for example). Being able to work on two or more activities at the
same time will shorten the total project completion time to less than 51
weeks. We now show how the PERT/CPM module can be used to provide
information in managing this project.
52
For each of the nine activities in the Select Activity Name list we must
identify each activity’s immediate predecessor and the expected activity
time for each activity. For example, we begin by clicking the letter A in the
Select Activity Name list. Since A does not have any immediate
predecessor, we only need to enter the expected completion time of 5 in
the Expected Time box. The input for other activities follows in a similar
fashion, with the
exception that for activities with immediate predecessors, we must also
choose the immediate predecessors from the Select Predecessor list.
Figure 8.3 shows the data input screen after entering all the data for the
Western Hills Shopping Center expansion project. After choosing Solve
from the Solution menu, the activity schedule, critical path, and project
completion time will be displayed as shown in Figure 8.4.
Activities A–E–F–G–I are on the critical path and the project may be
completed in 26 weeks. The earliest start, latest start, earliest finish,
latest finish, and slack times are shown for each activity.
Figure 8.3 Data Input Screen for the Western Hills Shopping Center
Project
53
54
Figure 8.4 Activity Schedule for the Western Hills Shopping Center
Project
55
Table 8.2 Activity List for the Daugherty Porta-Vac Project
Most
Optimistic Probable Pessimistic
Activity Time Time Time
A 4 5 12
B 1 1.5 5
C 2 3 4
D 3 4 11
E 2 3 4
F 1.5 2 2.5
G 1.5 3 4.5
H 2.5 3.5 7.5
I 1.5 2 2.5
J 1 2 3
After choosing Solve from the Solution menu, we obtain the output
shown in Figure 8.6. The PERT/CPM module prints a list of the expected
times and variances for activities, followed by the activity schedule, the
critical path, the expected project completion time, and the variance of
project completion time. For the Daugherty Porta-Vac project the critical
path is A–E–H–I–J, with an expected project completion time of 17 weeks.
The variance of project completion time is shown to be 2.72.
56
Figure 8.5 Problem Input Screen for the Daugherty Porta-Vac Project
57
Figure 8.6 Activity Schedule for the Daugherty Porta-Vac Project
58
CHAPTER 9
INVENTORY
59
5.Maximum inventory level
7.Reorder point
9.1 OVERVIEW
The Inventory module of The Management Scientist provides the following
six inventory models:
60
6.Single-Period Inventory with Probabilistic Demand—With demand
described by a uniform or normal probability distribution, this model
determines the optimal order quantity for single-period inventory
situations in which items cannot be carried in inventory from one
period to the next.
2.What is the reorder point or inventory level that signals R&B should
order a new shipment of Bub Beer?
3.How many orders will be placed per year and what is the length of
time between orders?
4.What is the total annual inventory holding and ordering cost for this
product?
61
user to input the holding cost amount per unit. The Percent and Amount
options enable inventory holding cost to be expressed as either a
percentage of the unit cost or as a specific dollar amount. The Number of
Working Days per Year will show 250 days, which is a common
assumption. If 250 days per year is not appropriate, this entry can be
changed to reflect the actual number of working days per year for the
problem. Finally, Compute Reorder Point appears as a question since the
economic order quantity model can be implemented with or without
reorder point information. Since the Bub Beer problem requested reorder
point information, the Compute Reorder Point box has been clicked on and
the lead time of 2 days has been entered.
62
Figure 9.1 Inventory Models Available Dialog Box
After the data input process is completed, Solve or Save can be imple-
mented by selecting the appropriate button in the data input dialog box.
Selecting Solve provides the optimal solution shown in Figure 9.3. Thus,
we see that the economic order quantity for Bub Beer is 1824.28 units,
and the reorder point is 832 units. This optimal inventory policy will result
in approximately 57 orders per year with the time between orders 4.39
days. Note also that the total annual cost is $3,648.56.
63
Figure 9.3 Output for the R&B Beverage Economic Order Quantity
Problem
It is well known that the optimal order quantity provided by the eco-
nomic order quantity model is not sensitive to rounding error. Thus, in
practice, rounding the optimal order quantity to a more convenient
quantity (such as 1800, 1900, or 2000 units) can be expected to have
little effect on the total annual cost.
64
corresponds to the economic order quantity and the production setup cost
corresponds to an order cost. Attention is usually focused on the following
questions:
3.How many production setups will be scheduled per year and what is
the length of time between production runs?
4.What is the total annual inventory holding and setup cost for this
product?
Data input for the economic production lot size model is very similar
to the data input for the economic order quantity model shown in Figure
9.2. One additional input item—the annual production rate—is required for
the production lot size model.
65
information showing the unit cost and the minimum quantity to order to
obtain this cost for each discount category.
The output information is the same as for the economic order quantity
model as shown in Figure 9.3, with the addition that purchase cost is
included in the total cost. The recommended optimal order quantity will
be in the discount category providing the lowest total cost.
66
1.The cost of overestimating demand and ordering too much
67
CHAPTER 10
WAITING LINES
1.The probability that the service facility is idle and there are no units
in the system
3.The average number of units in the system (units waiting plus units
being serviced)
5.The average time a unit spends in the system (waiting time plus
service time)
7.The total system cost (the cost of idle time for the units in the
system plus the cost of operating the service facility)
Given the above information, decision makers are better able to make
waiting line design and policy decisions that balance the desired service
levels with the cost of providing the service.
10.1 OVERVIEW
The Waiting Lines module of The Management Scientist provides the
following five waiting line models.
68
1.Single- or Multiple-Channel with Poisson Arrivals Exponential
Service Times—This is the fundamental waiting line model with
Poisson arrivals and exponential service times. Operating
characteristics are provided for systems having from 1 to 25
channels.
69
Management is interested in developing a better understanding of the
operating characteristics of the food-service waiting line. Specifically,
management would like to know the probability that no customers are in
the system, the average number of customers waiting for service, the
average time a customer waits for service, the probability that an arriving
customer has to wait, and the hourly cost of the service operation.
70
After the data input process is completed, Solve or Save can be imple-
mented by selecting the appropriate button in the data input dialog box.
Selecting Solve provides the output shown in Figure 10.3. While no direct
recommendation is made, the output provides valuable information about
the operating characteristics of the waiting line. An average of 2.25
customers are in the waiting line, the customers wait an average of three
minutes for service, and .75 or 75% of the arriving customers have to wait
for service. The total cost is $37.00 per hour. In addition, the probabilities
of the number of customers in the system show that some long waiting
lines are possible. The information in Figure 10.3 indicates that something
should be done to improve the operation of the Burger Dome service
facility.
Figure 10.3 Output for the Burger Dome Waiting Line Problem
71
Using the Edit menu, we can easily display the data input dialog box
again and change the number of channels from 1 to 2. Selecting Solve
shows the improved operating characteristics for the expanded Burger
Dome service operation. The total cost of the two-channel system is
$22.73 per hour. Repeating the edit process shows that the addition of a
third channel with the total cost increasing to $28.65 per hour is not
necessary.
72
CHAPTER 11
DECISION ANALYSIS
Decision analysis can be used to help a decision maker select the best
decision alternative for problems involving several decision alternatives
and an uncertain or risk-filled pattern of future events. A complicating
factor in selecting the best alternative is that the future events, called
states of nature, are uncontrollable; thus, the decision maker must select
a decision alternative before knowing which state of nature will occur.
The following three steps can be used to structure a decision analysis
problem:
73
decision maker has the perfect information (i.e., the decision maker
knows in advance which state of nature will occur)
11.1 OVERVIEW
The Decision Analysis module of The Management Scientist is designed to
provide a recommended decision alternative for problems having the
following characteristics:
74
d2 = a medium-sized computer system
For now, assume that probability information is not available for the states
of nature.
The payoff table showing the projected profit for each decision
alternative and each state of nature combination is shown in Table 11.1.
Given this information, which computer system should PSI select?
States of Nature
Decision Alternatives High Acceptance Low Acceptance
Large Computer System 200,000 –20,000
Medium-Sized Computer System 150,000 20,000
Small Computer System 100,000 60,000
75
After selecting OK in the Problem Features dialog box of Figure 11.1,
we obtain the Payoff Table data input screen shown in Figure 11.2. Payoff
data from Table 11.1 are entered into the corresponding cells of the Payoff
Table as shown in Figure 11.2. When the payoff data input process is
completed, choosing Solve from the Solution menu provides the Select
Optimization/Decision Criteria dialog box shown in Figure 11.3. For the PSI
problem, we selected maximize the payoff as the optimization procedure
and optimistic as the decision criterion. Selecting OK provides the output
shown in Figure 11.4. The optimistic criterion recommends decision
alternative 1, the large computer system.
76
Figure 11.3 Select Optimization/Decision Criteria Dialog Box
Figure 11.4 Output Information for the PSI Problem Using the Optimistic
Criterion
77
11.4 USING PROBABILITY INFORMATION
Let us assume that state of nature probabilities are available for the PSI
problem with the probability of high customer acceptance (state of nature
1) 0.3 and the probability of low customer acceptance (state of nature 2)
0.7. Decision analysis uses the probability information and the expected
value criterion to make a decision recommendation.
With probability information available, The Management Scientist will
consider this a new problem. Use the File menu and select New to obtain
the Problem Features dialog box as shown in Figure 11.1. This time click
the State of Nature Probabilities box. Selecting OK provides the Payoff
Table data input screen shown in Figure 11.2 along with two additional
cells used to enter the two state of nature probabilities. When the data
input process is completed, choosing Solve from the Solution menu
provides the Select Optimization Criteria dialog box, which enables the
selection of a maximize or minimize criterion. Selecting maximize and
then selecting OK provides the output shown in Figure 11.5. In this case,
decision alternative 3, the small computer system, is recommended. The
expected value is $72,000. It is also shown that the expected value of
perfect information is 30,000.
78
Figure 11.5 Output Information for the PSI Problem Using the Expected
Value Criterion
79
I2 = unfavorable market research report (individuals contacted
generally express little interest in PSI’s services)
Indicator Outcome
States of Nature Favorable (I1) Unfavorable (I2)
Let us now consider how the decision analysis module can be used to
develop an optimal decision strategy based on the results of the market
research indicator outcomes. In addition, we will determine the expected
value of the sample information provided by the market research study.
When a decision analysis problem requires the computation of a
decision strategy, the Problem Features dialog box appears as shown in
Figure 11.6. Note that both State of Nature Probabilities and Compute
Decision Strategy have been clicked on. The values shown for the number
of decision alternatives, number of states of nature, and number of
indicator outcomes are for the PSI decision strategy problem.
Figure 11.6 Problem Features Dialog Box for the PSI Decision Strategy
Problem
80
Selecting OK provides the Payoff Table data input screen shown in
Figure 11.7. The top part of the screen provides the payoff table input as
before. The sections labeled Enter State of Nature Probabilities and
Indicator Probabilities are used to input the state of nature probabilities
and the indicator probabilities from Table 11.2. When the data input
process is completed, choosing Solve from the Solution menu provides the
Select Optimization Criteria dialog box, which enables the selection of a
maximize or minimize criterion. Selecting maximize and then selecting OK
provides the output shown in Figure 11.8. The optimal decision strategy
shows decision alternative d1 (large computer system) if the indicator
outcome is I1 (favorable market research report), and decision alternative
d3 (small computer system) if the indicator outcome is I2 (unfavorable
market research report).
Figure 11.7 Data Input Screen for the PSI Decision Strategy Problem
81
82
Figure 11.8 Optimal Decision Strategy for PSI
83
CHAPTER 12
FORECASTING
12.1 OVERVIEW
The Forecasting module of The Management Scientist can be used to
analyze time series data consisting of up to 100 time periods or
observations. Future values of the time series may be forecast by any of
the following methods:
84
develop a linear trend equation, which expresses the time series
values as a linear function of the time period. Forecasts are made
by evaluating the linear trend equation for future time periods.
Sales
Week (1000s of Gallons)
1 17
2 21
3 19
4 23
5 18
6 16
7 20
8 18
9 22
10 20
11 15
12 22
85
12.3 CREATING AND SOLVING A PROBLEM
To forecast the number of gallons of gasoline that will be sold in week 13
for the time series shown in Table 12.1, we begin by selecting the
Forecasting module and choosing New from the File menu. When the Time
Periods dialog box appears, enter 12 for the Number of Time Periods and
choose OK; these steps result in the data input screen. Figure 12.1 shows
the data input screen after entering the gasoline sales time series data.
After selecting Solve from the Solution menu, we obtain the Forecasting
Methods dialog box shown in Figure 12.2. Any one of the four methods
listed may be used to forecast values for the time series.
Figure 12.1 Data Input Screen for the Gasoline Sales Time Series
86
If Moving Averages is selected, you must enter the Number of Periods
to be included in the moving average. While any number of periods from 1
to the number of periods in the time series (12 in this example) may be
used in the moving average, values of 3 to 5 tend to be most common. In
order to continue this example, we used 3 as the number of periods to be
included in the moving average.
After you specify the number of periods for the moving average and click
Solve, the Forecasting module provides a summary of the three-week
moving average calculations for the gasoline time series; Figure 12.3
shows the output provided. The time series values, the moving averages
forecasts, and the forecast errors are shown for the entire time series.
Since an important consideration in using any fore casting method is the
accuracy of the forecasts, the mean square error (MSE), an often used
measure of the accuracy of a forecasting method, is also provided. The
forecasting method providing the lowest mean square error has provided
the best forecasts for the historical time series values. Also shown is the
fore cast for the next period in the time series. Thus, we see that the
three-period moving averages forecast for week 13 is 19,000 gallons.
Figure 12.3 The Forecasting Error and Forecast for the 3-Week Moving
Averages
87
12.4 OTHER FORECASTING METHODS
The Forecasting module contains four methods that may be used to
develop forecasts for a time series. These methods are made available by
the Forecasting Methods dialog box shown in Figure 12.2. An example of
the moving aver ages method was presented in the preceding section. In
this section we provide an overview of each of the other three methods.
We will describe the method and then discuss the data input and output
information features that differ from the moving averages example in
Section 12.3.
Exponential Smoothing
Exponential smoothing appears as choice 2 in the Forecasting Methods
dialog box in Figure 12.2. This method uses a combination of the forecast
for the most recent period and the actual time series value for the most
recent period to forecast the next value for the time series. The weight
used for the most recent time series value is referred to as the smoothing
constant. If you select the exponential smoothing method, you will be
asked to enter the value of the smoothing constant. This value must be
between 0 and 1.
Output information includes the time series values, the exponential
smoothing forecast, and the forecast errors for the historical time series.
In addition, the mean square error and the forecast for the next time
period are also provided.
88
Trend Projection
Trend projection appears as choice 3 in the Forecasting Methods dialog
box shown in Figure 12.2. This method uses the criterion of least squares
to develop a linear trend equation, which expresses the time series values
as a linear function of the time period. The trend projection analysis
begins as soon as this option is selected. No additional input information
is required.
The output information will provide a linear trend equation in the form
T = b0 + b1t
where
t = the time period
T = the trend value of the time series in period t
b0 = the intercept of the trend line
b1 = the slope of the trend line
89
square error, and the forecasts for each of the next three time periods are
provided, as well as an option of forecasting additional periods in the
future. Simply request this option, enter the time period you wish to
forecast, and the Forecasting module will provide the forecast.
1 0.931
2 0.836
3 1.092
4 1.141
90
CHAPTER 13
MARKOV PROCESSES
The analysis of brand loyalty and brand switching behavior is one of the
major applications of Markov processes. In this application, the purchase
decision that is made each time period by a customer involves selecting
one of several competing brands. The brands are referred to as the states
of the process. Given that the customer has purchased a specific brand
during the current time period, transition probabilities describe the
probabilities that the customer will purchase the same brand as well as
each of the competing brands during the following time period.
The transition probability for a given state to itself is a measure of
brand loyalty in that it indicates the probability that the customer will
purchase the same brand in two successive periods. The transition
probabilities for a given state to each of the other states measure the
brand switching behaviors of the customer. Based on known or assumed
transition probabilities, a Markov process model can be used to answer
questions such as the following:
1.In the long run, what market share will each brand have?
2.If a new and/or improved brand enters the market, what impact can
be expected on the market share of each brand?
3.For a given group of customers, how many will purchase each brand
each time period?
Markov process models have also been developed for machine break
down behavior, estimating allowances for bad debt, and university
enrollment projections. In each instance it is assumed that (1) there are a
finite number of states, (2) the transition probabilities remain constant
over time, and (3) the probability of being in a particular state at any one
time period depends only on the state of the process during the preceding
time period.
13.1 OVERVIEW
The Markov processes module of The Management Scientist will analyze
problems with up to 10 states. Input to the program is the matrix of
91
transition probabilities for the states. The solution provides the steady-
state probabilities for the states.
In some applications it may not be possible to make a transition out of
one or more states once the state has been reached. Such states are
referred to as absorbing states. The Markov processes module will solve
problems for which the total number of absorbing and nonabsorbing
states is 10 or less. In applications with absorbing states, the solution
provides the probability that units currently in each of the nonabsorbing
states will eventually end up in each of the absorbing states.
What are the steady-state probabilities for the two grocery stores? If there
are 1,000 customers that make weekly shopping trips to one of the two
stores, how many customers can be expected to shop at each of the
stores?
As you can see, Murphy’s Foodliner (state 1) has the higher steady-
state probability. Thus, we conclude that in the long run, Murphy’s
92
Foodliner will have a 66.7% share of the market and Ashley’s Supermarket
will have the remaining 33.3% share of the market. With 1,000 weekly
customers, 667 should shop at Murphy’s and 333 should shop at Ashley’s.
Figure 13.2 Output for the Grocery Store Market Share Problem
93
13.4 AN EXAMPLE PROBLEM
WITH ABSORBING STATES
Heidman’s Department Stores has two aging categories for its accounts
receivable: (1) accounts that are classified as 0 to 30 days old and (2)
accounts that are classified as 31 to 90 days old. If any portion of an
account balance exceeds 90 days, that portion is written off as a bad
debt. The total account balance for each customer is placed in the age
category corresponding to the oldest unpaid amount; hence, this method
of aging accounts receivable is called the total balance method.
Let us assume that Heidman’s shows a total of $3,000 in its accounts
receivable and the firm’s management would like an estimate of how
much of the $3,000 will eventually be collected and how much will result
in bad debts.
To see how we can view the accounts receivable operation as a
Markov process, consider what happens to one dollar currently in accounts
receivable. As the firm continues to operate into the future, we can
consider each week as a trial of a Markov process with a dollar existing in
one of the following states of the system:
State Description
1 Paid category
94
2 Bad debt category
3 0 to 30 days age category
4 31 to 90 days age category
To State
From State 1 2 3 4
1 1.0 0.0 0.0 0.0
2 0.0 1.0 0.0 0.0
3 0.4 0.0 0.3 0.3
4 0.4 0.2 0.3 0.1
The fact that the transition probabilities from state 1 to state 1 and from
state 2 to state 2 are both 1 shows that these two states are absorbing
states. That is, once a dollar is paid (state 1) it is always paid. Similarly,
once a dollar is declared a bad debt (state 2), it remains a bad debt. This
leads us to conclude that all accounts receivable dollars will eventually be
absorbed into either the paid or the bad debt state, and hence the name
absorbing state.
Management of Heidman’s Department Stores would like to answer
the following questions:
The problem creation step for this problem is the same as that
described previously. No special input procedures are required to handle
the absorbing states. The output is shown in Figure 13.3. There is a .889
probability that the 0 to 30 day age category dollars will be paid and a
.741 probability that the 31 to 90 day age category dollars will be paid.
Thus, of the current $3,000 of account receivables, the amount paid is
projected to be .889($1,000) + .741($2,000) = $2,371. An allowance for
bad debt should be set up for $3,000 – $2,371 = $639.
95
96