Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The CPM Procedure

Example 2.3: Auxiliary Resources and Alternate Resources

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.3.1. Unlike the earlier examples, all the activities are of fixed-duration.

Output 2.3.1: Auxiliary Resources: Input Data Sets
 
Software Development
Alternate and Auxiliary Resources
Activity Data Set

Obs Activity dur act s1 s2 progrmr chris john Tester1 Tester2
1 Plans & Reqts 2 1 2 3 1 . . . .
2 Product Design 3 2 4 5 1 . . . .
3 Test Plan 3 3 6 7 . . . . .
4 Documentation 3 4 9 . 1 . . . .
5 Code 10 5 8 . 1 . . . .
6 Test Data 5 6 8 . . . . . .
7 Test Routines 5 7 8 . . . . . .
8 Test Product 6 8 9 . 1 . . . .
9 Finish 0 9 . . . . . . .

 


 
Software Development
Alternate and Auxiliary Resources
Resource Data Set

Obs per otype resid progrmr Chris John Tester1 Tester2
1 . altrate progrmr . 1 1 . .
2 . auxres Chris . . . 0.5 .
3 . auxres John . . . . 0.5
4 11APR00 reslevel   . 1 1 1.0 1.0

The following statements invoke PROC CPM with the appropriate data sets and resource variables. The resulting schedule is printed in Output 2.3.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='11apr00'd interval=weekday resout=raux;
      act act;
      succ s1 s2;
      dur dur;
      res progrmr Chris John Tester1 Tester2 / 
                             obstype=otype
                             period=per resid=resid
                             multalt rschedid=Activity;
      id Activity;
      run;

Output 2.3.2: Auxiliary Resources: Resource Schedule Data Set
 
Software Development: Alternate and Auxiliary Resources
Resource Schedule Data Set

Activity act RESOURCE DUR_TYPE dur _WORK_ R_RATE S_START S_FINISH E_START E_FINISH L_START L_FINISH
Plans & Reqts 1     2 . . 11APR00 12APR00 11APR00 12APR00 11APR00 12APR00
Plans & Reqts 1 progrmr FIXED 2 . 1.0 . . 11APR00 12APR00 11APR00 12APR00
Plans & Reqts 1 Tester1 FIXED 2 . 0.5 11APR00 12APR00 . . . .
Plans & Reqts 1 chris FIXED 2 . 1.0 11APR00 12APR00 . . . .
Product Design 2     3 . . 13APR00 17APR00 13APR00 17APR00 13APR00 17APR00
Product Design 2 progrmr FIXED 3 . 1.0 . . 13APR00 17APR00 13APR00 17APR00
Product Design 2 Tester1 FIXED 3 . 0.5 13APR00 17APR00 . . . .
Product Design 2 chris FIXED 3 . 1.0 13APR00 17APR00 . . . .
Test Plan 3     3 . . 13APR00 17APR00 13APR00 17APR00 20APR00 24APR00
Documentation 4     3 . . 18APR00 20APR00 18APR00 20APR00 05MAY00 09MAY00
Documentation 4 progrmr FIXED 3 . 1.0 . . 18APR00 20APR00 05MAY00 09MAY00
Documentation 4 Tester2 FIXED 3 . 0.5 18APR00 20APR00 . . . .
Documentation 4 john FIXED 3 . 1.0 18APR00 20APR00 . . . .
Code 5     10 . . 18APR00 01MAY00 18APR00 01MAY00 18APR00 01MAY00
Code 5 progrmr FIXED 10 . 1.0 . . 18APR00 01MAY00 18APR00 01MAY00
Code 5 Tester1 FIXED 10 . 0.5 18APR00 01MAY00 . . . .
Code 5 chris FIXED 10 . 1.0 18APR00 01MAY00 . . . .
Test Data 6     5 . . 18APR00 24APR00 18APR00 24APR00 25APR00 01MAY00
Test Routines 7     5 . . 18APR00 24APR00 18APR00 24APR00 25APR00 01MAY00
Test Product 8     6 . . 02MAY00 09MAY00 02MAY00 09MAY00 02MAY00 09MAY00
Test Product 8 progrmr FIXED 6 . 1.0 . . 02MAY00 09MAY00 02MAY00 09MAY00
Test Product 8 Tester1 FIXED 6 . 0.5 02MAY00 09MAY00 . . . .
Test Product 8 chris FIXED 6 . 1.0 02MAY00 09MAY00 . . . .
Finish 9     0 . . 10MAY00 10MAY00 10MAY00 10MAY00 10MAY00 10MAY00

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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