The CPM Procedure

Example 4.3 Meeting Project Deadlines

This example illustrates the use of the project finish date (using the FBDATE= option) to specify a deadline on the project. In the following program it is assumed that the project data are saved in the data set WIDGAOA. PROC CPM is first invoked with the FBDATE= option. Output 4.3.1 shows the resulting schedule. The entire schedule is shifted in time (as compared to the schedule in Output 4.2.2) so that the end of the project is on March 1, 2004. The second part of the program specifies a project start date in addition to the project finish date using both the DATE= and FBDATE= options. The schedule displayed in Output 4.3.2 shows that all of the activities have a larger float than before due to the imposition of a less stringent target date.

proc cpm data=widgaoa
         fbdate='1mar04'd interval=day;
   tailnode tail;
   headnode head;
   duration days;
   id task;
   run;

proc sort;
   by e_start;
   run;

title 'Meeting Project Deadlines';
title2 'Specification of Project Finish Date';
proc print;
   id task;
   var e_: l_: t_float f_float;
   run;

proc cpm data=widgaoa
         fbdate='1mar04'd
         date='1dec03'd interval=day;
   tailnode tail;
   headnode head;
   duration days;
   id task;
   run;

proc sort;
   by e_start;
   run;

title2 'Specifying Project Start and Completion Dates';
proc print;
   id task;
   var e_: l_: t_float f_float;
   run;

Output 4.3.1: Meeting Project Deadlines: FBDATE= Option

Meeting Project Deadlines
Specification of Project Finish Date

task E_START E_FINISH L_START L_FINISH T_FLOAT F_FLOAT
Approve Plan 22DEC03 26DEC03 22DEC03 26DEC03 0 0
Drawings 27DEC03 05JAN04 27DEC03 05JAN04 0 0
Study Market 27DEC03 31DEC03 26JAN04 30JAN04 30 0
Write Specs 27DEC03 31DEC03 01JAN04 05JAN04 5 5
Mkt. Strat. 01JAN04 10JAN04 31JAN04 09FEB04 30 30
Prototype 06JAN04 20JAN04 06JAN04 20JAN04 0 0
Materials 21JAN04 30JAN04 21JAN04 30JAN04 0 0
Facility 21JAN04 30JAN04 21JAN04 30JAN04 0 0
Init. Prod. 31JAN04 09FEB04 31JAN04 09FEB04 0 0
Evaluate 10FEB04 19FEB04 15FEB04 24FEB04 5 5
Test Market 10FEB04 24FEB04 10FEB04 24FEB04 0 0
Marketing 10FEB04 10FEB04 01MAR04 01MAR04 20 20
Dummy 10FEB04 10FEB04 10FEB04 10FEB04 0 0
Changes 25FEB04 29FEB04 25FEB04 29FEB04 0 0
Production 01MAR04 01MAR04 01MAR04 01MAR04 0 0



Output 4.3.2: Meeting Project Deadlines: DATE= and FBDATE= Options

Meeting Project Deadlines
Specifying Project Start and Completion Dates

task E_START E_FINISH L_START L_FINISH T_FLOAT F_FLOAT
Approve Plan 01DEC03 05DEC03 22DEC03 26DEC03 21 0
Drawings 06DEC03 15DEC03 27DEC03 05JAN04 21 0
Study Market 06DEC03 10DEC03 26JAN04 30JAN04 51 0
Write Specs 06DEC03 10DEC03 01JAN04 05JAN04 26 5
Mkt. Strat. 11DEC03 20DEC03 31JAN04 09FEB04 51 30
Prototype 16DEC03 30DEC03 06JAN04 20JAN04 21 0
Materials 31DEC03 09JAN04 21JAN04 30JAN04 21 0
Facility 31DEC03 09JAN04 21JAN04 30JAN04 21 0
Init. Prod. 10JAN04 19JAN04 31JAN04 09FEB04 21 0
Evaluate 20JAN04 29JAN04 15FEB04 24FEB04 26 5
Test Market 20JAN04 03FEB04 10FEB04 24FEB04 21 0
Marketing 20JAN04 20JAN04 01MAR04 01MAR04 41 41
Dummy 20JAN04 20JAN04 10FEB04 10FEB04 21 0
Changes 04FEB04 08FEB04 25FEB04 29FEB04 21 0
Production 09FEB04 09FEB04 01MAR04 01MAR04 21 21