fosp fosp

20
FoSP FoSP Algorithmen & mathematische Modellierung Forschungsschwerpunkt Algorithmen und mathematische Modellierung The computational complexity of continuous-discrete bilevel network problems Elisabeth Gassner Project Area(s): Kombinatorische Optimierung komplexer Systeme Institut f¨ ur Optimierung und Diskrete Mathematik (Math B) Report 2009-16, September 2009

Upload: networkingcentral

Post on 29-Jun-2015

255 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: FoSP FoSP

FoSPFoSPAlgorithmen &

mathematischeModellierung Forschungsschwerpunkt

Algorithmen und mathematische Modellierung

The computational complexity of continuous-discrete bilevel

network problems

Elisabeth Gassner

Project Area(s):

Kombinatorische Optimierung komplexer Systeme

Institut fur Optimierung und Diskrete Mathematik (Math B)

Report 2009-16, September 2009

Page 2: FoSP FoSP

The computational complexity of

continuous-discrete bilevel network problems

Elisabeth Gassner

September 25, 2009

Abstract

We study a bilevel approach for combinatorial optimization problems on

graphs: In our model the follower has to solve a network problem. The

leader is allowed to modify parameters of the follower’s objective function

and thereby influences the follower’s decision and indirectly his own outcome.

The main focus of this paper is to analyse the computational complexity of

such bilevel network problems. We give several conditions on the underlying

network problem that imply that the associated bilevel network problem is

solvable in polynomial time or NP-hard. The computational complexity of

bilevel spanning tree problems is fully characterized provided that the under-

lying objective functions are of sum- or bottleneck-type.

1 Introduction

Multilevel and especially bilevel optimization problems have reached increasing in-terest in the last years. The characteristic of bilevel optimization is the existenceof two decision makers (the leader and the follower), each with his own objectivefunction, who act in a hierarchy. The decision process starts with an action of theleader. Given the leader’s action, the follower answers with a reaction that is anoptimal solution of his own follower’s optimization problem. However, the leader’saction influences the follower’s optimization problem in the sense that he can modifyparameters of the follower’s objective function or constraints. The goal is to find anaction that optimizes the leader’s outcome that depends on his own action and thefollower’s reaction. Formally, a bilevel optimization problem is given in the following

1

Page 3: FoSP FoSP

form:

minx∈S1

H1(x, y(x))

s.t. y(x) is an optimal solution of (1)

miny∈S2

H2(x, y)

s.t. (x, y) ∈ S

where Si ⊆ Rni (i = 1, 2), S ⊆ R

n1+n2 and Hi : S → R (i = 1, 2). Observethat we apply the so-called optimistic rule, i.e., in case of several follower-optimalreactions the follower chooses a most leader-friendly one. In contrast there alsoexists the pessimistic rule where in case of several follower-optimal reactions thefollower chooses one that is worst for the leader’s outcome (e.g., see Dempe [4] for adiscussion of several possibilities about how to deal with non-unique follower-optimalsolutions).

Most attention was paid to the bilevel linear programming problem, i.e., Hi(x, y)are linear functions for i = 1, 2 and Si (i = 1, 2) and S are given by systems of linear(in)equalities. Hansen, Jaumard and Savard [11] proved strong NP-hardness of thebilevel linear programming problem. On the other hand, there are several solutionapproaches based on branch and bound, extreme point, penalty approaches andmany other techniques. The interested reader is referred to the bibliography byVicente and Calamai [15] or the books by Bard [1] and Dempe [4].

Less attention was paid to discrete bilevel programming problems where at leastone decision vector x or y is restricted to lie in a discrete set. Questions concern-ing the existence of an optimal solution and efficient algorithms were addressedfor different variants of discrete bilevel problems (e.g., see Bard [1] or Dempe [4]).Most investigations were done for discrete bilevel optimization problems where bothobjective functions Hi (i = 1, 2) are linear, and the sets Si (i = 1, 2) and S aredescribed by systems of linear (in)equalities with the additional constraint that ei-ther x and y or only x are discrete decision vectors. One reason for this is that thecompactness of (S1 × S2) ∩ S guarantees the existence of an optimal solution forthese variants of discrete bilevel optimization problems. This is, however, not thecase if x is continuous and y is discrete (e.g., see Dempe [3]).

Our purpose is to investigate bilevel network problems, i.e., the follower’s opti-mization problem is a network problem like the shortest path problem or the mini-mum spanning tree problem. While (discrete) bilevel linear programming problemshave reached a lot of attention, there has been done much less work in the area ofbilevel combinatorial optimization problems. Gassner [8] studied a discrete bilevelapproach for the minimum spanning tree problem where a partition of the set ofedges into leader- and follower-edges is given. The leader’s action is to choose asubset of his edges while the follower’s reaction is to build up a spanning tree that

2

Page 4: FoSP FoSP

includes the edges chosen by the leader. Hence, the leader’s and follower’s decisionvectors are discrete. She obtained polynomial time algorithms for the cases wherethe leader has a bottleneck objective function while the follower has a sum or bot-tleneck objective function. An analoguous bilevel approach was considered for theassignment problem. Gassner and Klinz [10] showed several NP-hardness results ofsuch bilevel assignment problems with sum- and bottleneck objective functions forthe leader and follower.

Another direction of research are continuous-discrete bilevel combinatorial opti-mization problems, i.e., the leader has a continuous and the follower has a discretedecision vector. Dempe and Richter [5] and later Brotcorne, Hanafi and Mansi [2]considered a continuous-discrete bilevel knapsack problem where the leader choosesthe capacity of the knapsack while the follower has to solve the knapsack instancewith respect to the capacity chosen by the leader. This model allows the leaderto modify a parameter of a constraint of the follower’s optimization problem. Theleader’s objective function consists of the cost of parameter modification and anevaluation of the knapsack solution chosen by the follower.

