# Complexity of near-optimal robust versions of multilevel optimization problems

Mathieu Besançon, Miguel F Anjos, Luce Brotcorne

► To cite this version:

Mathieu Besançon, Miguel F Anjos, Luce Brotcorne. Complexity of near-optimal robust versions of multilevel optimization problems. 2021. hal-03149050

HAL Id: hal-03149050

https://inria.hal.science/hal-03149050

Preprint submitted on 22 Feb 2021

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
# Complexity of near-optimal robust versions of multilevel optimization problems

Mathieu Besançon, Miguel F. Anjos, Luce Brotcorne

the date of receipt and acceptance should be inserted later

**Abstract** Near-optimality robustness extends multilevel optimization with a limited deviation of a lower level from its optimal solution, anticipated by higher levels. We analyze the complexity of near-optimal robust multilevel problems, where near-optimal robustness is modelled through additional adversarial decision-makers. Near-optimal robust versions of multilevel problems are shown to remain in the same complexity class as the problem without near-optimality robustness under general conditions.

**Keywords** near-optimal robustness · multilevel optimization · complexity theory

**Mathematics Subject Classification (2010)** 91A65 · 90C26 · 90C10 · 90C10 · 90C11 · 90C60

## 1 Introduction

Multilevel optimization is a class of mathematical optimization problems where other problems are embedded in the constraints. They are well suited to model sequential decision-making processes, where a first decision-maker, the leader intrinsically integrates the reaction of another decision-maker, the follower, into their decision-making problem.

In recent years, most of the research focuses on the study and design of efficient solution methods for the case of two levels, namely bilevel problems [1], which fostered a growing range of applications.

Near-optimal robustness, defined in [2], is an extension of bilevel optimization. In this setting, the upper level anticipates limited deviations of the lower level from an optimal solution and aims at a solution that remains feasible for any feasible and near-optimal solution of the lower level. This protection of the upper level against uncertain deviations of the lower-level has led to the characterization of near-optimality robustness as a robust optimization approach for bilevel optimization. The lower-level response corresponds to the uncertain parameter and the maximum deviation of the objective value from an optimal solution to the uncertainty budget. Because the set of near-optimal lower-level solutions potentially has infinite cardinality and depends on the upper-level decision itself, near-optimality robustness adds generalized semi-infinite constraints to the bilevel problem. The additional constraint can also be viewed as a form of robustness under

<footnote>Mathieu Besançon</footnote>

<footnote>Department of Mathematics and Industrial Engineering</footnote>

<footnote>Polytechnique Montréal, QC, Canada &</footnote>

<footnote>Centrale Lille &</footnote>

<footnote>INRIA Lille Nord-Europe, France</footnote>

<footnote>E-mail: mathieu.besancon@polymtl.ca</footnote>

<footnote>Miguel F. Anjos</footnote>

<footnote>School of Mathematics, University of Edinburgh, UK</footnote>

<footnote>Luce Brotcorne</footnote>

<footnote>INRIA Lille Nord-Europe, France</footnote>
decision-dependent uncertainty.

In this paper, we prove complexity results on multilevel problems to which near-optimality robustness constraints are added under various forms. We show that under fairly general conditions, the near-optimal robust version of a multilevel problem remains on the same level of the polynomial hierarchy as the original problem. These results are non-trivial assuming that the polynomial hierarchy does not collapse and open the possibility of solution algorithms for near-optimal robust multilevel problems as efficient as for their canonical counterpart. Even though we focus on near-optimal robust multilevel problems, the complexity results we establish hold for all multilevel problems that present the same hierarchical structure, i.e. the same anticipation and parameterization between levels as the near-optimal formulation with the adversarial problems, as defined in Section 3.

The rest of this paper is organized as follows. Section 2 introduces the notation and the background on near-optimality robustness and existing complexity results in multilevel optimization. Section 3 presents complexity results for the near-optimal robust version of bilevel problems, where the lower level belongs to $\mathcal{P}$ and $\mathcal{NP}$. These results are extended in Section 4 to multilevel optimization problems, focusing on integer multilevel linear problems with near-optimal deviations of the topmost intermediate level. Section 5 provides complexity results for a generalized form of near-optimal robustness in integer multilevel problems, where multiple decision-makers anticipate near-optimal reactions of a lower level. Finally, we draw some conclusions in Section 6.

## 2 Background on near-optimality robustness and multilevel optimization

In this section, we introduce the notation and terminology for bilevel optimization and near-optimality robustness, and highlight prior complexity results in multilevel optimization. Let us define a bilevel problem as:

