Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The GANTT Procedure

Example 4.13: Plotting the Resource-Constrained Schedule

This example illustrates plotting the resource-constrained schedules on a Gantt chart. The schedule used is the one produced in Example 2.19 using the CPM procedure. The output data set from PROC CPM is displayed in Output 4.13.1. Notice that the activities 'Drawings' and 'Mkt. Strat.' have been split to produce a shorter project duration than if they had not been split.

PROC GANTT is invoked with all default options and an ID statement. The early/late schedule is drawn on the first bar, and the resource-constrained schedule is drawn on the second bar of each activity. The observations corresponding to the split segments of each activity have been combined to produce the plot of the resource-constrained schedule for that activity. Thus, even though the Schedule data set input to PROC GANTT contains 18 observations, the Gantt chart shows each of the 14 activities only once.

   title f=swiss 'Gantt Example 13';
   title2 f=swiss 'Resource Constrained Schedule';

   * plot the resource-constrained schedule using proc gantt;

   proc gantt data=spltschd holidata=holdata;
      chart / holiday=(hol) dur=days
              font=swiss pcompress;
      id task;
   run;

Output 4.13.1: Plotting the Resource-Constrained Schedule

Gantt Example 13
Project Schedule: Splitting Allowed

Obs Task succ SEGMT_NO days prodman hrdware S_START S_FINISH E_START E_FINISH L_START L_FINISH
1 Approve Plan Drawings . 5 1 . 02DEC91 06DEC91 02DEC91 06DEC91 02DEC91 06DEC91
2 Drawings Prototype . 10 . 1 09DEC91 24DEC91 09DEC91 20DEC91 09DEC91 20DEC91
3 Drawings Prototype 1 2 . 1 09DEC91 10DEC91 09DEC91 20DEC91 09DEC91 20DEC91
4 Drawings Prototype 2 8 . 1 13DEC91 24DEC91 09DEC91 20DEC91 09DEC91 20DEC91
5 Anal. Market Mkt. Strat. . 5 . . 09DEC91 13DEC91 09DEC91 13DEC91 22JAN92 28JAN92
6 Write Specs Prototype . 5 . . 09DEC91 13DEC91 09DEC91 13DEC91 16DEC91 20DEC91
7 Prototype Materials . 15 1 . 26DEC91 16JAN92 23DEC91 14JAN92 23DEC91 14JAN92
8 Mkt. Strat. Test Market . 10 1 . 16DEC91 21JAN92 16DEC91 30DEC91 29JAN92 11FEB92
9 Mkt. Strat. Test Market 1 7 1 . 16DEC91 24DEC91 16DEC91 30DEC91 29JAN92 11FEB92
10 Mkt. Strat. Test Market 2 3 1 . 17JAN92 21JAN92 16DEC91 30DEC91 29JAN92 11FEB92
11 Materials Init. Prod. . 10 . . 17JAN92 30JAN92 15JAN92 28JAN92 15JAN92 28JAN92
12 Facility Init. Prod. . 10 . . 17JAN92 30JAN92 15JAN92 28JAN92 15JAN92 28JAN92
13 Init. Prod. Test Market . 10 1 . 31JAN92 13FEB92 29JAN92 11FEB92 29JAN92 11FEB92
14 Evaluate Changes . 10 1 . 14FEB92 27FEB92 12FEB92 25FEB92 19FEB92 03MAR92
15 Test Market Changes . 15 . . 14FEB92 05MAR92 12FEB92 03MAR92 12FEB92 03MAR92
16 Changes Production . 5 . . 06MAR92 12MAR92 04MAR92 10MAR92 04MAR92 10MAR92
17 Production   . 0 1 . 13MAR92 13MAR92 11MAR92 11MAR92 11MAR92 11MAR92
18 Marketing   . 0 . . 14FEB92 14FEB92 12FEB92 12FEB92 11MAR92 11MAR92

Output 4.13.2: Plotting the Resource-Constrained Schedule
ga13.gif (4600 bytes)

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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