We consider a similar model but the leader is allowed to change parameters ofthe follower’s objective function instead of parameters of constraints. The follower’soptimization problem is a network problem of the following form: Given a graphproperty π, the task of the follower is to choose a subset of edges F such thatthe graph induced by F satisfies π and the follower’s objective value is minimum.The goal of this paper is to clarify the computational complexity of continuous-discrete bilevel network problems. In Section 2, we introduce continuous-discretebilevel network problems and make some assumptions on the solvability of the un-derlying network problems. Section 3 deals with the computational complexity ofcontinuous-discrete bilevel network problems. We state relationships to inverse andblocking network problems and thereby conclude some conditions that guaranteeNP-hardness or polynomial solvability of the associated bilevel network problems.Special attention is paid to the cases where the evaluations of network solutions areof sum- and bottleneck-type. If at least one of the decision makers has a bottleneckobjective function then we show relationships to partial inverse network and block-ing network problems, respectively. Finally, in Section 4 the results of the previoussection are applied to the spanning tree problem. We state the computational com-plexity for the cases that the modification cost, leader’s evaluation and follower’sevaluation of a feasible network solution are of sum- or bottleneck-type.

2 Problem Formulation

This section gives a formal definition of our model of continuous-discrete bilevel net-work problems, CDBP for short. CDBP is a special case of the bilevel optimization

3

Page 5: FoSP FoSP

problem (1) where S2 is the set of feasible solutions of a network problem. Eachdecision maker, the leader and the follower, have their own evaluation of a feasi-ble network solution. In order to force the follower to choose a certain solution andhereby to optimize the leader’s objective value, the leader is allowed to modify inputparameters that influence the follower’s evaluation of a feasible solution. However,the leader has to pay for such modifications. Hence, the task is to find an opti-mal modification strategy such that the sum of total cost of modifications and theleader’s evaluation of a follower-optimal solution is minimum. In the context of gen-eral bilevel optimization problems, S1 is the set of possible modification strategies,S2 is the set of feasible solutions of the network problem and S = S1 × S2.

We apply this type of continuous-discrete bilevel optimization problems to net-work problems that are given in the following way: There is a (di)graph G = (V, E),element weights we ∈ R (for every e ∈ E), a graph property π and a composition⊗. The task is to find a subset F ⊆ E of edges such that the graph GF inducedby F satisfies π and

e∈F we is minimum. Hence, the problem is defined by thetuple (π,⊗) while an associated instance is specified by (G, w). The set of feasiblesolutions is denoted by

Fπ(G) = {F ⊆ E | GF satisfies π}.

Observe that several well-known combinatorial optimization problems can be de-scribed in this way, e.g., the shortest path problem, the minimum linear assignmentproblem, the minimum cut problem or the minimum spanning tree problem.

A continuous-discrete bilevel network problem CDBP (π,⊕,⊗ℓ,⊗f) is specifiedby a graph property π, a cost-composition ⊕ and the compositions of the leader’sand follower’s weights ⊗ℓ and ⊗f , respectively. An instance (G, c, wℓ, wf) of theCDBP is given by a (di)graph G, a cost coefficient vector c, a weight-vector for theleader wℓ and a weight-vector for the follower wf . The task is to find a modificationδ of the follower’s weights and an optimal solution F ∈ Fπ(G) of the follower’sreaction problem that minimizes the leader’s objective value, i.e., the modificationcost plus the leader’s evaluation of the network solution F chosen by the follower.Formally, CDBP is to solve

minδ

e∈E

ce|δe| +⊗

e∈F

wℓe

s.t. F is an optimal solution of

minF⊆E

e∈F

f

(wfe + δe)

s.t. GF satisfies π

We complete this section by some notation and assumptions:

4

Page 6: FoSP FoSP

Let (G, c, wℓ, wf) be an instance of CDBP (π,⊕,⊗ℓ,⊗f ): A solution (δ, F ) ofCDBP is feasible if F ∈ Fπ(G) is an optimal solution of the instance (G, wf + δ) ofthe follower’s network problem (π,⊗f), i.e.,

e∈F

f

(wfe + δe) ≤

e∈F

f

(wfe + δe)

holds for all F ∈ Fπ(G). A feasible solution (δ∗, F ∗) is an optimal solution if⊕

e∈E

ce|δ∗e | +

e∈F ∗

wℓe ≤

e∈E

ce|δe| +⊗

e∈F

wℓe

holds for every feasible solution (δ, F ).The aim of this paper is to characterize easy and hard cases of continuous-

discrete bilevel network problems. Obviously, if the network problems (π,⊗ℓ) or(π,⊗f) are NP-hard then CDBP (π,⊕,⊗ℓ,⊗f ) is also NP-hard or does not even liein NP. Hence, we will only consider network problems (π,⊗ℓ) and (π,⊗f ) that aresolvable in polynomial time.

Throughout the paper, we assume that all compositions ⊕, ⊗ℓ and ⊗f are com-patible with the order ≤, e.g., for ⊕ this means if a ≤ b then a ⊕ c ≤ b ⊕ c holds.Moreover, we assume that the cost coefficients ce (e ∈ E) and the cost compositionsatisfy

e∈E ce|δe| ≥ 0 for all δ ∈ R|E| and 0 is the neutral element of this compo-

sition, i.e., a ⊕ 0 = a. Finally, the leader’s weights wℓe (e ∈ E) and his evaluation

function ⊗ℓ satisfy wℓe ≤

⊗ℓ

e∈F wℓe for all e ∈ F and F ∈ Fπ(G). This property is

called leader’s monotonicity.We will frequently use the sum- and the maximum-composition. Observe that

both compositions are compatible with the order ≤. Moreover, the nonnegativityassumption for the cost-composition as well as the leader’s monotonicity (providedthat the cost coefficients and leader’s weights are nonnegative) hold for sum- andmaximum-operators.

An optimization problem where the objective function is a composition with themaximum-operator is also called bottleneck optimization problem. Throughout thepaper, the number of vertices of a graph G = (V, E) is denoted by n while m = |E|.

Finally, we mention an obvious property of an optimal solution (δ∗, F ∗) of CDBP:Since (δ∗, F ∗) is feasible, F ∗ is an optimal solution of the follower’s network problemwith respect to the weight vector wf + δ∗. The compatibility of ⊗f with ≤ impliesthat F ∗ is also an optimal solution with respect to the weight vector wf + δ whereδe ≤ δ∗e holds for all e ∈ F ∗ and δe ≥ δ∗e for all e ∈ E \ F ∗. However, the goal is tominimize the sum of modification cost and the leader’s evaluation of the follower’snetwork solution. Therefore, we get the following lemma:

