47
Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions Project Scheduling Under Generalized Precedence Relations A Survey of Structural Issues, Solution Approaches, and Applications Christoph Schwindt Operations Management Group 14th International Conference on Project Management and Scheduling, Munich Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1

Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Project Scheduling

Under Generalized Precedence RelationsA Survey of Structural Issues, Solution Approaches, and Applications

Christoph Schwindt

Operations Management Group

14th International Conference onProject Management and Scheduling, Munich

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 1

Page 2: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Outline

1 IntroductionPrecedence relationsResource constraintsObjective functionsProject scheduling problems with generalized precedence relations

2 Temporal analysis

3 Structural issuesCharacterization of the feasible regionEfficient solutionsGeneric solution approaches

4 Solution approaches for the project duration problem

5 ExpansionsMulti-mode problemPreemptive problem

6 Applications

7 Conclusions

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 2

Page 3: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Project scheduling problem

Consider project with n activities i ∈ V of durations pi ∈ Z≥0

Project scheduling problem: assign execution times to each activity i

yi : R≥0 → {0, 1} such that∫∞

0yi(t) dt = pi

Non-preemptive problem: activities cannot be interrupted

→ Solution to scheduling problem specified by start times Si orcompletion times Ci = Si + pi of all activities i ∈ V

Preemptive scheduling problem: activities can be interrupted andresumed later on

→ Solution to scheduling problem specified by trajectories

zi : R≥0 → [0, 1], t 7→ zi(t) =1pi

∫ t

0yi (t) dt

for all activities i ∈ V

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 3

Page 4: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Precedence relations and resource constraints

Activities have to be scheduled subject to precedence relations andresource constraints so as to optimize one or several measures ofproject performance

Precedence relations: elements (i , j) of binary relation E ⊆ V × V

on activity set V defining conditions on execution times ofactivities i and j

Pairs (i , j) may be associated by some extra data like time lags δijor execution percentages ξi and ξj

Resource constraints: limited availability of manpower, machinery,materials, money, energy supply, . . .

Scheduling goals formulated as objective function(s) in decisionvariables Si , Ci or functions yi , zi

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 4

Page 5: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Types of precedence relations

1 Ordinary precedence relations (Kelley 1961)

(i , j) : Sj ≥ Ci

2 Generalized precedence relations (Roy 1964)

(i , j , δij) : Sj ≥ Si + δij

3 Feeding precedence relations (Kis 2005, Alfieri et al. 2011)

(i , j , ξi ) : Sj ≥ min{t | zi (t) = ξi}

4 Generalized work precedence relations (Quintanilla et al. 2012)

(i , j , ξi , ξj) : max{t | zj(t) = ξj} ≥ min{t | zi (t) = ξi}

5 Generalized feeding precedence relations (S. and Paetz 2014)

(i , j , ξi , ξj , δij) : max{t | zj(t) = ξj}︸ ︷︷ ︸t+j(ξj )

≥ min{t | zi(t) = ξi}︸ ︷︷ ︸t−

i(ξi )

+δij

1

2 3

4

5

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 5

Page 6: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Example

Generalized feeding precedence relation (i , j , 0.25, 0.4, 3)

0

0.25

0.50

0.75

1.00

0 1 2 3 4 5 6 7

t

zi (t), zj (t)

t−i(0.25)

t+j (0.4)

δij = 3

0 1 2 3 4 5 6 7

t

1

2

i i

j j

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 6

Page 7: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Resource constraints

Different types of resources considered in project scheduling:renewable, nonrenewable, doubly-constrained, storage, partiallyrenewable, continuous resources

In this talk: renewable resources k from a set R

Each resource k ∈ R consists of Rk ∈ N identical units(capacity)Each activity uses rik ∈ Z≥0 units when being in progress

Resource constraints: joint requirements of activities i for resourcesmust not exceed the resource capacities at any point in time

i∈V

