resource.allocation {ProjectManagement} | R Documentation |
Project resource allocation
Description
This function calculates the project schedule so that resource consumption does not exceed the maximum available per time period..
Usage
resource.allocation(
duration,
prec1and2,
prec3and4 = matrix(0),
resources,
max.resources,
int = 1
)
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 |
prec3and4 |
A matrix indicating the order of precedence type 3 and 4 between the activities (Default=matrix(0)). If value |
resources |
Vector indicating the necessary resources for each activity per period of time. |
max.resources |
Numerical value indicating the maximum number of resources that can be used in each period. |
int |
Numerical value indicating the duration of each period of time (Default=1). |
Details
The problem of resource allocation takes into account that in order for activities to be carried out in the estimated time, a certain level of resources must be used. The problem is that the level of resources available in each period is limited. The aim is to obtain the minimum time and a schedule for the execution of the project taking into account this new restriction.
Value
A solution matrices.
References
- hega
Hegazy, T. (1999). Optimization of resource allocation and leveling using genetic algorithms. Journal of construction engineering and management, 125(3), 167-175.
Examples
duration<-c(3,4,2,1)
prec1and2<-matrix(c(0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0),nrow=4,ncol=4,byrow=TRUE)
resources<-c(4,1,3,3)
max.resources<-4
resource.allocation(duration,prec1and2,prec3and4=matrix(0),resources,max.resources,int=1)