Top Banner
Manpower Planning: Task Scheduling Anders Høeg Dohn
48

Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

Jul 08, 2019

Download

Documents

vucong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

Manpower Planning: Task Scheduling

Anders Høeg Dohn

Page 2: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning2 DTU Management Engineering, Technical University of Denmark

Scope

• During these lectures I will:

– Go over some of the practical problems encountered in manpower

planning.

• Rostering

• Task Scheduling

– Propose models that can be used to solve these problems, i.e. present

case studies of these methods.

• Integer Programming

• Set Partitioning Formulations

• Column Generation

• Branch & Price

Page 3: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning3 DTU Management Engineering, Technical University of Denmark

Forecasting /StrategicPlanning

Shiftgeneration /

Demand estimation

RosteringTask

schedulingDisruption

management

Task Scheduling

Day of operation

1-2 weeks

1-2 months

+3 months

Long term Mid term Short term Real timeLong termLong term Mid termLong term Mid termLong term Short termMid termLong term

• Allocate employees to tasks

• Assuming that:

– The roster is fixed

– The set of tasks is fixed

Page 4: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning4 DTU Management Engineering, Technical University of Denmark

Task Scheduling

• Task scheduling

– Consists of:

• Allocation of tasks

• Routing of personnel / vehicles between tasks

• Scheduling of tasks

– Time horizon is usually at most 24 hours.

– Shifts may be individual for employees, but have been fixed in

advance.

– May include skills and time windows.

– May include temporal dependencies between tasks.

Page 5: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning5 DTU Management Engineering, Technical University of Denmark

An example

• Example from ground handling in an airport.

• Ground handling tasks:

– Refueling

– Luggage handling

– Garbage collection

– Cleaning

– Catering

• Usually outsourced to ground handling companies

• A number of teams drive around and carry out tasks at different locations.

Page 6: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning6 DTU Management Engineering, Technical University of Denmark

74

5

11 3629 22

16

38

3331

20

37

32

21

18

34

24

194

35 26

17

3

28

251 27

2

7

8

12

13

15

14

23

30

56

53

43

42

39 55

47

44

40 5451 49 45

4146

4850

78

68

58

72

69

66

60

73

70

67

64

59

61

62

65

75

76

77

79

81

82

83

84

0

57

9

6

52

71

63

80

10

Page 7: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

74

5

11 3629 22

16

38

3331

20

37

32

21

18

34

24

194

35 26

17

3

28

251 27

2

7

8

12

13

15

14

23

30

56

53

43

42

39 55

47

44

40 5451 49 45

4146

4850

78

68

58

72

69

66

60

73

70

67

64

59

61

62

65

75

76

77

79

81

82

83

84

0

57

9

6

52

71

63

80

1074

5

11 3629 22

16

38

3331

20

10

37

32

21

18

34

24

194

35 26

17

3

28

251 27

2

7

8

12

13

15

14

23

30

56

53

43

42

39 55

47

44

40 5451 49 45

4146

4850

78

68

58

72

69

66

60

73

70

67

64

59

61

62

65

75

76

77

79

81

82

83

84

0

57

9

6

52

71

63

80

0

8

9

Page 8: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

74

5

11 3629 22

16

38

3331

20

37

32

21

18

34

24

194

35 26

17

3

28

251 27

2

7

8

12

13

15

14

23

30

56

53

43

42

39 55

47

44

40 5451 49 45

4146

4850

78

68

58

72

69

66

60

73

70

67

64

59

61

62

65

75

76

77

79

81

82

83

84

0

57

9

6

52

71

63

80

1074

5

11 3629 22

16

38

3331

20

10

37

32

21

18

34

24

194

35 26

17

3

28

251 27

2

7

8

12

13

15

14

23

30

56

53

43

42

39 55

47

44

40 5451 49 45

4146

4850

78

68

58

72

69

66

60

73

70

67

64

59

61

62

65

75

76

77

79

81

82

83

84

0

57

9

6

52

71

63

80

0

8

9