$$ \min_{x} F(x, v) \qquad (1a) $$

$$ \text{s.t.} \quad G_k(x, v) \le 0 \qquad \forall k \in [m_u] \qquad (1b) $$

$$ x \in \mathcal{X} \qquad (1c) $$

$$ \text{where } v \in \arg\min_{y \in \mathcal{Y}} \{f(x, y) \text{ s.t. } g_i(x, y) \le 0 \quad \forall i \in [m_l]\}. \qquad (1d) $$

We denote by $\mathcal{X}$ and $\mathcal{Y}$ the domain of upper- and lower-level variables respectively. We use the convenience notation $\llbracket n \rrbracket = \{1, \dots, n\}$ for a natural $n$.

Problem (1) is ill-posed, since multiple solutions to the lower level may exist [3, Ch. 1]. Models often rely on additional assumptions to alleviate this ambiguity, the two most common being the optimistic and pessimistic approaches. In the optimistic case (BiP), the lower level selects an optimal decision that most favours the upper level. In this setting, the lower-level decision can be taken by the upper level, as long as it is optimal for the lower-level problem. The upper level can thus optimize over both $x$ and $v$, leading to:

$$ (\text{BiP}): \min_{x,v} F(x, v) \qquad (2a) $$

$$ \text{s.t.} \quad G_k(x, v) \le 0 \qquad \forall k \in [m_u] \qquad (2b) $$

$$ x \in \mathcal{X} \qquad (2c) $$

$$ v \in \arg\min_{y \in \mathcal{Y}} \{f(x, y) \text{ s.t. } g_i(x, y) \le 0 \quad \forall i \in [m_l]\}. \qquad (2d) $$

Constraint (2d) implies that $v$ is feasible for the lower level and that $f(x, v)$ is the optimal value of the lower-level problem, parameterized by $x$.

The pessimistic approach assumes that the lower level chooses an optimal solution that is the worst for the upper-level objective as in [1] or with respect to the upper-level constraints as in [4].
The near-optimal robust version of (BiP) considers that the lower-level solution may not be optimal but near-optimal with respect to the lower-level objective function. The tolerance for near-optimality, denoted by $\delta$ is expressed as a maximum deviation of the objective value from optimality. The problem solved at the upper level must integrate this deviation and protects the feasibility of its constraints for any near-optimal lower-level decision. The problem is formulated as:

$$ (\text{NORBiP}): \min_{x,v} F(x, v) \qquad (3a) $$

$$ \text{s.t.} \ (2b) - (2d) \qquad (3b) $$

$$ G_k(x, z) \le 0 \quad \forall z \in \mathcal{Z}(x; \delta) \qquad \forall k \in \llbracket m_u \rrbracket \qquad (3c) $$

$$ \text{where } \mathcal{Z}(x; \delta) = \{y \in \mathcal{Y} \mid f(x, y) \le f(x, v) + \delta, g(x, y) \le 0\}. \qquad (3d) $$

$\mathcal{Z}(x; \delta)$ denotes the near-optimal set, i.e. the set of near-optimal lower-level solutions, depending on both the upper-level decision $x$ and $\delta$. (NORBiP) is a generalization of the pessimistic bilevel problem since the latter is both a special case and a relaxation of (NORBiP) [2]. We refer to (BiP) as the **canonical** problem for (NORBiP) (or equivalently Problem (4)) and (NORBiP) as the near-optimal robust version of (BiP). In the formulation of (NORBiP), the upper-level objective depends on decision variables of both levels, but is not protected against near-optimal deviations. A more conservative formulation also protecting the objective by moving it to the constraints in an epigraph formulation [2] is given by:

$$ (\text{NORBiP-Alt}): \min_{x,v,\tau} \tau \\ \text{s.t.} \ (2b) - (2d) \\ G_k(x, z) \le 0 \quad \forall z \in \mathcal{Z}(x; \delta) \qquad \forall k \in \llbracket m_u \rrbracket \\ F(x, z) \le \tau \quad \forall z \in \mathcal{Z}(x; \delta), $$

The optimal values of the three problems are ordered as:

$$ \text{opt(BiP)} \le \text{opt(NORBiP)} \le \text{opt(NORBiP-Alt)}. $$

