betaFeedback

WorksMathematics

On the Complexity of Linear Programs with Parametric Constraint Matrices

Abstract

While sensitivity analysis for linear programs with parametric right- hand side vectors is well established, cases involving parametric constraint matrices remain less explored. To address this gap, we investigate linear programs where the constraint matrix depends linearly on a scalar parameter. Our goal is to compute the minimum and maximum optimal values of these parametric linear programs within a fixed parameter range. This corresponds to solving two bilevel programs. We show that both decision versions of these optimization problems are NP-complete by proving both NP-hardness and membership in NP. We additionally identify three sufficient conditions on the parametric matrix under which the bilevel programs are no longer NP-hard. We introduce a reformulation for both problems, together with a Farkas-based certificate for the lower-level feasibility condition, and compare the execution time for solving them on standard benchmark instances. The experiments highlight a practical dichotomy. Although both bilevel optimizations are NP-hard, computing the parameter value corresponding to the minimum of the linear program is fast, whereas computing the value corresponding to the maximum is not. We relate this asymmetry to the parametric equality constraints, whose free dual variables leave the relaxation of the maximum reformulation unbounded.

Introduction

Parametric linear programming studies how the optimal value of a linear program evolves under perturbations. While classical settings consider perturbations of the objective or the right-hand side, much less is known when the constraint matrix itself is affected. In this work, we study linear programs parameterized by a single scalar parameter λ\lambda varying over a given interval Λ⊂R\Lambda\subset\mathbb{R}, where the parameter linearly modifies some coefficients of the constraint matrix. For a given realization of λ∈Λ\lambda\in\Lambda, we denote the corresponding linear program by P(λ)\mathcal{P}(\lambda) and formalize it as

f(λ)=min⁡x∈RncTxs.t.Ax+λDx≤b,x≥0\begin{aligned} f(\lambda) &= \min_{x \in\mathbb{R}^{n}} && \mathbf{c}^{\mathsf{T}}\mathbf{x}\\ &\text{s.t.} && \mathbf{A}\mathbf{x}+\lambda\mathbf{D}\mathbf{x}\leq\mathbf{b},\\ &&&\mathbf{x}\geq0 \end{aligned}

where x∈Rn\mathbf{x} \in\mathbb{R}^{n} is the decision vector, A∈Qm×n\mathbf{A} \in\mathbb{Q}^{m \times n} is the nominal constraint matrix, D∈Qm×n\mathbf{D} \in\mathbb{Q}^{m \times n} is the perturbation matrix associated with λ\lambda and b∈Qm\mathbf{b} \in\mathbb{Q}^{m} is the right-hand side vector. The function f(λ)f(\lambda) is called the value function of the parametric linear program. For instance, this setting appears when a single physical or economic parameter influences multiple constraints simultaneously. In time-indexed models of production or energy systems, parameters such as efficiency or resource availability appear repeatedly across constraints at each time period. Therefore, varying such a parameter affects multiple coefficients in the constraint matrix.

In such models, the objective typically represents total operating or investment costs, or a performance metric. Understanding how the objective value evolves with respect to the parameter λ\lambda is interesting to assess the impact of uncertainty on the objective value and to identify the worst-case and best-case scenario. In particular, determining the global extrema of the associated value function over a given interval,

min⁡λ∈[λ1,λ2]f(λ)andmax⁡λ∈[λ1,λ2]f(λ),\min_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda) \quad\text{and} \quad\max_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda),

where λ1,λ2∈Q\lambda_1,\lambda_2 \in\mathbb{Q}, provides exact bounds on the achievable cost or performance as the parameter varies. These extrema lead to bilevel formulations, where λ\lambda is selected at the upper level and the linear program is solved at the lower level. However, the function f(λ)f(\lambda) may be neither convex nor concave, making these problems difficult to solve. An illustrative example is shown in Figure 1, which depicts the value function of the following parametric linear program over λ∈[−1,1]\lambda\in[-1,1]:

Value function $f(\lambda)$ of the illustrative example

Figure 1. Value function f(λ)f(\lambda) of the illustrative example over Λ=[−1,1]\Lambda= [-1,1]: ff is neither convex nor concave.

f(λ)=min⁡x0,x1−x1s.t.(−1+λ)x0+x1≤1,2λx0+(1−λ)x1≤1,(1−λ)x0−(1+λ)x1≤1,x0,x1≥0.\begin{aligned} f(\lambda) &= \min_{x_0,x_1} && -x_1 \\ \text{s.t.} && (-1+\lambda)x_0+x_1 &\le1, \\ && 2\lambda x_0+(1-\lambda)x_1 &\le1, \\ && (1-\lambda)x_0-(1+\lambda)x_1 &\le1, \\ && x_0,x_1 &\ge0. \end{aligned}

This function has two local minima, around λ≈−0.35\lambda\approx-0.35 and λ≈0.4\lambda\approx0.4, separated by a local maximum at λ=0\lambda= 0. Hence, ff is neither convex nor concave, and not even quasi-convex or quasi-concave.

Related work

Three streams of research are related to our work: sensitivity analysis, robust optimization, and bilevel optimization.

Parametric and sensitivity analysis in linear programming study how optimal solutions and objective values evolve when problem data are perturbed. Studies mainly focus on variations in the objective coefficients or in the right-hand side. Perturbations on the constraint matrix have received less attention. Among the works that explicitly consider parameter-dependent constraint matrices, Zuidwijk [22] studies linear programs whose constraint matrix depends on a scalar parameter and derives local expressions for the evolution of the optimal value. Zuidwijk’s analysis relies on the characterization of regions in which a given basis remains optimal, leading to a piecewise description of the value function. Similarly, Khalilpour and Karimi [14] consider uncertainty on the left-hand side and propose a parametric solution approach based on basis-dependent computations.

More recently, Derval et al. [7] propose bounding procedures to estimate the value function over a parameter interval, yielding computable upper and lower bounds. Derval et al. [8] study the evaluation of optimal solutions and objective values for a finite set of parameter values and develop warm-start strategies to accelerate repeated solves. Both works consider the same parametric model as the present paper, but focus primarily on its computational treatment. Their contributions are complementary to ours, which studies the computational complexity of optimizing the value function over an entire parameter interval and develops exact single-level reformulations for computing its minimum and maximum.

A related line of research is robust optimization [2], whose goal is to find a solution that optimizes the objective function under the worst-case realization of uncertain data while remaining feasible across all potential data realizations. This framework is also heavily motivated by parameter uncertainty within the constraint matrix coefficients, e.g., see [19, 1, 3]. In contrast to this focus on identifying a robust decision, our objective is to characterize the best- and worst-case values reached by the optimal value function of the linear program when the scalar parameter varies over a given interval.

Our work is also connected to bilevel optimization. Indeed, optimizing the value function with respect to the parameter yields a bilevel formulation, where the upper-level variable is the scalar parameter λ\lambda and the lower level corresponds to a linear program. From a complexity perspective, the decision version of bilevel linear optimization problems is NP-complete; Jeroslow [12] established NP-hardness and Buchheim [5] showed inclusion in NP. This NP-hardness persists under other restrictive settings, such as min-max variants of bilevel linear optimization problems [11]. Moreover, bilevel optimization problems remain NP-hard even when the upper level involves a single decision variable [20], or when considering the pessimistic variant with a fixed number of lower-level variables [13]. Despite this, our problem does not fall directly into the class of bilevel linear optimization problems. Indeed, the dependence on λ\lambda appears in the constraint matrix of the lower-level problem and breaks the linearity. Thus, existing complexity results for bilevel linear optimization cannot be directly transferred to our setting. Related complexity analyses have been conducted for bilevel problems involving bilinear terms, such as bilevel quadratic programs, toll-pricing and combinatorial pricing [13, 18, 6, 9]. In these formulations, the bilinearities arise in the objective function from interactions between upper- and lower-level decision variables, whereas in our setting they involve a single scalar parameter λ\lambda that affects the feasible region.

Our contributions

In this paper, we study parametric linear programs in which the constraint matrix depends linearly on a scalar parameter. As formalized in § 2, we investigate the problem of computing the parameter values that minimize and maximize the optimal value of the resulting linear program over a given interval. In § 3, we prove that both decision versions of the optimization problems are NP-complete by establishing polynomial-time verifiable certificates together with polynomial reductions from known NP-complete problems. We then identify three sufficient conditions on the parametric matrix under which both bilevel problems become polynomially solvable. In § 4, we derive single-level reformulations for both problems. To this end, dualization of the lower-level is standard, but here it is valid only over parameter values where the lower-level is feasible and bounded. We therefore pair the strong duality reformulation of the maximum problem with a Farkas-based certificate. Finally, in § 5, we confront the theoretical complexity picture with practice on benchmark instances proposed by Derval et al. [7]. Although both problems are NP-hard, the minimum reformulation can be solved efficiently, whereas computing the maximum remains significantly more challenging. § 6 concludes the paper.

Problem statement

We consider the parametric linear optimization problem P(λ)\mathcal{P}(\lambda). We are interested in computing its global extrema over the interval Λ=[λ1,λ2]\Lambda= [\lambda_1,\lambda_2]. This leads to the following optimization problems:

min⁡λ∈[λ1,λ2]min⁡x≥0{cTx∣Ax+λDx≤b}(1)\min_{\lambda\in[\lambda_1,\lambda_2]} \min_{x \ge0} \left\{ \mathbf{c}^{\mathsf{T}}x \mid A x + \lambda D x \le\mathbf{b} \right\} \tag*{(1)}

and

max⁡λ∈[λ1,λ2]min⁡x≥0{cTx∣Ax+λDx≤b}.(2)\max_{\lambda\in[\lambda_1,\lambda_2]} \min_{x \ge0} \left\{ \mathbf{c}^{\mathsf{T}}x \mid A x + \lambda D x \le\mathbf{b} \right\}. \tag*{(2)}

These formulations can be interpreted as bilevel optimization problems in which the upper level selects the parameter λ\lambda, while the lower level solves the linear program P(λ)\mathcal{P}(\lambda).

Remark 1. We note that for λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that the lower-level is unbounded, our min–min problem (1) is unbounded. Moreover, for λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that the lower-level is infeasible, our max–min problem (2) is unbounded. However, if the lower-level was formalized instead as the following constraint within our bilevel programs:

x∈arg minx′≥0{cTx′∣Ax′+λDx′≤b},x \in\mathop{\rm arg\,min}_{x' \ge0} \left\{ \mathbf{c}^{\mathsf{T}}x' \mid A x' + \lambda D x' \le\mathbf{b} \right\},

a λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that (i) the lower-level is unbounded would result in min–min problem (1) being infeasible, and (ii) the lower-level is infeasible would result in max–min problem (2) being infeasible. We adopt the formulations (1) and (2) because our goal is to bound the value function over Λ\Lambda: they return f(λ)=−∞f(\lambda)=-\infty and f(λ)=+∞f(\lambda)=+\infty as the correct extrema, whereas the argmin-constrained formulation would instead declare the bilevel problem infeasible. This detail is relevant for the NP membership and algorithmic approaches considered in this paper.

Auxiliary reformulations

We first observe that the min–min problem (1) can be rewritten as a single-level problem. Since the upper and lower levels have the same objective function, the bilevel formulation reduces to a joint minimization over (x,λ)(x,\lambda):

min⁡x,λ cTxs.t.(A+λD)x≤b,x≥0,λ1≤λ≤λ2(Pmin⁡)\min_{x,\lambda}\ \mathbf{c}^{\mathsf{T}}\mathbf{x}\quad\text{s.t.}\quad(A+\lambda D)\mathbf{x}\leq\mathbf{b},\quad\mathbf{x}\geq0,\quad\lambda_1\leq\lambda\leq\lambda_2\qquad(\mathcal{P}_{\min})

In contrast, the max–min problem cannot be reduced to a joint optimization problem, since the lower-level variable must be optimal for the value of λ\lambda chosen at the upper level. To handle this structure, we rely on a dual reformulation of the lower-level problem. Its dual is

max⁡y≤0{bTy∣(A+λD)Ty≤c}.\max_{\mathbf{y}\leq0}\left\{\mathbf{b}^{\mathsf{T}}\mathbf{y}\mid(A+\lambda D)^{\mathsf{T}}\mathbf{y}\leq\mathbf{c}\right\}.

If we assume that the linear program P(λ)\mathcal{P}(\lambda) is feasible for all λ\lambda and has a finite optimal value, by strong duality, we therefore have

min⁡x≥0{cTx∣(A+λD)x≤b}=max⁡y≤0{bTy∣(A+λD)Ty≤c}.\min_{\mathbf{x}\geq0}\left\{\mathbf{c}^{\mathsf{T}}\mathbf{x}\mid(A+\lambda D)\mathbf{x}\leq\mathbf{b}\right\} = \max_{\mathbf{y}\leq0}\left\{\mathbf{b}^{\mathsf{T}}\mathbf{y}\mid(A+\lambda D)^{\mathsf{T}}\mathbf{y}\leq\mathbf{c}\right\}.

These two auxiliary reformulations of the lower-level (i.e., primal and dual representations) will be used throughout the paper. The joint reformulation of the min–min problem is used in the complexity analysis and in the computational experiments. The dual reformulation of the lower-level problem is used in the complexity analysis of the max–min problem and in the derivation of its single-level formulation.

Complexity

Given a rational threshold KK, the decision versions of min–min (1) and max–min (2) are, respectively

∃λ∈Λ such that f(λ)≤K,(D-min)\exists\lambda\in\Lambda\ \text{such that}\ f(\lambda)\leq K,\qquad(\mathrm{D\text{-}min})

and

∃λ∈Λ such that f(λ)≥K.(D-max)\exists\lambda\in\Lambda\ \text{such that}\ f(\lambda)\geq K.\qquad(\mathrm{D\text{-}max})

In this section, we show the following main theorem:

Theorem 1. The decision problems DD-min and DD-max are NPNP-complete.

In § 3.1 and § 3.2, we prove NPNP-hardness by showing that min–min (1) and max–min (2) contain as a special case the linear multiplicative programming problem. In § 3.3, we show membership of DD-min and DD-max in NPNP. We then, in § 3.4, identify restricted assumptions on DD under which the problems are polynomially solvable.

NP-hardness of the min–min problem

As shown in § 2.1, the bilevel formulation (1) is equivalent to the reformulation (Pmin⁡)(P_{\min}). Therefore, it is sufficient to prove NPNP-hardness of this single-level formulation.

Theorem 2. The min–min problem (Pmin⁡)(P_{\min}) is NPNP-hard.

Proof. We show that every member of Matsui’s NPNP-hard family of linear multiplicative programs [15] can be rewritten in polynomial time as an instance of (Pmin⁡)(P_{\min}) with the same optimal value. This family of linear multiplicative programs is therefore a special case of (Pmin⁡)(P_{\min}), from which NPNP-hardness follows. Matsui’s family is

min⁡z1z2(3)\min\quad z_1z_2 \tag*{(3)}

with decision variables

u=(u1,…,un)∈Rn,v=(vij)1≤i,j≤n∈Rn×n,u0,v0,z1,z2∈R,\mathbf{u}=(u_1,\ldots,u_n)\in\mathbb{R}^n,\qquad \mathbf{v}=(v_{ij})_{1\leq i,j\leq n}\in\mathbb{R}^{n\times n},\qquad u^0,v^0,z_1,z_2\in\mathbb{R},

subject to

0≤ui≤1(i=1,…,n),(4)0\leq u_i\leq1\qquad(i=1,\ldots,n), \tag*{(4)}
0≤vij≤1(i,j=1,…,n),(5)0\leq v_{ij}\leq1\qquad(i,j=1,\ldots,n), \tag*{(5)}
vij≤ui,vij≤uj,vij≥ui+uj−1(i≠j),(6)v_{ij}\leq u_i,\qquad v_{ij}\leq u_j,\qquad v_{ij}\geq u_i+u_j-1\qquad(i\ne j), \tag*{(6)}
vii=ui(i=1,…,n),(7)v_{ii}=u_i\qquad(i=1,\ldots,n), \tag*{(7)}
Mu=1,(8)M\mathbf{u}=1, \tag*{(8)}
u0=∑i=1npiui,(9)u^0=\sum_{i=1}^{n}p^i u_i, \tag*{(9)}
v0=∑i=1n∑j=1npi+jvij,(10)v^0=\sum_{i=1}^{n}\sum_{j=1}^{n}p^{i+j}v_{ij}, \tag*{(10)}
z1=v0−p+2p4n+2p2nu0,(11)z_1=v^0-p+2p^{4n}+2p^{2n}u^0, \tag*{(11)}
z2=v0−p+2p4n−2p2nu0,(12)z_2=v^0-p+2p^{4n}-2p^{2n}u^0, \tag*{(12)}

where MM is an m×nm\times n binary matrix with n>mn>m and p=n4p=n^4. We now write (P1(M))(P_1(M)) as an instance of (Pmin⁡)(P_{\min}) with decision vector

x=(s,u1,…,un,v11,…,vnn,u0,v0,z2,t),\mathbf{x}=(s,u_1,\ldots,u_n,v_{11},\ldots,v_{nn},u^0,v^0,z_2,t),

and parameter λ\lambda representing z1z_1. The objective is c⊤x=t\mathbf{c}^{\top}\mathbf{x}=t. All linear constraints (3)–[9] and [11] are included in Ax≤b\mathbf{A}\mathbf{x}\leq\mathbf{b}, together with s=1s=1 enforced by s≤1s\leq1, −s≤−1-s\leq-1. The auxiliary variable ss is needed because λ\lambda enters (Pmin⁡)(P_{\min}) only through the products λDx\lambda D\mathbf{x}; the product λs\lambda s therefore plays the role of λ\lambda itself.

The relation [10] is encoded as

λs=v0−p+2p4n+2p2nu0,\lambda s=v^{0}-p+2p^{4n}+2p^{2n}u^{0},

i.e.,

λs−v0−2p2nu0≤−p+2p4n,\lambda s-v^{0}-2p^{2n}u^{0}\leq-p+2p^{4n},
−λs+v0+2p2nu0≤p−2p4n.-\lambda s+v^{0}+2p^{2n}u^{0}\leq p-2p^{4n}.

The epigraph constraint

−t+λz2≤0-t+\lambda z_{2}\leq0

enforces t≥λz2t\geq\lambda z_{2}. From the bounds on uu and vv, we obtain

−p+2p4n≤λ≤n2p2n−p+2p4n+2np3n.-p+2p^{4n}\leq\lambda\leq n^{2}p^{2n}-p+2p^{4n}+2np^{3n}.

For n≥5n\geq5, this yields λ∈[p4n,5p4n]\lambda\in[p^{4n},5p^{4n}] and we set λ1=p4n\lambda_{1}=p^{4n}, λ2=5p4n\lambda_{2}=5p^{4n}. These bounds preserve all feasible values arising from (P1(M))(P_{1}(M)). Moreover, λ1\lambda_{1} and λ2\lambda_{2} are polynomially encodable, since log⁡p=O(n4log⁡n)\log p=O(n^{4}\log n) [15]. Given any feasible solution of (P1(M))(P_{1}(M)), define x=(1,u,v,u0,v0,z2,z1z2)\mathbf{x}=(1,u,v,u^{0},v^{0},z_{2},z_{1}z_{2}) and λ=z1\lambda=z_{1}. Then, (x,λ)(\mathbf{x},\lambda) is feasible for (Pmin⁡)(P_{\min}) and c⊤x=z1z2\mathbf{c}^{\top}\mathbf{x}=z_{1}z_{2}, hence

opt⁡(Pmin⁡)≤opt⁡(P1(M)).\operatorname{opt}(P_{\min})\leq\operatorname{opt}(P_{1}(M)).

Conversely, let (x,λ)(\mathbf{x},\lambda) be any feasible solution for (Pmin⁡)(P_{\min}). Then, s=1s=1 and the constraints imply

λ=v0−p+2p4n+2p2nu0.\lambda=v^{0}-p+2p^{4n}+2p^{2n}u^{0}.

Setting z1=λz_{1}=\lambda, we obtain a feasible solution of (P1(M))(P_{1}(M)) whose objective value satisfies z1z2=λz2≤t=c⊤xz_{1}z_{2}=\lambda z_{2}\leq t=\mathbf{c}^{\top}\mathbf{x}, by the epigraph constraint. Since this holds for every feasible solution of (Pmin⁡)(P_{\min}),

opt⁡(P1(M))≤opt⁡(Pmin⁡).\operatorname{opt}(P_{1}(M))\leq\operatorname{opt}(P_{\min}).

Thus, opt⁡(Pmin⁡)=opt⁡(P1(M))\operatorname{opt}(P_{\min})=\operatorname{opt}(P_{1}(M)) and NP-hardness follows.

NP-hardness of the max–min problem

In contrast with the min–min formulation, which reduces to a single-level optimization problem, a similar reduction is not possible at first glance for the max–min formulation, which remains bilevel. Thus, we expect the max–min problem, which involves a “true” bilevel structure, to be at least NP-hard. The following theorem establishes this result.

Theorem 3. The max–min program (2) is NP-hard.

Proof. We show that the specific min–min instance built in the proof of Theorem 2 can in turn be rewritten in polynomial time as an instance of (2) whose optimal value is its negative. Composing the two constructions, every linear multiplicative program (P1(M))(P_1(M)) is rewritten as an instance of (2), from which NP-hardness follows.

