• Ingen resultater fundet

The VRP – The objective

N/A
N/A
Info
Hent
Protected

Academic year: 2022

Del "The VRP – The objective"

Copied!
20
0
0

Indlæser.... (se fuldtekst nu)

Hele teksten

(1)

The Set Partitioning Problem – using the structure

Jesper Larsen

jla@imm.dtu.dk

Informatics and Mathematical Modelling Technical University of Denmark

(2)

Jesper Larsen 2

Contents

The Vehicle Routing Problem.

Total Unimodular matrices.

Balanced matrices.

The petal method.

Using shortest path in the petal method.

Beyond 1-petals.

(3)

The Vehicle Routing Problem

The Vehicle Routing Problem is central in distribution management. It is defined as:

Let G = (V, A) be a graph where

V = {0, 1, . . . , n} is the vertex set, and

A = {(i, j) : i, j ∈ V, i 6= j} is the set of arcs.

0 represents the depot. At the depot we

have m identical vehicles. Each vehicle has a capacity of Q.

Associated with each customer (node) i is

(4)

Jesper Larsen 4

The VRP – The objective

The objective of the VRP is to:

determine m routes, starting and ending at the depot, such that,

each customer is visited exactly once and total demand of any vehicle route does not exceed Q, and

total duration does not exceed an upper limit D, and

the total costs of all routes are minimized.

(5)

The VRP – Some remarks

The VRP is a hard optimization problem which reduces to the Traveling Salesman Problem

(TSP) when m = 1 and both Q and D sufficiently large.

Generally, instances of up to size 100 are currently solvable to optimality.

Since the first definitions of the problem in the 50’s several exact methods and a huge number of heuristics have been defined for the problem.

(6)

Jesper Larsen 6

Developing the Set Partition Formulation

In the SPP formulation

each of the columns represent a (feasible) route, and

each of the rows represent a customer.

So aij = 1 if customer i is included into route j. For each subset of customers Sj the cost cj is determined by solving a TSP over the

customers.

(7)

SPP – Challenges

Two big issues must be addressed to get success with the SPP formulation:

Total number of routes can be extremely large.

Example: Consider an instance with 40

customers. Assume every route consisting of 7 customers is feasible. This will result in the

order of 4.6 million routes.

The SPP is NP-hard.

(8)

Jesper Larsen 8

SPP – One approach

In routing applications the solution of the LP relaxation seldom produces a naturally integer solution. Therefore an approach could be:

First solve the LP relaxation

Resolve fractionality (Branch-and-Bound)

This approach will never work without the addition of valid inequalities.

(9)

SPP – A clever alternative

An alternative is to carefully select a subset of

customers from amongst all possible legal duties, in a way so that:

selected should contain an optimal solution, AND

improve the natural integer property.

(10)

Jesper Larsen 10

OUR MISSION

We attempt to construct a small SPP which

contains the optimal solution of the full SPP, and which also has a relaxed LP with a significant

(better all) variables integer.

(11)

Strength of Integrality Conditions

Matrices with an integer optimal vertex

Perfect matrices

Balanced matrices

Total unimodular matrices

(12)

Jesper Larsen 12

Unimodular zero-one matrices

Determinant of all square submatrices of A is either 0, 1 or −1.

A square 0-1 matrix is Eulerian if all rows and columns sums are even.

A zero-one matrix is totally unimodular if it does not contain any Eulerian submatrices with

P P aij not divisible by 4.

Difficult to check for the forbidden submatrices Difficult to associate with practical problems

(13)

Balanced zero-one matrices

A zero-one matrix is balanced if it does not

contain any odd order 2-cycle submatrices, that is,

it does not contain an odd order submatrix with row and column sums equal to 2.

(14)

Jesper Larsen 14

The concept of a petal

A route with petal structure visits all customers in a particular sector with center in the depot.

Routes of a petal structure radiate from the

depot like petals of a flower, and do not overlap.

The enumeration of all feasible routes with petal structure can be implemented efficiently.

As the cost we need to compute the length of the corresponding TSP

(15)

A spanning petal

A spanning petal is a collection of petals that

contains every customer exactly ones. It can be described by a sub-sequence of deliveries

taken from the cyclic order.

The set of petals

{(9, 10), (11, 12), (6, 7, 8), (4, 5), (13, 1, 2, 3)} can be described by {4, 6, 9, 11, 13}.

So an optimal set of routes is the same as finding a minimum cost spanning petal.

(16)

Jesper Larsen 16

From petals to generalized petals

One key observations is that the integral nature of our petals does not depend upon an radial ordering.

We can reorder our customers in a non-radial cyclic order before applying the petal

generation scheme.

Example: use the ordering

3, 7, 5, 8, 10, 6, 4, 2, 9, 1, 12, 13, 11 and we get.

(17)

Optimal Petal Selection

Solve the LP-relaxation of the SPP

Use a shortest path reformulation of the problem

(18)

Jesper Larsen 18

OPS by Shortest Path

Petals are represented by a weighted cyclic digraph H = (N, E). H is called the petal graph.

The nodes N correspond to customers.

The arcs E corresponds to generalized petals.

Each generalized petal is represented by an arc from node i to node j where i is the first

customer in the route and j the first subsequent customer in the cyclic order.

The cost of an arc equals the cost of the petal.

(19)

OPS and Compact cycles

So a solution, that is, an OPS, is a cycle in the petal graph.

So the optimal solution is to find the shortest cycle in the petal graph.

(20)

Jesper Larsen 20

Extending the notion of petals

The columns we have represent one route – let us call them 1-petals.

We can now extend the notion of petals to

r-petals, where an r-petal is a set of r routes

which collectively service all customers within a given sector centred at the depot.

Referencer

RELATEREDE DOKUMENTER

In order to maximize the field trafficability, it is recommended to limit the vertical stress within the soil profile and not exceed the limit of 50 kPa below 50 cm (P.

Controlling for of unobserved differences between part-time sick-listed and full-time sick- listed employees, we find that part-time sick-listing does not reduce the duration

14b If not otherwise stated in the other Contract Documents, the Client and the Manager shall, before the commencement of the Total Work, together carry out an inspection of

Train platform Duration Total Transfer tunnel Duration Total Escalator Duration Total Stair Duration. Total Lift Duration Total Platform Duration Total

The combined e¤ects of subsidies and …nancing in the case where the union does not value further increases in apprentice wages is likely to be an incidence rate above one and

First, it makes an implicit assumption of speech presence, which does not always hold, and it is not uncommon that a VAD method assumes the presence of speech in every signal

that a certain variable must not be allocated to SPMEM or that the response time of a task may not exceed a certain value (which is actually a change of the deadline).

In terms of privacy, this single party is not trusted; the protocol will provide privacy as long as the adversary does not control both the client machine and the single party.. On