Page 9: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some
Page 10: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning10 DTU Management Engineering, Technical University of Denmark

Problem Description

• Minimize the number of unassigned tasks.

• Each team must be assigned to exactly one valid roster.

• Temporal dependencies exist between tasks.

• Teams must respect the skill requirement of tasks.

• Teams are only assigned to tasks during their working hours and only to one task at a time.

• Travel times between tasks must be respected.

• A task must be scheduled within its time window.

• Teams must be given the correct amount of breaks.

Subproble

mMaster problem

Page 11: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning11 DTU Management Engineering, Technical University of Denmark

Column Generation: Restricted Master Problem

• Linear Programming model• One roster is one column• One constraint for each task• One constraint for each team• Solve linear programming model

– Minimize number of unassigned tasks– May give fractional solution– Temporal dependencies between tasks

disregarded (for now)

δ1 δ2 δ3 δ4 δ5

1 1 1 1 1 = z

1 1 1 1 1 1 ≥ 1

1 1 1 1 1 ≥ 1

1 1 1 1 1 ≥ 1

1 1 1 1 1 ≥ 2

1 1 1 1 1 1 1 ≥ 3

1 1 1 1 1 = 1

1 1 1 1 1 = 1

01 λ 0

2 λ 11 λ 2

1 λ 31 λ 4

1 λ 12 λ 2

2 λ 32 λ 4

2 λ

Page 12: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning12 DTU Management Engineering, Technical University of Denmark

Column Generation: New columns

1

1

δ5δ4δ3δ2δ1

1

1

1

1

1

1

1

1

1

1

1

1

3

2

1

1

1

z

≥11111

=1111

=1111

≥111111

≥1111

≥1111

≥1111

=

01 λ 0

2 λ 11 λ 2

1 λ 31 λ 4

1 λ 12 λ 2

2 λ 32 λ 4

2 λ

0

1

4

5

[0, 30]

0

[5, 15]

[12, 23]

[0, 30][10, 23]

3 7

5 7

4 75

7

0 2-1

-1

5

4

7

6

How did we get those feasible

rosters?τ2

τ1

π5

π4

π3

π2

π1

Page 13: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning13 DTU Management Engineering, Technical University of Denmark

Generalizing Synchronization to Other Temporal Dependencies

Synchronization:

i

j

Overlap:

i

j

Min/max gap:

i

j

Time window for task i:

Time window for task j:

2 2010

Page 14: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning14 DTU Management Engineering, Technical University of Denmark

Temporal Dependencies in Practice

• Ground handling in airports

– Synchronization (Job teaming)

– Overlap

• Home care crew scheduling

– Synchronization (Mainly for lifting)

– Overlap (Lifting)

– Min and max gap (E.g. medication and laundry)

• Allocation of technicians to service jobs [Li et al. 2005].

• Dial-a-Ride for disabled persons [Rousseau et al. 2003].

• Aircraft fleet assignment and routing [Ioachim et al. 1999].

• Machine scheduling with precedence constraints

[van den Akker et al. 2006].

Page 15: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning15 DTU Management Engineering, Technical University of Denmark

The Generalized Precedence Constraint

jiji tpt ≤+

Synchronization:

i

j

ij

ijji

jiij

tt

tttt

pp

=⇔≤+∧≤+⇒

=∧=00

00

Overlap:

i

j

iijji

iijjji

ijijij

durttdurt

tdurttdurt

durpdurp

+≤≤−⇔≤−∧≤−⇒

−=∧−=

Min/max gap:

i

j

maxgapttmingapt

tmaxgapt

tmingapt

maxgappmingapp

iji

ij

ji

jiij

+≤≤+⇔≤−∧

≤+⇒−=∧=

Page 16: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning16 DTU Management Engineering, Technical University of Denmark

Compact formulation

Page 17: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning17 DTU Management Engineering, Technical University of Denmark

Branch & Price – Overview

Solve current restricted master

problem.

Solve pricing problem (Column generation).

Add routes to restricted master problem.

Branch and add new nodes to tree.

Update incumbent and discard current