Consider the min–min instance built in the proof of Theorem 2, written as

min⁡λ∈[λ1,λ2]min⁡μ≥0{cMTμ∣AMμ+λDMμ≤bM}.\min_{\lambda\in[\lambda_1,\lambda_2]} \min_{\mu\ge0} \left\{c_M^{\mathsf{T}}\mu\mid A_M\mu+ \lambda D_M\mu\le b_M\right\}.

Since the feasible region of (P1(M))(P_1(M)) is nonempty and bounded [15 Corollary 2.3], this instance is feasible and its optimal value is finite. Note also that cM≥0c_M \ge0, since the objective of that instance is the single variable tt.

Consider now the max–min problem

max⁡λ∈[λ1,λ2]min⁡x≥0{cTx∣(A+λD)x≤b}.\max_{\lambda\in[\lambda_1,\lambda_2]} \min_{x \ge0} \left\{c^{\mathsf{T}}x \mid(A+\lambda D)x \le b\right\}.

For a fixed value of λ\lambda, the inner minimization problem is a linear program. Using the dual reformulation introduced in § 2.1 and the change of variables μ=−y≥0\mu=-y\ge0, its dual can be expressed as

−min⁡μ≥0{bTμ∣−ATμ+λ(−D)Tμ≤c}.-\min_{\mu\ge0} \left\{b^{\mathsf{T}}\mu\mid-A^{\mathsf{T}}\mu+\lambda(-D)^{\mathsf{T}}\mu\le c\right\}.

We now choose the data (A,D,b,c)(A,D,b,c) so that this dual problem coincides with the min–min instance above. Setting

A:=−AMT,D:=−DMT,b:=cM,c:=bM,A := -A_M^{\mathsf{T}}, \qquad D := -D_M^{\mathsf{T}}, \qquad b := c_M, \qquad c := b_M,

and keeping the same interval [λ1,λ2][\lambda_1,\lambda_2], the dual of the inner problem becomes

−min⁡μ≥0{cMTμ∣AMμ+λDMμ≤bM}.(μ-problem)-\min_{\mu\ge0} \left\{c_M^{\mathsf{T}}\mu\mid A_M\mu+\lambda D_M\mu\le b_M\right\}. \quad(\mu\text{-problem})

Fix λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] and consider the μ\mu-problem obtained by fixing λ\lambda in the min–min instance, whose feasible set is {μ≥0∣AMμ+λDMμ≤bM}\{\mu\ge0 \mid A_M\mu+\lambda D_M\mu\le b_M\}. Whenever this set is nonempty, the μ\mu-problem is bounded: its objective is the variable tt, the epigraph constraint gives t≥λz2t \ge\lambda z_2, and λ\lambda and z2z_2 are bounded, the latter because the construction of Theorem 2 preserves the feasible points of (P1(M))(P_1(M)), whose feasible region is bounded [15 Corollary 2.3]. Two cases arise. If the feasible set is nonempty, the μ\mu-problem has a finite optimal value; the same then holds for its dual, which is the inner problem of the max–min instance, and strong duality yields

min⁡x≥0{cTx∣(A+λD)x≤b}=−min⁡μ≥0{cMTμ∣AMμ+λDMμ≤bM}.\min_{x\ge0}\left\{c^{\mathsf{T}}x \mid(A+\lambda D)x\le b\right\}=-\min_{\mu\ge0}\left\{c_M^{\mathsf{T}}\mu\mid A_M\mu+\lambda D_M\mu\le b_M\right\}.

If instead the feasible set is empty, the μ\mu-problem is infeasible and the right-hand side above equals −∞-\infty, under the convention that a minimization over an empty feasible set equals +∞+\infty. The left-hand side equals −∞-\infty as well: the point x=0x=0 is feasible for the inner problem since b=cM≥0b=c_M\ge0, and an infeasible dual then forces the inner problem to be unbounded. The identity above therefore holds for every λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2]. By substituting this expression into the max–min formulation, we have

max⁡λ∈[λ1,λ2]min⁡x≥0{cTx∣(A+λD)x≤b}=max⁡λ∈[λ1,λ2](−min⁡μ≥0{cMTμ∣AMμ+λDMμ≤bM})=−min⁡λ∈[λ1,λ2]min⁡μ≥0{cMTμ∣AMμ+λDMμ≤bM}.\begin{aligned} \max_{\lambda\in[\lambda_1,\lambda_2]}\min_{x\ge0}\left\{c^{\mathsf{T}}x\mid(A+\lambda D)x\le b\right\} &=\max_{\lambda\in[\lambda_1,\lambda_2]}\left(-\min_{\mu\ge0}\left\{c_M^{\mathsf{T}}\mu\mid A_M\mu+\lambda D_M\mu\le b_M\right\}\right)\\ &=-\min_{\lambda\in[\lambda_1,\lambda_2]}\min_{\mu\ge0}\left\{c_M^{\mathsf{T}}\mu\mid A_M\mu+\lambda D_M\mu\le b_M\right\}. \end{aligned}

The constructed max–min instance therefore has optimal value −opt⁡(P1(M))-\operatorname{opt}(P_1(M)) by Theorem 2, and computing it is NP-hard. □

Membership in NP

We now show that the decision versions of Problems (1) and (2) introduced at the beginning of this section belong to NP.

Theorem 4. The decision problems D-min and D-max belong to NP.

Our proof builds on the certificate approach used by Buchheim [5] to establish membership in NP for bilevel linear programming. In that setting, an optimal basis of the lower-level problem serves as a certificate, and once the basis is fixed, verification reduces to checking the feasibility of a system of linear constraints. Two additional difficulties arise in our setting. First, because the lower-level constraint matrix depends on λ\lambda, fixing a basis yields rational conditions in λ\lambda, which become univariate polynomial constraints. Second, as observed in Remark 1, the lower-level problem may be unbounded or infeasible for some values of λ\lambda, in which case an optimal basis certificate need not exist. We therefore extend the strategy of [5] by showing that the resulting univariate polynomial conditions can be verified in polynomial time and by using ray certificates to handle unboundedness and infeasibility.

Proof. We rewrite the lower-level linear program P(λ)\mathcal{P}(\lambda) in standard form by introducing slack variables s∈R≥0m\mathbf{s} \in\mathbb{R}_{\geq0}^{m}. Setting N=n+mN=n+m, z=(x,s)∈R≥0N\mathbf{z}=(\mathbf{x},\mathbf{s}) \in\mathbb{R}_{\geq0}^{N}, and cˉ=(c,0)∈RN\bar{\mathbf{c}}=(\mathbf{c},\mathbf{0}) \in\mathbb{R}^{N}, the value function becomes

f(λ)=min⁡z∈RN{cˉTz | z∈X(λ):={z≥0 | [A+λD∣Im]z=b}}.f(\lambda)=\min_{\mathbf{z}\in\mathbb{R}^{N}}\left\{\bar{\mathbf{c}}^{\mathsf{T}}\mathbf{z}\ \middle|\ \mathbf{z}\in\mathcal{X}(\lambda):=\left\{\mathbf{z}\geq0\ \middle|\ [A+\lambda D\mid I_m]\mathbf{z}=\mathbf{b}\right\}\right\}.

Proof for D-min

Problem D-min is a YES-instance if and only if there exists λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that X(λ)≠∅\mathcal{X}(\lambda)\ne\varnothing and either f(λ)≤Kf(\lambda)\leq K or f(λ)=−∞f(\lambda)=-\infty. The nondeterministic polynomial-time machine for D-min operates as follows:

  1. Nondeterministically guess a basis B⊆{1,…,N}\mathcal{B}\subseteq\{1,\ldots,N\} with ∣B∣=m|\mathcal{B}|=m, and an indicator j∈Bˉ∪{∅}j\in\bar{\mathcal{B}}\cup\{\varnothing\}, where Bˉ={1,…,N}∖B\bar{\mathcal{B}}=\{1,\ldots,N\}\setminus\mathcal{B}.

  1. If j=∅j=\varnothing, verify whether there exists λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that B\mathcal{B} yields a basic feasible solution satisfying cˉTz(λ)≤K\bar{\mathbf{c}}^{\mathsf{T}}\mathbf{z}(\lambda)\leq K.

  1. If j∈Bˉj\in\bar{\mathcal{B}}, verify whether there exists λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that B\mathcal{B} is primal feasible and jj induces an unbounded recession ray certifying f(λ)=−∞f(\lambda)=-\infty.

  1. Accept if the verification in either step (ii) or step (iii) succeeds.

To perform the verification, let MB(λ)M_{\mathcal{B}}(\lambda) be the m×mm\times m submatrix of [A+λD∣Im][A+\lambda D\mid I_m] corresponding to B\mathcal{B}. By Cramer’s rule, the basic variables zB(λ)=MB(λ)−1b\mathbf{z}_{\mathcal{B}}(\lambda)=M_{\mathcal{B}}(\lambda)^{-1}\mathbf{b} and the components of the direction vector dB(j)(λ)=−MB(λ)−1[A+λD∣Im]j\mathbf{d}_{\mathcal{B}}^{(j)}(\lambda)=-M_{\mathcal{B}}(\lambda)^{-1}[A+\lambda D\mid I_m]_j are the rational functions in λ\lambda

zB,i(λ)=pB,i(λ)qB(λ),dB,i(j)(λ)=rB,i(j)(λ)qB(λ),qB(λ)=det⁡(MB(λ)).z_{\mathcal{B},i}(\lambda)=\frac{p_{\mathcal{B},i}(\lambda)}{q_{\mathcal{B}}(\lambda)},\qquad d_{\mathcal{B},i}^{(j)}(\lambda)=\frac{r_{\mathcal{B},i}^{(j)}(\lambda)}{q_{\mathcal{B}}(\lambda)},\qquad q_{\mathcal{B}}(\lambda)=\det(M_{\mathcal{B}}(\lambda)).

where pB,i(λ)=det⁡(MB,i(λ))p_{\mathcal{B},i}(\lambda)=\det(M_{\mathcal{B},i}(\lambda)) and rB,i(j)(λ)=det⁡(MB,i(j)(λ))r_{\mathcal{B},i}^{(j)}(\lambda)=\det(M_{\mathcal{B},i}^{(j)}(\lambda)), with MB,i(λ)M_{\mathcal{B},i}(\lambda) and MB,i(j)(λ)M_{\mathcal{B},i}^{(j)}(\lambda) obtained by replacing the ii-th column of MB(λ)M_{\mathcal{B}}(\lambda) with b\mathbf{b} and −[A+λD∣Im]j-[A+\lambda D\mid I_m]_j, respectively. By Lemma 13 in Appendix § 8, the polynomials pB,i(λ)p_{\mathcal{B},i}(\lambda), rB,i(j)(λ)r_{\mathcal{B},i}^{(j)}(\lambda), and qB(λ)q_{\mathcal{B}}(\lambda) have degree at most mm with polynomially bounded coefficients.