Lemma 2.1. CDBP (π,⊕,⊗ℓ,⊗f ) admits an optimal solution (δ∗, F ∗) such that

δ∗e ≤ 0 for all e ∈ F ∗ and δ∗ ≥ 0 for all e ∈ E \ F ∗.

5

Page 7: FoSP FoSP

3 The computational complexity for general bilevel

network problems

In this section, we try to draw a borderline between easy and hard cases of CDBP.Intuitively, the task of CDBP is to find a follower’s weight modification such thatthe leader forces the follower either to choose a leader-friendly network solution orat least to reject all these edges that have a bad leader’s weight. Hence, there is astrong relationship to so-called (partial) inverse optimization problems.

A partial inverse network problem is specified by a network problem (π,⊗) to-gether with a cost composition ⊕, i.e., there is given a triple (π,⊕,⊗). An instanceof such a partial inverse network problem is then given by (G, c, w, J+, J−) where(G, w) is an instance of the network problem, c is a cost vector and J+ ⊆ E andJ− ⊆ E with J+∩J− = ∅ are subsets of edges. The task of a partial inverse networkproblem is to find a weight modification δ such that there exists an optimal solutionF ∗ of the network problem instance (G, w + δ) such that J+ ⊆ F ∗ and J− ∩F ∗ = ∅hold and the total modification cost

e∈E ce|δe| is minimum. Hence, the task is tochange the weights such that there exists an optimal network solution that containsall elements of J+ and excludes all elements of J−.

If J+ ∪ J− = E then the problem is called inverse problem because the solutionthat should become optimal is fully given. There is a lot of literature on inverseoptimization problems and especially inverse network problems. The interestedreader is referred to the comprehensive survey on inverse optimization by Heuberger[12].

Since partial inverse network problems with J+ = ∅ are considered frequently inthis paper, we introduce the notation partial anti-inverse network problem, PAIPfor short, for the special case of a partial inverse network problem where J+ = ∅,i.e., the goal is to modify the weights such that there exists an optimal networksolution that excludes a given set of edges.

3.1 Sufficient NP-hardness conditions

This subsection provides sufficient conditions for CDBP to be NP-hard. The mainidea is to construct an instance that contains a set of edges that are unacceptable forthe leader. Hence, his goal is to change the follower’s weight such that the followerrejects these edges:

Theorem 3.1. If the Partial Anti-Inverse Problem (π,⊕,⊗f ) is NP-hard then

CDBP (π,⊕,⊗ℓ,⊗f ) is also NP-hard.

Proof. Consider an instance (G, c, w, J−) of PAIP. We will construct an instance Iof CDBP with the following property: There exists a feasible solution of PAIP with

6

Page 8: FoSP FoSP

objective value at most k if and only if there exists a feasible solution of CDBP withleader’s objective value at most k. The instance I = (G, c, wℓ, wf) is defined in thefollowing way: wℓ

e = k + 1 for e ∈ J− and wℓe = 0 otherwise and wf

e = we for e ∈ E.Observe that there is a feasible solution (δ, F ) of the constructed CDBP-instancewith leader’s objective value at most k if and only if F does not contain any elementof J− and the modification cost is at most k (because of the leader’s monotonicity).Hence, there exists a feasible solution (δ, F ) of the CDBP-instance with objectivevalue at most k if and only if there exists a follower’s weight modification with costat most k such that there exists a follower-optimal solution F that does not containany element of J−. This observation immediately implies the correctness of thetheorem.

Observe that Theorem 3.1 provides a sufficient NP-hardness condition that isbased on the partial anti-inverse network problem. In the following, we will con-sider the partial inverse network problem. Moreover, we assume that the leader’scomposition is a sum-operation and π satisfies the property that all feasible networksolutions have the same number of edges:

Theorem 3.2. If the Partial Inverse Problem (π,⊕,⊗f ) is NP-hard and all sub-

graphs of G that satisfy π have the same number of edges, then CDBP (π,⊕,∑

,⊗f)is also NP-hard.

Proof. This proof is very similar to the proof of Theorem 3.1. Therefore, we onlymention the main ideas of the construction of a hard instance (G, c, wℓ, wf) of CDBPgiven an instance (G, c, w, J+, J−) of the partial inverse problem (π,⊕,⊗f): Assumethat every feasible network solution contains exactly p edges. Then define wℓ

e =2k(p + 2) for e ∈ J−, wℓ

e = 0 for e ∈ J+ and wℓe = 2k otherwise. Moreover, wf

e = we

for every e ∈ E. We show that there exists a feasible solution of the partial inversenetwork instance with objective value at most k if and only if there exists a feasiblesolution (δ, F ) of CDBP with leader’s objective value at most k(2p − 2|J+| + 1).Recall that we assume the leader’s monotonicity. This implies that as soon as thereis one edge of J− or there are more than p − |J+| elements of E \ (J+ ∪ J−) in Fthen the leader’s objective value is at least 2k(p+2) > k(2p−2|J+|+1). Therefore,the leader’s objective value is at most k(2p− 2|J+|+ 1) if and only if there exists afollower-optimal solution F with F ∩J− = ∅ and J+ ⊆ F and the modification costare at most k.

The following two subsections deal with the special cases where either the leader’sor the follower’s composition is equal to the maximum-operator, i.e., at least one ofthem has a bottleneck evaluation function.

7

Page 9: FoSP FoSP

3.2 Characterization if the leader’s weight composition is of

bottleneck-type

In this subsection, we assume that the leader’s composition is equal to the maximum-operator, i.e., ⊗ℓ = max and hence the leader’s objective function is equal to

e∈E

ce|δe| + maxe∈F

wℓe.

Consider CDBP (π,⊕, max,⊗f) and an instance (G, c, wℓ, wf) thereof. In orderto solve this problem, we may apply a threshold algorithm that is based on thecalculation of an optimal follower’s weight modification provided that the leader’sevaluation of the follower-optimal network solution is fixed, i.e.,

