A matrix indicating the order of precedence type 1 and 2 between the activities (Default=matrix(0)). If value \((i,j)=1\) then activity \(i\) precedes type \(1\) to \(j\), and if \((i,j)=2\) then activity \(i\) precedes type \(2\) to \(j\). Cycles cannot exist in a project, i.e. if an activity \(i\) precedes \(j\) then \(j\) cannot precede \(i\).
prec3and4
A matrix indicating the order of precedence type 3 and 4 between the activities (Default=matrix(0)). If value \((i,j)=3\) then activity \(i\) precedes type \(3\) to \(j\), and if \((i,j)=4\) then activity \(i\) precedes type \(4\) to \(j\). Cycles cannot exist in a project, i.e. if an activity \(i\) precedes \(j\) then \(j\) cannot precede \(i\).
Details
There are four types of precedence between two activities \(i,j\):
Type 1: the activity \(j\) cannot start until activity \(i\) has finished.
Type 2: the activity \(j\) cannot start until activity \(i\) has started.
Type 3: the activity \(j\) cannot end until activity \(i\) has ended.
Type 4: the activity \(j\) cannot end until activity \(i\) has started.
All these precedences can be written only as type 1. It should be noted that precedence type 1 implies type 2, and type 2 implies type 4. On the other hand, precedence type 1 implies type 3, and type 3 implies type 4.