For j=∅j=\varnothing, step (ii) checks the feasibility over λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] of

zB(λ)≥0,cˉBTzB(λ)≤K,qB(λ)≠0.(13)\mathbf{z}_{\mathcal{B}}(\lambda)\geq0,\qquad\bar{\mathbf{c}}_{\mathcal{B}}^{\mathsf{T}}\mathbf{z}_{\mathcal{B}}(\lambda)\leq K,\qquad q_{\mathcal{B}}(\lambda)\ne0. \tag*{(13)}

For j∈Bˉj\in\bar{\mathcal{B}}, step (iii) sets dj(j)(λ)=1d_j^{(j)}(\lambda)=1 and dk(j)(λ)=0d_k^{(j)}(\lambda)=0 for k∈Bˉ∖{j}k\in\bar{\mathcal{B}}\setminus\{j\}, and checks the feasibility over λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] of

zB(λ)≥0,dB(j)(λ)≥0,cˉTd(j)(λ)≤−1,qB(λ)≠0.(14)\mathbf{z}_{\mathcal{B}}(\lambda)\geq0,\qquad d_{\mathcal{B}}^{(j)}(\lambda)\geq0,\qquad\bar{\mathbf{c}}^{\mathsf{T}}\mathbf{d}^{(j)}(\lambda)\leq-1,\qquad q_{\mathcal{B}}(\lambda)\ne0. \tag*{(14)}

Write K=uvK = \frac{u}{v}, where u∈Zu \in\mathbb{Z} and v∈Z+v \in\mathbb{Z}_{+}. Multiplying the objective inequality by vv and then the inequalities in (13) and (14) by (qB(λ))2(q_B(\lambda))^2 clears all denominators without altering inequality signs. To enforce qB(λ)≠0q_B(\lambda) \ne0, we include the strict inequality (qB(λ))2>0(q_B(\lambda))^2 > 0. In either step, this yields an equivalent system of univariate polynomial inequalities in λ\lambda of degree at most 2m2m with coefficients of polynomial encoding length. By Lemma 14 in Appendix § 8, the resulting system can be transformed in polynomial time into an equivalent system of univariate polynomial constraints with integer coefficients. Therefore, Lemma 15 in Appendix § 8 applies and feasibility of this resulting system can be decided in polynomial time. This completes the proof that D-min belongs to NP.

Proof for D-max

By Remark 1, if the lower-level problem P(λ)\mathcal{P}(\lambda) is infeasible, f(λ)=+∞≥Kf(\lambda) = +\infty\ge K holds trivially. Otherwise, for any lower-level dual feasible solution y≤0y \le0 satisfying (A+λD)⊤y≤c(A + \lambda D)^\top y \le c, weak duality implies f(λ)≥b⊤yf(\lambda) \ge b^\top y. Hence, D-max is a YES-instance if and only if there exists λ∈[λ1,λ2]\lambda\in[\lambda_1, \lambda_2] at which the dual program of P(λ)\mathcal{P}(\lambda) is feasible with optimal value at least KK, or P(λ)\mathcal{P}(\lambda) is infeasible. Thus, the rest of the proof follows a logic similar to the one for D-min, with step (ii) being adapted to focus on the optimality of the dual basis and with step (iii) being adapted to focus on the infeasibility of the lower-level.

We express the dual of P(λ)\mathcal{P}(\lambda) in standard form by introducing slack variables v∈R≥0nv \in\mathbb{R}_{\ge0}^n and defining w=(−y,v)∈R≥0Nw = (-y,v) \in\mathbb{R}_{\ge0}^N, namely

max⁡w≥0{−bˉ⊤w∣[−(A+λD)⊤∣In]w=c}\max_{w \ge0} \left\{ -\bar{b}^{\top}w \mid\left[-(A+\lambda D)^{\top} \mid I_n\right]w = c \right\}

where bˉ=(b,0)∈RN\bar{b} = (b,0) \in\mathbb{R}^N. Let MD(λ)=[−(A+λD)⊤∣In]∈Rn×NM_D(\lambda) = \left[-(A+\lambda D)^{\top} \mid I_n\right] \in\mathbb{R}^{n \times N} be the dual constraint matrix.

The nondeterministic polynomial-time machine for D-max operates as follows:

  1. Nondeterministically guess a dual basis By⊂{1,…,N}\mathcal{B}_y \subset\{1,\ldots,N\} with ∣By∣=n|\mathcal{B}_y| = n, and an indicator j∈B‾y∪{∅}j \in\overline{\mathcal{B}}_y \cup\{\emptyset\}, where B‾y={1,…,N}∖By\overline{\mathcal{B}}_y = \{1,\ldots,N\} \setminus\mathcal{B}_y.

  2. If j=∅j = \emptyset, verify whether there exists λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that By\mathcal{B}_y yields a dual basic feasible solution satisfying −bˉ⊤w(λ)≥K-\bar{b}^{\top}w(\lambda) \ge K.

  3. If j∈B‾yj \in\overline{\mathcal{B}}_y, verify whether there exists λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] such that jj induces a ray in the homogeneous dual system certifying primal infeasibility via Farkas’ Lemma.

  4. Accept if the verification in either step (ii) or step (iii) succeeds.

Let MD,By(λ)M_{D,\mathcal{B}_y}(\lambda) be the n×nn \times n submatrix of MD(λ)M_D(\lambda) corresponding to By\mathcal{B}_y. By Cramer’s rule, the dual basic variables wBy(λ)=MD,By(λ)−1c\mathbf{w}_{\mathcal{B}_y}(\lambda)=M_{D,\mathcal{B}_y}(\lambda)^{-1}\mathbf{c} and the basic components of the dual direction vector dy(j)(λ)=−MD,By(λ)−1[MD(λ)]j\mathbf{d}^{(j)}_y(\lambda)=-M_{D,\mathcal{B}_y}(\lambda)^{-1}[M_D(\lambda)]_j are rational functions in λ\lambda with common denominator determinant qBy(λ)=det⁡(MD,By(λ))q_{\mathcal{B}_y}(\lambda)=\det(M_{D,\mathcal{B}_y}(\lambda)).

For j=∅j=\varnothing, step (ii) checks the feasibility over λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] of

wBy(λ)≥0,wB‾y(λ)=0,−b‾Tw(λ)≥K,qBy(λ)≠0.(15)\mathbf{w}_{\mathcal{B}_y}(\lambda) \ge0,\qquad\mathbf{w}_{\overline{\mathcal{B}}_y}(\lambda)=0,\qquad-\overline{\mathbf{b}}^{\mathsf{T}}\mathbf{w}(\lambda)\ge K,\qquad q_{\mathcal{B}_y}(\lambda)\ne0. \tag*{(15)}

For j∈B‾yj\in\overline{\mathcal{B}}_y, step (iii) sets dy,j(j)(λ)=1d^{(j)}_{y,j}(\lambda)=1 and dy,k(j)(λ)=0d^{(j)}_{y,k}(\lambda)=0 for k∈B‾y∖{j}k\in\overline{\mathcal{B}}_y\setminus\{j\}, certifying primal infeasibility by checking the feasibility over λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] of

dy,By(j)(λ)≥0,−b‾Tdy(j)(λ)≥1,qBy(λ)≠0.(16)\mathbf{d}^{(j)}_{y,\mathcal{B}_y}(\lambda)\ge0,\qquad-\overline{\mathbf{b}}^{\mathsf{T}}\mathbf{d}^{(j)}_y(\lambda)\ge1,\qquad q_{\mathcal{B}_y}(\lambda)\ne0. \tag*{(16)}

Write K=uvK=\frac{u}{v}, where u∈Zu\in\mathbb{Z} and v∈Z0+v\in\mathbb{Z}^{+}_0. Multiplying the objective inequality by vv and then the inequalities in (14) and (15) by (qBy(λ))2(q_{\mathcal{B}_y}(\lambda))^2 clears all denominators without altering inequality signs, and enforcing (qBy(λ))2>0(q_{\mathcal{B}_y}(\lambda))^2>0 guarantees non-singularity. This converts both conditions into equivalent systems of univariate polynomial inequalities in λ\lambda of degree at most 2n2n with coefficients of polynomial encoding length. By Lemma 14 in Appendix A, the resulting system can be transformed in polynomial time into an equivalent system of univariate polynomial constraints with integer coefficients. Therefore, Lemma 15 in Appendix A applies and feasibility over [λ1,λ2][\lambda_1,\lambda_2] is decidable in polynomial time. This completes the proof that D-max belongs to NP.

Proof of Theorem 1. The statement follows directly by combining the NP-hardness results, Theorems 2 and 3, with the membership one in Theorem 4.

Tractable cases

We now identify restricted assumptions on DD under which the problem of finding either the minimum or the maximum is no longer NP-hard.

Uniform sign in DD

We consider the case where all coefficients of DD have the same sign. In this setting, the value function f(λ)f(\lambda) is monotone on the interval [λ1,λ2][\lambda_1,\lambda_2]. Then, the optimal values are attained at the endpoints of the interval.

Proposition 5. Assume that all entries of DD have the same sign.

  • If Dij≥0 ∀i,jD_{ij}\ge0\ \forall i,j, then f(λ)f(\lambda) is nondecreasing on [λ1,λ2][\lambda_1,\lambda_2].

  • If Dij≤0 ∀i,jD_{ij}\le0\ \forall i,j, then f(λ)f(\lambda) is nonincreasing on [λ1,λ2][\lambda_1,\lambda_2].

Proof. Let λ′,λ′′∈[λ1,λ2]\lambda',\lambda'' \in[\lambda_1,\lambda_2] with λ′≤λ′′\lambda' \le\lambda''.

Assume first that Dij≥0D_{ij} \ge0 ∀i,j\forall i,j. Since x≥0\mathbf{x} \ge0, we have Dx≥0D\mathbf{x} \ge0 and therefore

λ′Dx≤λ′′Dx.\lambda'D\mathbf{x} \le\lambda''D\mathbf{x}.

Hence,

Ax+λ′Dx≤Ax+λ′′Dx.A\mathbf{x}+\lambda'D\mathbf{x} \le A\mathbf{x}+\lambda''D\mathbf{x}.

It follows that every feasible solution for λ′′\lambda'' is also feasible for λ′\lambda', i.e.,

