Chapter Contents
Chapter Contents
The CPM Procedure


This section contains examples that illustrate several features of the CPM procedure. Most of the available options are used in at least one example. Two tables, Table 2.28 and Table 2.29, at the end of this section list all the examples in this chapter and the options and statements in the CPM procedure that are illustrated by each example.

A simple project concerning the manufacture of a widget is used in most of the examples in this section. Example 2.22 deals with a nonstandard application of PROC CPM and illustrates the richness of the modeling environment that is available with the SAS System. The last two examples use different projects to illustrate resource-driven durations and multiproject scheduling.

There are 14 activities in the widget manufacturing project. Example 2.1 and Example 2.2 illustrate a basic project network that is built upon by succeeding examples. The tasks in the project can be classified by the division or department that is responsible for them.

Table 2.26 lists the detailed names (and corresponding abbreviations) of all the activities in the project and the department that is responsible for each one.

Table 2.26: Widget Manufacture: Activity List
Task Department Activity Description
Approve PlanPlanningFinalize and Approve Plan
DrawingsEngineeringPrepare Drawings
Anal. MarketMarketingAnalyze Potential Markets
Write SpecsEngineeringWrite Specifications
PrototypeEngineeringBuild Prototype
Mkt. Strat.MarketingDevelop Marketing Concept
MaterialsManufacturingProcure Raw Materials
FacilityManufacturingPrepare Manufacturing Facility
Init. Prod.ManufacturingInitial Production Run
EvaluateTestingEvaluate Product In-House
Test MarketTestingMail Product to Sample Market
ChangesEngineeringEngineering Changes
ProductionManufacturingBegin Full Scale Production
MarketingMarketingBegin Full Scale Marketing

Table 2.27: Widget Manufacture: Precedence Information
Task Dur Successor Successor Successor
Approve Plan10DrawingsAnal. MarketWrite Specs
Anal. Market10Mkt. Strat.  
Write Specs15Prototype  
Mkt. Strat.25Test MarketMarketing 
Materials60Init. Prod.  
Facility45Init. Prod.  
Init. Prod.30Test MarketMarketingEvaluate
Test Market30Changes  

As in any typical project, some of these activities must be completed before others. For example, the activity `Approve Plan' must be done before any of the activities `Drawings' and `Anal. Market' and `Write Specs' can start. Table 2.27 summarizes the relationships among the tasks and gives the duration in days to complete each task. This table shows the relationship among tasks by listing the immediate successors to each task.

The relationship among the tasks can be represented by the network in Figure 2.6. The diagram was produced by the NETDRAW procedure. The code used is the same as in Example 5.11 in Chapter 5, "The NETDRAW Procedure" (except for the colors, which may be different).

Example 2.1: Activity-on-Node Representation

Example 2.2: Activity-on-Arc Representation

Example 2.3: Meeting Project Deadlines

Example 2.4: Displaying the Schedule on a Calendar

Example 2.5: Precedence Gantt Chart

Example 2.6: Changing Duration Units

Example 2.7: Controlling the Project Calendar

Example 2.8: Scheduling around Holidays

Example 2.9: CALEDATA and WORKDATA data sets

Example 2.10: Multiple Calendars

Example 2.11: Nonstandard Relationships

Example 2.12: Activity Time Constraints

Example 2.13: Progress Update and Target Schedules

Example 2.14: Summarizing Resource Utilization

Example 2.15: Resource Allocation

Example 2.16: Using Supplementary Resources

Example 2.17: Use of the INFEASDIAGNOSTIC Option

Example 2.18: Variable Activity Delay

Example 2.19: Activity Splitting

Example 2.20: Alternate Resources

Example 2.21: PERT Assumptions and Calculations

Example 2.22: Scheduling Course - Teacher Combinations

Example 2.23: Resource Driven Durations and Resource Calendars

Example 2.24: Multiproject Scheduling

Statement and Option Cross-Reference Tables

Chapter Contents
Chapter Contents

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.