Professional Documents
Culture Documents
Constraint Programming.
1 Introdu
tion
Column Generation is a powerful method used to solve Constrained Set Par-
titioning problems. This method
an be de
omposed in two parts: the master
problem and the sub-problem. The Master Problem that should be solved in
Column Generation is derived from a simple Set Partitioning problem. Letting
o be a feasible set of node in the original graph (whi
h
ontains N nodes), O be
the set of all possible o,
o be the
ost of visiting all the nodes in o, A = (aio ) be
a boolean matrix expressing the presen
e of a parti
ular node (denoted by index
i 2 f1::N g) in a set of nodes o and xo a boolean variable spe
ifying whether the
set o is used or not, the Set Partitioning Problem is dened as:
min
X
x
o o
s:t
Xa x
o2O
= 1 8i 2 f1::N g
io o
o2O
x 2 f0; 1gN
min
X
x
o o
s:t
Xa x
o2O 0
1 8i 2 f1::N g
io o
o2O 0
x 2 f0; 1gN
Depending on the
ontext the subproblem may be
ome a variant of the simple
Shortest-Path Problem; appli
ations in s
heduling generally present an a
y
li
graph (sin
e one dimension of the graph is time) as opposed to routing problems
that are
y
li
by nature. However, most real life appli
ations present resour
e
onstrained sub-problems, typi
al resour
es being time,
apa
ity, money, et
.
In this paper we will
onsider the routing domain of appli
ation and thus
on
entrate our studies on the Cy
li
Resour
e Constrained Shortest Path Prob-
lems. These problems are also referred to as Protable Tour Problems (PTP)
in the literature, sin
e the obje
tive is to
onstru
t a tour that minimizes the
distan
e traveled, while maximizing the total amount of prize (here dual values)
olle
ted.
Most of the methods that address the
y
li
ases do so by rst rendering
the asso
iated graph a
y
li
. This transformation enables the use of dynami
programming to solve the shortest path problem given that the resour
es are
dis
rete [3℄. This method is very eÆ
ient, however the size of the graph generated
is usually quite impressive, and sin
e the problem allows negative weight on the
ar
s the shortest paths produ
ed are not elementary.
It is hoped that the use of Constraint Programming in
ombination with
Operations Resear
h methods will allow us to solve Elementary Shortest Path
Problem instan
es by working on the smaller original
y
li
graph.
The redu
ed
ost of a path in the subproblem is
al
ulated by repla
ing the
ost of an ar
(the distan
es between two nodes) dij by the redu
ed
ost of that
ar
ij where
ij = dij I and i is the dual value asso
iated with node i.
The obje
tive of the Shortest-Path Problem, in a
olumn generation
ontext,
is the identi
ation of multiple paths of negative redu
ed
ost (a
ording to the
dual values provided by the master problem) and not ne
essarily one path of
minimal value. However to prove the optimality of the global method we do
need to prove that no path of negative redu
ed
ost exist.
In this preliminary version we present the model we have
hosen to represent
the Protable Tour Problem, we introdu
e some redundant
onstraints and we
dis
uss the transformation of a PTP into an Asymmetri
Traveling Salesman
Problem (ATSP) in order to use known lower bounds. We also point out possible
resear
h dire
tions to improve the behavior of the proposed model.
Le
ture Notes in Computer S
ien
e 3
2 Model
Sin
e the problem we
onsider is
y
li
we
annot use simple set variables to
re
ord solutions as proposed in [5℄. The
onstru
tion of a
omplete solution from
the set of in
luded visits would require solving a resour
e
onstrained TSP. We
thus need to introdu
e a new model. Given that in the original graph there are
N nodes, node 0 is
opied into node N+1:
2.1 Parameters
2.2 Variables
2.3 Constraints
Si = j ) Pj = i S P Coheren
e
onstraints.
Si = i , i 62 V S V Coheren
e
onstraints.
AllDiff(S) Conservation of Flow.
NoSubT our(S) SubTour elimination
onstraint.
Si = j ) Ti + tij Tj Time window
onstraints.
Si = j ) Li + lj = Lj Capa
ity Constraints.
The nature of our problem also led us to develop a more
omplex redundant
and bounding
onstraint, whi
h we
all the CanBeConne
ted (CBC)
onstraint.
The problem addressed by this
onstraint arises from the fa
t that a typi
al
4 Louis-Martin Rousseau, Gilles Pesant, Mi
hel Gendreau
rst fail solution strategy leads to the
onstru
tion of small, disjoint, pie
es of
solution. Due to resour
e
onstraint it is possible that those pie
es of solution
are in
ompatible and that no solution exists. Sin
e it is
learly advantageous to
dis
over su
h in
onsisten
ies as early as possible, we devised the CBC
onstraint.
In order to prune eÆ
iently the sear
h tree we must be able to
al
ulate lower
bounds at ea
h node. Unfortunately, even if the literature is proli
in terms of
lower bounds for the TSP, none expli
itly exists for the PTP. It is however fairly
simple to transform a PTP into an asymmetri
TSP (see [2℄) by adding N nodes
and 2N ar
s. This extra portion of the graph
onstitutes a dummy path that
permits the visit of nodes left unvisited by the PTP solution. The
ost of visiting
a node thru this dummy path is set to the
ost of its asso
iated dual value. The
obje
tive value of the resulting ATSP optimal solution will be superior to the
P
value of the optimal solution to the PTP by a
onstant that equals the sum of
all dual values ( i 1::N i ).
2f g
Le
ture Notes in Computer S
ien
e 5
Original Problem
0 λ 0 λ 0 λ 0 λ
0 0 0 0
4 Preliminary Results
Results obtained by the proposed approa
h are en
ouraging sin
e the method is
able to identify good negative redu
ed
ost paths. The role played by the CBC
onstraint is
ru
ial, without it the algorithm hardly produ
es any NRC paths.
The CBC
onstraint is also responsible for about 75% of the updates made on
the upper bound during the sear
h.
Experiments have also been
ondu
ted to
ompare early implementation of
the dierent approa
hes. It seems that a heuristi
based approa
h produ
es
better solutions on most of the instan
es given a time limit is imposed. However
the pure CP approa
h and MIP hybrid, whi
h are exa
t methods, are both very
eÆ
ient on a small subset of the instan
es used for
omparison.
Referen
es
1. Y. Caseau, F. Laburthe, and G. Silverstein. A Meta-Heuristi
Fa
tory for Vehi
le
Routing Problems. In Prin
iples and Pra
ti
e of Constraint Programming CP99,
Le
ture Notes in Computer S
ien
e. Springer-Verlag, 1994.
2. M. Dell'Ami
o, F. MaÆoli, and P. Varbrand. On prize-
olle
ting tours and the
asymmetri
travelling salesman problem. Te
hni
al report, Dipartimento di Elet-
troni
a e Informazione Polite
ni
o di Milano, Milano, Italie, 1994.
3. J. Desrosiers, M.M. Solomon, and F. Soumis. Time
onstrained routing and s
hedul-
ing. Handbooks of Operations Resear
h and Management S
ien
e, 8:35{139, 1993.
4. F. Fo
a
i, A. Lodi, and M. Milano. " Solving TSP with time windows with
on-
straints . In International Conferen
e on Logi
Programming, November 1999.
5. Ulri
h Junker, Stefan E. Karis
h, Niklas Kohl, Bo Vaaben, Torsten Fahle, and
Meinolf Sellmann. A framework for
onstraint programming based
olumn gen-
eration. In Prin
iples and Pra
ti
e of Constraint Programming, pages 261{274,
1999.
6. G. Pesant, M. Gendreau, J.-Y. Potvin, and J.-M. Rousseau. An Optimal Algorithm
for the Traveling Salesman Problem with Time Windows using Constraint Logi
Programming. Publi
ation CRT-96-15, Centre de re
her
he sur les transports, Uni-
versite de Montreal, Montreal, 1996.
7. L.-M. Rousseau, M. Gendreau, and G. Pesant. Using
onstraint-based operators
with Variable Neighborhood Sear
h to solve the Vehi
le Routing Problem with
Time Windows. journal of Heuristi
s. forth
oming.
8. P. Shaw. Using Constraint Programming and Lo
al Sear
h Methods to Solve Ve-
hi
le Routing Problems. In Prin
iples and Pra
ti
e of Constraint Programming -
CP98, volume 150 of Le
ture Notes in Computer S
ien
e, Pisa, Italy, O
tober 1998.
Springer-Verlag.