F(λ′′)⊆F(λ′),F(\lambda'') \subseteq F(\lambda'),

where F(λ)F(\lambda) denotes the feasible set of P(λ)\mathcal{P}(\lambda). Therefore,

f(λ′)≤f(λ′′),f(\lambda') \le f(\lambda''),

showing that ff is nondecreasing on [λ1,λ2][\lambda_1,\lambda_2].

The case Dij≤0D_{ij} \le0 ∀i,j\forall i,j follows similarly and yields that ff is nonincreasing on [λ1,λ2][\lambda_1,\lambda_2].

Corollary 6. Assume that all entries of DD have the same sign.

  • If Dij≥0D_{ij} \ge0 ∀i,j\forall i,j, then

min⁡λ∈[λ1,λ2]f(λ)=f(λ1),max⁡λ∈[λ1,λ2]f(λ)=f(λ2).\min_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda)=f(\lambda_1), \qquad\max_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda)=f(\lambda_2).
  • If Dij≤0D_{ij} \le0 ∀i,j\forall i,j, then

min⁡λ∈[λ1,λ2]f(λ)=f(λ2),max⁡λ∈[λ1,λ2]f(λ)=f(λ1).\min_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda)=f(\lambda_2), \qquad\max_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda)=f(\lambda_1).

Consequently, problems (1) and (2) are polynomially solvable, since computing f(λ)f(\lambda) for a single value of λ\lambda can be done in polynomial time.

Observation: Having all coefficients of DD with the same sign cannot occur for models with parametric equality constraints, since such an equality is written as two inequalities whose coefficients have opposite signs to match the canonical model we consider in this paper.

Exactly one non-zero row in DD

We consider the case where DD has exactly one non-zero row. This implies that only one constraint, denoted by i0i_0, is affected by the parameter λ\lambda. The problem can then be written as

min⁡x,λcTxs.t.Bx≤β,ai0x+λdi0x≤bi0,x≥0,λ∈[λ1,λ2].(Pmin⁡,row)\begin{aligned} \min_{\mathbf{x},\lambda}\quad& \mathbf{c}^{\mathsf{T}}\mathbf{x}\\ \text{s.t.}\quad& B\mathbf{x}\le\boldsymbol{\beta},\\ & \mathbf{a}_{i_0}\mathbf{x}+\lambda\mathbf{d}_{i_0}\mathbf{x}\le b_{i_0},\\ & \mathbf{x}\ge0,\\ & \lambda\in[\lambda_1,\lambda_2]. \end{aligned} \qquad(\mathcal{P}_{\min,\mathrm{row}})

In this setting, we prove that the value function f(λ)f(\lambda) is quasi-concave on [λ1,λ2][\lambda_1,\lambda_2]. As a consequence, the minimum over λ\lambda is reached at one of the bounds λ1\lambda_1 or λ2\lambda_2. The maximum can also be found in polynomial time, but requires a bisection procedure.

Definition 1. A function ff is quasi-concave on an interval if for any λ′,λ′′\lambda^\prime,\lambda^{\prime\prime} in the interval and any α∈[0,1]\alpha\in[0,1],

f(αλ′+(1−α)λ′′)≥min⁡{f(λ′),f(λ′′)}.f(\alpha\lambda^\prime+(1-\alpha)\lambda^{\prime\prime}) \ge\min\{f(\lambda^\prime),f(\lambda^{\prime\prime})\}.

Proposition 7. If DD has exactly one non-zero row, then the value function f(λ)f(\lambda) is quasi-concave on [λ1,λ2][\lambda_1,\lambda_2].

Proof. Let λ′,λ′′∈[λ1,λ2]\lambda^\prime,\lambda^{\prime\prime} \in[\lambda_1,\lambda_2] and define

λ^=αλ′+(1−α)λ′′,α∈[0,1].\hat{\lambda}=\alpha\lambda^\prime+(1-\alpha)\lambda^{\prime\prime},\qquad\alpha\in[0,1].

Let x⋆≥0\mathbf{x}^{\star} \ge0 be an optimal solution at λ^\hat{\lambda}. Then,

Bx⋆≤β,(ai0+λ^di0)x⋆≤bi0.B\mathbf{x}^{\star} \le\beta,\qquad(\mathbf{a}_{i_0}+\hat{\lambda}\mathbf{d}_{i_0})\mathbf{x}^{\star}\le b_{i_0}.

Suppose, by contradiction, that x⋆\mathbf{x}^{\star} is infeasible for both λ′\lambda^\prime and λ′′\lambda^{\prime\prime}. Then,

(ai0+λ′di0)x⋆>bi0and(ai0+λ′′di0)x⋆>bi0.(\mathbf{a}_{i_0}+\lambda^\prime\mathbf{d}_{i_0})\mathbf{x}^{\star}>b_{i_0} \qquad\text{and}\qquad (\mathbf{a}_{i_0}+\lambda^{\prime\prime}\mathbf{d}_{i_0})\mathbf{x}^{\star}>b_{i_0}.

Multiplying the first inequality by α≥0\alpha\ge0 and the second by 1−α≥01-\alpha\ge0, and summing, leads to

(ai0+λ^di0)x⋆>bi0,(\mathbf{a}_{i_0}+\hat{\lambda}\mathbf{d}_{i_0})\mathbf{x}^{\star}>b_{i_0},

which contradicts feasibility at λ^\hat{\lambda}.

Hence, x⋆\mathbf{x}^{\star} is feasible for at least one of the problems associated with λ′\lambda^\prime or λ′′\lambda^{\prime\prime}. If it is feasible for λ′\lambda^\prime, then by optimality of f(λ′)f(\lambda^\prime) in a minimization problem,

f(λ′)≤cTx⋆=f(λ^).f(\lambda^\prime)\le\mathbf{c}^{\mathsf{T}}\mathbf{x}^{\star}=f(\hat{\lambda}).

Similarly, if it is feasible for λ′′\lambda^{\prime\prime}, then

f(λ′′)≤cTx⋆=f(λ^).f(\lambda^{\prime\prime})\le\mathbf{c}^{\mathsf{T}}\mathbf{x}^{\star}=f(\hat{\lambda}).

Therefore,

f(λ^)≥min⁡{f(λ′),f(λ′′)},f(\hat{\lambda})\ge\min\{f(\lambda^\prime),f(\lambda^{\prime\prime})\},

which proves quasi-concavity. □

Observation: the proof extends to the mixed-integer case since it relies on the same solution x⋆\mathbf{x}^{\star} and does not construct new solutions through convex combinations. Hence, any integrality constraints satisfied by x⋆\mathbf{x}^{\star} are preserved.

Corollary 8. Suppose DD has exactly one non-zero row. Then, the minimum value of ff over [λ1,λ2][\lambda_1,\lambda_2] is attained at one of the endpoints, namely

min⁡λ∈[λ1,λ2]f(λ)=min⁡{f(λ1),f(λ2)}.\min_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda)=\min\{f(\lambda_1),f(\lambda_2)\}.

Corollary 9. Suppose DD has exactly one non-zero row. Then, a maximum of ff over [λ1,λ2][\lambda_1,\lambda_2] can be approximated within accuracy ε\varepsilon by applying the standard bisection method for quasiconvex optimization to −f-f (see [4]). In particular, given an initial interval [l,u][l,u] containing the optimal value of min⁡λ∈[λ1,λ2]−f(λ)\min_{\lambda\in[\lambda_1,\lambda_2]}-f(\lambda), the method terminates in

O(log⁡(u−lε))O\left(\log\left(\frac{u-l}{\varepsilon}\right)\right)

iterations, each iteration requiring to solve one LP.

Observation: In this case again, having exactly one non-zero row in DD cannot occur for models with parametric equality constraints, since such an equality is written as two inequalities to match the canonical model considered in this paper.

Exactly one non-zero column in DD

We consider the case where DD has exactly one non-zero column. This implies that only one variable, denoted by x0x_0, is affected by the parameter λ\lambda. We decompose the variable vector as (x0,x)(x_0,x), where x∈Rn−1x\in\mathbb{R}^{n-1}. Let A0A_0 denote the corresponding column of AA and dd the non-zero column of DD. The problem can then be written as

min⁡x,x0,λcTx+c0x0s.t.Ax+x0(A0+λd)≤b,x≥0,x0≥0,λ∈[λ1,λ2].\begin{aligned} \min_{x,x_0,\lambda}\quad& c^{\mathsf T}x+c_0x_0\\ \text{s.t.}\quad& Ax+x_0(A_0+\lambda d)\le b,\\ & x\ge0,\quad x_0\ge0,\\ & \lambda\in[\lambda_1,\lambda_2]. \end{aligned}

In this setting, the value function f(λ)f(\lambda) is quasi-convex on [λ1,λ2][\lambda_1,\lambda_2], which implies that the problems (1) and (2) are no longer NP-hard.

Definition 2. A function f:Rn→Rf:\mathbb{R}^n\to\mathbb{R} is called quasi-convex if its domain dom⁡(f)\operatorname{dom}(f) and all its sublevel sets

St={x∈dom⁡(f)∣f(x)≤t},∀t∈R,S_t=\{x\in\operatorname{dom}(f)\mid f(x)\le t\},\qquad\forall t\in\mathbb{R},

are convex.

Proposition 10. If DD has exactly one non-zero column, then the value function f(λ)f(\lambda) is quasi-convex on [λ1,λ2][\lambda_1,\lambda_2].

Proof. Let

St={λ∈[λ1,λ2]∣f(λ)≤t}.S_t = \{\lambda\in[\lambda_1,\lambda_2] \mid f(\lambda) \le t\}.

We show that StS_t is convex.

Take λ′,λ′′∈St\lambda', \lambda'' \in S_t. Then, f(λ′)≤tf(\lambda') \le t and f(λ′′)≤tf(\lambda'') \le t. Hence, there exist feasible solutions (x′,x0′)(x',x'_0) for λ′\lambda' and (x′′,x0′′)(x'',x''_0) for λ′′\lambda'', such that

c⊤x′+c0x0′≤t,c⊤x′′+c0x0′′≤t,\mathbf{c}^{\top}x' + c_0x'_0 \le t,\qquad\mathbf{c}^{\top}x'' + c_0x''_0 \le t,

and

Ax′+(A0+λ′d)x0′≤b,Ax′′+(A0+λ′′d)x0′′≤b.Ax' + (A_0+\lambda'd)x'_0 \le b,\qquad Ax'' + (A_0+\lambda''d)x''_0 \le b.

Let α∈[0,1]\alpha\in[0,1] and let λ^=αλ′+(1−α)λ′′\hat{\lambda}=\alpha\lambda' +(1-\alpha)\lambda''. To prove that λ^∈St\hat{\lambda}\in S_t, we must find a feasible solution for parameter λ^\hat{\lambda} with objective value at most tt.

The idea is to construct such a solution from the feasible solutions associated with λ′\lambda' and λ′′\lambda''. For this purpose, we introduce the coefficient