• For every z ∈ W := {wℓe | e ∈ E} solve the instance (G, c, wf , J−

>z) of PAIP(π,⊕,⊗f) where

J−>z = {e ∈ E | wℓ

e > z}.

This means, we are interested in an optimal weight modification such thatthe follower chooses only edges e ∈ E with wℓ

e ≤ z. Let δ(z) be an optimalsolution of this PAIP-instance with objective value cost(z).

• Let minz∈W (cost(z) + z) = cost(z∗) + z∗ and let F ∗ be any follower-optimalsolution with respect to wf + δ(z∗) that contains no edge of J−

>z∗ . Then(δ(z∗), F ∗) is an optimal solution of CDBP.

Observe that this algorithm runs in O(mT (PAIP)) where T (PAIP) denotes thetime to solve PAIP. Together with Theorem 3.1 we get the following result:

Corollary 3.3. If PAIP (π,⊕,⊗f ) is solvable in polynomial time then CDBP (π,⊕, max,⊗f )is also solvable in polynomial time. However, if PAIP (π,⊕,⊗f ) is NP-hard then

CDBP (π,⊕, max,⊗f ) is also NP-hard.

3.3 Characterization if the follower’s weight composition is

of bottleneck-type

In this subsection, we consider the special case of CDBP where the follower has abottleneck objective function, i.e., the follower’s objective function is of the form

e∈F

f

(wfe + δe) = max

e∈F(wf

e + δe).

First we show that there exists an optimal solution (δ∗, F ∗) such that wheneverthe follower’s weight of an edge is changed then its new weight is equal to the optimalfollower’s objective value:

8

Page 10: FoSP FoSP

Lemma 3.4. There exists an optimal solution (δ∗, F ∗) of CDBP (π,⊕,⊗ℓ, max)such that wf

e + δ∗e = z∗ ≤ maxe∈E wfe holds for all e ∈ E with δ∗e 6= 0.

Proof. Let z∗ = maxe∈F ∗(wfe +δ∗e) be the optimal follower’s objective value. Accord-

ing to Lemma 2.1, we have z∗ ≤ maxe∈F ∗ wfe ≤ maxe∈E wf

e . Since ⊕ is compatiblewith ≤, it can easily be seen that there exists an optimal solution with the followingproperties: Whenever wf

e > z∗ then the follower-weight of e is either decreased toz∗ or not changed at all. An analogue result holds for an edge e with wf

e ≤ z∗.

Observe that Lemma 3.4 implies that whenever the follower’s optimal objectivevalue is known to be equal to z∗ then δ∗e ∈ {0, z∗ − wf

e }. Let z ∈ R then CDBP(z)is based on CDBP with the additional requirement that the follower’s optimal ob-jective value is equal to z. If opt(z) is the optimal objective value of CDBP(z)and minz∈R opt(z) = opt(z∗) then an optimal solution of CDBP(z∗) is an optimalsolution of CDBP.

In order to solve CDBP(z), let us define

E≤z = {e ∈ E | wfe ≤ z};

Fπ≤z(G) = {F ∈ Fπ(G) | F ⊆ E≤z}.

Then (δ, F ) is a feasible solution of CDBP(z) if and only if for every F ∈ Fπ(G)there exists at least one element e′ ∈ F with (wf

e′ + δe) ≥ z (this requirementmakes sure that the optimal follower’s objective value is at least z) and moreover(wf

e + δe) ≤ z holds for all e ∈ F (this requirement guarantees that the optimalfollower’s objective value is at most z and F is an optimal follower reaction). If weuse the fact that the cost-composition ⊕ is compatible with the order ≤ then we getthe following property: There exists an optimal solution (δ∗, F ∗) of CDBP(z) suchthat

1. for every F ∈ Fπ≤z there exists at least one element e′ ∈ F with wf

e′ + δ∗e′ = zand

2. wfe + δ∗e = z holds for all e ∈ F ∗ with wf

e > z.

Observe that the first condition is independent of F ∗. It requires that there existsa set X ⊆ E≤z such that X ∩ F 6= ∅ holds for all F ∈ Fπ

≤z and wfe + δ∗e = z∗

for all e ∈ X, i.e., the task is to find a subset of elements such that the removalof all elements in the subset destroys all feasible network solutions in Fπ

≤z. Theseobservations lead to the so-called blocking network problem (π,⊕): An instanceis given by (G′, c′) and the task is to find a subset X ⊆ E ′ with X ∩ F 6= ∅ forall F ∈ Fπ(G′) and

e∈X c′e is minimum. We consider the instance (G′, c′) withG′ = (V, E≤z) and c′e = ce(z − wf

e ) for e ∈ E≤z. The set of feasible solutions is thenequal to

9

Page 11: FoSP FoSP

Bπ≤z = {X ⊆ E≤z | F ∩ X 6= ∅ ∀F ∈ Fπ

≤z(G)}.

Hence, CDBP(z) can be written in the following form:

minX∈Bπ

≤z

F∈Fπ(G)

(

e∈X

ce(z − wfe ) ⊕

e∈F

ce max{wfe − z, 0}

)

+⊗

e∈F

wℓe.

Observe that the cost and leader’s weight compositions as well as the sum-operation are compatible with the order ≤ and hence the above formulation isequivalent to

minF∈Fπ(G)

((

minX∈Bπ

≤z

e∈X

ce(z − wfe )

)

⊕⊕

e∈F

ce max{wfe − z, 0}

)

+⊗

e∈F

wℓe.

This means that we split CDBP(z) into two subproblems. The first subproblemis to solve

block(z) = minX∈Bπ

≤z

e∈X

ce(z − wfe )

which is a blocking network problem (π,⊕). Taking the optimal objective value ofthe corresponding blocking network instance into account, CDBP(z) is equal to

minF∈Fπ(G)

(

block(z) ⊕⊕

e∈F

ce max{wfe − z, 0}

)

+⊗

e∈F

wℓe (2)

The composition given in (2) is denoted by ⊕ + ⊗ℓ. Hence, the task of the secondsubproblem is to solve the network problem (π,⊕ + ⊗ℓ).