node.

Choose next node in branching tree.

Fathom current node.

No

No

No

Yes Yes

When all nodes in tree have been fathomed / discarded

Yes

Is the solutionfeasible?

Found route with negative reduced

cost?

Is lower bound less than incumbent?

No

Page 18: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning18 DTU Management Engineering, Technical University of Denmark

Branch & Price

• Necessary considerations:

– How do we model and solve the master problem?

– How do we model and solve the subproblem?

– How do we ensure integrality in the master problem?

Page 19: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning19 DTU Management Engineering, Technical University of Denmark

The Master Problem

• Solving the set partitioning problem with generalized precedence constraints:

– The master problem is a Set Partitioning Problem with additional non-binary constraints.

– The subproblem is an Elementary Shortest Path Problem with Time Windows and Linear Node Costs.

• Only the acyclic case has been considered in the literature[Ioachim et al. 1997].

– Gives a harder subproblem.

– Leads to highly fractional solutions for the master problem.

Page 20: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning20 DTU Management Engineering, Technical University of Denmark

The Master Problem

Sets:C Tasks K Teams / VehiclesRk RoutesP Temporal Dependencies

Variables: 1 if route r is chosen for team k 0 otherwise 1 if task i is uncovered 0 otherwise

=

=

Page 21: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning21 DTU Management Engineering, Technical University of Denmark

The Master Problem

• Solving a time index model.

– Common in solution of machine scheduling problems.

• Change the coefficient to

• if team k is allocated to task i at time τ in route r.

– Each generalized precedence constraint introduces a set of new constraints in the master problem.

– The master problem becomes a Set Partitioning Problem with a huge amount of constraints.

• However, it can be proven that the formulation is stronger than the master problem formulation with a continuous time-variable.

• All constraints cannot be generated a priori: Branch & Cut & Price

kira k

ria τ

1=kria τ

Page 22: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning22 DTU Management Engineering, Technical University of Denmark

The Master Problem

• Solving a time index model.

• Each generalized precedence constraint introduces a set of new constraints in the master problem:

Time window for task i:

Time window for task j:

2 2010

Page 23: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning23 DTU Management Engineering, Technical University of Denmark

The Master Problem

• Relaxing the generalized precedence constraints:

– The master problem is a Set Partitioning Problem.

– The subproblem is an Elementary Shortest Path Problem with Time Windows.

– Temporal dependencies are enforced by branching.

• This is the simplest approach to solving the set partitioning problem with generalized precedence constraints.

– We use this approach in the following.

Page 24: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning24 DTU Management Engineering, Technical University of Denmark

The Master Problem

Sets:C Tasks K Teams / VehiclesRk RoutesP Temporal Dependencies

Variables: 1 if route r is chosen for team k 0 otherwise 1 if task i is uncovered 0 otherwise

=

=

Page 25: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning25 DTU Management Engineering, Technical University of Denmark

Branch & Price

• Necessary considerations:

– How do we model and solve the master problem?

– How do we model and solve the subproblem?

– How do we ensure integrality in the master problem?

Page 26: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning26 DTU Management Engineering, Technical University of Denmark

The label setting algorithm

• Label: l =

• Pseudo code:

1. Create initial label: l0

2. Pick label with minimum t

3. Extend label to all possible successors

4. If more unprocessed labels exist: Go to 2

5. Return best path

0

1

2

3

[0, 30]

4

[5, 15]

[12, 23]

[0, 30][10, 23]

37

5 7

4 75

7

0 0-1

-2

5

4

7

6

l7=(1,l5,16,-3,{2,3})

l5=(2,l3,10,-2,{3})

l3=(3,l0,5,0,∅)

l0=(0,l∅,0,0,∅) *l18=(4,l7,23,- ,{1,2,3})72

Page 27: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning27 DTU Management Engineering, Technical University of Denmark

The label setting algorithm

0

1

2

3

4

[5, 15]

[12, 23]

[0, 30][10, 23]

37

5 7

4 75

7

0-1

-2

5

4

7

6

Page 28: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning28 DTU Management Engineering, Technical University of Denmark

Dominance

• The idea: By applying dynamic programming techniques, labels can be removed while still

ensuring optimality:

0

1

2

3

[0, 30]

4

[5, 15]

[12, 23]

[0, 30][10, 23]

37

5 7

4 75

7

0 0

-1

-2

5

4

7

6

l7=(1,l5,16,-3,{2,3})l9=(1,l2,16,-1,{2,3}) ⇒ l7 l9

,

Page 29: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning29 DTU Management Engineering, Technical University of Denmark

Dominance

• The dominance may be strengthened further:

0

1

2

3

[0, 30]

4

[5, 15]

[12, 23]

[0, 30][10, 23]

37

5 7

4 75

7

0 0

-1

-2

5

4

7

6

l5=(2,l3,10,-2,{3})l2=(2,l0,10,0, ∅)

⇒ l5 l2

, ,

Page 30: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning30 DTU Management Engineering, Technical University of Denmark

The label setting algorithm

0

1

2

3

4

[5, 15]

[12, 23]

[0, 30][10, 23]

37

5 7

4 75

7

0-1

-2

5

4

7

6

Page 31: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning31 DTU Management Engineering, Technical University of Denmark

The label setting algorithm

Page 32: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning32 DTU Management Engineering, Technical University of Denmark

Branch & Price

• Necessary considerations:

– How do we model and solve the master problem?

– How do we model and solve the subproblem?

– How do we ensure integrality in the master problem?

Page 33: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning33 DTU Management Engineering, Technical University of Denmark

Branching

• Branching on task allocation (sum of fractions)

– ”How much of task i is assigned to team k” ?

– Fractional variables ⇒ At least one Sik is fractional

– Branch on Sik:

• 0-branch: Team k cannot do task i

• 1-branch: Team k must do task i

– Remove infeasible columns

– Force / remove task in solution of pricing problem

1≥111

1≥11

2≥1112

1≥111

1≥111

1≥11

2≥111112

1≥11

1≥11

1=111

.2.8.2.2.6.2.2.61.8.5.2.5

2

22 1 2 1

1

1

2

2

2

2

2≥11111

=11

=111

≥111

≥111111

≥11111

1≥111

1≥11

2≥1112

1≥111

1≥111

1≥11

2≥111112

1≥11

1≥11

1=111

.2.8.2.2.6.2.2.61.8.5.2.5

2

22 1 2 1

1

1

2

2

2

2

2≥11111

=11

=111

≥111

≥111111

≥11111

Page 34: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning34 DTU Management Engineering, Technical University of Denmark

Branching on Time Windows

• Will remove most fractional values.

• Will enforce all temporal dependencies.

• Proposed as branching strategy to solely remove fractional values in

traditional VRPTW [Gélinas et al. 1995].

Task i in route r1

Time window for task i:

Task i in route r2

0 2010

0 2010 0 2010

Left branch: Right branch:

Page 35: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning35 DTU Management Engineering, Technical University of Denmark

Branching on Time Windows

Task j in route r1

Time window for task j:

Task i in route r2

Left branch: Right branch:

Time window for task i:

2 2010

pji = 2

j:

i:

2 2010

j:

i:

2 2010

pij = -5

Page 36: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning36 DTU Management Engineering, Technical University of Denmark

r3

Branching on Time Windows

Task j in route r1:

Task i in route r2

and route r3:

pji = 2

Task k in route r4:

pik = 2

r2

Left branch: Right branch:

Infeasible routes:

r2

r1

r4

r2 , r4

r3 , r1

r3 , r1

Branching candidate 1:

Branching candidate 2:

Branching candidate 3: r2 , r3 , r4

r1

Page 37: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning37 DTU Management Engineering, Technical University of Denmark

Branching on Time Windows

• Choosing the best branching candidate:

– Create a balanced branching tree.

– Choose a candidate that has the largest impact on both branches.

– In this case, choose the right-most point in the time window.

Page 38: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning38 DTU Management Engineering, Technical University of Denmark

Branching on Time Windows

Task j in route r1

Time window for task j:

Task i in route r2

Left branch: Right branch:

Time window for task i:

2 2010

pji = 2

j:

i:

2 2010

j:

i:

2 2010

pij = -5

Page 39: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning39 DTU Management Engineering, Technical University of Denmark

Branching on Time Windows

Task j in route r1

Time window for task j:

Task i in route r2

Left branch: Right branch:

Time window for task i:

2 2010

pji = 2

j:

i:

2 2010

j:

i:

2 2010

pij = -5

Page 40: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning40 DTU Management Engineering, Technical University of Denmark

Branch & Price

• Necessary considerations:

– How do we model and solve the master problem?

– How do we model and solve the subproblem?

– How do we ensure integrality in the master problem?

• Other considerations:

– Master problem

• Solve it to optimality every time?

• Use dual stabilization?

– Subproblem

• Use heuristics?

• In what order should the individual subproblems be solved?

– Branching

• How do we search the branch-and-bound tree?

Page 41: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning41 DTU Management Engineering, Technical University of Denmark

Granularity

• The smallest possible difference in solution value between two feasible

solutions.

– All feasible solutions have integer solution values ⇒ granularity = 1

• Utilization in the branching tree:

– The current node can be removed if the difference between the

incumbent and the current lower bound is less than the granularity.

lb = 3

ub = 3

lb = 2.1

lb = 2

lb = 0.1

lb = 2.3

ub = 1

Page 42: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning42 DTU Management Engineering, Technical University of Denmark

Granularity

• Further utilization of granularity:

- the optimal solution to the current Restricted Master Problem.

- the optimal solution to the Master Problem (this value is only known

when no more columns can be added in the current node).

- the optimal solution to the current subproblem.

- number of employees

• If next integer cannot be reached: branch/fathom immediately

Page 43: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning43 DTU Management Engineering, Technical University of Denmark

Multiple subproblems

• Usual approach:

– Solve subproblems in a Round-robin fashion:

– This is inefficient if a few subproblems produce better columns than the rest.

• An alternative approach:

– Prioritize subproblems according to an expected performance.

– Requires a performance measure. The most recent solution value may be used.

– All subproblems must be solved with the most recent dual values in order to

declare the solution of the master problem optimal.

2 3 1 2 3 1 2 3 1 2 3 1

2 3 1 1 1 2 31

Page 44: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning44 DTU Management Engineering, Technical University of Denmark

Multiple subproblems

• The solution of some subproblems may be avoided by considering only

“relevant” dual variables.

• Some problems are highly segregated.

• If none of the values of the “relevant” variables have changed, the

optimal solution to that subproblem has already been found.

2 3 1 1 1 2 31

Page 45: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning45 DTU Management Engineering, Technical University of Denmark

Summary

• What you should be able to remember from this lecture:

– Task Scheduling

• The practical problem

• Synchronization

• Temporal Dependencies in general

– Generalized Precedence Constraints

– Solution method

• Branch & Price

• Various master problem formulations

• Solving the subproblem by Label Setting

• Branching on Time Windows

• Granularity

• Prioritizing subproblems

Page 46: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning46 DTU Management Engineering, Technical University of Denmark

The assignment

• Central Security Control (CSC) at Copenhagen Airport.

• The largest “single” task in the airport.

• Find optimal number of shifts of each type.

– Given:

• A set of possible shifts.

• An estimated demand for one day.

• Questions:

– What is the optimal cover, if all demand is covered?

– What is the optimal cover, if undercoverage can be accepted at a

certain price?

– How can breaks be included?

– How can robustness be included?

Page 47: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning47 DTU Management Engineering, Technical University of Denmark

The assignment

Page 48: Manpower Planning: Task Scheduling · 2 DTU Management Engineering, Manpower Planning 22/11/10 Technical University of Denmark Scope •During these lectures I will: –Go over some

22/11/10Manpower Planning48 DTU Management Engineering, Technical University of Denmark

The assignment