We next provide a review of complexity results for bilevel and multilevel optimization problems. Bilevel problems are $\mathcal{NP}$-hard in general, even when the objective functions and constraints at both levels are linear [5]. When the lower-level problem is convex, a common solution approach consists in replacing it with its KKT conditions [6,7], which are necessary and sufficient if the problem satisfies certain constraint qualifications. This approach results in a single optimization problem with complementarity constraints, of which the decision problem is $\mathcal{NP}$-complete [8]. A specific form of the three-level problem is investigated in [9], where only the objective value of the bottom-level problem appears in the objective functions of the first and second levels. If these conditions hold and all objectives and constraints are linear, the problem can be reduced to a single level one with complementarity constraints of polynomial size. This model is similar to the worst-case reformulation of (NORBiP) presented in Section 3.

Pessimistic bilevel problems for which no upper-level constraint depends on lower-level variables are studied in [10]. The problem of finding an optimal solution to the pessimistic case is shown to be $\mathcal{NP}$-hard, even if a solution to the optimistic counterpart of the same problem is provided. A variant is also defined, where the lower level may pick a suboptimal response only impacting the upper-level objective. This variant is comparable to the Objective-Robust Near-Optimal Bilevel Problem defined in [2]. In [4], the independent case of the pessimistic bilevel problem is studied, corresponding to a special case of (NORBiP) with $\delta = 0$ and all lower-level constraints independent of the upper-level variables. It is shown that the linear independent pessimistic bilevel problem, and consequently the linear near-optimal robust bilevel problem, can be solved in polynomial time while it is strongly $\mathcal{NP}$-hard in the non-linear case.

When the lower-level problem cannot be solved in polynomial time, the bilevel problem is in general $\Sigma_2^P$-hard. The notion of $\Sigma_2^P$-hardness and classes of the polynomial hierarchy are recalled in Section 3. Despite this complexity result, new algorithms and corresponding implementations have been developed to
solve these problems and in particular, mixed-integer linear bilevel problems [11, 12, ?]. Variants of the bilevel knapsack were investigated in [13], and proven to be $\Sigma_2^P$-hard as the generic mixed-integer bilevel problem.

Multilevel optimization was initially investigated in [14] in the case of linear constraints and objectives at all levels. In this setting, the problem is shown to be in $\Sigma_s^P$, with $s+1$ being the number of levels. The linear bilevel problem corresponds to $s=1$ and is in $\Sigma_1^P \equiv \mathcal{NP}$. If at least the bottom-level problem involves integrality constraints (or more generally belongs to $\mathcal{NP}$ but not $\mathcal{P}$), the multilevel problem with $s$ levels belongs to $\Sigma_s^P$. A model unifying multistage stochastic and multilevel problems is defined in [15], based on a risk function capturing the component of the objective function which is unknown to a decision-maker at their stage, either because of a stochastic component or of another decision-maker that acts after the current one.

As highlighted in [15, 16], most results in the literature on complexity of multilevel optimization use $\mathcal{NP}$-hardness as the sole characterization. This only indicates that a given problem is at least as hard as all problems in $\mathcal{NP}$ and that no polynomial-time solution method should be expected unless $\mathcal{NP} = \mathcal{P}$.

We characterize near-optimal robust multilevel problems not only on the hardness or “lower bound” on complexity, i.e. being at least as hard as all problems in a given class but through their complexity “upper bound”, i.e. the class of the polynomial hierarchy they belong to. The linear optimistic bilevel problem is for instance strongly $\mathcal{NP}$-hard, but belongs to $\mathcal{NP}$ and is therefore not $\Sigma_2^P$-hard.

### 3 Complexity of near-optimal robust bilevel problems

We establish in this section complexity results for near-optimal robust bilevel problems for which the lower level $\mathcal{L}$ is a single-level problem parameterized by the upper-level decision. (NORBiP) can be reformulated by replacing each $k$-th semi-infinite constraint (3c) with the lower-level solution $z_k$ in $\mathcal{Z}(x; \delta)$ that yields the highest value of $G_k(x, z_k)$:

$$ \min_{x,v} F(x, v) \qquad (4a) $$

$$ \text{s.t.} \ (2b) - (2d) \qquad (4b) $$

$$ G_k(x, z_k) \le 0 \qquad \forall k \in [m_u] \qquad (4c) $$

$$ z_k \in \arg\max_{y \in \mathcal{Y}} \{G_k(x, y) \text{ s.t. } f(x, y) \le f(x, v) + \delta, g(x, y) \le 0\} \qquad \forall k \in [m_u] \qquad (4d) $$