rikyi (t) ≤ Rk (k ∈ R; t ≥ 0)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 7

Page 8: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Objective functions

Scheduling goals specified by single or several objective functions f

In this talk: single-criterion problems

Regular objective function

C ≤ C ′ ⇒ f (C ) ≤ f (C ′)

Project duration f (C ) = maxi∈V Ci

Total tardiness cost f (C ) =∑

i∈V wi(Ci − di)+

Nonregular objective functions

Net present value f (C ) =∑

i∈V cFi βCi

Total squared utilization cost (resource leveling)

f (y) =∑

k∈R ck∫∞

0

(∑i∈V rikyi (t)

)2dt

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 8

Page 9: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Precedence relations Resource constraints Objective functions Project scheduling problems

Resource-constrained project scheduling problem

General project scheduling problem with generalized (feeding)precedence relations and renewable-resource constraints

(P)

Min. f (y)

s. t.∫

0yi (t) dt = pi (i ∈ V )

t+j (ξj) ≥ t−j (ξi) + δij ((i , j) ∈ E)∑

i∈Vrikyi (t) ≤ Rk (k ∈ R; t ≥ 0)

Non-preemptive version with A(S , t) := {i ∈ V | Si ≤ t < Si + pi}

(P)

Min. f (S)

s. t. Sj ≥ Si + δij ((i , j) ∈ E)∑

i∈A(S,t) rik ≤ Rk (k ∈ R; t ≥ 0)

Si ≥ 0 (i ∈ V )

Set of feasible schedules: S, set of time-feasible schedules: ST

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 9

Page 10: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Time-constrained project scheduling problem

(PT )

Min. f (S)

s. t. Sj ≥ Si + δij ((i , j) ∈ E )

Si ≥ 0 (i ∈ V )

Generalized precedence relations (i , j , δij) represent minimum andmaximum time lags between starts of activities i and j

δij = pi : ordinary precedence relation Sj ≥ Si + pi = Ci

δij > pi : delayed precedence relation Sj ≥ Ci + (δij − pi )

0 ≤ δij < pi : minimum time lag allowing overlapping of i and j

δij < 0: maximum time lag of −δij between starts of j and i

Sj ≥ Si + δij ⇔ Si ≤ Sj − δij

Completion-to-start, completion-to-completion, and start-to-completiontime lags can be transformed into start-to-start time lags

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 10

Page 11: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

MPM (activity-on-node) project network (Roy 1964)

Generalized precedence relations represented by MPM networkN = (V ,E , δ)

Activities correspond to nodes, precedence relations to arcs

Introduce nodes 0 and n + 1 for project beginning and termination

Nonnegativity conditions Si ≥ 0 can be replaced by S0 = 0

Example: MPM network for project with four real activities

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 11

Page 12: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Modeling practical constraints

Release date ri of activity i : δ0i = ri

Quarantine time qi of activity i : δi(n+1) = pi + qi

Deadline d i for completion of activity i : δi0 = −d i + pi

Fixed start time ti for activity i : δ0i = ti , δi0 = −ti

Simultaneous start of activities i and j : δij = δji = 0

Simultaneous completion of activities i and j : δij = pi − pj , δji = pj − pi

Processing activities i , j immediately one after another: δij = pi , δji = −pi

Minimum overlapping time ℓij of i and j : δij = ℓij − pi , δji = ℓij − pj

Maximum makespan CUmax for activity set U: δij = −CU

max + pi for i , j ∈ U

Time-varying resource capacities: dummy activities with fixed start times

Time-varying resource requirements: sequence of sub-activities pulledtight

. . .

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 12

Page 13: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Temporal analysis with MPM

MPM: Metra Potential Method

Interpret project network as electric circuit

Potential: assignment S : V → R≥0

Tensions: differences Sj − Si of potentials

Generalized precedence relations: lower bounds δij on tensions Sj − Si