θ=αx0′′αx0′′+(1−α)x0′,and therefore1−θ=(1−α)x0′αx0′′+(1−α)x0′.\theta=\frac{\alpha x''_0}{\alpha x''_0+(1-\alpha)x'_0},\qquad\text{and therefore}\qquad1-\theta=\frac{(1-\alpha)x'_0}{\alpha x''_0+(1-\alpha)x'_0}.

Set

x^=θx′+(1−θ)x′′andx^0=θx0′+(1−θ)x0′′.\hat{x}=\theta x'+(1-\theta)x''\qquad\text{and}\qquad\hat{x}_0=\theta x'_0+(1-\theta)x''_0.

By construction,

x^0=x0′x0′′αx0′′+(1−α)x0′.\hat{x}_0=\frac{x'_0x''_0}{\alpha x''_0+(1-\alpha)x'_0}.

Moreover,

λ^x^0=(αλ′+(1−α)λ′′)x0′x0′′αx0′′+(1−α)x0′.\hat{\lambda}\hat{x}_0=(\alpha\lambda'+(1-\alpha)\lambda'')\frac{x'_0x''_0}{\alpha x''_0+(1-\alpha)x'_0}.

On the other hand,

θλ′x0′+(1−θ)λ′′x0′′=αλ′x0′x0′′+(1−α)λ′′x0′x0′′αx0′′+(1−α)x0′.\theta\lambda'x'_0+(1-\theta)\lambda''x''_0 =\frac{\alpha\lambda'x'_0x''_0+(1-\alpha)\lambda''x'_0x''_0}{\alpha x''_0+(1-\alpha)x'_0}.

Thus,

λ^x^0=θλ′x0′+(1−θ)λ′′x0′′.\hat{\lambda}\hat{x}_0=\theta\lambda'x'_0+(1-\theta)\lambda''x''_0.

This identity allows the nonlinear term λx0\lambda x_0 to be expressed as a convex combination of the corresponding terms associated with λ′\lambda' and λ′′\lambda''.

We now verify feasibility, i.e.,

Ax^+(A0+λ^d)x^0.A\hat{x}+(A_0+\hat{\lambda}d)\hat{x}_0.

Using the definitions above,

Ax^+(A0+λ^d)x^0=A(θx′+(1−θ)x′′)+A0(θx0′+(1−θ)x0′′)+dλ^x^0.\begin{aligned} A\hat{x}+(A_0+\hat{\lambda}d)\hat{x}_0 &=A(\theta x'+(1-\theta)x'')\\ &\quad+A_0(\theta x'_0+(1-\theta)x''_0)\\ &\quad+d\hat{\lambda}\hat{x}_0. \end{aligned}

Since

λ^x^0=θλ′x0′+(1−θ)λ′′x0′′\hat{\lambda}\hat{x}_0=\theta\lambda' x'_0+(1-\theta)\lambda''x''_0

we obtain

Ax^+(A0+λ^d)x^0=θ(Ax′+(A0+λ′d)x0′)+(1−θ)(Ax′′+(A0+λ′′d)x0′′).A\hat{x}+(A_0+\hat{\lambda}d)\hat{x}_0 =\theta\left(Ax'+(A_0+\lambda'd)x'_0\right) +(1-\theta)\left(Ax''+(A_0+\lambda''d)x''_0\right).

Because both vectors inside the parentheses satisfy the constraints

Ax′+(A0+λ′d)x0′≤b,Ax′′+(A0+λ′′d)x0′′≤b,Ax'+(A_0+\lambda'd)x'_0\leq b,\qquad Ax''+(A_0+\lambda''d)x''_0\leq b,

their convex combination also satisfies them. Therefore,

Ax^+(A0+λ^d)x^0≤b.A\hat{x}+(A_0+\hat{\lambda}d)\hat{x}_0\leq b.

Hence, (x^,x^0)(\hat{x},\hat{x}_0) is feasible for λ^\hat{\lambda}. Finally,

cTx^+c0x^0=cT(θx′+(1−θ)x′′)+c0(θx0′+(1−θ)x0′′)=θ(cTx′+c0x0′)+(1−θ)(cTx′′+c0x0′′)≤θt+(1−θ)t=t.\begin{aligned} c^{\mathsf{T}}\hat{x}+c_0\hat{x}_0 &=c^{\mathsf{T}}\left(\theta x'+(1-\theta)x''\right) +c_0\left(\theta x'_0+(1-\theta)x''_0\right)\\ &=\theta\left(c^{\mathsf{T}}x'+c_0x'_0\right) +(1-\theta)\left(c^{\mathsf{T}}x''+c_0x''_0\right)\\ &\leq\theta t+(1-\theta)t\\ &=t. \end{aligned}

Thus, (x^,x^0)(\hat{x},\hat{x}_0) is a feasible solution for λ^\hat{\lambda} whose objective does not exceed tt. Consequently,

f(λ^)≤t,f(\hat{\lambda})\leq t,

which implies that λ^∈St\hat{\lambda}\in S_t. Since every convex combination of two points in StS_t remains in StS_t, the set StS_t is convex. Therefore every sublevel set of ff is convex, and hence ff is quasi-convex.

Remark. If x0′=x0′′=0x'_0=x''_0=0, the definition of θ\theta is not valid. However, in this case the bilinear term disappears and feasibility follows directly by convexity of the remaining linear constraints.

Observation: The proof does not extend to the mixed-integer case. The constructed point (x^,x^0)(\hat{x},\hat{x}_0) is obtained as a convex combination of two feasible solutions. Hence, even if the initial solutions are integer, there is no guarantee that (x^,x^0)(\hat{x},\hat{x}_0) is integer as well. This observation can be illustrated on the following instance:

min⁡x1,x2,λx2s.t.x1≤4,x1≥0,x2≥0,x1+x2≥1,(−2.05+λ)x1−4x2≤−2,(1.95−λ)x1−4x2≤2,x1∈Z,x2∈R+,λ∈[−0.5,2].\begin{aligned} \min_{x_1,x_2,\lambda}\quad&x_2\\ \text{s.t.}\quad&x_1 \le4,\\ &x_1 \ge0,\quad x_2 \ge0,\\ &x_1+x_2 \ge1,\\ &(-2.05+\lambda)x_1-4x_2 \le-2,\\ &(1.95-\lambda)x_1-4x_2 \le2,\\ &x_1 \in\mathbb{Z},\quad x_2 \in\mathbb{R}_{+},\\ &\lambda\in[-0.5,2]. \end{aligned}

Here, only one column of DD is non-zero, namely the column associated with the integer variable x1x_1. The continuous relaxation satisfies the quasi-convexity property proved above. However, in the mixed-integer case, this property may fail. Indeed, the value function f(λ)f(\lambda) is not quasi-convex, as illustrated in Figure 2.

Evolution of the value function $f(\lambda)$ for the mixed-integer instance with one non-zero column in $D$

Figure 2. Evolution of the value function f(λ)f(\lambda) for the mixed-integer instance with one non-zero column in DD.

Corollary 11. Suppose DD has exactly one non-zero column. Then, the maximum value of ff over [λ1,λ2][\lambda_1,\lambda_2] is attained at one of the endpoints, namely

max⁡λ∈[λ1,λ2]f(λ)=max⁡{f(λ1),f(λ2)}.\max_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda)=\max\{f(\lambda_1),f(\lambda_2)\}.

Corollary 12. Suppose DD has exactly one non-zero column. Then, a minimum of ff over [λ1,λ2][\lambda_1,\lambda_2] can be approximated within accuracy ε\varepsilon by applying the standard bisection method for quasiconvex optimization (see [4]).

In particular, given an initial interval [l,u][l,u] containing the optimal value of min⁡λ∈[λ1,λ2]f(λ)\min_{\lambda\in[\lambda_1,\lambda_2]} f(\lambda), the method terminates in

O(log⁡(u−lε))O\left(\log\left(\frac{u-l}{\varepsilon}\right)\right)

iterations, each iteration involving just the computation of one LP.

Observation: Having exactly one non-zero column in DD can occur in models with parametric equality constraints, since the two inequalities encoding such an equality have their non-zero coefficients in the same column of DD.

Single-level Reformulations

The bilevel formulations (1) and (2) are not directly usable by standard optimization solvers. We therefore rely on the reformulations introduced in § 2.1 to derive equivalent single-level problems that can be handled by nonlinear optimization solvers.

The min–min problem (1) requires no further work. As shown in § 2.1, it is already equivalent to the single-level problem Pmin⁡P_{\min}.

We then consider the max–min problem (2). Unlike the min–min case, the formulation remains bilevel and cannot be directly reduced to a single-level optimization problem. Our reformulation relies on the lower-level problem being feasible for all values of λ\lambda in the interval and having a finite optimal value. To verify feasibility, we use Farkas’ lemma [21], which provides a certificate of infeasibility. Applying the lemma to the system

(A+λD)x≤b,x≥0,(A+\lambda D)x\le b,\qquad x\ge0,

we obtain that infeasibility occurs for some λ\lambda if and only if there exist λ\lambda and yy such that

(A+λD)Ty≥0,yTb=−1,y≥0.(A+\lambda D)^{\mathsf{T}}y\ge0,\qquad y^{\mathsf{T}}b=-1,\qquad y\ge0.

The lower-level problem is therefore feasible for all λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2] if and only if the feasibility problem

max⁡0s.t.(A+λD)Ty≥0,yTb=−1,y≥0,λ1≤λ≤λ2(17)\begin{aligned} \max\quad&0\\ \text{s.t.}\quad&(A+\lambda D)^{\mathsf{T}}y\ge0,\\ &y^{\mathsf{T}}b=-1,\\ &y\ge0,\\ &\lambda_1\le\lambda\le\lambda_2 \tag*{(17)} \end{aligned}

is infeasible. Indeed, when (F)(\mathcal{F}) is infeasible, no certificate of infeasibility exists and the lower-level problem is feasible for every λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2].

Assume furthermore that the lower-level problem has a finite optimal value for every λ\lambda. Strong duality then allows the lower level to be replaced by its dual representation, which yields the single-level formulation

max⁡λ,ybTys.t.(A+λD)Ty≤c,y≤0,λ1≤λ≤λ2.\begin{aligned} \max_{\lambda,y}\quad& \mathbf{b}^{\mathsf{T}}\mathbf{y}\\ \text{s.t.}\quad& (A+\lambda D)^{\mathsf{T}}y \le c,\\ & y \le0,\\ & \lambda_1 \le\lambda\le\lambda_2. \end{aligned}

Under these two assumptions, namely that (F)(\mathcal{F}) is infeasible and that the lower-level problem is bounded for every λ∈[λ1,λ2]\lambda\in[\lambda_1,\lambda_2], the max–min problem is equivalent to (Pmax⁡)(\mathcal{P}_{\max}).