From a game-theoretical perspective, the near-optimal robust version of a bilevel problem can be seen as a three-player hierarchical game. The upper level $\mathcal{U}$ and lower level $\mathcal{L}$ are identical to the original bilevel problem. The third level is the adversarial problem $\mathcal{A}$ and selects the worst near-optimal lower-level solution with respect to upper-level constraints, as represented by the embedded maximization in Constraint (4d). If the upper-level problem has multiple constraints, the adversarial problem can be decomposed into problems $\mathcal{A}_k, k \in [m_u]$, where $m_u$ is the number of upper-level constraints. The interaction among the three players is depicted in Fig. 1. The blue dashed arcs represent a parameterization of the source vertex by the decisions of the destination vertex, and the solid red arcs represent an anticipation of the destination vertex decisions in the problem of the source vertex. This convention will be used in all figures throughout the paper.

The adversarial problem can be split into $m_u$ adversarial problems as done in [2], each finding the worst-case with respect to one of the upper-level constraints. The canonical problem refers to the optimistic bilevel problem without near-optimal robustness constraints. We refer to the variable $v$ as the canonical lower-level decision.

The complexity classes of the polynomial hierarchy are only defined for decision problems. We consider that an optimization problem belongs to a given class if that class contains the decision problem of determining if there exists a feasible solution for which the objective value at least as good as a given bound.
<figure><img src="image_2.png" /><figcaption>Fig. 1 Near-optimal robust bilevel problem</figcaption></figure>

**Definition 1** The decision problem associated with an optimization problem is in $\mathcal{P}^*[\mathcal{H}]$, with $\mathcal{H}$ a set of real-valued functions on a vector space $\mathcal{Y}$, iff:

1. it belongs to $\mathcal{P}$;

2. for any $h \in \mathcal{H}$, the problem with an additional linear constraint and an objective function set as $h(\cdot)$ is also in $\mathcal{P}$.

A broad range of problems in $\mathcal{P}$ are also in $\mathcal{P}^*[\mathcal{H}]$ for certain sets of functions $\mathcal{H}$ (see Example 1 for linear problems and linear functions and Example 2 for some combinatorial problems in $\mathcal{P}$). $\mathcal{NP}^*[\mathcal{H}]$ and $\Sigma_s^{P*}[\mathcal{H}]$ are defined in a similar way. We next consider two examples illustrating these definitions.

*Example 1* Denoting by $\mathcal{H}_L$ the set of linear functions from the space of lower-level variables to $\mathbb{R}$, linear optimization problems are in $\mathcal{P}^*[\mathcal{H}_L]$, since any given problem with an additional linear constraint and a different linear objective function is also a linear optimization problem.

*Example 2* Denoting by $\mathcal{H}_L$ the set of linear functions from the space of lower-level variables to $\mathbb{R}$, combinatorial optimization problems in $\mathcal{P}$ which can be formulated as linear optimization problems with totally unimodular matrices are not in $\mathcal{P}^*[\mathcal{H}_L]$ in general. Indeed, adding a linear constraint may break the integrality of solutions of the linear relaxation of the lower-level problem.

$\Sigma_s^P$ is the complexity class at the s-th level of the polynomial hierarchy [17,14], defined recursively as $\Sigma_0^P = \mathcal{P}$, $\Sigma_1^P = \mathcal{NP}$, and problems of the class $\Sigma_s^P$, $s > 1$ being solvable in non-deterministic polynomial time, provided an oracle for problems of class $\Sigma_{s-1}^P$. In particular, a positive answer to a decision problem in $\mathcal{NP}$ can be verified, given a certificate, in polynomial time. If the decision problem associated with an optimization problem is in $\mathcal{NP}$, and given a potential solution, the objective value of the solution can be compared to a given bound and the feasibility can be verified in polynomial time. We reformulate these statements in the following proposition:

**Proposition 1** [14] An optimization problem is in $\Sigma_{s+1}^P$ if verifying that a given solution is feasible and attains a given bound can be done in polynomial time, when equipped with an oracle instantaneously solving problems in $\Sigma_s^P$.

Proposition 1 is the main property of the classes of the polynomial hierarchy used to determine the complexity of near-optimal robust bilevel problems in various settings throughout this paper.

**Lemma 1** Given a bilevel problem in the form of Problem (2), if the lower-level problem is in $\mathcal{P}^*[\mathcal{H}]$, and

$$-G_k(x, \cdot) \in \mathcal{H} \quad \forall x, \forall k \in [m_u],$$

then the adversarial problem (4d) is in $\mathcal{P}$.
**Proof** The lower-level problem can equivalently be written in an epigraph form:

$$ (v, w) \in \arg\min_{y,u} u \\ \text{s.t.} \quad f(x, y) - u \leq 0 \\ g(x, y) \leq 0. $$

Given a solution of the lower-level problem $(v, w)$ and an upper-level constraint $G_k(x, y) \le 0$, the adversarial problem is defined by:

$$ \begin{array}{ll} \min_{y,u} & -G(x, y) \\ \text{s.t.} & f(x, y) - u \le 0 \\ & g(x, y) \le 0 \\ & u \le w. \end{array} $$

Compared to the lower-level problem, the adversarial problem contains an additional linear constraint $u \le w$ and an objective function updated to $-G(x, \cdot)$. □

**Theorem 1** Given a bilevel problem $(P)$, if there exists $\mathcal{H}$ such that the lower-level problem is in $\mathcal{NP}^*[\mathcal{H}]$ and

$$ -G_k(x, \cdot) \in \mathcal{H} \quad \forall k \in [m_u], \forall x \in \mathcal{X}, $$

then the near-optimal robust version of the bilevel problem is in $\Sigma_2^P$ like the canonical bilevel problem.

**Proof** The proof relies on the ability to verify that a given solution $(x, v)$ results in an objective value at least as low as a bound $\Gamma$ according to Proposition 1. This verification can be carried out with the following steps:

1. Compute the upper-level objective value $F(x, v)$ and verify that $F(x, v) \le \Gamma$;

2. Verify that upper-level constraints are satisfied;

3. Verify that lower-level constraints are satisfied;

4. Compute the optimum value $\mathcal{L}(x)$ of the lower-level problem parameterized by $x$ and check if:

$$ f(x, v) \le \min_{y} \mathcal{L}(x); $$

5. Compute the worst case: Find

$$ z_k \in \arg\max_{y \in \mathcal{Y}} \mathcal{A}_k(x, v) \quad \forall k \in [m_u]; $$

where $\mathcal{A}_k(x, v)$ is the $k$-th adversarial problem parameterized by $(x, v)$;

6. Verify near-optimal robustness: $\forall k \in [m_u]$, verify that the $k$-th upper-level constraint is feasible for the worst-case $z_k$.

Steps 1 and 2 can be carried out in polynomial time by assumption. Step 3 requires to check the feasibility of a solution to a problem in $\mathcal{NP}$. This can be done in polynomial time. Step 4 consists in solving the lower-level problem, while Step 5 corresponds to solving $m_u$ problems similar to the lower level, with the objective function modified and an additional linear constraint ensuring near-optimality. □

**Theorem 2** Given a bilevel problem $(P)$, if the lower-level problem is convex and in $\mathcal{P}^*[\mathcal{H}]$ with $\mathcal{H}$ a set of convex functions, and if the upper-level constraints are such that $-G_k(x, \cdot) \in \mathcal{H}$, then the near-optimal robust version of the bilevel problem is in $\mathcal{NP}$. If the upper-level constraints are convex non-affine with respect to the lower-level constraints, the near-optimal robust version is in general not in $\mathcal{NP}$.
Proof If the upper-level constraints are concave with respect to the lower-level variables, the adversarial problem defined as:

$$ \max_{y \in \mathcal{Y}} G_k(x, y) \qquad (5a) $$

$$ \text{s.t.} \quad g(x, y) \le 0 \qquad (5b) $$

$$ f(x, y) \le f(x, v) + \delta \qquad (5c) $$

is convex. Furthermore, by definition of $\mathcal{P}^*[\mathcal{H}]$, the adversarial problem is in $\mathcal{P}$.

Applying the same reasoning as in the proof of Theorem 1, Steps 1-3 are identical and can be carried out in polynomial time. Step 4 can be performed in polynomial time since $\mathcal{L}$ is in $\mathcal{P}$. Step 5 is also performed in polynomial time since $\forall k \in [m_u]$, each k-th adversarial problem (5) is a convex problem that can be solved in polynomial time since $\mathcal{L}$ is in $\mathcal{P}^*[\mathcal{H}]$. Step 6 simply is a simple comparison of two quantities.

If the upper-level constraints are convex non-affine with respect to the lower-level variables, Problem (5) maximizes a convex non-affine function over a convex set. Such a problem is $\mathcal{NP}$-hard in general. Therefore, the verification that a given solution is feasible and satisfies a predefined bound on the objective value requires solving the $m_u \mathcal{NP}$-hard adversarial problems. If $\mathcal{L}$ is in $\mathcal{NP}^*[\mathcal{H}]$, then these adversarial problems are in $\mathcal{NP}$ by Eq. (3), and the near-optimal robust problem is in $\Sigma_2^P$ according to Proposition 1. $\square$

## 4 Complexity of near-optimal robust mixed-integer multilevel problems

