cpm.all.schedule: Generates all possible schedules for a cpm network

cpm.all.scheduleR Documentation

Generates all possible schedules for a cpm network

Description

Generates all possible schedules for a cpm network

Usage

cpm.all.schedule(cpm)

Arguments

cpm

CPM vector with Early Start Time, Early Finish Time, Late Start Time and Late Finish Time.

Value

Matrix with all mininum makespan (the time to complete all jobs) cpm start time schedules

See Also

Other scheduling: cpm(), mmf.all.sequences(), mmf.get.breakeven(), mmf.get.selffunding(), mmf.npv()

Examples

#Use critical.path.method function to calculate a set of project
#activities:

ex.cpm.activities.duration <- c(1,4,5,7,2,3,1)
ex.cpm.activities.successors <- list(c(2,3), 4, c(4,5), 6, 7, 7, c(0))
ex.cpm <- cpm(ex.cpm.activities.duration,
              ex.cpm.activities.successors)

# Now, we have the CPM vector with:
# - est (Early Start Time)  - ex.cpm["est"]
# - eft (Early Finish Time) - ex.cpm["eft"]
# - lst (Late Start Time)   - ex.cpm["lst"]
# - lft (Late Finish Time)  - ex.cpm["lft"]

ex.cpm.activities.schedule <-
   cpm.all.schedule(ex.cpm)


antoanne/ifmFramework documentation built on Aug. 5, 2023, 6:03 p.m.