Assume that we are given a subset of κ candidates for an optimal z-value then theabove discussion implies that CDBP can be solved by solving κ blocking problems(π,⊕) and network problems (π,⊕ + ⊗ℓ).

The next task is to find a small set of candidates for an optimal z-value. Assumethat the follower’s weights are sorted wf

e1≤ wf

e2≤ · · · ≤ wf

emand let a = wf

ei≤

z ≤ wfei+1

= b. Consider a restricted version of CDBP where the optimal follower’sobjective value is required to lie in [a, b]:

mina≤z≤b

minX∈Bπ

≤z

F∈Fπ(G)

(

e∈X

ce(z − wfe ) ⊕

e∈F

ce max{wfe − z, 0}

)

+⊗

e∈F

wℓe.

10

Page 12: FoSP FoSP

Observe that E≤z = E≤a holds for all a ≤ z < b which implies Bπ≤z = Bπ

≤a for alla ≤ z < b. Moreover,

minX∈Bπ

≤b

e∈X

ce(z − wfe ) = min

X′∈Bπ≤a

e∈X′

ce(z − wfe ) = block(z)

because if X ∈ Bπ≤b then X ∩ E≤a ∈ Bπ

≤a and if X ′ ∈ Bπ≤a then X ∪ {e ∈ E | wf

e =b} ∈ Bπ

≤b.Assume that the cost composition is equal to the sum-operator. Then block(z)

and ce max{wfe − z, 0} are linear functions for a ≤ z ≤ b. Hence, there exists an

optimal solution with z ∈ {a, b} = {wfei, wf

ei+1} for every fixed F ∈ Fπ(G). Since

this property holds for every F ∈ Fπ(G) there exists an optimal solution of CDBPthat coincides with an optimal solution of CDBP(z) for z ∈ {wf

e | e ∈ E}.If the cost composition is equal to the maximum-operator then block(z) is a

piecewise linear and convex function. Moreover, ce max{wfe − z, 0} for e ∈ F are

also piecewise linear and convex. Therefore, the objective function is piecewiselinear and convex for every fixed F ∈ Fπ(G). It is well-known that there existsa minimum of a piecewise linear and convex function that is is either attained atthe border of the interval [wf

ei, wf

ei+1] or at the intersection point of two functions of

the form cek(z − wf

ek) and cej

max{wfej− z, 0} which implies that either z = wf

ekor

z =cek

wfek

+cejw

fej

cek+cej

. Hence, in this case there exists an optimal z-value in

{wfe | e ∈ E} ∪

{

ceiwf

ei+ cej

wfej

cei+ cej

ei, ej ∈ E

}

.

We conclude that for the sum- and maximum-operator there exist candidate-setsfor z of polynomial size. Therefore, we get the following theorem:

Theorem 3.5. Consider CDBP (π,⊕,⊗ℓ, max) with ⊕ ∈ {∑

, max}. Then CDBP

can be solved in

O(κ(T (Block) + T (Network)))

where T (Block) is the running time of an algorithm that solves the blocking problem

(π,⊕), T (Network) is the running time of an algorithm that solves the network

problem (π,⊕ + ⊗ℓ) and κ = m if the cost composition is the sum-operator and

κ = m2 if the cost composition is the maximum-operator.

Theorem 3.5 provides a sufficient condition for a polynomial time algorithm for alarge class of CDBPs. Assume that ⊕,⊗ℓ ∈ {max,

} holds: If both compositionsare equal to the sum-operator then the network problem (π,⊕ + ⊗ℓ) is equal tothe network problem (π,

) that is assumed to be solvable in polynomial time

11

Page 13: FoSP FoSP

(cf. Section 2). If at least one of the two compositions is equal to the maximum-operator, say ⊕ = max, then a simple threshold algorithm would solve (π,⊕+⊗ℓ) inpolynomial time provided that the network problem (π,⊗ℓ) is solvable in polynomialtime. These observations imply the following corollary:

Corollary 3.6. If ⊕,⊗ℓ ∈ {max,∑

}, the network problems (π, max) and (π,∑

)and the blocking network problem (π,⊕) are solvable in polynomial time then CDBP

(π,⊕,⊗ℓ, max) is also solvable in polynomial time.

Since we assume that our network problems with sum- or maximum-operatorare solvable in polynomial time, Corollary 3.6 provides a sufficient condition for apolynomial time algorithm of CDBP that requires a polynomial time algorithm forthe corresponding blocking network problem. Consider an instance (G, c) of theblocking network problem (π, max). Then ce′ is the optimal objective value if andonly if {e ∈ E | ce ≤ ce′} is an optimal solution of this blocking-instance, i.e.,

F ∩ {e ∈ E | ce ≤ ce′} = {e ∈ F | ce ≤ ce′} 6= ∅

holds for every F ∈ Fπ(G) but there exists a feasible solution F ′ ∈ Fπ(G) such thatce ≥ ce′ holds for all e ∈ F ′. Hence, the blocking network problem (π, max) is equiva-lent to the so-called max-min network problem that is to solve maxF∈Fπ(G) mine∈F ce.A max-min network problem (π, max) can be solved by a threshold algorithm whichruns in polynomial time whenever it is possible to decide whether a graph containsa subgraph that satisfies property π. On the other hand, there exist more efficientalgorithms for many max-min network problems. We have shown that the blockingnetwork problem (π, max) is solvable in polynomial time. Together with Corollary3.6, we get

Corollary 3.7. CDBP (π, max,⊗ℓ, max) for ⊗ℓ ∈ {max,∑

} can be solved in poly-

nomial time if the network problem (π,⊗ℓ) is solvable in polynomial time.

However, there are network problems whose blocking problem is not solvable inpolynomial time. Since we are now interested in hard blocking network problems, weturn our attention to a sum-type cost-composition. The following NP-hardness resultis restricted to certain graph properties. A graph property π is called extendable

if every graph G = (V, E) admits an extension G′ = (V ′, E ′) with V ⊆ V ′, E ′ =E ∪ E1 ∪ E2 and

