schedule.pert {ProjectManagement}R Documentation

Schedule for deterministic projects

Description

This function calculates the duration of the project, the slacks for each activity, as well as the schedule of each activity.

Usage

schedule.pert(
  duration,
  prec1and2 = matrix(0),
  prec3and4 = matrix(0),
  PRINT = TRUE
)

Arguments

duration

Vector with the duration for each activity.

prec1and2

A matrix indicating the order of precedence type 1 and 2 between the activities (Default=matrix(0)). If value (i,j)=1(i,j)=1 then activity ii precedes type 11 to jj, and if (i,j)=2(i,j)=2 then activity ii precedes type 22 to jj. Cycles cannot exist in a project, i.e. if an activity ii precedes jj then jj cannot precede ii.

prec3and4

A matrix indicating the order of precedence type 3 and 4 between the activities (Default=matrix(0)). If value (i,j)=3(i,j)=3 then activity ii precedes type 33 to jj, and if (i,j)=4(i,j)=4 then activity ii precedes type 44 to jj. Cycles cannot exist in a project, i.e. if an activity ii precedes jj then jj cannot precede ii.

PRINT

Logical indicator to show the schedule represented in a graph (Default=TRUE)

Value

A list of a project schedule and if PRINT=TRUE a plot of schedule.

References

burk

Burke, R. (2013). Project management: planning and control techniques. New Jersey, USA.

Examples

prec1and2<-matrix(c(0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0),nrow=5,ncol=5,byrow=TRUE)
duration<-c(3,2,1,1.5,4.2)
schedule.pert(duration,prec1and2)

[Package ProjectManagement version 1.5.2 Index]