Dual (D) of problem (PT ) with f (S) =∑

i∈V\{0} Si − (n + 1)S0

(D)

Max.∑

(i ,j)∈E δij · ϕij

s. t.∑

(i ,j)∈E ϕij −∑

(j,i)∈E ϕji =

{−1 for i ∈ V \ {0}

(n + 1) for i = 0

ϕij ≥ 0 ((i , j) ∈ E )

is longest-walk problem in N

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 13

Page 14: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Temporal analysis with MPM

Fundamentals

ST 6= ∅ iff N does not contain any cycle of positive length

Induced time lag dij := minS∈ST(Sj − Si ) = length of longest walk

from i to j in N (“distance”)

Earliest start time ESi = d0i , latest start time LSi = −di0

Algorithms and complexities (with m := |E |)

ST 6= ∅ and single time lag dij : transformation of Bianco andCaramia (2010) to unit-capacity transshipment problem, O(m)

All time lags (distance matrix D = (dij)i ,j∈V ):Floyd-Warshall-Algorithm, O(n3)

Update of distance matrix after increase of single dij : Algorithm ofBartusch et al. (1988), O(n2)

Earliest and latest schedules ES and LS : label-correcting algorithmfor longest-walk calculations, O(mn)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 14

Page 15: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Resource-constrained problem (P): Complexity and decomposition

Problem (P) is NP-hard

The feasibility variant of problem (P) is NP-complete

Decomposition theorem (Neumann and Zhan 1995)

An instance of problem (P) is feasible if and only if for each strongcomponent G of project network N there exists a feasible subschedule forthe execution of all activities of G .

Classical schedule-generation schemesmust be modified to avoid or to copewith deadlocks

Decomposition theorem is basis ofheuristic decomposition methods

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 15

Page 16: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Example

Precedence graph

0

1 2

3 4

5

6

Assume R = 3 and schedule activities with serial schedule-generation scheme

Deadlock for activity i = 2 after three iterations

Conclusion: start times of activities cannot be fixed during scheduling

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 16

Page 17: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Bartusch’s Lemma

Forbidden set F ⊆ V :∑

i∈F rik > Rk for some k ∈ R

Forbidden set F broken up by schedule S : A(S , t) 6⊇ F for all t ≥ 0

Lemma (Bartusch et al. 1988)

1 An ⊆-minimal forbidden set F is broken up by schedule S iff F

contains two activities i , j with Sj ≥ Si + pi .

2 Schedule S is resource-feasible iff all ⊆-minimal forbidden sets F arebroken up.

Consequences:

Resource constraints can be expressed as disjunctions of ordinaryprecedence relations (i , j)

Feasible region is union of finitely many relation polyhedra

ST (ρ) = {S ∈ ST | Sj ≥ Si + pi for all (i , j) ∈ ρ}

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 17

Page 18: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Covering of S by relation polyhedra

Capacity R = 2

F1 = {1, 2, 3},F2 = {1, 2, 4}

1) 3 → 1, 1 → 42) 3 → 1, 2 → 43) 3 → 1, 4 → 14) 3 → 1, 4 → 25) 3 → 2, 1 → 46) 3 → 2, 2 → 4

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 18

Page 19: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Feasible relations (S. 2005)

Definition: Feasible relation

Relation ρ with ∅ 6= ST (ρ) ⊆ S is called feasible relation.

Condition ST (ρ) 6= ∅: ordinary precedence relations (i , j) ∈ ρ arecompatible with generalized precedence relations (i ′, j ′) ∈ E

Condition ST (ρ) ⊆ S: all schedules S satisfying the ordinaryprecedence relations (i , j) ∈ ρ are resource-feasible

Induced strict order, schedule-induced order, iso-order set

Relation network N(ρ) = (V ,E ∪ ρ, δ) with δij = pi for (i , j) ∈ ρ

Distance matrix D(ρ) associated with network N(ρ)