• F ∪ E1 ∈ Fπ(G′) for every F ∈ Fπ(G) (old feasible solutions retain);

• Every F ∈ Fπ(G′) with F /∈ {F ∪ E1 | F ∈ Fπ(G)} satisfy F ∩ E2 6= ∅ (newfeasible solutions need edges from E2);

• There exists a set F ∈ Fπ(G′) with F ⊆ E1 ∪ E2 (a new solution withoutedges of E appears).

12

Page 14: FoSP FoSP

A lot of well-known graph properties turn out to be extendable. Consider thespanning tree property and let G = (V, E) be a graph with v1 ∈ V . Then G′ =(V ′, E ′) with V ′ = V ∪ {v0} and E ′ = E ∪ E1 ∪ E2 with E1 = {(v1, v0)} andE2 = {(v, v0) | v ∈ V, v 6= v1} is an extension.

Theorem 3.8. Let π be an extendable graph property. If the blocking network prob-

lem (π,∑

) is NP-hard then the CDBP (π,∑

,⊗ℓ, max) is also NP-hard.

Proof. Consider an instance (G, c) of the blocking network problem (π,∑

). Weconstruct an instance (G′, c, wℓ, wf) of CDBP with the following property: Thereexists a feasible solution X of (G, c) with objective value at most k if and only ifthere exists a feasible solution (δ, F ) of CDBP with leader’s objective value at mostk. The CDBP-instance is defined as follows: G′ = (V ′, E ∪E1 ∪E2) is an extensionof G with respect to π. We define

ce =