In this section, we study the complexity of a near-optimal robust version of mixed-integer multilevel linear problems (MIMLP), where the lower level itself is a s-level problem and is $\Sigma_s^P$-hard. The canonical multilevel problem is, therefore, $\Sigma_{s+1}^P$-hard [14]. For some instances of mixed-integer bilevel, the optimal value can be approached arbitrarily but not reached [18]. To avoid such pathological cases, we restrict our attention to multilevel problems satisfying the criterion for mixed-integer bilevel problems from [11]:

*Property 1* The continuous variables at any level *s* do not appear in the problems at levels that are lower than *s* (the levels deciding after *s*).

More specifically, we will focus on mixed-integer multilevel linear problems where the upper-most lower level $\mathcal{L}_1$ may pick a solution deviating from the optimal value, while we ignore deviations of the levels $\mathcal{L}_{i>1}$. This problem is noted (NOMIMLPs) and depicted in Fig. 1.

<figure><img src="image_3.png" /><figcaption>**Fig. 2** Near-optimality robustness for multilevel problems</figcaption></figure>
The adversarial problem corresponds to a decision of the level $\mathcal{L}_1$ different from the canonical decision. This decision induces a different reaction from the subsequent levels $\mathcal{L}_2, \mathcal{L}_3$. Since the top-level constraints depend on the joint reaction of all following levels, we will note $z_{ki} = (z_{k1}, z_{k2}, z_{k3})$ the worst-case joint near-optimal solution of all lower levels with respect to the top-level constraint $k$.

**Theorem 3** If $\mathcal{L}_1$ is in $\Sigma_s^{P*} [\mathcal{H}_L]$, the decision problem associated with (NOMIMLP$_s$) is in $\Sigma_{s+1}^P$ as the canonical multilevel problem.

*Proof* Given a solution to all levels $(x_U, v_1, v_2, ...v_s)$ and a bound $\Gamma$, verifying that this solution is (i) feasible, (ii) near-optimal robust of parameter $\delta$, and (iii) has an objective value at least as good as the bound $\Gamma$ can be done through the following steps:

1. Compute the objective value and verify that it is lower than $\Gamma$;

2. Verify variable integrality;

3. Solve the problem $\mathcal{L}_1$, parameterized by $x_U$, and verify that the solution $(v_1, v_2, ...)$ is optimal;

4. $\forall k \in [m_u]$, solve the $k$-th adversarial problem. Let $z_k = (z_{k1}, z_{k2}, ...z_{ks})$ be the solution;

5. $\forall k \in [m_u]$, verify that the $k$-th upper-level constraint is feasible for the adversarial solution $z_k$.

Steps 1, 2, and 5 can be performed in polynomial time. Step 3 requires solving a problem in $\Sigma_s^P$, while step 4 consists in solving $m_u$ problems in $\Sigma_s^P$, since $\mathcal{L}_1$ is in $\Sigma_s^{P*} [\mathcal{H}_L]$. Checking the validity of a solution thus requires solving problems in $\Sigma_s^P$ and is itself in $\Sigma_{s+1}^P$, like the original problem. $\square$

## 5 Complexity of a generalized near-optimal robust multilevel problem

In this section, we study the complexity of a variant of the problem presented in Section 4 with $s + 1$ decision-makers at multiple top levels $\mathcal{U}_1, \mathcal{U}_2, ...\mathcal{U}_s$ and a single bottom level $\mathcal{L}$. We denote by $\mathcal{U}_1$ the top-most level. We assume that the bottom-level entity may choose a solution deviating from optimality. This requires that the entities at all $\mathcal{U}_i \forall i \in \{1..s\}$ levels anticipate this deviation, thus solving a near-optimal robust problem to protect their feasibility from it. The variant, coined GNORMP$_s$, is illustrated in Fig. 3. We assume throughout this section that ?? 1 holds in order to avoid the unreachable problem previously mentioned. The decision variables of all upper levels are denoted by $x_{(i)}$, and the objective functions by $F_{(i)}(x_{(1)}, x_{(2)}, ...x_{(s)})$. The lower-level canonical decision is denoted $v$ as in previous sections.

If the lowest level $\mathcal{L}$ belongs to $\mathcal{NP}$, $\mathcal{U}_s$ belongs to $\Sigma_2^P$ and the original problem is in $\Sigma_{s+1}^P$. In a more general multilevel case, if the lowest level $\mathcal{L}$ solves a problem in $\Sigma_r^P$, $\mathcal{U}_s$ solves a problem in $\Sigma_{r+1}^P$ and $\mathcal{U}_1$ in $\Sigma_{r+s}^P$.

