210 A. Bley et al.
w
e
−r
a(e)t
+ r
b(e)t
= 0 t ∈ V , e ∈A
t
(8.4b)
w
e
−r
a(e)t
+ r
b(e)t
≥ 1 t ∈ V , e ∈A
t
(8.4c)
1 ≤ w
e
≤ w
max
e ∈ E (8.4d)
r
vt
∈ R t ∈ V , v ∈V (8.4e)
w
e
∈ Z e ∈ E . (8.4f)
Constraints (8.4b) and (8.4c) (together with nonnegativity of the weight variables w
e
implied by (8.4d)) ensure that the weights w
e
in any solution of formulation (8.4)
are compatible with the given SP graphs. The quantity w
e
−r
a(e)t
+ r
b(e)t
measures
the difference between the length of the shortest path which starts in node a(e),
goes over link e, and ends in node t, and the distance from the node of a(e) to t.
This difference must be 0 for all links that are supposed to be on a shortest path and
strictly greater than 0 for all links that are supposed to be not on a shortest path, as
expressed in constraints (8.4b) and (8.4c). Hence, formulation (8.4) has a solution
if and only if there exist compatible weights for the given family of SP graphs A
t
,
t ∈ V . Furthermore, there are compatible weights in the range {1,2,...,K} if and
only if the optimal solution value w
max
of formulation (8.4) is less than or equal to
K.
Note that formulation (8.4) is an integer program and may be computationally
hard. In fact, Bley [12] proved that it is already NP-hard to approximate its optimum
within a factor less than 9/8 in general.
In our decomposition approach, it is sufficient to solve only the linear relaxation
of (8.4) and scale and round its optimal fractional solution to an integer-feasible
solution of (8.4). It is not difficult to verify that the integer program (8.4) has a so-
lution if and only if its linear relaxation does. Using the rounding scheme proposed
by Ben-Ameur and Gourdin [6], we obtain weights that exceed the minimal ones by
a factor of at most min(|V |/2,|P
max
|), where P
max
is the longest prescribed shortest
path. For practically relevant network sizes, the weights computed with this approx-
imate method easily fit into the admissible range of all modern routing protocols.
So, we can safely ignore the integrality constraint (8.4f) in practice.
If the linear relaxation of (8.4) is infeasible, then the given solution (u,x,z, Z) of
the (incomplete) master formulation is not a valid ECMP routing. In this case, the
presumed routing contains at least one conflict (C,
¯
C) ∈C with C ⊆{(e,t) : u
et
= 1}
and
¯
C ⊆{(e,t) : u
et
= 0}, whose corresponding conflict inequality (8.3f) is violated
by the given solution (u, x,z,Z). Adding this inequality to the master formulation,
one can cut off the current invalid solution.
In practice it is important to generate conflicts with small sets C and
¯
C,asthis
leads to stronger inequalities (8.3f). Inclusion-wise minimal conflicts, i.e., conflicts
(C,
¯
C) ∈ C such that there is no other conflict (C
,
¯
C
) ∈ C with C
⊆C and
¯
C
⊆
¯
C,
can be computed in polynomial time using simple greedy techniques in combination
with a generalized version of the above linear programming formulation. Finding a
conflict of minimum total size |C|+ |
¯
C|, however, is NP-hard [13].
In Sections 8.4.1 and 8.4.2, we describe several subclasses of the conflict inequal-
ities (8.3f) that are separable in polynomial time. An algorithm to generate strongly