{

ce if e ∈ E,

k + 1 otherwise;wℓ

e =

{

k + 1 if e ∈ E,

0 otherwise;wf

e =

{

0 if e ∈ E ∪ E1,

1 otherwise;

Consider a solution X of the blocking network problem with objective value atmost k and define δe = 1 if e ∈ X and δe = 0 otherwise. Since G′ is an extensionof G, there are two types of feasible solutions in G′: Either F ′ ∈ Fπ(G′) satisfiesF ′ = F ∪ E1 for some F ∈ Fπ(G) or E2 ⊆ F ′. A solution of type F ′ = F ∪ E1 hasfollower’s objective value 1 because there exists at least one e ∈ F with wf

e + δe =0 + 1 = 1. On the other hand the follower’s objective value of a solution F ′ withE2 ⊆ F ′ is also equal to 1 because wf

e = 1 for e ∈ E2. Hence, every feasible solutionF ′ ∈ Fπ(G′) is follower-optimal. Choose any F ∈ Fπ(G′) with F ⊆ E1 ∪ E2, then(δ, F ) is a feasible solution with leader’s objective value equal to

e∈X ce ≤ k.Now assume that there exists a feasible solution (δ, F ) of the constructed instance

of CDBP with leader’s objective value at most k. Recall that wℓe = k + 1 for e ∈ E.

The leader’s monotonicity and the fact that the leader’s objective value is at mostk imply F ∗ ⊆ E1 ∪ E2.

Since the cost-composition is equal to the sum-operator there exists an optimalsolution of CDBP with follower’s objective value out of {wf

e | e ∈ E}. In our casethere exists an optimal solution with follower’s objective value equal to 0 or 1. Let(δ∗, F ∗) be an optimal solution with maxe∈F ∗(wf

e + δ∗e) = 0. Since F ∗ ⊆ E1 ∪E2 andG′ is an extension we have F ∗ ∩ E2 6= ∅. Hence, there exists at least one elemente′ ∈ E2 with δ∗e′ = 1 and therefore the leader’s objective value is then at least ce′δ

∗e′ =

k + 1 > k which leads to a contradiction. It follows that maxe∈F ∗(wfe + δ∗e) = 1 and

F ∗ ⊆ E1∪E2 hold. However, F ∗ is follower-optimal with objective value 1 if and onlyif there exists an element e ∈ F ′ with δ∗e = 1 for every F ′ = F ∪E1 and F ∈ Fπ(G).If δ∗e = 1 for e ∈ E1 then the cost would be at least k + 1 which contradicts thebound k on the leader’s objective value. Hence, X = {e ∈ E | δ∗e = 1} is a feasiblesolution of the blocking network problem with total cost at most k.

13

Page 15: FoSP FoSP

4 Case study: The bilevel spanning tree problem

In this section, we discuss continuous-discrete bilevel approaches for a special com-binatorial optimization problem, the minimum spanning tree problem, which is thenetwork problem (πST ,⊗) where FπST (G) is equal to the set of spanning trees of G.

It is well-known that the corresponding network problems (πST ,∑

) and (πST , max),i.e., the classical minimum spanning tree problem and the bottleneck spanning treeproblem, can be solved in polynomial time, e.g., in O(m + n log n) time using Dijk-stra’s algorithm with Fibonacci-heaps (Fredman and Tarjan [6]).

In the following, we are interested in CDBP (πST ,⊕,⊗ℓ,⊗f) for ⊕,⊗ℓ,⊗f ∈{∑

, max}.We will start with the case that ⊗ℓ = max and make use of the results of

Subsection 3.2. In order to apply Corollary 3.3, we have to investigate the partialanti-inverse spanning tree problem.

Orlin [14] showed that the partial inverse spanning tree problem (πST , max,∑

)is solvable in polynomial time if J+ = ∅ or J− = ∅. Thus, there exists a polynomialtime algorithm for the partial anti-inverse spanning tree problem (πST , max,

).Hence, Corollary 3.3 immediately implies

Corollary 4.1. The bilevel spanning tree problem (πST , max, max,∑

) is solvable in

polynomial time.

In a next step, we are interested in the computational complexity of the partialanti-inverse spanning tree problem (πST ,

,∑

). Unfortunately, it turns out thatthis partial anti-inverse problem is strongly NP-hard:

Theorem 4.2. The partial anti-inverse spanning tree problem (πST ,∑

,∑

) is strongly

NP-hard.

Proof. Consider the Steiner Tree Problem which is defined as follows: G = (V, E) isa graph with cost coefficients ce ∈ R+ (for e ∈ E) and S ⊆ V is a subset of vertices(the socalled terminals). The task is to find a subset of edges F ⊆ E such that allterminals lie in the same connected component in the graph GF induced by F and∑

e∈F ce is minimum. The Steiner Tree Problem is known to be strongly NP-hard(Garey and Johnson [7]). Observe that the Steiner Tree Problem remains stronglyNP-hard even if there is no edge (i, j) ∈ E with i, j ∈ S.

Let (G, c, S) be an instance of the Steiner Tree Problem such that there is noedge (i, j) ∈ E with i, j ∈ S. We construct an instance (G′, c′, w′, J−) of the partialanti-inverse spanning tree problem (πST ,

,∑

) as follows: G′ = (V, E ∪ E ′) withE ′ = {(i, j) | i, j ∈ S}, c′(i,j) =

e∈E ce for (i, j) ∈ E ′ and c′e = ce otherwise, w′e = 0

if e ∈ E ′ and w′e = 1 otherwise and J− = E ′. We show that there exists a Steiner

Tree with objective value at most k if and only if the partial anti-inverse spanningtree instance admits a feasible solution with cost at most k.

14

Page 16: FoSP FoSP

Assume that F ⊆ E is a Steiner Tree with cost at most k. Then define δe = −1if e ∈ F and δe = 0 otherwise. Since F is a Steiner Tree there exists a path P (i, j)in GF between every pair of terminals i, j ∈ S, i.e., for every (i, j) ∈ J− there existsa path P (i, j) in G′ such that we + δe = 1 − 1 ≤ 0 + 0 = w(i,j) + δ(i,j) holds for alle ∈ P (i, j). Hence, there exists a minimum spanning tree T with respect to w+δ withT ∩ J− = ∅. Moreover, the cost of solution δ is equal to

e∈E ce|δe| =∑

e∈F ce ≤ k.Now assume that the partial anti-inverse spanning tree problem admits a feasible

solution δ with cost at most k and let T be a minimum spanning tree with respectto w + δ with T ∩ J− = ∅. We may assume without loss of generality that δe ≥ 0holds for all e ∈ J− and δe ≤ 0 for all e ∈ T . Assume that δe > 0 holds for an edgee ∈ J−. Then we can define a new solution δ with

δe =

0 if e ∈ J−

δe −∑

(i,j)∈J− δ(i,j) if e ∈ T

δe otherwise

Observe that T is a minimum spanning tree with respect to w + δ and

e∈E

c′e|δe| =∑

e∈E

c′e|δe| −∑

e∈J−

c′eδe +∑

e∈T

c′e∑

e∈J−

δe

=∑

e∈E

c′e|δe| −∑

e∈J−

(

e∈E

ce

)

δe +∑

e∈T

ce

e∈J−

δe ≤∑

e∈E

c′e|δe| ≤ k.

Hence, there exists a feasible solution (δ, T ) of the bilevel problem with cost at mostk and δe = 0 for all e ∈ J−. Since T is a minimum spanning tree with respectto w + δ there exists a unique path P (i, j) in T between every pair i, j ∈ S with1 + δe ≤ 0 = w(i,j) for all e ∈ P (i, j), i.e., all terminals lie in the same connected

component in the graph GF induced by F = {e ∈ E | δe ≤ −1}. Hence, F is aSteiner Tree with cost

e∈F

ce ≤∑

e∈F

ce|δe| ≤∑

e∈E′

ce|δe| ≤ k.

Theorem 4.2 and Corollary 3.3 imply the following hardness-result:

Corollary 4.3. The bilevel spanning tree problem (πST ,∑

, max,∑

) is strongly NP-

hard.

Now we consider the bilevel spanning tree problem where the follower’s compo-sition is the maximum-operator and apply the results of Subsection 3.3.

15

Page 17: FoSP FoSP

Recall that CDBP is solvable in polynomial time if the cost composition ⊕ andthe follower’s composition ⊗f are maximum-operators, the leader’s composition ⊗ℓ isequal to the sum- or maximum-operator and the network problem (π,⊗ℓ) is solvablein polynomial time (cf. Corollary 3.7). Therefore, we immediately get the followingresult:

Corollary 4.4. The bilevel spanning tree problem (πST , max,⊗ℓ, max) with ⊗ℓ ∈{∑

, max} is solvable in polynomial time.

In order to apply Corollary 3.6 we have to investigate the blocking spanning treeproblem (πST ,

): The set of minimal (with respect to inclusion) feasible solutionsof the blocking spanning tree problem (πST ,

) is equal to the set of cuts. Hence,the blocking spanning tree problem (πST ,

) is equal to the minimum weighted cutproblem that can be solved in O(mn + n2 log n) (cf. Nagamochi and Ibaraki [13]).Corollary 3.6 implies

Corollary 4.5. The bilevel spanning tree problem (πST ,∑

,⊗ℓ, max) with ⊗ℓ ∈{max,

} is solvable in polynomial time.

Finally, we are interested in the bilevel spanning tree problem where the leader’sand follower’s composition is equal to the sum-operator. Observe that every span-ning tree has the same cardinality. Hence, we apply Theorem 3.2:

Corollary 4.6. The bilevel spanning tree problem (πST ,⊕,∑

,∑

) with ⊕ ∈ {max,∑

}is in general strongly NP-hard.

Proof. Orlin [14] proved strong NP-hardness of the partial inverse minimum span-ning tree problem if the modification cost is measured by the sum-operation (L1-norm) or by the maximum-operation (L∞-norm). Hence, the partial inverse span-ning tree problem (πST ,⊕,

) with ⊕ ∈ {max,∑

} is strongly NP-hard. Observethat every spanning tree has (n − 1) edges. Therefore, Theorem 3.2 implies strongNP-hardness of all considered bilevel spanning tree problems.

Table 1 gives an overview about the complexity status of bilevel spanning treeproblems.

The results for the bilevel spanning tree problem can also be generalized to bilevelminimum weight matroid basis problems, i.e., where the underlying combinatorialoptimization problem is equal to the problem of finding a basis of a matroid ofminimum weight.

Moreover, similar results concerning the computational complexity for other spe-cial network problems can be obtained by analyzing the associated partial anti-inverse and blocking problems. Table 2 and 3 contain several results for bilevelshortest path (graph property πP ), minimum cut (graph property πC) and mini-mum assignment problems (graph property πA) for ⊗ℓ ∈ {max,

}:

16

Page 18: FoSP FoSP

leader’s follower’s compositioncomposition:

∑ ∑

maxcost

NP-hard (Corollary 4.6) P (Corollary 4.5)composition max NP-hard (Corollary 4.6) P (Corollary 4.4)

leader’s follower’s compositioncomposition: max

maxcost

NP-hard (Corollary 4.3) P (Corollary 4.5)composition max P (Corollary 4.1) P (Corollary 4.4)

Table 1: Computational complexity of bilevel spanning tree problems

follower’s composition∑

maxcost

NP-hard P

composition max NP-hard P

Table 2: Computational complexity of bilevel shortest path and bilevel cut problems

follower’s composition∑

maxcost

NP-hard NP

composition max NP-hard P

Table 3: Computational complexity of bilevel assignment problems

17

Page 19: FoSP FoSP

To obtain the results of Table 2 and 3 one makes use of the fact that the partialanti-inverse network problems (π,⊕,

) are strongly NP-hard for ⊕ ∈ {∑

, max}and π ∈ {πP , πC , πA} (see [9] for the NP-hardness proofs). Moreover, the blocking(s − t)-path problem (π,

) for nonnegative weights is equivalent to the minimum(s − t)-cut problem which can be solved in polynomial time. The blocking (s − t)-cut problem (π,

) is also solvable in polynomial time because it is equivalent tothe shortest (s− t)-path problem. The blocking assignment problem (πA,

) is theonly blocking network problem in this paper that turns out to be strongly NP-hard:Zenklusen et al. [16] show that it is strongly NP-hard to find a smallest set of edgeswhose removal destroys all perfect matchings in a bipartite graph. Moreover, thegraph property πA is extendable: Let G = (U, V, E) with U = {ui | i = 1, . . . , n}and V = {vi | i = 1, . . . , n}. Then G′ = (U ′, V ′, E ∪ E1 ∪ E2) with U ′ = U ∪ {u′

i |i = 1, . . . , n}, V ′ = V ∪ {v′

i | i = 1, . . . , n} and E1 = {(u′i, v

′i) | i = 1, . . . , n} and

E2 = {(ui, v′i), (vi, u

′i) | i = 1, . . . , n} is an extension with respect to πA.

5 Conclusion

This paper deals with continuous-discrete bilevel network problems (CDBP forshort). We present several necessary and/or sufficient conditions for CDBP to besolvable in polynomial time or to be NP-hard. These general results can be appliedto bilevel network problems that occur for arbitrary underlying network problems.We present several results for specific continuous-discrete bilevel network problems.

There are still a lot of challenging open questions. The purpose of this paperwas to clarify the computational complexity of bilevel network problems. However,efficient algorithms for those cases that are shown to be solvable in polynomialtime are still to be developed. Moreover, most NP-hardness results only hold forarbitrary cost coefficients ce ∈ R+ (for e ∈ E). It would be interesting to investigatethe computational complexity of bilevel, partial (anti-)inverse and blocking networkproblems for unit cost coefficients.

References

[1] J. F. Bard. Practical bilevel optimization, volume 30 of Nonconvex Optimization

and its Applications. Kluwer Academic Publishers, Dordrecht, 1998. Algorithmsand applications.

[2] L. Brotcorne, S. Hanafi, and R. Mansi. A dynamic programming algorithm forthe bilevel knapsack problem. Operations Research Letters, 37(3):215 – 218,2009.

18

Page 20: FoSP FoSP

[3] S. Dempe. Discrete bilevel optimization problems. Technical Report 12, Univer-sitaet Leipzig, Wirtschaftswissenschaftliche Fakultaet, Institut fuer Informatik,1996. Arbeitsbericht.

[4] S. Dempe. Foundations of bilevel programming, volume 61 of Nonconvex Opti-

mization and its Applications. Kluwer Academic Publishers, Dordrecht, 2002.

[5] S. Dempe and K. Richter. Bilevel programming with knapsack constraints.CEJOR Cent. Eur. J. Oper. Res., 8(2):93–107, 2000.

[6] M. L. Fredman and R. E. Tarjan. Fibonacci heaps and their uses in improvednetwork optimization algorithms. J. Assoc. Comput. Mach., 34(3):596–615,1987.

[7] M. R. Garey, D. S. Johnson, and L. Stockmeyer. Some simplified NP-completegraph problems. Theoret. Comput. Sci., 1(3):237–267, 1976.

[8] E. Gassner. Maximal spannende Baumprobleme mit einer Hierarchie von zweiEntscheidungstragern. Diploma thesis, Graz University of Technology, 2002.

[9] E. Gassner. Selected partial inverse combinatorial optimization problems withforbidden elements. Technical Report 2009-15, Graz University of Technology,2009. http://www.math.tugraz.at/fosp/pdfs/tugraz_0149.pdf.

[10] E. Gassner and B. Klinz. The computational complexity of bilevel assignmentproblems. 4OR, 2008. in press.

[11] P. Hansen, B. Jaumard, and G. Savard. New branch-and-bound rules for linearbilevel programming. SIAM J. Sci. Statist. Comput., 13(5):1194–1217, 1992.

[12] C. Heuberger. Inverse combinatorial optimization: a survey on problems, meth-ods, and results. J. Comb. Optim., 8(3):329–361, 2004.

[13] H. Nagamochi and T. Ibaraki. Computing edge-connectivity in multigraphsand capacitated graphs. SIAM J. Discrete Math., 5(1):54–66, 1992.

[14] J. Orlin. Partial inverse optimization problems. Working paper, Sloan Schoolof Management, MIT.

[15] L. N. Vicente and P. H. Calamai. Bilevel and multilevel programming: Abibliography review. Journal of Global Optimization, 5(3):291–306, 1994.

[16] R. Zenklusen, B. Ries, C. Picouleau, D. de Werra, M.-C. Costa, and C. Bentz.Blockers and transversals. Discrete Mathematics, 309(13):4306 – 4314, 2009.

19