7.2 First-stage Binary Variables 299
provides a nontrivial (but nonbinding) bound for some cases such as x
11
= 0,
x
21
= 1, x
31
= 1, x
41
= 0,where(2.3) does not.
The algorithm for the full example with six outputs was simulated by adding
cuts each time a new iterate point was found, then restarting the branch and bound.
Cuts (2.3)and(2.13) were added each time the amount of violation exceeded 0.1.
The number of iterate points is dependent on the strategies used in the branch and
bound. For this example, the largest number of iterate points was 21 . In that case,
the mean number of cuts per output was 6.833 cuts of type (2.13) and 2.5 cuts (2.3).
As extreme cases, 10 improved optimality cuts were imposed for Output 1 and only
4 for Output 2 , while 4 continuous cuts were imposed for Output 3 and only 1 for
Output 5 .
The optimal solution is x
11
= x
13
= x
15
= x
16
= x
21
= x
22
= x
24
= x
41
= x
42
=
x
43
= x
45
= x
46
= 1 ; all other x
ij
s are zero with first-stage cost 140 and penalty
13.26 , for a total of 153.26 . It strongly differs from the solution of the deterministic
problem where outputs equal expected values: x
11
= x
12
= x
13
= x
14
= x
16
= x
21
=
x
23
= x
25
= 1 with first-stage cost 97 . The reason is that in the stochastic case, even
if the expected output exceeds demand, the probability that the demand is not met
is nonzero. In fact, the solution of the deterministic problem has a penalty of 87.59
for a total cost of 184.59 and a VSS of 31.33 .
b. Example with continuous random variables
Consider the vehicle routing problem of Section 1.6. Assume now there are n
clients, each having an unknown demand. We are given a graph G =(V,E) which
consists of a set V of vertices (or nodes) and a set E of edges (or arcs). Here, the
nodes correspond to the set of clients plus the depot V = {0,1, 2,...,n,0} where 0
is the depot. Arc (i, j) corresponds to traveling from node i to node j .Arcsmay
be traveled in either direction, with a cost c
ij
= c
ji
. The graph is complete (the
vehicle can travel from any point, client or depot, to another).
Each client i has a random demand ξ
i
. This demand is not known when the tour
starts. It becomes known only when the vehicle arrives at the client. The sum of the
demands of a group of clients is a random variable. It is assumed that the cumulative
distribution function of the sum is computable. This is the case for discrete random
variables with a very small number of realizations or for demands following such
distributions as Poisson or normal. The vehicle has a known capacity D .Given
that the demands are random, the cumulative demand may at some point exceed the
vehicle capacity. This situation is called a failure.
The simplest version of the stochastic TSP with random demands consists of
finding, in the first-stage, a so-called a priori route. This route must be a Hamil-
tonian tour, in the sense that it starts from the depot, visits all clients exactly once,
then returns to the depot. In the second- stage, the route is followed in the prescribed
order. In case of failure, the vehicle returns to the depot, unloads and resumes its trip
where the failure occurred. We have seen already in Section 1.6 that they are other