Experiments

This section reports a computational study of the three single-level models derived in Section 4. These are the min–min formulation (Pmin⁡)(\mathcal{P}_{\min}), the Farkas feasibility problem (F)(\mathcal{F}) and the max–min reformulation (Pmax⁡)(\mathcal{P}_{\max}). We report the joint solver outcomes of the three models and their running times. We compare these running times with the lower-level problem solved at a fixed value of λ\lambda. We then show that parametric equality constraints make (Pmax⁡)(\mathcal{P}_{\max}) hard in practice. Finally, we study the effect of explicit bounds on the dual variables.

Benchmark and setup

We use the parametric linear instances proposed by Derval et al. [7], which are derived from the Netlib collection. The constraints of the problems are of the forms

Ax=b,Ax≤b,(A+λD)x=b,(A+λD)x≤b.Ax = b,\qquad Ax \le b,\qquad(A+\lambda D)x = b,\qquad(A+\lambda D)x \le b.

with 100 constraints depending on the parameter λ\lambda. These 100 constraints are split between equalities and inequalities, the number of each type ranging from 0 to 100 across the collection. For each instance, we consider the same interval for the parameter λ\lambda, namely Λ=[−1,1]\Lambda= [-1,1]. Table 1 summarizes the size distribution.

On eleven of the 191 instances, the min–min model (Pmin⁡)(\mathcal{P}_{\min}) is infeasible, so the lower-level problem admits no feasible point at any λ∈Λ\lambda\in\Lambda and the max–min value is +∞+\infty by Remark 1. All numbers below refer to the remaining 180 instances. On those, the nominal problem (λ=0)(\lambda= 0) is solved to optimality in a median of 0.005 seconds, a mean of 0.020 seconds and a maximum of 0.154 seconds. A single linear program at a fixed value of the parameter is

StatisticsMinMedianMeanMax
Vars.791 1752 02813 525
Total Constr.1531 9663 24024 025
Ax=bAx=b02874953,115
Ax≤bAx\le b141 4862 64421 025
(A+λD)x=b(A+\lambda D)x=b01835100
(A+λD)x≤b(A+\lambda D)x\le b08265100

caption: Size statistics for the 191 benchmark instances.

:::

thus computationally negligible and the running times we report below are the cost of optimizing over the interval Λ\Lambda.

All models are implemented in Python and solved with Gurobi Optimizer 12.0.3 on a machine running Linux Mint 22.3 with an AMD Ryzen 7 5825U processor (8 physical cores, 16 logical processors) and 35 GiB of usable RAM. Gurobi is allowed to use all 16 threads, and each run is given a time limit of 1 200 seconds.

Bilinear terms are passed to the solver through auxiliary variables. We introduce zi=λxiz_i=\lambda x_i for the min–min model and wi=λyiw_i=\lambda y_i for (F)(\mathcal{F}) and (Pmax⁡)(\mathcal{P}_{\max}), add the defining bilinear equalities, and let Gurobi handle the resulting nonconvex quadratic constraints through its spatial branch-and-bound. No relaxation of these products is performed on our side.

Results

For each instance we solve the min–min model (Pmin⁡)(\mathcal{P}_{\min}), then (F)(\mathcal{F}), and then the max–min model (Pmax⁡)(\mathcal{P}_{\max}) unless (F)(\mathcal{F}) returned a certificate. When (F)(\mathcal{F}) reaches the time limit, lower-level feasibility over Λ\Lambda is undecided but we still solve (Pmax⁡)(\mathcal{P}_{\max}).

Table 2 summarizes the joint outcomes. The min–min problem reaches a proven finite optimum on every instance but one, which terminates with an incumbent the solver could not certify within tolerances. The feasibility check is decided on 70% of the instances and reaches the time limit on the rest. The max–min reformulation is the bottleneck. It reaches a proven finite optimum on only 46.1% of them.

MinimumLower-level feasibilityMaximum#instances%
optimalfeasible for all λ\lambdaoptimal8346.1
optimaltime limittime limit4223.3
optimalfeasible for all λ\lambdatime limit3418.9
optimaltime limitunbounded126.7
optimalfeasible for all λ\lambdasuboptimal31.7
optimalinfeasible for some λ\lambdaskipped31.7
optimalfeasible for all λ\lambdaunbounded21.1
suboptimalfeasible for all λ\lambdatime limit10.6

Table 2. Joint solver outcomes for the min–min formulation, the feasibility check (F)(\mathcal{F}), and the max–min formulation over the 180 retained instances.

On three instances (F)(\mathcal{F}) is feasible and returns a Farkas certificate that the lower-level problem is infeasible at some λ∈Λ\lambda\in\Lambda, namely at λ=−1\lambda= -1, λ=0.651\lambda= 0.651 and λ=0.096\lambda= 0.096. The max–min value is +∞+\infty on these three, and (Pmax⁡)(\mathcal{P}_{\max}) is not solved. Figure 3 shows their value function over Λ\Lambda. On each of them the lower level is infeasible on a whole subinterval rather than at an isolated point, and is feasible at λ=0\lambda= 0.

Value function plots for capri__eq, forplan__ineq, and share2b

Figure 3. Value function f(λ)f(\lambda) over Λ=[−1,1]\Lambda= [-1,1] on the three instances for which (F)(\mathcal{F}) returns a certificate. The hatched band is the set of λ\lambda at which the lower-level problem is infeasible, obtained by solving it at 1 601 equally spaced values of λ\lambda. The dashed line is the value certified by (F)(\mathcal{F}).

On two instances, (F)(\mathcal{F}) certifies that the lower-level problem is feasible for every λ∈Λ\lambda\in\Lambda while (Pmax⁡)(\mathcal{P}_{\max}) ends with an unbounded status. Under our assumptions, the max–min value must be finite, making the unbounded status returned by Gurobi 12.0.3 for (Pmax⁡)(\mathcal{P}_{\max}) inconsistent with this certificate. On both instances, Gurobi finds an incumbent whose objective value equals the maximum of ff over Λ\Lambda, but does not certify its optimality. Further investigation shows that the solver BARON also reports an unbounded status, whereas Gurobi 13 certifies a finite optimal solution on both instances. Both instances contain parametric equality constraints, whose free dual variables enter bilinear terms in (Pmax⁡)(\mathcal{P}_{\max}). These observations suggest difficulties in handling the resulting nonconvex formulation.

Table 3 reports the running-time distribution of each model. When the exact formulations terminate, they are fast. The median solved run of (Pmax⁡)(\mathcal{P}_{\max}) takes 0.33 seconds, slightly more than the min–min model. A run therefore either terminates quickly or reaches the time limit, with little in between. The optimality gaps show the same thing: of the 77 runs that reach the time limit, 67 still have an infinite gap, the solver having produced no finite dual bound at all. The feasibility check is not a cheap side computation either, with 54 time limits and a worst terminating run of 667 seconds.

ModelStatus#runsMedianMeanMax
Nominal problem (λ=0\lambda= 0)optimal1800.0050.0200.154
min–min (Pmin⁡)(\mathcal{P}_{\min})optimal1790.232.1153.0
min–min (Pmin⁡)(\mathcal{P}_{\min})suboptimal10.270.270.27
(F)(\mathcal{F})feasible for all λ\lambda1230.0610.7667.0
(F)(\mathcal{F})certificate found30.250.842.20
(F)(\mathcal{F})time limit54120012001200
max–min (Pmax⁡)(\mathcal{P}_{\max})optimal830.333.97203.0
max–min (Pmax⁡)(\mathcal{P}_{\max})suboptimal398.9109.9230.5
max–min (Pmax⁡)(\mathcal{P}_{\max})unbounded14349.0442.41185.6
max–min (Pmax⁡)(\mathcal{P}_{\max})time limit77120012001200
max–min (Pmax⁡)(\mathcal{P}_{\max})skipped3–––

Table 3. Running times in seconds, by model and termination status, over the 180 retained instances.

Why the max–min reformulation is hard

Both single-level models contain bilinear terms λxi\lambda x_i or λyi\lambda y_i, which Gurobi relaxes by McCormick envelopes [16, 10]. In (Pmin⁡)(\mathcal{P}_{\min}), xi≥0x_i \ge0 is bounded. In (Pmax⁡)(\mathcal{P}_{\max}), the dual variable yiy_i is free when the primal has equality constraints, so the relaxation can be unbounded and the solver might find no finite dual bound. This is the case in the 67 runs that end with an infinite gap. All except one of the 77 time limits of (Pmax⁡)(\mathcal{P}_{\max}) occur on an instance with at least one parametric equality (Table 4).

Parametric equalitiesmin–min (Pmin⁡)(\mathcal{P}_{\min}) solvedmin–min (Pmin⁡)(\mathcal{P}_{\min}) time limit(F)(\mathcal{F}) solved(F)(\mathcal{F}) time limitmax–min (Pmax⁡)(\mathcal{P}_{\max}) solvedmax–min (Pmax⁡)(\mathcal{P}_{\max}) time limit
none (63)630630581
at least one (117)116063542576

Table 4. Solver outcomes split by whether the instance has at least one parametric equality constraint (A+λD)x=b(A + \lambda D)x = b, over the 180 retained instances. Only two of the possible outcomes are reported.

The magnitude of the dual variables is a candidate explanation for the practical difference between the two models. We explore it by re-solving the 77 time-limit instances after adding a box −M≤yi≤M-M \le y_i \le M on every dual variable. We take M=104M = 10^4 and a reduced time limit of 120 seconds. On the 35 instances on which (F)(\mathcal{F}) proved the lower-level problem feasible for all λ\lambda, the box is decisive. Every one of them reaches a proven optimum, in a median of 0.73 seconds, where 1 200 seconds had left most of them without even a finite dual bound.

feasible for all λ\lambda (35)time limit (42)
no bounds∣yi∣≤104|y_i| \le10^4no bounds∣yi∣≤104|y_i| \le10^4
1 200 s120 s1 200 s120 s
Proven optimal035034
Finite dual bound obtained1035042
Infinite gap at termination250420
Median running time (s)12000.73120018.0
Box active at the returned solution—24/35—36/42

caption: Effect of an explicit box ∣yi∣≤104|y_i| \le10^4 on the dual variables, on the 77 instances for which (Pmax⁡)(P_{\max}) reaches the 1 200-second time limit without bounds. The boxed model is given only 120 seconds. The two groups differ in whether (F)(\mathcal{F}) proved the lower-level problem feasible for all λ\lambda within its own time limit.

:::