Relation ρ induces strict order Θ(ρ) := {(i , j) | dij(ρ) ≥ pi}

Schedule S induces strict order θ(S) := {(i , j) | Sj ≥ Si + pi}

Iso-order set S=T (θ) := {S ∈ ST | θ(S) = θ}

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 19

Page 20: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Example

Relation network for ρ = {(3, 2), (4, 2), (5, 1)} and strict order Θ(ρ)

0

1 2

3 4

5

6

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 20

Page 21: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Checking feasibility of relations (Kaerkes and Leipholz 1977)

1 ST 6= ∅ iff N(ρ) does not contain any cycle of positive length

2 ST (ρ) ⊆ S:

For each resource k weight activities i ∈ V with rikCondition is satisfied iff for each resource k , weight of anyantichain Ak(ρ) of Θ(ρ) does not exceed Rk

Maximum-weight antichain can be computed in O(n3) time bysolving maximum-cut problem in precedence graph of Θ(ρ)

Example: Maximum-weight antichain for ρ = {(3, 2), (4, 2), (5, 1)}

0

1

1

2

2

2

2

3

3 4

5

6

Weight nodes withrequirements rik

Determine maximum0− (n + 1)-cut

Here: A(ρ) = {4, 5}

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 21

Page 22: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Schedule types (Neumann et al. 2000)

Active schedules: Minimal points of S

Stable schedules: Extreme points of S

Pseudostable schedules: Local extreme points of S

Quasiactive schedules: Minimal points of relation polyhedra

Quasistable schedules: Vertices of relation polyhedra

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 22

Page 23: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Classes of objective functions and efficient solutions

Regular functions → project duration Sn+1

Linear(-izable) functions f (S)

→ subset makespan maxi∈U(Si + pi )−mini∈U Si

Binary monotonic functions: monotonicity in binary directions s ∈ {0, 1}n

→ net present value∑

i∈V cFi βSi+pi

Locally regular functions: f regular on iso-order sets S=T

→ total resource availability cost∑

k∈R ck maxt≥0 rk (S , t)

Locally concave functions: f concave on iso-order sets S=T

→ total squared utilization cost∑

k∈R ck∫∞

0r2k (S , t) dt

Objective function Efficient solutions Verification

Regular Active schedules NP-completeLinear Stable schedules NP-completeBinary monotonic Pseudostable schedules NP-completeLocally regular Quasiactive schedules polynomialLocally concave Quasistable schedules polynomial

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 23

Page 24: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Generic solution approaches

Regular, linear, and binary-monotonic objective functions

Time-constrained scheduling problem (PT ) efficiently solvable

longest-walk calculationslinear programmingrecursive algorithms, e. g., De Reyck and Herroelen (1998b)steepest-descent algorithms, e. g., S. and Zimmermann (2001)

Apply relaxation-based procedure providing feasible relation ρ

Minimize f on relation polyhedron ST (ρ)

Objective function (only) locally regular or locally concave

Time-constrained scheduling problem (PT ) intractable

Apply schedule-construction procedure providing minimal or extremepoint of some relation polyhedron ST (ρ)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 24

Page 25: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Relaxation-based procedure

Schedule-generation scheme for problem (P)

1. Set ρ := ∅;2. If ST (ρ) = ∅: STOP; // no feasible schedule found

3. Verify feasibility of ρ by solving maximum-cut problems;

4. If ρ is feasible: compute minimizer of f on ST (ρ) and STOP;

5. Determine resource k such that antichain Ak(ρ) is forbidden;

6. Select ⊆-minimal set B ⊂ Ak (ρ) such that A := Ak (ρ) \ B is

not forbidden, and select some i ∈ A;

7. Set ρ := ρ ∪ ({i} × B), and go to step 2;

Combination (i ,B) is called a minimal delaying mode (De Reyckand Herroelen 1998a)

Procedure can also be used for problems with stochastic processingtimes pi ; resulting relation defines an ES-policy (Radermacher 1981)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 25

Page 26: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Example

Relaxation-based procedure

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 26

Page 27: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Schedule-construction procedure

Schedule-generation scheme for problem (PT )

1. Set C := {0}, S0 := 0, and ESi := d0i, LSi := −di0 for all i ∈ V;

2. Select some i ∈ C and some j ∈ V \ C;3. Select time Sj ∈ {Si + δij ,Si + pi ,Si − pj ,Si − δji} ∩ [ESj , LSj ];4. Add j to C;5. Update ESh and LSh for all h ∈ V \ C;6. If C 6= V, go to step 2;

Locally regular objective function: select t ∈ {Si + δij , Si + pi}

Pairs (i , j) selected in step 2 form a spanning tree (spanningouttree) of relation network N(ρ) rooted at node 0

In case of resource constraints: determine ⊆-minimal feasiblerelation ρ and apply procedure on network N(ρ) instead of N

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 27

Page 28: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Characterization of the feasible region Efficient solutions Generic solution approaches

Example

Schedule-construction procedure for quasiactive schedule

Iteration i j time t

1 0 3 02 0 5 83 5 4 3

Iteration i j time t

4 5 1 105 1 2 116 1 6 16

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 28

Page 29: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Solution approaches for the project duration problem

Minimization of project duration has received largest attention inliterature

Four categories of solutions approaches

Adaptations of schedule-construction procedures andmetaheuristics for RCPSP

Relaxation-based branch-and-bound procedures

Constraint-programming based approaches

Mixed-integer linear programming formulations and relatedalgorithms

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 29

Page 30: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Schedule-construction procedures

Serial/parallel SGS iteratively fix start times of activities

When procedure is trapped in deadlock: call unscheduling procedure

No guarantee to find a feasible solution, but very effective onbenchmark instances

Unscheduling procedure (Franck et al. 2001)

1. Set ∆ := t − LSj; // t is earliest resource-feasible start

// time of j

2. Determine U := {i ∈ C | LSj = Si − dji};3. For all i ∈ U: set ESi := ESi +∆;

4. Remove all h with Sh ≥ mini∈U Si from set C;5. Update earliest and latest start times and return to

schedule-generation scheme;

Priority-rule based methods, tabu search, and genetic algorithm byFranck et al. (2001) and evolutionary algorithm by Ballestın et al.(2011) based on serial SGS with unscheduling

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 30

Page 31: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Example

j = 2, t = 7, LSj = 3, ∆ = 4

U = {i ∈ C | LSj = Si − dji} = {1}

Set ES1 := 4 and unschedule activities i = 1, 3, 4

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 31

Page 32: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Relaxation-based approaches

Start with solution S = ES to time-constrained problem (PT )

Identify some time t with rk(S , t) > Rk for some resource k

Branch over alternatives to resolve the resource conflict at time t

Partition forbidden set A(S , t) in minimal delaying alternative B

and feasible set A = A(S , t) \ B

Ordinary precedence relations (De Reyck and Herroelen 1998a)

Sj ≥ Si + pi (j ∈ B) for some i ∈ A

Release dates (Fest et al. 1999)

Sj ≥ δ0j := mini∈A

(Si + pi ) (j ∈ B)

Disjunctive precedence relations (S. 1998)

Sj ≥ mini∈A

(Si + pi) (j ∈ B)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 32

Page 33: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Constraint-programming approaches(Dorndorf et al. 2000, Schutt et al. 2013)

Associate decision variables Si with domains ∆i = {ESi , . . . , LSi}

Try to reduce domain sizes by applying consistency tests likeprecedence, interval capacity, or disjunctive consistency tests

When consistency tests reach fixed point, perform dichotomicstart-time branching for activity i with smallest earliest start timet = min∆i : Si = t ∨ Si ≥ t + 1

Replace domain ∆i by {t} or {t + 1, . . . , LSi}

Propagate update to other domains by applying consistency tests

Best results for project duration problem obtained by Schutt et al. (2013)from combining start-time branching with SAT representation and lazyclause generation

Alternative approach by Cesta et al. (2002) based on formulation as CSPfor posting precedence relations in minimal forbidden sets

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 33

Page 34: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Mixed-integer linear programming (Bianco and Caramia 2012)

In general, MILP formulation for RCPSP easily adapted togeneralized precedence relations

MILP model of Bianco and Caramia (2012)

Binary variables sit = 1 if i has been started by time t

Binary variables fit = 1 if i has been completed by time t

Variables zit ∈ [0, 1] keeping execution percentage of i by time t

Coupling constraints: zi(t+1) − zit =1pi(sit − fit)

Temporal constraints:∑T

t=1 sit ≥∑T

t=1 sjt + δijResource constraints:

∑i∈V rikpi · (zit − zi(t−1)) ≤ Rk

Branch-and-bound algorithm based on MILP formulation

Each level of enumeration tree associated with one activity i

Branch over ∨t=ESi ,...,LSi{sit = 1}

Lower bounds obtained by Lagrangian relaxation of resourceconstraints

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 34

Page 35: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Experimental performance analysis for project duration problem

Algorithms evaluated on ProGen/max data sets1

Results for test set CD (540 instances, n = 100, |R| = 5)

Algorithm tcpu pfeas popt pinfDe Reyck and Herroelen (1998a) 3 97.3 54.8 1.4

30 97.5 56.4 1.4S. (1998) 3 98.1 58.0 1.9

30 98.1 62.5 1.9100 98.1 63.4 1.9

Fest et al. (1999) 3 92.2 58.1 1.930 98.1 69.4 1.9

100 98.1 71.1 1.9Dorndorf et al. (2000) 3 97.8 66.2 1.9

30 98.1 70.4 1.9100 98.1 71.1 1.9

Bianco and Caramia (2012) 3 98.1 67.6 1.930 98.1 71.8 1.9

100 98.1 72.2 1.9Schutt et al. (2013) 1 97.9 78.1 1.6

10 98.1 89.8 1.9100 98.1 94.0 1.9

1http://www.wiwi.tu-clausthal.de/en/abteilungen/produktion/forschung/schwerpunkte/project-generator/

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 35

Page 36: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Multi-mode problem Preemptive problem

The multi-mode version of problem (P)

Each activity i can be executed in one of a finite number of executionmodes m ∈ Mi

Executions modes m differ in durations pim and resource requirements rikm(renewable and nonrenewable resources)

Generalized precedence relations δij depend on modes mi and mj

Feasibility variant of time-constrained problem (PT ) NP-complete

Relaxation-based branch-and-bound algorithms by De Reyck andHerroelen (1999) and Heilmann (2003), MILP model by Sabzehparvarand Seyed-Hosseini (2008)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 36

Page 37: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Multi-mode problem Preemptive problem

Preemptive problem (P) (S. and Paetz 2014)

Activities can be interrupted at any point in time

Generalization of problem (P) since preemption can be prevented bygeneralized feeding precedence relations of type (i , i , 1.0, 0.0,−pi)

(P) can be reduced tocanonical form withnonpositive completion-to-start time lags

Up to 2n − 1 slices needed,one and the same antichaincan be in progress severaltimes, number of inter-ruptions bounded by n(n − 1)

Subproblem with givenpositive antichains stillNP-hard

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 37

Page 38: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Practical applications including generalized precedence relations

Technical constraints in civil engineering (Bartusch et al. 1988)

Lot streaming in manufacturing (Neumann and S. 1997)

Perishable intermediate products in process scheduling(Neumann et al. 2002)

Minimum and maximum durations of service activities(Mellentien et al. 2004)

Minimum and maximum time lags between build-up and test activities inautomotive R&D projects (Bartels and Zimmermann 2009)

Overlapping of activities in aggregate production scheduling(Alfieri et al. 2011)

Maximum duration of validity for statutory permissions in nuclear powerplant dismantling (Bartels et al. 2011)

Maximum makespan for activity sequences at service centers(Quintanilla et al. 2012)

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 38

Page 39: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

Conclusions

Generalized precedence relations needed to formulate real-life schedulingconstraints

Efficient temporal analysis based on Roy’s Metra Potential Method

Feasibility variant of resource-constrained problems NP-complete

Classical schedule-generation schemes lead to deadlocks

Unscheduling techniques, relaxation-based approaches, constraintprogramming methods, mixed-integer programming formulations

Significant recent advances, e. g.:

Linear-time algorithm for checking feasibility of temporal constraintsVery effective constraint-programming approaches for projectduration problem

Avenues for future research

Preemptive project scheduling under gpr’sStochastic/robust project scheduling under gpr’sLazy clause generation approach for different objective functions

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 39

Page 40: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References I

Alfieria, A., Toliob, T., and Urgo, M. (2011).

A project scheduling approach to production planning with feeding precedencerelations.

International Journal of Production Research, 49:995–1020.

Ballestın, F., Barrıos, A., and Valls, V. (2011).

An evolutionary algorithm for the resource-constrained project scheduling problemwith minimum and maximum time lags.

Journal of Scheduling, 14:391–406.

Bartels, J. H., Gather, T., and Zimmermann, J. (2011).

Dismantling of nuclear power plants at optimal npv.

Annals of Operations Research, 186:407–427.

Bartels, J. H. and Zimmermann, J. (2009).

Scheduling tests in automotive R&D projects.

European Journal of Operational Research, 193:805–819.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 40

Page 41: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References II

Bartusch, M., Mohring, R. H., and Radermacher, F.-J. (1988).

Scheduling project networks with resource constraints and time windows.

Annals of Operations Research, 16:201–240.

Bianco, L. and Caramia, M. (2010).

A new formulation of the resource-unconstrained project scheduling problem withgeneralized precedence relations to minimize the completion time.

Networks, 56:263–271.

Bianco, L. and Caramia, M. (2012).

An exact algorithm to minimize the makespan in project scheduling with scarceresources and generalized precedence relations.

European Journal of Operational Research, 219:73–85.

Cesta, A., Oddi, A., and Smith, S. F. (2002).

A constraint-based method for project scheduling with time windows.

Journal of Heuristics, 8:109–136.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 41

Page 42: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References III

De Reyck, B. and Herroelen, W. S. (1998a).

A branch-and-bound procedure for the resource-constrained project schedulingproblem with generalized precedence relations.

European Journal of Operational Research, 111:152–174.

De Reyck, B. and Herroelen, W. S. (1998b).

An optimal procedure for the resource-constrained project scheduling problemwith discounted cash flows and generalized precedence relations.

Computers and Operations Research, 25:1–17.

De Reyck, B. and Herroelen, W. S. (1999).

The multi-mode resource-constrained project scheduling problem with generalizedprecedence relations.

European Journal of Operational Research, 119:538–556.

Dorndorf, U., Pesch, E., and Phan-Huy, T. (2000).

A branch-and-bound algorithm for the resource-constrained project schedulingproblem.

Mathematical Methods of Operations Research, 52:413–439.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 42

Page 43: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References IV

Fest, A., Mohring, R. H., Stork, F., and Uetz, M. (1999).

Resource-constrained project scheduling with time windows: A branching schemebased on dynamic release dates.

Technical Report 596, Technical University of Berlin.

Franck, B., Neumann, K., and Schwindt, C. (2001).

Truncated branch-and-bound, schedule-construction, and schedule-improvementprocedures for resource-constrained project scheduling.

OR Spektrum, 23:297–324.

Fu, N., Lau, H. C., Varakantham, P., and Xiao, F. (2012).

Robust local search for solving RCPSP/max with durational uncertainty.

Journal of Artifcial Intelligence Research, 43:43–86.

Kaerkes, R. and Leipholz, B. (1977).

Generalized network functions in flow networks.

Operations Research Verfahren, 27:225–273.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 43

Page 44: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References V

Kelley, J. E. (1961).

Critical path planning and scheduling: Mathematical basis.

Operations Research, 9:296–320.

Kis, T. (2005).

A branch-and-cut algorithm for scheduling of projects with variable-intensityactivities.

Mathematical Programming, 103:515–539.

Mellentien, C., Schwindt, C., and Trautmann, N. (2004).

Scheduling the factory pick-up of new cars.

OR Spectrum, 26:579–601.

Neumann, K., Nubel, H., and Schwindt, C. (2000).

Active and stable project scheduling.

Mathematical Methods of Operations Research, 52:441–465.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 44

Page 45: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References VI

Neumann, K. and Schwindt, C. (1997).

Activity-on-node networks with minimal and maximal time lags and theirapplication to make-to-order production.

OR Spektrum, 19:205–217.

Neumann, K., Schwindt, C., and Trautmann, N. (2002).

Advanced production scheduling for batch plants in process industries.

OR Spectrum, 24:251–279.

Neumann, K. and Zhan, J. (1995).

Heuristics for the minimum project-duration problem with minimal and maximaltime lags under fixed resource constraints.

Journal of Intelligent Manufacturing, 6:145–154.

Quintanilla, S., Perez, A., Lino, P., and Valls, V. (2012).

Time and work generalised precedence relatioships in project scheduling withpre-emption: An application to the management of service centres.

European Journal of Operational Research, 219:59–72.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 45

Page 46: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References VII

Radermacher, F. J. (1981).

Cost-dependent essential systems of es-strategies for stochastic schedulingproblems.

Methods of Operations Research, 42:17–31.

Roy, B. (1964).

Physionomie et traitement des problemes d’ordonnancement.

In Carre, D., Darnaut, P., Guitard, P., Nghiem, P., Pacaud, P., de Rosinski, J.,Roy, B., and Sandier, G., editors, Les Problemes d’Ordonnancement, pages 1–18.Dunod, Paris.

Sabzehparvar, M. and Seyed-Hosseini, S. M. (2008).

A mathematical model for the multi-mode resource-constrained projectscheduling problem with mode dependent time lags.

Journal of Supercomputing, 44:257–273.

Schutt, A., Feydy, T., Stuckey, P. J., and Wallace, M. G. (2013).

Solving RCPSP/max by lazy clause generation.

Journal of Scheduling, 16:273–289.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 46

Page 47: Project Scheduling Under ... - wiwi.tu-clausthal.de · Christoph Schwindt Clausthal University of Technology Project Scheduling Under Generalized Precedence Relations 1. Introduction

Introduction Temporal analysis Structural issues Project duration problem Expansions Applications Conclusions

References VIII

Schwindt, C. (1998).

Verfahren zur Losung des ressourcenbeschrankten

Projektdauerminimierungsproblems mit planungsabhangigen Zeitfenstern.

Shaker, Aachen.

Schwindt, C. (2005).

Resource Allocation in Project Management.

Springer, Berlin.

Schwindt, C. and Paetz, T. (2014).

Continuous preemption problems.

In Schwindt, C. and Zimmermann, J., editors, Handbook on Project Management

and Scheduling: Vol. I, Interational Handbook on Information Systems, Berlin.Springer.

Schwindt, C. and Zimmermann, J. (2001).

A steepest ascent approach to maximizing the net present value of projects.

Mathematical Methods of Operations Research, 53:435–450.

Christoph Schwindt Clausthal University of Technology

Project Scheduling Under Generalized Precedence Relations 47