We note that for all fixed decisions $x_{(i)} \forall i \in \{1..s-1\}$, $\mathcal{U}_s$ is a near-optimal robust bilevel problem. This differs from the model presented in Section 4 where, for a fixed upper-level decision, the top-most lower level $\mathcal{L}_1$ is the same parameterized problem as in the canonical setting. Furthermore, as all levels $\mathcal{U}_i$ anticipate deviations of the lower-level decision in the near-optimal set, the worst case can be formulated with respect to the constraints of each of these levels. In conclusion, distinct adversarial problems $\mathcal{A}_i \forall i \in \{1..s\}$ can be formulated. Each upper level $\mathcal{U}_i$ integrates the reaction of the corresponding adversarial problem in its near-optimality robustness constraint. This formulation of GNORMP$_s$ is depicted Fig. 4.

**Theorem 4** Given a $s+1$-level problem GNORMP$_s$, if the bottom-level problem parameterized by all upper-level decisions $\mathcal{L}(x_{(1)}, x_{(2)}, ...x_{(s)})$ is in $\Sigma_r^{P*}$, then GNORMP$_s$ is in $\Sigma_{r+s}^P$ like the corresponding canonical bilevel problem.

*Proof* We denote by $x_U = (x_{(1)}, x_{(2)}, ...x_{(s)})$ and $m_{U_i}$ the number of constraints of problem $\mathcal{U}_i$. As for Theorem 1, this proof is based on the complexity of verifying that a given solution $(x_U, v)$ is feasible and results in an objective value below a given bound. The verification requires the following steps:

1. Compute the top-level objective value and assert that it is below the bound;

2. Verify feasibility of $(x_U, v)$ with respect to the constraints at all levels;

3. Verify optimality of $v$ for $\mathcal{L}$ parameterized by $x_U$;

4. Verify optimality of $x_{(i)}$ for the near-optimal robust problem solved by the $i$-th level $\mathcal{U}_i(x_{(1)}, x_{(2)}, ...x_{(i-1)}; \delta)$ parameterized by all the decisions at levels above and the near-optimality tolerance $\delta$;
<figure><img src="image_4.png" /><figcaption>Fig. 3 Generalized NOR multilevel</figcaption></figure>

<figure><img src="image_5.png" /><figcaption>Fig. 4 Decoupling of the two adversarial problems</figcaption></figure>

5. Compute the near-optimal lower-level solution $z_k$ which is the worst-case with respect to the k-th constraint of the top-most level $\forall k \in [m_{U_1}]$;

6. Verify that each $k \in [m_{U_1}]$ top-level constraint is satisfied with respect to the corresponding worst-case solution $z_k$.

Steps 1-2 are performed in polynomial time. Step 3 requires solving Problem $\mathcal{L}(x_U)$, belonging to $\Sigma_r^P$. Step 4 consists in solving a generalized near-optimal robust multilevel problem GNORMP$_{s-1}$ with one level less than the current problem. Step 5 requires the solution of $m_{U_1}$ adversarial problems belonging to $\Sigma_r^P$ since $\mathcal{L}$ is in $\Sigma_r^{P*}$. Step 6 is an elementary comparison of two quantities for each $k \in [m_u]$. The step of highest complexity is Step 4. If it requires to solve a problem in $\Sigma_{r+s-1}^P$, then GNORMP$_s$ is in $\Sigma_{r+s}^P$ similarly to its canonical problem.

Let us assume that Step 4 requires to solve a problem outside $\Sigma_{r+s-1}^P$. Then GNORMP$_{s-1}$ is not in $\Sigma_{r+s-1}^P$ as the associated canonical problem, and that Step 4 requires to solve a problem not in $\Sigma_{r+s-2}^P$. By recurrence, GNORMP$_1$ is not in $\Sigma_{r+1}^P$. However, GNORMP$_1$ is a near-optimal robust bilevel problem where the lower level itself in $\Sigma_r^P$; this corresponds to the setting of Section 4. This contradicts Theorem 3, GNORMP$_{s-1}$ is therefore in $\Sigma_{r+s-1}^P$. Verifying the feasibility of a given solution to GNORMP$_s$ requires solving a problem at most in $\Sigma_{r+s-1}^P$. Based on Proposition 1, GNORMP$_s$ is in $\Sigma_{r+s}^P$ as its canonical multilevel problem. $\square$

In conclusion, Theorem 4 shows that adding near-optimality robustness at an arbitrary level of the multilevel problem does not increase its complexity in the polynomial hierarchy. By combining this property with the possibility to add near-optimal deviation at an intermediate level as in Theorem 3, near-optimality robustness can be added at multiple levels of a multilevel model without changing its complexity class in the polynomial hierarchy.
# 6 Conclusion