The box, however, modifies the problem being solved. By linear programming duality, bounding ∣yi∣≤M|y_i| \le M on an equality row adds a slack variable to that row in the lower-level problem. The slack is priced at MM per unit of violation. The boxed model therefore solves a relaxation in which every equality may be violated at a large but finite cost. A dual variable sitting at its bound means that this slack is used. That equality is then expensive to satisfy exactly. The boxed value is only a lower bound on the max–min value. This happens on 24 of these 35 instances. On the 11 others the box is inactive at both M=104M = 10^4 and M=105M = 10^5. The returned value is then the max–min value itself.

Conclusion

In this paper, we consider parametric linear programs with constraint matrices depending linearly on a scalar parameter. We study the problem of computing the minimum and maximum of the associated value function over a bounded interval. We prove that both corresponding decision versions of the bilevel problems are NP-complete, and we identify restricted assumptions under which the bilevel programs are no longer NP-hard.

The min–min problem reduces directly to a single-level bilinear program, whereas the max–min problem requires a strong-duality reformulation that is valid only when the lower level is feasible over the whole parameter interval. Rather than assuming this condition, as is common in the bilevel literature, we certify it through a Farkas-based feasibility problem.

The computational study on 180 instances derived from Netlib reveals a clear practical asymmetry between the two problems. The min–min formulation is solved on all but one instance, with a median running time below one second. In contrast, the max–min reformulation reaches a proven optimum on less than half of the instances, and the feasibility check itself reaches the time limit on 54 of them. The difficult instances are almost exclusively those carrying a parametric equality constraint. Their dual variables are free, the McCormick relaxation of the corresponding bilinear terms is then unbounded, and the solver terminates without any finite dual bound. Imposing bounds on these variables restores a finite relaxation and lets the solver terminate, but the bounded model is no longer exact.

Several questions remain open. Bounds on the dual variables that are valid rather than imposed would keep the reformulation exact and make its relaxation informative. A second direction is algorithmic. The problem depends on a single scalar parameter, and a dedicated method could branch on this parameter alone.

Statements and Declarations

  • Competing Interests. The authors declare that they have no conflict of interest.

  • Funding. No funding was received for conducting this study.

Auxiliary results used in the proof of Theorem 4

Lemma 13. Let M(λ)M(\lambda) be an m×mm \times m matrix whose entries are affine functions of λ\lambda with rational coefficients. Then, the following holds:

(i) det⁡(M(λ))\det(M(\lambda)) is a polynomial of degree at most mm;

(ii) the coefficients of det⁡(M(λ))\det(M(\lambda)) can be computed in polynomial time in the encoding length of MM;

(iii) the coefficients of det⁡(M(λ))\det(M(\lambda)) have encoding length polynomial in the encoding length of MM.

Proof. By the Leibniz formula, we have

det⁡(M(λ))=∑σ∈Smsgn⁡(σ)∏i=1mMi,σ(i)(λ),\det(M(\lambda)) = \sum_{\sigma\in S_m} \operatorname{sgn}(\sigma) \prod_{i=1}^{m} M_{i,\sigma(i)}(\lambda),

where SmS_m is the permutation group. Each factor Mi,σ(i)(λ)M_{i,\sigma(i)}(\lambda) is affine in λ\lambda, hence every product has degree at most mm, proving assertion (i).

Next, we prove assertions (ii) and (iii). By assertion (i), the polynomial det⁡(M(λ))\det(M(\lambda)) has degree at most mm. Hence, it is uniquely determined by its values at any m+1m+1 distinct points. For each integer λ′∈{0,1,…,m}\lambda' \in\{0,1,\ldots,m\}, the matrix M(λ′)M(\lambda') can be constructed in polynomial time and has integer entries of polynomial encoding length. Therefore, each determinant det⁡(M(λ′))\det(M(\lambda')) can be computed in polynomial time using any polynomial-time algorithm for the determinant of an integer matrix.

Having computed the values det⁡(M(0)),det⁡(M(1)),…,det⁡(M(m))\det(M(0)), \det(M(1)), \ldots, \det(M(m)), the coefficients of the unique polynomial det⁡(M(λ))\det(M(\lambda)) of degree at most mm are recovered by polynomial interpolation on these m+1m+1 evaluation points, which can be performed in polynomial time using standard polynomial interpolation algorithms. Hence, these coefficients have encoding length polynomial in the encoding length of MM. ∎

Lemma 14. Let

f1(λ),…,fs(λ)∈Q[λ]f_1(\lambda),\ldots,f_s(\lambda) \in\mathbb{Q}[\lambda]

be univariate polynomials. Then there exist other univariate polynomials

g1(λ),…,gs(λ)∈Z[λ]g_1(\lambda),\ldots,g_s(\lambda) \in\mathbb{Z}[\lambda]

that can be computed in polynomial time such that, for every i=1,…,si=1,\ldots,s,

fi(λ)Δi0⟺gi(λ)Δi0,Δi∈{<,≤,=,≥,>},f_i(\lambda)\mathbin{\Delta_i}0 \Longleftrightarrow g_i(\lambda)\mathbin{\Delta_i}0,\qquad\Delta_i\in\{<,\le,=,\ge,>\},

Proof. Fix a polynomial

f(λ)=∑k=0dakbkλkf(\lambda)=\sum_{k=0}^{d}\frac{a_k}{b_k}\lambda^k

where ak∈Za_k\in\mathbb{Z} and bk∈Z≥0b_k\in\mathbb{Z}_{\ge0}. Let

D=∏k=0dbkD=\prod_{k=0}^{d}b_k

and define

g(λ)=Df(λ)∈Z[λ].g(\lambda)=D f(\lambda)\in\mathbb{Z}[\lambda].

Since D>0D>0, multiplication by DD preserves all comparison relations with zero. Moreover, the binary encoding length of DD is the sum of the encoding lengths of the denominators bkb_k, and therefore is polynomial in the encoding length of ff. Consequently, the coefficients of gg also have polynomial encoding length.

Lemma 15 (Renegar [17 Theorem 1.1]). Let

f1(λ),…,fs(λ)∈Z[λ]f_1(\lambda),\ldots,f_s(\lambda)\in\mathbb{Z}[\lambda]

be univariate polynomials of degree at most dd, whose coefficients have binary encoding length at most LL. Then, the feasibility of a system of polynomial constraints

fi(λ)Δi0,Δi∈{<,≤,=,≥,>},f_i(\lambda)\mathbin{\Delta_i}0,\qquad\Delta_i\in\{<,\le,=,\ge,>\},

can be decided in time polynomial in ss, dd and LL.

Proof. The result is an immediate specialization of Theorem 1.1 of Renegar [17] to the case of a single real variable.

References

  1. [1]Aharon Ben-Tal and Arkadi Nemirovski. Robust solutions of uncertain linear programs. Operations research letters, 25(1):1–13, 1999.
  2. [2]Aharon Ben-Tal, Arkadi Nemirovski, and Laurent El Ghaoui. Robust optimization. Princeton university press, 2009.
  3. [3]Dimitris Bertsimas and Melvyn Sim. The price of robustness. Operations research, 52(1):35–53, 2004.DOI
  4. [4]Stephen Boyd and Lieven Vandenberghe. Convex optimization, chapter 4. Cambridge university press, 2004.
  5. [5]Christoph Buchheim. Bilevel linear optimization belongs to NP and admits polynomial-size KKT-based reformulations. Operations Research Letters, 51(6):618–622, 2023.DOI
  6. [6]Quang Minh Bui, Margarida Carvalho, and José Neto. Asymmetry in the complexity of the multi-commodity network pricing problem. Mathematical Programming, 208, 2024.DOI
  7. [7]Guillaume Derval, Damien Ernst, Quentin Louveaux, and Bardhyl Miftari. Sensitivity analysis for linear changes of the constraint matrix of a linear program. arXiv preprint arXiv:2410.14443, 2024.arxiv.org/abs/2410.14443
  8. [8]Guillaume Derval, Bardhyl Miftari, Damien Ernst, and Quentin Louveaux. Efficient lp warmstarting for linear modifications of the constraint matrix. arXiv preprint arXiv:2501.04151, 2025.arxiv.org/abs/2501.04151
  9. [9]Christoph Grünе, Dorothee Henke, Eva Rotenberg, and Lasse Wulf. The complexity of stackelberg pricing games. arXiv preprint arXiv:2511.05700, 2025.arxiv.org/abs/2511.05700
  10. [10]Gurobi Optimization. MINLP FAQ: Practical mixed-integer nonlinear modeling, 2025. Accessed 17 September 2026.
  11. [11]Pierre Hansen, Brigitte Jaumard, and Gilles Savard. New branch-and-bound rules for linear bilevel programming. SIAM Journal on scientific and Statistical Computing, 13(5):1194–1217, 1992.
  12. [12]Robert G Jeroslow. The polynomial hierarchy and a simple model for competitive analysis. Mathematical programming, 32(2):146–164, 1985.DOI
  13. [13]Sergey S Ketkov and Oleg A Prokopyev. On the complexity of bilevel linear and quadratic programs in fixed dimensions. arXiv preprint arXiv:2511.15592, 2025.arxiv.org/abs/2511.15592
  14. [14]Khalilpour and IA Karimi. Parametric optimization with uncertainty on the left hand side of linear programs. Computers & chemical engineering, 60:31–40, 2014.DOI
  15. [15]Tomomi Matsui. NP-hardness of linear multiplicative programming and related problems. Journal of Global Optimization, 9(2):113–119, 1996.
  16. [16]Garth P. McCormick. Computability of global solutions to factorable nonconvex programs: Part I — convex underestimating problems. Mathematical Programming, 10(1):147–175, 1976.DOI
  17. [17]James Renegar. On the computational complexity and geometry of the first-order theory of the reals. part i: Introduction. preliminaries. the geometry of semi-algebraic sets. the decision problem for the existential theory of the reals. Journal of symbolic computation, 13(3):255–299, 1992.DOI
  18. [18]Sébastien Roch, Gilles Savard, and Patrice Marcotte. An approximation algorithm for stackelberg network pricing. Networks: An International Journal, 46(1):57–67, 2005.arxiv.org/abs/cs/0409054
  19. [19]Allen L. Soyster. Convex programming with set-inclusive constraints and applications to inexact linear programming. Operations research, 21(5):1154–1157, 1973.
  20. [20]Nagisa Sugishita and Margarida Carvalho. Complexity of bilevel linear programming with a single upper-level variable. In International Conference on Integer Programming and Combinatorial Optimization, pages 426–440. Springer, 2026.DOI
  21. [21]David P. Williamson. Orie 6300: Mathematical programming i - lecture 7, 2008. Course lecture notes.
  22. [22]Rob Zuidwijk. Linear parametric sensitivity analysis of the constraint coefficient matrix in linear programs. Technical Report ERS-2005-055-LIS, Erasmus Research Institute of Management, 2005.

Paper details

vlnc:W_69gzpvgy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY-SA 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents