Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution...

86
Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. K¨ ukaydin, Y. Crama, S. Michelini QuantOM - HEC - Universit´ e de Li` ege ORBEL 29 February 5th, 2014 Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 1 / 28

Transcript of Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution...

Page 1: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Exact and Heuristic Solution Methods for a VRP withTime Windows and Variable Service Start Time

Y. Arda, H. Kucukaydin, Y. Crama, S. Michelini

QuantOM - HEC - Universite de Liege

ORBEL 29February 5th, 2014

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 1 / 28

Page 2: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Table of Contents

1 Introduction

2 ESPPRC with variable start time

3 Algorithm improvements

4 Hybrid Methods

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 2 / 28

Page 3: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Table of Contents

1 Introduction

2 ESPPRC with variable start time

3 Algorithm improvements

4 Hybrid Methods

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 3 / 28

Page 4: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Starting scenario

Our problem: a capacitated VRP with time windows, with additionalkey features.

Route cost depends on total route duration,

Variable starting time for each route,

Max allotted time for each route.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 4 / 28

Page 5: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Starting scenario

Our problem: a capacitated VRP with time windows, with additionalkey features.

Route cost depends on total route duration,

Variable starting time for each route,

Max allotted time for each route.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 4 / 28

Page 6: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Starting scenario

Our problem: a capacitated VRP with time windows, with additionalkey features.

Route cost depends on total route duration,

Variable starting time for each route,

Max allotted time for each route.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 4 / 28

Page 7: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Starting scenario

Our problem: a capacitated VRP with time windows, with additionalkey features.

Route cost depends on total route duration,

Variable starting time for each route,

Max allotted time for each route.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 4 / 28

Page 8: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

A classic solution method for the rich VRP:Branch-and-Price

At each node of the branch-and-bound tree, the linear relaxation ofthe set-covering formulation is solved via column generation.

The pricing sub-problem is an elementary shortest path problem withresource constraints (ESPPRC).

If the underlying graph may have negative cost cycles, the ESPPRC isstrongly NP-Hard1.

1Dror 1994.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 5 / 28

Page 9: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

A classic solution method for the rich VRP:Branch-and-Price

At each node of the branch-and-bound tree, the linear relaxation ofthe set-covering formulation is solved via column generation.

The pricing sub-problem is an elementary shortest path problem withresource constraints (ESPPRC).

If the underlying graph may have negative cost cycles, the ESPPRC isstrongly NP-Hard1.

1Dror 1994.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 5 / 28

Page 10: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

A classic solution method for the rich VRP:Branch-and-Price

At each node of the branch-and-bound tree, the linear relaxation ofthe set-covering formulation is solved via column generation.

The pricing sub-problem is an elementary shortest path problem withresource constraints (ESPPRC).

If the underlying graph may have negative cost cycles, the ESPPRC isstrongly NP-Hard1.

1Dror 1994.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 5 / 28

Page 11: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC 2

Each state associated to vertex i represents a path from the source sto i .

Each state includes a resource consumption vector R whosecomponent Rr represents the quantity of resource r used along thepath.

Each state has an associated cost C and the optimal solutioncorresponds to a minimum cost state associated to the sink t.

Extension of a state from i to j corresponds to adding the arc (i , j) toa path from s to i .

We terminate when all states have been extended in all feasible ways.

2Developed by Feillet et al. 2004, based on Desrochers and Soumis 1988;improvements are in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 6 / 28

Page 12: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC 2

Each state associated to vertex i represents a path from the source sto i .

Each state includes a resource consumption vector R whosecomponent Rr represents the quantity of resource r used along thepath.

Each state has an associated cost C and the optimal solutioncorresponds to a minimum cost state associated to the sink t.

Extension of a state from i to j corresponds to adding the arc (i , j) toa path from s to i .

We terminate when all states have been extended in all feasible ways.

2Developed by Feillet et al. 2004, based on Desrochers and Soumis 1988;improvements are in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 6 / 28

Page 13: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC 2

Each state associated to vertex i represents a path from the source sto i .

Each state includes a resource consumption vector R whosecomponent Rr represents the quantity of resource r used along thepath.

Each state has an associated cost C and the optimal solutioncorresponds to a minimum cost state associated to the sink t.

Extension of a state from i to j corresponds to adding the arc (i , j) toa path from s to i .

We terminate when all states have been extended in all feasible ways.

2Developed by Feillet et al. 2004, based on Desrochers and Soumis 1988;improvements are in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 6 / 28

Page 14: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC 2

Each state associated to vertex i represents a path from the source sto i .

Each state includes a resource consumption vector R whosecomponent Rr represents the quantity of resource r used along thepath.

Each state has an associated cost C and the optimal solutioncorresponds to a minimum cost state associated to the sink t.

Extension of a state from i to j corresponds to adding the arc (i , j) toa path from s to i .

We terminate when all states have been extended in all feasible ways.

2Developed by Feillet et al. 2004, based on Desrochers and Soumis 1988;improvements are in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 6 / 28

Page 15: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC 2

Each state associated to vertex i represents a path from the source sto i .

Each state includes a resource consumption vector R whosecomponent Rr represents the quantity of resource r used along thepath.

Each state has an associated cost C and the optimal solutioncorresponds to a minimum cost state associated to the sink t.

Extension of a state from i to j corresponds to adding the arc (i , j) toa path from s to i .

We terminate when all states have been extended in all feasible ways.

2Developed by Feillet et al. 2004, based on Desrochers and Soumis 1988;improvements are in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 6 / 28

Page 16: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC

While extending states, we update the resource consumption values.

E.g., if we extend to j we update the amount qi relative to capacity

qj = qi + dj ,

where dj is the demand at j .

To enforce feasibility with regards to capacity, we need to check ifqj ≤ Q.

To enforce elementarity, we introduce a dummy unitary resource Elk ,which is consumed when vertex k is visited.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 7 / 28

Page 17: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC

While extending states, we update the resource consumption values.

E.g., if we extend to j we update the amount qi relative to capacity

qj = qi + dj ,

where dj is the demand at j .

To enforce feasibility with regards to capacity, we need to check ifqj ≤ Q.

To enforce elementarity, we introduce a dummy unitary resource Elk ,which is consumed when vertex k is visited.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 7 / 28

Page 18: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC

While extending states, we update the resource consumption values.

E.g., if we extend to j we update the amount qi relative to capacity

qj = qi + dj ,

where dj is the demand at j .

To enforce feasibility with regards to capacity, we need to check ifqj ≤ Q.

To enforce elementarity, we introduce a dummy unitary resource Elk ,which is consumed when vertex k is visited.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 7 / 28

Page 19: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC

While extending states, we update the resource consumption values.

E.g., if we extend to j we update the amount qi relative to capacity

qj = qi + dj ,

where dj is the demand at j .

To enforce feasibility with regards to capacity, we need to check ifqj ≤ Q.

To enforce elementarity, we introduce a dummy unitary resource Elk ,which is consumed when vertex k is visited.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 7 / 28

Page 20: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC

To accelerate the algorithm, we eliminate the states that aredominated:

Dominance rules

State (C ′,R ′, (Elk)′k∈V , i) dominates (C ′′,R ′′, (Elk)′′k∈V , i) iff

C ′ ≤ C ′′

R ′ ≤ R ′′

(Elk)′k∈V ≤ (Elk)′′k∈V

and at least one of the equalities is strict.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 8 / 28

Page 21: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Introduction

Exact Dynamic Programming for the ESPPRC

To accelerate the algorithm, we eliminate the states that aredominated:

Dominance rules

State (C ′,R ′, (Elk)′k∈V , i) dominates (C ′′,R ′′, (Elk)′′k∈V , i) iff

C ′ ≤ C ′′

R ′ ≤ R ′′

(Elk)′k∈V ≤ (Elk)′′k∈V

and at least one of the equalities is strict.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 8 / 28

Page 22: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Table of Contents

1 Introduction

2 ESPPRC with variable start time

3 Algorithm improvements

4 Hybrid Methods

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 9 / 28

Page 23: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 24: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],

service time si ,delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 25: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,

delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 26: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,delivery demand di ,

a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 27: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 28: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 29: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 30: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Problem description

For each vertex we have:

a time window [ai , bi ],service time si ,delivery demand di ,a revenue (dual price) ηi .

There is a single vehicle available at any time for a duration S.

The total cost of a path P depends on total distance DP and totaltravel time TP .

We aim to find the service start time Ts and path P that minimizethe total cost:

CP(Ts) = αDP + βTP(Ts)−∑i∈P

ηi .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 10 / 28

Page 31: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Resources for DP

We need a service start time resource Ti , so that the state at i isfeasible iff Ti ∈ [ai , bi ];

a delivery demand resource Deli , requiring Deli ∈ [0,Q];

a total spent time resource Si , requiring Si ∈ [0, S ];

a dummy resource (Elk)ik∈V , requiring (Elk)i ∈ [0, 1], ∀k ∈ V .

A DP state for vertex i in our scenario is therefore

(Ci ,Ti ,Si ,Deli , (Elk)ik∈V ).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 11 / 28

Page 32: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Resources for DP

We need a service start time resource Ti , so that the state at i isfeasible iff Ti ∈ [ai , bi ];

a delivery demand resource Deli , requiring Deli ∈ [0,Q];

a total spent time resource Si , requiring Si ∈ [0, S ];

a dummy resource (Elk)ik∈V , requiring (Elk)i ∈ [0, 1], ∀k ∈ V .

A DP state for vertex i in our scenario is therefore

(Ci ,Ti ,Si ,Deli , (Elk)ik∈V ).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 11 / 28

Page 33: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Resources for DP

We need a service start time resource Ti , so that the state at i isfeasible iff Ti ∈ [ai , bi ];

a delivery demand resource Deli , requiring Deli ∈ [0,Q];

a total spent time resource Si , requiring Si ∈ [0, S ];

a dummy resource (Elk)ik∈V , requiring (Elk)i ∈ [0, 1], ∀k ∈ V .

A DP state for vertex i in our scenario is therefore

(Ci ,Ti ,Si ,Deli , (Elk)ik∈V ).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 11 / 28

Page 34: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Resources for DP

We need a service start time resource Ti , so that the state at i isfeasible iff Ti ∈ [ai , bi ];

a delivery demand resource Deli , requiring Deli ∈ [0,Q];

a total spent time resource Si , requiring Si ∈ [0, S ];

a dummy resource (Elk)ik∈V , requiring (Elk)i ∈ [0, 1], ∀k ∈ V .

A DP state for vertex i in our scenario is therefore

(Ci ,Ti ,Si ,Deli , (Elk)ik∈V ).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 11 / 28

Page 35: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Resources for DP

We need a service start time resource Ti , so that the state at i isfeasible iff Ti ∈ [ai , bi ];

a delivery demand resource Deli , requiring Deli ∈ [0,Q];

a total spent time resource Si , requiring Si ∈ [0, S ];

a dummy resource (Elk)ik∈V , requiring (Elk)i ∈ [0, 1], ∀k ∈ V .

A DP state for vertex i in our scenario is therefore

(Ci ,Ti ,Si ,Deli , (Elk)ik∈V ).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 11 / 28

Page 36: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Dominance rules: issue with time dependency

Ti , Si , and the total cost of the subpath s-i Ci clearly depend on thestarting time Ts .

The DP state for i in our scenario then becomes

(Ci (Ts),Ti (Ts),Si (Ts),Deli , (Elk)ik∈V ).

We must therefore take into account an infinite number ofPareto-optimal states.

We can’t apply directly normal dominance rules.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 12 / 28

Page 37: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Dominance rules: issue with time dependency

Ti , Si , and the total cost of the subpath s-i Ci clearly depend on thestarting time Ts .

The DP state for i in our scenario then becomes

(Ci (Ts),Ti (Ts),Si (Ts),Deli , (Elk)ik∈V ).

We must therefore take into account an infinite number ofPareto-optimal states.

We can’t apply directly normal dominance rules.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 12 / 28

Page 38: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Dominance rules: issue with time dependency

Ti , Si , and the total cost of the subpath s-i Ci clearly depend on thestarting time Ts .

The DP state for i in our scenario then becomes

(Ci (Ts),Ti (Ts),Si (Ts),Deli , (Elk)ik∈V ).

We must therefore take into account an infinite number ofPareto-optimal states.

We can’t apply directly normal dominance rules.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 12 / 28

Page 39: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Dominance rules: issue with time dependency

Ti , Si , and the total cost of the subpath s-i Ci clearly depend on thestarting time Ts .

The DP state for i in our scenario then becomes

(Ci (Ts),Ti (Ts),Si (Ts),Deli , (Elk)ik∈V ).

We must therefore take into account an infinite number ofPareto-optimal states.

We can’t apply directly normal dominance rules.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 12 / 28

Page 40: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

We will consider a path on a network with n vertices:

P : s = 0→ · · · → i − 1→ i → · · · → n + 1 = t

.

Let us define the adjusted travel time: t i−1,i := ti−1,i + si−1

The minimum travel time from s = 0 to i : θi :=∑i−1

k=0 tk,k+1

The latest feasible start time from the source: li := min1≤j≤i{bj − θj}The earliest feasible service start time at vertex i :ai := max{ai , ai−1 + t i−1,i}.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 13 / 28

Page 41: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

We will consider a path on a network with n vertices:

P : s = 0→ · · · → i − 1→ i → · · · → n + 1 = t

.

Let us define the adjusted travel time: t i−1,i := ti−1,i + si−1

The minimum travel time from s = 0 to i : θi :=∑i−1

k=0 tk,k+1

The latest feasible start time from the source: li := min1≤j≤i{bj − θj}The earliest feasible service start time at vertex i :ai := max{ai , ai−1 + t i−1,i}.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 13 / 28

Page 42: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

We will consider a path on a network with n vertices:

P : s = 0→ · · · → i − 1→ i → · · · → n + 1 = t

.

Let us define the adjusted travel time: t i−1,i := ti−1,i + si−1

The minimum travel time from s = 0 to i : θi :=∑i−1

k=0 tk,k+1

The latest feasible start time from the source: li := min1≤j≤i{bj − θj}

The earliest feasible service start time at vertex i :ai := max{ai , ai−1 + t i−1,i}.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 13 / 28

Page 43: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

We will consider a path on a network with n vertices:

P : s = 0→ · · · → i − 1→ i → · · · → n + 1 = t

.

Let us define the adjusted travel time: t i−1,i := ti−1,i + si−1

The minimum travel time from s = 0 to i : θi :=∑i−1

k=0 tk,k+1

The latest feasible start time from the source: li := min1≤j≤i{bj − θj}The earliest feasible service start time at vertex i :ai := max{ai , ai−1 + t i−1,i}.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 13 / 28

Page 44: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

From the recursion Ti (Ts) = max{ai ,Ti−1(Ts) + t i−1,i} we canderive:

Description of the service start time function

For all i , if ai < li + θi ,

Ti (Ts) =

{ai , if Ts ≤ ai − θi ,Ts + θi , if ai − θi ≤ Ts ≤ li ;

otherwiseTi (Ts) = ai , for Ts ≤ li

They are piecewise linear functions from which the othertime-dependent functions derive directly.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 14 / 28

Page 45: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

From the recursion Ti (Ts) = max{ai ,Ti−1(Ts) + t i−1,i} we canderive:

Description of the service start time function

For all i , if ai < li + θi ,

Ti (Ts) =

{ai , if Ts ≤ ai − θi ,Ts + θi , if ai − θi ≤ Ts ≤ li ;

otherwiseTi (Ts) = ai , for Ts ≤ li

They are piecewise linear functions from which the othertime-dependent functions derive directly.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 14 / 28

Page 46: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Time functions

From the recursion Ti (Ts) = max{ai ,Ti−1(Ts) + t i−1,i} we canderive:

Description of the service start time function

For all i , if ai < li + θi ,

Ti (Ts) =

{ai , if Ts ≤ ai − θi ,Ts + θi , if ai − θi ≤ Ts ≤ li ;

otherwiseTi (Ts) = ai , for Ts ≤ li

They are piecewise linear functions from which the othertime-dependent functions derive directly.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 14 / 28

Page 47: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

New Dominance Rules and Resource Extension

We can now define new labels and their resource extension functions:

−li = −min{li−1, bi − θi}ai = max{ai , ai−1 + t i−1,i}Ai = max{Ai−1 + βt i−1,i , β(ai − li )}δi = δi−1 + αci−1,i − ηi−1

Deli = Deli−1 + di

Elik =

{Eli−1

k + 1 ifk = i

Eli−1k otherwise

∀k ∈ V

where θi = θi−1 + t i−1,i and Ai is the minimum value of the functionTi (Ts).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 15 / 28

Page 48: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

New Dominance Rules and Resource Extension

We can now define new labels and their resource extension functions:

−li = −min{li−1, bi − θi}ai = max{ai , ai−1 + t i−1,i}Ai = max{Ai−1 + βt i−1,i , β(ai − li )}δi = δi−1 + αci−1,i − ηi−1

Deli = Deli−1 + di

Elik =

{Eli−1

k + 1 ifk = i

Eli−1k otherwise

∀k ∈ V

where θi = θi−1 + t i−1,i and Ai is the minimum value of the functionTi (Ts).

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 15 / 28

Page 49: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Bidirectional DP

To accelerate the procedure, we start it simultaneously from the sink,extending states backwards.

It suffices to invert the time windows with a constant M and changedirection of the arcs, then use monodirectional DP:

[ai , bi ]⇒ [M − bi ,M − ai ], (i , j)⇒ (j , i)

States are extended until the total amount of time spent is smallerthan S/2, i.e. we consider total travel time as a critical resource.

The earliest feasible service start time becomes the latest feasibleservice end time: M − abi = bi .

The latest feasible start time from the depot becomes the earliestfeasible arrival time at the depot: M − lbi = ei .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 16 / 28

Page 50: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Bidirectional DP

To accelerate the procedure, we start it simultaneously from the sink,extending states backwards.

It suffices to invert the time windows with a constant M and changedirection of the arcs, then use monodirectional DP:

[ai , bi ]⇒ [M − bi ,M − ai ], (i , j)⇒ (j , i)

States are extended until the total amount of time spent is smallerthan S/2, i.e. we consider total travel time as a critical resource.

The earliest feasible service start time becomes the latest feasibleservice end time: M − abi = bi .

The latest feasible start time from the depot becomes the earliestfeasible arrival time at the depot: M − lbi = ei .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 16 / 28

Page 51: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Bidirectional DP

To accelerate the procedure, we start it simultaneously from the sink,extending states backwards.

It suffices to invert the time windows with a constant M and changedirection of the arcs, then use monodirectional DP:

[ai , bi ]⇒ [M − bi ,M − ai ], (i , j)⇒ (j , i)

States are extended until the total amount of time spent is smallerthan S/2, i.e. we consider total travel time as a critical resource.

The earliest feasible service start time becomes the latest feasibleservice end time: M − abi = bi .

The latest feasible start time from the depot becomes the earliestfeasible arrival time at the depot: M − lbi = ei .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 16 / 28

Page 52: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Bidirectional DP

To accelerate the procedure, we start it simultaneously from the sink,extending states backwards.

It suffices to invert the time windows with a constant M and changedirection of the arcs, then use monodirectional DP:

[ai , bi ]⇒ [M − bi ,M − ai ], (i , j)⇒ (j , i)

States are extended until the total amount of time spent is smallerthan S/2, i.e. we consider total travel time as a critical resource.

The earliest feasible service start time becomes the latest feasibleservice end time: M − abi = bi .

The latest feasible start time from the depot becomes the earliestfeasible arrival time at the depot: M − lbi = ei .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 16 / 28

Page 53: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Bidirectional DP

To accelerate the procedure, we start it simultaneously from the sink,extending states backwards.

It suffices to invert the time windows with a constant M and changedirection of the arcs, then use monodirectional DP:

[ai , bi ]⇒ [M − bi ,M − ai ], (i , j)⇒ (j , i)

States are extended until the total amount of time spent is smallerthan S/2, i.e. we consider total travel time as a critical resource.

The earliest feasible service start time becomes the latest feasibleservice end time: M − abi = bi .

The latest feasible start time from the depot becomes the earliestfeasible arrival time at the depot: M − lbi = ei .

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 16 / 28

Page 54: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Path concatenation

To see if we obtain a feasible path this needs to be true:

ai ≤ bi

Deli + Delbi − di ≤ Q

Elik + Elibk ≤ 1,∀k ∈ V \ {i}TP ≤ S ,

where TP is the total travel time of path P obtained byconcatenation.

We need a concatenation theorem3 to compute the actual total traveltime TP - we can’t sum the partial times directly.

3Savelsbergh 1992.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 17 / 28

Page 55: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

ESPPRC with variable start time

Path concatenation

To see if we obtain a feasible path this needs to be true:

ai ≤ bi

Deli + Delbi − di ≤ Q

Elik + Elibk ≤ 1, ∀k ∈ V \ {i}TP ≤ S ,

where TP is the total travel time of path P obtained byconcatenation.

We need a concatenation theorem3 to compute the actual total traveltime TP - we can’t sum the partial times directly.

3Savelsbergh 1992.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 17 / 28

Page 56: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

Table of Contents

1 Introduction

2 ESPPRC with variable start time

3 Algorithm improvements

4 Hybrid Methods

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 18 / 28

Page 57: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements4: Duplicate Elimination

During the phase of concatenation of forward and backward labels,the same path can be generated multiple times.

The path P = s → · · · → j → i → k → · · · → t can be obtained byconcatenating different pairs of labels, e.g. (l fwi , lbwi ) or (l fwj , lbwj ).

Before each concatenation at i we check the forward and backwardconsumption of the critical resource, R fw

r ,i and Rbwr ,i .

We accept it only if they are as close as possible to half of the overallconsumption of the resource along the path, i.e. iff Φi := |R fw

r ,i − Rbwr ,i |

is minimum.

The test is performed in constant time since we need only to checkΦk if R fw

r ,i < Rbwr ,i or Φj otherwise.

4Described in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 19 / 28

Page 58: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements4: Duplicate Elimination

During the phase of concatenation of forward and backward labels,the same path can be generated multiple times.

The path P = s → · · · → j → i → k → · · · → t can be obtained byconcatenating different pairs of labels, e.g. (l fwi , lbwi ) or (l fwj , lbwj ).

Before each concatenation at i we check the forward and backwardconsumption of the critical resource, R fw

r ,i and Rbwr ,i .

We accept it only if they are as close as possible to half of the overallconsumption of the resource along the path, i.e. iff Φi := |R fw

r ,i − Rbwr ,i |

is minimum.

The test is performed in constant time since we need only to checkΦk if R fw

r ,i < Rbwr ,i or Φj otherwise.

4Described in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 19 / 28

Page 59: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements4: Duplicate Elimination

During the phase of concatenation of forward and backward labels,the same path can be generated multiple times.

The path P = s → · · · → j → i → k → · · · → t can be obtained byconcatenating different pairs of labels, e.g. (l fwi , lbwi ) or (l fwj , lbwj ).

Before each concatenation at i we check the forward and backwardconsumption of the critical resource, R fw

r ,i and Rbwr ,i .

We accept it only if they are as close as possible to half of the overallconsumption of the resource along the path, i.e. iff Φi := |R fw

r ,i − Rbwr ,i |

is minimum.

The test is performed in constant time since we need only to checkΦk if R fw

r ,i < Rbwr ,i or Φj otherwise.

4Described in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 19 / 28

Page 60: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements4: Duplicate Elimination

During the phase of concatenation of forward and backward labels,the same path can be generated multiple times.

The path P = s → · · · → j → i → k → · · · → t can be obtained byconcatenating different pairs of labels, e.g. (l fwi , lbwi ) or (l fwj , lbwj ).

Before each concatenation at i we check the forward and backwardconsumption of the critical resource, R fw

r ,i and Rbwr ,i .

We accept it only if they are as close as possible to half of the overallconsumption of the resource along the path, i.e. iff Φi := |R fw

r ,i − Rbwr ,i |

is minimum.

The test is performed in constant time since we need only to checkΦk if R fw

r ,i < Rbwr ,i or Φj otherwise.

4Described in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 19 / 28

Page 61: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements4: Duplicate Elimination

During the phase of concatenation of forward and backward labels,the same path can be generated multiple times.

The path P = s → · · · → j → i → k → · · · → t can be obtained byconcatenating different pairs of labels, e.g. (l fwi , lbwi ) or (l fwj , lbwj ).

Before each concatenation at i we check the forward and backwardconsumption of the critical resource, R fw

r ,i and Rbwr ,i .

We accept it only if they are as close as possible to half of the overallconsumption of the resource along the path, i.e. iff Φi := |R fw

r ,i − Rbwr ,i |

is minimum.

The test is performed in constant time since we need only to checkΦk if R fw

r ,i < Rbwr ,i or Φj otherwise.

4Described in Righini and Salani 2008.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 19 / 28

Page 62: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements: Decremental State Space Relaxation

In State Space Relaxation5 we project the state-space S used in DPto a lower dimensional space T , so that the new states retain the cost.

When applying this to the elementarity constraints, the number ofstates to explore is reduced, at the cost of feasibility.

Decremental State Space Relaxation (DSSR) is a generalization ofboth this method and DP with elementarity constraints.

We maintain a set Θ of critical nodes on which the elementarityconstraints are enforced at each iteration of DP.

If at the end of DP the optimal path is not feasible, we update Θwith the nodes that are visited multiple times.

5Developed by Christofides, Mingozzi, and Toth 1981.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 20 / 28

Page 63: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements: Decremental State Space Relaxation

In State Space Relaxation5 we project the state-space S used in DPto a lower dimensional space T , so that the new states retain the cost.

When applying this to the elementarity constraints, the number ofstates to explore is reduced, at the cost of feasibility.

Decremental State Space Relaxation (DSSR) is a generalization ofboth this method and DP with elementarity constraints.

We maintain a set Θ of critical nodes on which the elementarityconstraints are enforced at each iteration of DP.

If at the end of DP the optimal path is not feasible, we update Θwith the nodes that are visited multiple times.

5Developed by Christofides, Mingozzi, and Toth 1981.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 20 / 28

Page 64: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements: Decremental State Space Relaxation

In State Space Relaxation5 we project the state-space S used in DPto a lower dimensional space T , so that the new states retain the cost.

When applying this to the elementarity constraints, the number ofstates to explore is reduced, at the cost of feasibility.

Decremental State Space Relaxation (DSSR) is a generalization ofboth this method and DP with elementarity constraints.

We maintain a set Θ of critical nodes on which the elementarityconstraints are enforced at each iteration of DP.

If at the end of DP the optimal path is not feasible, we update Θwith the nodes that are visited multiple times.

5Developed by Christofides, Mingozzi, and Toth 1981.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 20 / 28

Page 65: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements: Decremental State Space Relaxation

In State Space Relaxation5 we project the state-space S used in DPto a lower dimensional space T , so that the new states retain the cost.

When applying this to the elementarity constraints, the number ofstates to explore is reduced, at the cost of feasibility.

Decremental State Space Relaxation (DSSR) is a generalization ofboth this method and DP with elementarity constraints.

We maintain a set Θ of critical nodes on which the elementarityconstraints are enforced at each iteration of DP.

If at the end of DP the optimal path is not feasible, we update Θwith the nodes that are visited multiple times.

5Developed by Christofides, Mingozzi, and Toth 1981.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 20 / 28

Page 66: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DP improvements: Decremental State Space Relaxation

In State Space Relaxation5 we project the state-space S used in DPto a lower dimensional space T , so that the new states retain the cost.

When applying this to the elementarity constraints, the number ofstates to explore is reduced, at the cost of feasibility.

Decremental State Space Relaxation (DSSR) is a generalization ofboth this method and DP with elementarity constraints.

We maintain a set Θ of critical nodes on which the elementarityconstraints are enforced at each iteration of DP.

If at the end of DP the optimal path is not feasible, we update Θwith the nodes that are visited multiple times.

5Developed by Christofides, Mingozzi, and Toth 1981.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 20 / 28

Page 67: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DSSR strategies

In the implementation of DSSR we can make decisions with regardsto:

initialization of the critical vertex set;which vertices we insert in the set at the end of an iteration;how many elementary paths we want to obtain for the CG procedure.

These decisions involve trade-offs (e.g. cost of an iteration vs numberof iterations).

We can associate parameters to these decisions, which we can thentune. parameters.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 21 / 28

Page 68: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DSSR strategies

In the implementation of DSSR we can make decisions with regardsto:

initialization of the critical vertex set;

which vertices we insert in the set at the end of an iteration;how many elementary paths we want to obtain for the CG procedure.

These decisions involve trade-offs (e.g. cost of an iteration vs numberof iterations).

We can associate parameters to these decisions, which we can thentune. parameters.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 21 / 28

Page 69: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DSSR strategies

In the implementation of DSSR we can make decisions with regardsto:

initialization of the critical vertex set;which vertices we insert in the set at the end of an iteration;

how many elementary paths we want to obtain for the CG procedure.

These decisions involve trade-offs (e.g. cost of an iteration vs numberof iterations).

We can associate parameters to these decisions, which we can thentune. parameters.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 21 / 28

Page 70: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DSSR strategies

In the implementation of DSSR we can make decisions with regardsto:

initialization of the critical vertex set;which vertices we insert in the set at the end of an iteration;how many elementary paths we want to obtain for the CG procedure.

These decisions involve trade-offs (e.g. cost of an iteration vs numberof iterations).

We can associate parameters to these decisions, which we can thentune. parameters.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 21 / 28

Page 71: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DSSR strategies

In the implementation of DSSR we can make decisions with regardsto:

initialization of the critical vertex set;which vertices we insert in the set at the end of an iteration;how many elementary paths we want to obtain for the CG procedure.

These decisions involve trade-offs (e.g. cost of an iteration vs numberof iterations).

We can associate parameters to these decisions, which we can thentune. parameters.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 21 / 28

Page 72: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Algorithm improvements

DSSR strategies

In the implementation of DSSR we can make decisions with regardsto:

initialization of the critical vertex set;which vertices we insert in the set at the end of an iteration;how many elementary paths we want to obtain for the CG procedure.

These decisions involve trade-offs (e.g. cost of an iteration vs numberof iterations).

We can associate parameters to these decisions, which we can thentune. parameters.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 21 / 28

Page 73: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Table of Contents

1 Introduction

2 ESPPRC with variable start time

3 Algorithm improvements

4 Hybrid Methods

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 22 / 28

Page 74: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Matheuristics

Matheuristics are ‘heuristics algorithms made by the interoperationof metaheuristics and mathematical programming techniques’.6

For routing problems, we can classify them in three classes7.

Decomposition approaches: we identify subproblems that are solvedindependently, then combine their solutions. E.g. Cluster first-routesecond approaches.Improvement heuristics: by solving a MILP, we improve an heuristicsolution.Branch-and-Price based approaches, classified in restricted masterheuristics, heuristic branching approaches, and relaxation basedapproaches.

6Boschetti et al. 2009.7Archetti and Speranza 2014.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 23 / 28

Page 75: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Matheuristics

Matheuristics are ‘heuristics algorithms made by the interoperationof metaheuristics and mathematical programming techniques’.6

For routing problems, we can classify them in three classes7.

Decomposition approaches: we identify subproblems that are solvedindependently, then combine their solutions. E.g. Cluster first-routesecond approaches.Improvement heuristics: by solving a MILP, we improve an heuristicsolution.Branch-and-Price based approaches, classified in restricted masterheuristics, heuristic branching approaches, and relaxation basedapproaches.

6Boschetti et al. 2009.7Archetti and Speranza 2014.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 23 / 28

Page 76: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Matheuristics

Matheuristics are ‘heuristics algorithms made by the interoperationof metaheuristics and mathematical programming techniques’.6

For routing problems, we can classify them in three classes7.

Decomposition approaches: we identify subproblems that are solvedindependently, then combine their solutions. E.g. Cluster first-routesecond approaches.

Improvement heuristics: by solving a MILP, we improve an heuristicsolution.Branch-and-Price based approaches, classified in restricted masterheuristics, heuristic branching approaches, and relaxation basedapproaches.

6Boschetti et al. 2009.7Archetti and Speranza 2014.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 23 / 28

Page 77: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Matheuristics

Matheuristics are ‘heuristics algorithms made by the interoperationof metaheuristics and mathematical programming techniques’.6

For routing problems, we can classify them in three classes7.

Decomposition approaches: we identify subproblems that are solvedindependently, then combine their solutions. E.g. Cluster first-routesecond approaches.Improvement heuristics: by solving a MILP, we improve an heuristicsolution.

Branch-and-Price based approaches, classified in restricted masterheuristics, heuristic branching approaches, and relaxation basedapproaches.

6Boschetti et al. 2009.7Archetti and Speranza 2014.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 23 / 28

Page 78: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Matheuristics

Matheuristics are ‘heuristics algorithms made by the interoperationof metaheuristics and mathematical programming techniques’.6

For routing problems, we can classify them in three classes7.

Decomposition approaches: we identify subproblems that are solvedindependently, then combine their solutions. E.g. Cluster first-routesecond approaches.Improvement heuristics: by solving a MILP, we improve an heuristicsolution.Branch-and-Price based approaches, classified in restricted masterheuristics, heuristic branching approaches, and relaxation basedapproaches.

6Boschetti et al. 2009.7Archetti and Speranza 2014.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 23 / 28

Page 79: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Restricted Master Heuristics

The optimal solution of the master problem restricted to any subsetof generated columns provides an heuristic solution.

The columns can either be generated heuristically or by solvingexactly the pricing problem.

However, the master problem defined over a subset of columns isoften infeasible8, so we have to adopt techniques to recover feasibilityor devise ways to obtain a suitable set of columns.

Within the BP framework, we can use the RMH in a collaborationscheme with a metaheuristic9, in order to obtain good solutions earlyin the procedure.

8Joncour et al. 2010.9Danna and Le Pape 2005.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 24 / 28

Page 80: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Restricted Master Heuristics

The optimal solution of the master problem restricted to any subsetof generated columns provides an heuristic solution.

The columns can either be generated heuristically or by solvingexactly the pricing problem.

However, the master problem defined over a subset of columns isoften infeasible8, so we have to adopt techniques to recover feasibilityor devise ways to obtain a suitable set of columns.

Within the BP framework, we can use the RMH in a collaborationscheme with a metaheuristic9, in order to obtain good solutions earlyin the procedure.

8Joncour et al. 2010.9Danna and Le Pape 2005.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 24 / 28

Page 81: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Restricted Master Heuristics

The optimal solution of the master problem restricted to any subsetof generated columns provides an heuristic solution.

The columns can either be generated heuristically or by solvingexactly the pricing problem.

However, the master problem defined over a subset of columns isoften infeasible8, so we have to adopt techniques to recover feasibilityor devise ways to obtain a suitable set of columns.

Within the BP framework, we can use the RMH in a collaborationscheme with a metaheuristic9, in order to obtain good solutions earlyin the procedure.

8Joncour et al. 2010.9Danna and Le Pape 2005.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 24 / 28

Page 82: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Restricted Master Heuristics

The optimal solution of the master problem restricted to any subsetof generated columns provides an heuristic solution.

The columns can either be generated heuristically or by solvingexactly the pricing problem.

However, the master problem defined over a subset of columns isoften infeasible8, so we have to adopt techniques to recover feasibilityor devise ways to obtain a suitable set of columns.

Within the BP framework, we can use the RMH in a collaborationscheme with a metaheuristic9, in order to obtain good solutions earlyin the procedure.

8Joncour et al. 2010.9Danna and Le Pape 2005.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 24 / 28

Page 83: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Collaboration scheme10

4 Branch-and-Price Heuristics 101

Branch-and-price Generation of integer solutions

Figure 4.1. Cooperation scheme.

Cordeau et al. (2001); De Backer et al. (2000); Bräysy and Gendreau (2003a,b).

The remainder of the paper is organized as fohows. Section 2 presents our general cooperation scheme between branch-and-price and local search. Section 3 details how our general scheme is applied to the vehi-cle routing problem with time windows. Section 4 gives computational results and discusses why our hybrid scheme works. Finally, Section 5 summarizes our conclusions.

2. General cooperation between branch-and-price and local search

2,1 Description of the algorithm and discussion Figure 4.1 presents our cooperation scheme between column genera-

tion and local search. The left hand side of the figure shows the usual relaxed master problem and subproblem of branch-and-price. Note that the subproblem could be solved by any optimization technique. On the right hand side two components for obtaining integer solutions are speci-fied. First, a mixed integer programming (MIP) solver is called regularly on the master problem with the current set of columns without relaxing

10Image from Danna and Le Pape 2005.Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 25 / 28

Page 84: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

Thanks for your attention.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 26 / 28

Page 85: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

References I

Claudia Archetti and M Grazia Speranza. “A survey on matheuristics for routingproblems”. In: EURO Journal on Computational Optimization 2.4 (2014), pp. 223–246.

Andrea Bettinelli, Alberto Ceselli, and Giovanni Righini. “A branch-and-cut-and-pricealgorithm for the multi-depot heterogeneous vehicle routing problem with time windows”.In: Transportation Research Part C: Emerging Technologies 19.5 (2011), pp. 723–740.

Marco A Boschetti et al. “Matheuristics: Optimization, simulation and control”. In:Hybrid Metaheuristics. Springer, 2009, pp. 171–177.

Nicos Christofides, Aristide Mingozzi, and Paolo Toth. “State-space relaxationprocedures for the computation of bounds to routing problems”. In: Networks 11.2(1981), pp. 145–164.

Emilie Danna and Claude Le Pape. “Branch-and-price heuristics: A case study on thevehicle routing problem with time windows”. In: Column Generation. Springer, 2005,pp. 99–129.

Guy Desaulniers and Daniel Villeneuve. “The shortest path problem with time windowsand linear waiting costs”. In: Transportation Science 34.3 (2000), pp. 312–319.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 27 / 28

Page 86: Exact and Heuristic Solution Methods for a VRP with Time … · Exact and Heuristic Solution Methods for a VRP with Time Windows and Variable Service Start Time Y. Arda, H. Ku˘ cuk

Hybrid Methods

References II

Martin Desrochers and Francois Soumis. “A generalized permanent labeling algorithm forthe shortest path problem with time windows”. In: INFOR Information Systems andOperational Research (1988).

Moshe Dror. “Note on the complexity of the shortest path models for column generationin VRPTW”. In: Operations Research 42.5 (1994), pp. 977–978.

Dominique Feillet et al. “An exact algorithm for the elementary shortest path problemwith resource constraints: Application to some vehicle routing problems”. In: Networks44.3 (2004), pp. 216–229.

Cedric Joncour et al. “Column generation based primal heuristics”. In: Electronic Notesin Discrete Mathematics 36 (2010), pp. 695–702.

Giovanni Righini and Matteo Salani. “New dynamic programming algorithms for theresource constrained elementary shortest path problem”. In: Networks 51.3 (2008),pp. 155–170.

Martin WP Savelsbergh. “The vehicle routing problem with time windows: Minimizingroute duration”. In: ORSA journal on computing 4.2 (1992), pp. 146–154.

Y.A., H.K., Y.C., S.M. (HEC -ULg) Hybrid methods for a type of VRPTW 5/2/2014 28 / 28