| The CPM Procedure |
This example illustrates the use of Auxiliary resources. In the earlier examples, the use of alternate resources enabled the allocation of either John or Chris to the programming tasks. Now, suppose that each of the programmers has a different tester, and whenever a particular programmer is scheduled for a given task, his tester also needs to allocate some part of his or her time, say 50 percent, to the same task. To model such a scenario, specify Tester1 and Tester2 as auxiliary resources for Chris and John, respectively. The Activity and Resource data sets are printed in Output 2.27.1. Unlike the earlier examples, all the activities are of fixed-duration.
Output 2.27.1: Auxiliary Resources: Input Data SetsThe following statements invoke PROC CPM with the appropriate data sets and resource variables. The resulting schedule is printed in Output 2.27.2. Note the auxiliary resources that have been included in the schedule corresponding to each primary resource: Tester1 whenever Chris is used, and Tester2 whenever John is allocated.
proc cpm data=softaux out=sftaux rsched=rsftaux resin=resaux
date='12apr04'd interval=weekday resout=raux;
act act;
succ s1 s2;
dur dur;
res Programmer Chris John Tester1 Tester2 /
obstype=otype
period=per resid=resid
multalt rschedid=Activity;
id Activity;
run;
Output 2.27.2: Auxiliary Resources: Resource Schedule Data Set
|
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.