The CPM Procedure |
This example illustrates the use of activity splitting to help reduce project duration. By default, PROC CPM assumes that an activity cannot be interrupted once it is started (except for holidays and weekends). During resource-constrained scheduling, it is possible for a noncritical activity to be scheduled first, and at a later time a critical activity may be held waiting for a resource to be freed by this less critical activity. In such situations, you way want to allow noncritical activities to be preempted by critical ones. PROC CPM enables you to specify, selectively, the activities that can be split into segments, the minimum length of each segment, and the maximum number of segments per activity.
The data set WIDGR19, displayed in Output 2.19.1, contains the widget network in AON format with two resources: prodman and hrdware. Suppose the production manager is required to oversee certain activities, as indicated by a '1' in the prodman column. hrdware denotes some piece of equipment that is required by the activity 'Drawings' (perhaps a plotter to produce the engineering drawings). The variable minseg denotes the minimum length of the split segments for each activity. Missing values for this variable are set to default values (one-fifth of the activity's duration). The Resource data set WIDGRIN, displayed in Output 2.19.2, indicates that both resources are replenishable, there is one production manager available from December 1, and the hardware is unavailable on the 10th and 11th of December (perhaps it is scheduled for maintenance or has been reserved for some other project).
Output 2.19.1: Activity Splitting: Activity Data SetThe project is first scheduled without allowing any of the activities to be split. The Schedule data set SCHED, displayed in Output 2.19.3, indicates that the project has been delayed by one week (five working days, since maximum S_FINISH = '17MAR04' while maximum E_FINISH = '10MAR04'). The activity 'Drawings' has been postponed to start after the equipment has been serviced (or used by the other project), and the activity 'Prototype' (which is actually a critical activity) cannot start on schedule because the production manager is tied up with the noncritical activity 'Mkt. Strat.'.
proc cpm date='01dec03'd data=widgr19 resin=widgrin holidata=holdata out=sched resout=rout interval=weekday collapse; activity task; duration days; successor succ; holiday hol; resource prodman hrdware / period=per obstype=otype t_float f_float rcs avl; run;Output 2.19.3: Project Schedule: Splitting Not Allowed
|
In the second invocation of PROC CPM, the MINSEGMTDUR= option is used in the RESOURCE statement to identify the variable minseg to the procedure. This enables the algorithm to split the 'Drawings' activity so that some of it is done before December 10, 2003, and the rest is scheduled to start on December 12, 2003. Likewise, the production manager is allocated to the activity 'Mkt. Strat.' on December 15, 2003. On the 24th of December the activity 'Prototype' demands the production manager, and since preemption is allowed, the earlier activity 'Mkt. Strat.', which is less critical than 'Prototype', is temporarily halted and is resumed on the 16th of January after the completion of 'Prototype' on the 15th of January. The Schedule data set, displayed in Output 2.19.4, contains separate observations for each segment of the split activities as indicated by the variable SEGMT_NO. The project duration has been reduced by three working days, by allowing appropriate activities to be split.
proc cpm date='01dec03'd data=widgr19 holidata=holdata resin=widgrin out=spltschd resout=spltrout interval=weekday collapse; activity task; duration days; successor succ; holiday hol; resource prodman hrdware / period=per obstype=otype minsegmtdur=minseg rcs avl; id task; run;Output 2.19.4: Project Schedule: Splitting Allowed
|
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.