In this paper, we have shown that for many configurations of bilevel and multilevel optimization problems, adding near-optimality robustness to the canonical problem does increase its complexity in the polynomial hierarchy. This result is obtained even though near-optimality robustness constraints add another level to the multilevel problem, which in general would change the complexity class. We defined the class $\Sigma_s^{P*}[\mathcal{H}]$ that is general enough to capture many non-linear multilevel problems but avoids corner cases where the modified objective or additional linear constraint makes the problem harder to solve.

Future work will consider specialized solution algorithms for some classes of near-optimal robust bilevel and multilevel problems.

**Acknowledgements** The work of Mathieu Besançon was supported by the Mermoz scholarship and the GdR RO.

# References

1. S. Dempe, *Bilevel optimization: theory, algorithms and applications*. TU Bergakademie Freiberg, Fakultät für Mathematik und Informatik, 2018.

2. M. Besançon, M. F. Anjos, and L. Brotcorne, “Near-optimal Robust Bilevel Optimization,” *arXiv preprint arXiv:1908.04040*, 2019.

3. S. Dempe, V. Kalashnikov, G. A. Pérez-Valdés, and N. Kalashnykova, “Bilevel programming problems,” *Energy Systems. Springer, Berlin*, 2015.

4. W. Wiesemann, A. Tsoukalas, P.-M. Kleniati, and B. Rustem, “Pessimistic Bilevel Optimization,” *SIAM Journal on Optimization*, vol. 23, pp. 353–380, jan 2013.

5. C. Audet, P. Hansen, B. Jaumard, and G. Savard, “Links between linear bilevel and mixed 0–1 programming problems,” *Journal of optimization theory and applications*, vol. 93, no. 2, pp. 273–300, 1997.

6. G. B. Allende and G. Still, “Solving bilevel programs with the KKT-approach,” *Mathematical programming*, vol. 138, no. 1-2, pp. 309–332, 2013.

7. S. Dempe and S. Franke, “Solution of bilevel optimization problems using the KKT approach,” *Optimization*, vol. 68, no. 8, pp. 1471–1489, 2019.

8. S.-J. Chung, “NP-completeness of the linear complementarity problem,” *Journal of optimization theory and applications*, vol. 60, no. 3, pp. 393–399, 1989.

9. S. Dempe, O. Khamisov, and Y. Kochetov, “A special three-level optimization problem,” *Journal of Global Optimization*, vol. 76, no. 3, pp. 519–531, 2020.

10. M. H. Zare, O. Y. Özaltın, and O. A. Prokopyev, “On a class of bilevel linear mixed-integer programs in adversarial settings,” *Journal of Global Optimization*, vol. 71, no. 1, pp. 91–113, 2018.

11. M. Fischetti, I. Ljubić, M. Monaci, and M. Sinnl, “A new general-purpose algorithm for mixed-integer bilevel linear programs,” *Operations Research*, vol. 65, no. 6, pp. 1615–1637, 2017.

12. S. Tahernejad, T. K. Ralphs, and S. T. DeNegre, “A branch-and-cut algorithm for mixed integer bilevel linear optimization problems and its implementation,” *COR@ L Technical Report 16T-015-R3*, Lehigh University, 2016.

13. A. Caprara, M. Carvalho, A. Lodi, and G. J. Woeginger, “A study on the computational complexity of the bilevel knapsack problem,” *SIAM Journal on Optimization*, vol. 24, no. 2, pp. 823–838, 2014.

14. R. G. Jeroslow, “The polynomial hierarchy and a simple model for competitive analysis,” *Mathematical programming*, vol. 32, no. 2, pp. 146–164, 1985.

15. S. Bolusani, S. Coniglio, T. K. Ralphs, and S. Tahernejad, “A Unified Framework for Multistage and Multilevel Mixed Integer Linear Optimization,” 2020.

16. T. Ralphs, A. Bulut, S. DeNegre, A. Lodi, F. Rossi, S. Smriglio, and G. Woeginger, “Complexity and multi-level optimization,” https://coral.ise.lehigh.edu/~ted/files/talks/MIP12.pdf.

17. L. J. Stockmeyer, “The polynomial-time hierarchy,” *Theoretical Computer Science*, vol. 3, no. 1, pp. 1–22, 1976.

18. J. T. Moore and J. F. Bard, “The mixed integer linear bilevel programming problem,” *Operations research*, vol. 38, no. 5, pp. 911–921, 1990.