An exact projection-based algorithm for bilevel mixed-integer problems with nonlinearities
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Merkert, Maximilian; Orlinskaya, Galina; Weninger, Dieter Article — Published Version An exact projection-based algorithm for bilevel mixedinteger problems with nonlinearities Journal of Global Optimization Provided in Cooperation with: Springer Nature Suggested Citation: Merkert, Maximilian; Orlinskaya, Galina; Weninger, Dieter (2022) : An exact projection-based algorithm for bilevel mixed-integer problems with nonlinearities, Journal of Global Optimization, ISSN 1573-2916, Springer US, New York, NY, Vol. 84, Iss. 3, pp. 607-650, https://doi.org/10.1007/s10898-022-01172-w This Version is available at: https://hdl.handle.net/10419/309937 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/
Journal of Global Optimization (2022) 84:607–650 https://doi.org/10.1007/s10898-022-01172-w An exact projection-based algorithm for bilevel mixed-integer problems with nonlinearities Maximilian Merkert1,2 ·Galina Orlinskaya3·Dieter Weninger3 Received: 11 December 2020 / Accepted: 19 April 2022 / Published online: 28 June 2022 © The Author(s) 2022 Abstract We propose an exact global solution method for bilevel mixed-integer optimization problems with lower-level integer variables and including nonlinear terms such as, e.g., products of upper-level and lower-level variables. Problems of this type are extremely challenging as a single-level reformulation suitable for off-the-shelf solvers is not available in general. In order to solve these problems to global optimality, we enhance an approximative projectionbased algorithm for mixed-integer linear bilevel programming problems from the literature to become exact under one additional assumption. This assumption still allows for discrete and continuous leader and follower variables on both levels, but forbids continuous upperlevel variables to appear in lower-level constraints and thus ensures that a bilevel optimum is attained. In addition, we extend our exact algorithm to make it applicable to a wider problem class. This setting allows nonlinear constraints and objective functions on both levels under certain assumptions, but still requires that the lower-level problem is convex in its continuous variables. We also discuss computational experiments on modified library instances. Keywords Bilevel optimization ·Mixed-integer nonlinear programming ·Strong duality · Projection ·Global optimization Mathematics Subject Classification 90C11 ·90C26 ·90C46 ·91A65 BMaximilian Merkert [email protected] Galina Orlinskaya [email protected] Dieter Weninger dieter[email protected] 1Department of Mathematics, Otto von Guericke University Magdeburg, Universitätsplatz 2, 39106 Magdeburg, Germany 2Present Address: Technische Universität Braunschweig, Universitätsplatz 2, 38106 Braunschweig, Germany 3Department of Mathematics, Friedrich-Alexander University Erlangen-Nürnberg, Cauerstrasse 11, 91058 Erlangen, Germany 123
608 Journal of Global Optimization (2022) 84:607–650 1 Introduction Hierarchical decision making by different agents occurs in a number of real life problems including, e.g., energy policy and markets [62], pricing schemes [37], supply chain management [60], infrastructure interdiction [10,58], taxation [36], and transportation network design [6]. The authors in particular were motivated by using bilevel modelling to determine optimal graph aggregations for network design problems as in [3], and introducing controllable energy generation facilities with corresponding discrete decisions on the lower level of energy supply tariff design problems described in [25]. In this paper we consider the setting with two agents, the leader on the upper level and the follower on the lower level, known in game theory as a Stackelberg game (see [48]). Furthermore, discrete decisions are allowed on both levels. Thus, we want an exact solution method for problems from the following class: max xu,yuF(xu,yu,xl,yl) s.t.G(xu,yu,xl,yl)≤0 xu∈RmR +,yu∈ZmZ + max xl,ylf(xu,yu,xl,yl) s.t.g(yu,xl,yl)≤0 xl∈RnR +,yl∈ZnZ +. (1.1) Here we denote the leader’s variables, objective function and constraints by xu∈RmR +and yu∈ZmZ +,F,andG(xu,yu,xl,yl)≤0, respectively. The follower’s optimization problem, parameterized by upper-level variables (xu,yu), constitutes maximizing objective function fover variables xl∈RnR +and yl∈ZnZ +under constraints g(yu,xl,yl)≤0. A detailed set of additional assumptions that we consider in this paper will be introduced later, see Assumptions 1–4in the beginning of Sect. 2. It should be stressed in particular that a number of the applications mentioned above, e.g., pricing schemes, taxation, interdiction and energy policy problems, fall into the setting given by our set of assumptions. Note that the majority of these applications are special cases that typically include either nonlinearities or lower-level integer variables, but not both. 1.1 Contribution We show on a very small example that the algorithm proposed in [60], due to its approximative nature, may lead to incorrect results just because some constraint is scaled in an unfortunate way. We then propose an exact algorithm version under the additional assumption that continuous leader variables do not appear in follower constraints. Without this assumption a compact bilevel feasible set cannot be guaranteed from a theoretical point of view, i.e., a bilevel optimum may be unattainable and therefore finite termination with the exact optimum can not be expected. More restrictive assumptions on this point are present in [23], where continuous leader variables are not allowed to appear in the follower’s problem at all. The assumption from [23] is also present in [49] and the corresponding software MibS [45]. Furthermore, we dispense with the assumption of feasibility of the bilevel problem required in [60], i.e., our algorithm can detect whether the bilevel problem is infeasible. 123
Journal of Global Optimization (2022) 84:607–650 609 Moreover, we extend the algorithm to a nonlinear setting where any kind of MINLP which an off-the-shelf solver can handle is allowed as the leader problem, while the follower problem considered in lower-level continuous variables only has to be convex, bounded, and satisfy Slater’s condition in case of feasibility. Thus we also provide a constructive proof that a finite optimum is always attained within this class of bilevel problems. In two recent surveys on bilevel optimization [12,29], no exact global solution method for this problem class is mentioned, nor is any other existing method—apart from complete enumeration of the follower’s integer variables—known to the authors of this paper. Neither are the authors aware of any other proof that an optimum is always attained for the class of bilevel problems considered. Although there are ε-optimal global optimization methods for bilevel problems requiring partially different assumptions than ours and, e.g., allowing more general nonconvex follower problems (see Sect. 1.3 on existing literature below), the algorithm proposed in this paper is able to find exact global optimal solutions or prove infeasibility for more complex bilevel problem classes than methods with the same property suggested in the literature, e.g., [23, 49]. Finally, we demonstrate the performance of the first implementation on newly constructed bilevel test instances. Note that the algorithm proposed in this paper builds upon a MINLP solver of the user’s choice, which iteratively derives upper and lower bounds on the bilevel optimum by solving corresponding single-level optimization problems. Thus our method incorporates all merits of an established solver implementation (stability, efficiency, multithreading support, etc.) and automatically profits from any further development of MINLP solvers. 1.2 Paper structure Section 1.3 contains a short overview of selected methods and existing literature for bilevel optimization problems, with a focus on problems with integer follower variables. Our setting including the necessary assumptions is presented in Sect. 2. In Sect. 2.1 we briefly state how the key features of Algorithm 1described in Sect. 2are realized in [60], and then describe and illustrate its approximative property in Sect. 2.2. In Sects. 3.1–3.2 we propose an exact realization which guarantees that a bilevel optimum of a feasible bilevel problem is always found. We initially restrict ourselves to the case in which the follower problem is linear. In the end of Sect. 3we give a proof that our algorithm either finds a global optimal solution of a bilevel problem satisfying Assumptions 1–4or proves infeasibility in finitely many iterations. Numerical results are presented in Sect. 4. In Sect. 5we provide details on how to extend our algorithm to nonlinear follower problems. Finally, we conclude with Sect. 6. 1.3 Existing literature Note that whenever the follower’s optimal solution is not unique, the bilevel optimal solution as well as its objective value may be so too, see, e.g., [2]. As this issue is hard to deal with in practice, the majority of bilevel problem formulations rely on a so-called optimistic assumption, i.e., whenever multiple optimal lower-level solutions exist, the one allowing best results for the leader is chosen. The opposite approach is to consider the follower’s optimal solution that is least advantageous to the leader, cf., e.g., [53,59] and the survey [12] for more references. In the remainder of the paper we consider only bilevel problem formulations with an optimistic assumption. 123
610 Journal of Global Optimization (2022) 84:607–650 A common way of solving bilevel problems is reformulating them into a single-level optimization problem, which is obtained by adding optimality conditions for the lower-level problem as constraints to the so-called High Point Relaxation (HPR) of the original bilevel problem, see, e.g., [2,11]. However, this approach requires that general optimality conditions for the lower-level problem can be stated in such a way that some general global optimization solver is able to handle the reformulated single-level optimization problem. Consequently, this method is suitable only for special classes of bilevel problems and in particular does not allow for lower-level integer variables. A number of methods have been proposed for handling bilevel problems with lower-level integer variables, most of them concentrating on various linear problem classes. Branch and cut approaches for approximating the optimal-value function have been used in [15,16,49], while [21–23] extend and apply intersection cuts to bilevel problems. An implementation of the approach published in [16] is publicly available in the solver MibS [45]. In addition, the algorithm presented in [21] is accessible as the software [20]. Global optimization approaches exploiting sensitivity analysis in the lower-level problem for the solution of various classes of bilevel programming problems are suggested in [18,19]. The idea is to solve the lower-level problem as a multi-parametric programming problem, with parameters being the variables of the upper-level problem. Then by inserting the obtained rational reaction sets in the upper-level problem, the overall problem is transformed into a set of independent quadratic, linear or mixed-integer linear programming problems, which can be solved to global optimality. Another parametric approach for linear bilevel problems is presented in [35], while [50] solves bilevel problems without integer variables by min-max reformulation. There exist some algorithms for nonlinear bilevel problems that are proven to yield εoptimal solutions such as the methods proposed in [39,40] and the Branch-and-Sandwich algorithm from [31,32]. They have been extended to the mixed-integer case in [38]and[33], respectively. Recent advances for these approaches allow, e.g., to lift restrictions on coupling equality constraints [17], or improve algorithm performance [42]. Computational results for a bilevel solver based on the implementation of the Branch-and-Sandwich algorithm are presented in [43]. These algorithms have different sets of assumptions, but some allow continuous nonconvexities on the lower level and are thus more general than ours in this respect. However, in contrast to the ε-optimal methods mentioned above, our aim is an exact global optimal solution algorithm for nonlinear mixed-integer bilevel problems with a set of assumptions that we prove sufficient to guarantee attainment of the bilevel optimum. Note that εin the definition of bilevel ε-optimality stands for bilevel feasibility as well as a bilevel optimality tolerance, since a bilevel optimum may not always be attained in the general case. For a more comprehensive list of currently available solution methods for bilevel optimization problems, the reader is referred to [12]. In [61] the authors adapt the above-mentioned classical approach of solving bilevel problems via formulating necessary and sufficient optimality conditions of the lower level to a setting where both levels are mixed-integer problems. They show that if a mixed-integer linear bilevel optimization problem has the so-called relatively complete response property, iteratively solving its HPR with successively added follower optimality conditions for some fixed values of lower-level integer variables produces an exact solution of the original bilevel problem. Problem (1.1)hastherelatively complete response property if every combination of HPR-feasible (xu,yu)and HPR-feasible ylcan be extended to a HPR-feasible solution xu,yu,xl,ylby a suitable HPR-feasible xl. Henceforth we shall call the HPR with optimality conditions of the lower level for some yl,kwith iteration index kthe master 123
Journal of Global Optimization (2022) 84:607–650 611 problem (MP). The relatively complete response property guarantees that the master problem constructed in this way is a relaxation of the original bilevel problem. Successively adding follower optimality conditions for different yl,kto (MP) produces a more precise approximation of the optimal-value function of the original bilevel problem, which becomes exact if all HPR-feasible discrete decisions for the follower have been enumerated. Note that complete enumeration of all possible follower integer configurations is not always necessary for solving the bilevel problem via the procedure described above. A similar approach is also used for computing binary quasi-equilibria in [28], where the authors propose a transformation of a mixed-integer equilibrium problem into a mixed-integer bilevel problem, which they then solve by enumerating all possible integer configurations and formulating corresponding sets of follower optimality conditions. In this case the feasibility of the follower problem is not affected by the leader’s decisions, and the relatively complete response property holds. In [60] the authors propose an extension of an algorithm from [61], which aims at handling lower-level integer variables in linear bilevel problems without the relatively complete response property. They consider a set of upper-level decisions which allow certain lowerlevel integer configurations, and add corresponding lower-level optimality conditions to the HPR only for this upper-level set. Note that the idea of iteratively adding a bound for the lower-level objective function value to the HPR and making this bound valid only for a certain set of upper-level configurations was previously proposed in [38]. However, the particular formulation of this bound as well as the way of defining and finding the corresponding upper-level set and imposing the implied bound differs from the one suggested in [61]. 2 General setting and algorithm structure In this section we first state our assumptions on the class of bilevel problems the approach proposed in this paper can solve. Afterwards we introduce some necessary bilevel terminology in order to describe the general algorithm idea as proposed in [60]. Then, in Sect. 2.1 we state how the key features of the general projection algorithm are realized in [60]. Finally, in Sect. 2.2 we give an example on how this realization makes the algorithm prone to failure. The algorithm proposed in the current paper requires the following assumptions: Assumption 1 All upper-level variables have finite bounds in the HPR. All lower-level variables have finite bounds in the follower problem. The objective and constraint functions F,G,f and g are continuous in their respective closed boxes. Assumption 1is a usual assumption which ensures that all terms occurring in the formulations are bounded. We will make use of it when reformulating various indicator constraints as well as for showing that the proposed algorithm terminates after finitely many iterations. Assumption 2 For any fixed upper-level continuous and integer decisions ¯xuand ¯yu, respectively, and lower-level integer decisions ¯yl, the follower problem is convex and in case of feasibility satisfies Slater’s condition, i.e., f (¯xu,¯yu,·,¯yl)is concave, g(¯yu,·,¯yl)are convex, and there exists a strictly feasible point (satisfying all nonlinear constraints with strict inequality) for all ¯xu,¯yuand ¯ylif g(¯yu,xl,¯yl)≤0has a solution in xl. Moreover, functions f and g are continuously differentiable within lower-level variable bounds. 123
612 Journal of Global Optimization (2022) 84:607–650 The main consequence of Assumption 2is that, considering all upper-level variables as parameters, we can formulate necessary and sufficient optimality conditions for the follower problem with fixed lower-level integer variables. Note that although there are optimal-value function formulations [54,55] as well as optimality conditions based on extended duality [1] for ILPs/MILPs, they do not allow a single-level reformulation of the formulation (BLP) below that can be directly handed over to an off-the-shelf solver. Assumption 3 The high point relaxation (HPR) of the original bilevel problem together with the necessary and sufficient optimality conditions for the lower level as assumed in Assumption 2is of a problem class that can be handled by some off-the-shelf optimization solver. The algorithm presented in this paper builds upon solvers for problems of the type given in Assumption 3. Hence we need this general assumption. In practice (and in our computational experiments), we mainly think of this problem class to be mixed-integer nonlinear problems (MINLPs) with polynomial nonlinearities. Note that Assumptions 1–3are also present in [60]. Assumption 4 The lower-level constraints do not contain any continuous upper-level variables. Without Assumption 4we might not be able to attain the bilevel optimum despite Assumption 1,see[51]. Indeed, this assumption justifies using ‘max’ instead of ‘sup’ in the problem formulation. Assumptions with this effect are widely used in the literature on different levels of restrictiveness. For instance, the requirement of an all-integer leader and/or follower problem is frequently encountered. The main point of Assumption 4is that continuous leader variables do not influence the follower’s feasible set. This is very similar, yet slightly less restrictive, than Assumption 2 from [23] and Assumption 1 from [49], where continuous leader variables are also banned from the follower objective function, in addition to being banned from the follower constraints. This assumption has already been mentioned in earlier work by the same authors (e.g., see [22]) as being very important for their bilevel solver based on intersection cuts. Indeed, for the linear case, in which no continuous leader variables are present in the follower problem at all, [51] shows that a bilevel optimum is attained. To the best of the authors’ knowledge, no such statement exists yet for nonlinear cases satisfying Assumption 4, but possibly with continuous leader variables appearing in the follower objective function. This paper offers a constructive proof that a bilevel optimum is attained in this setting too. See Corollary 3.17 in Sect. 3for more details. Using the optimistic assumption described at the beginning of Sect. 1.3, we can employ the following reformulation of the original bilevel problem (1.1): max xu,yu,xl,ylF(xu,yu,xl,yl)(BLP) s.t.G(xu,yu,xl,yl)≤0 g(yu,xl,yl)≤0 f(xu,yu,xl,yl)≥θxu,yu(optimal-value-function constraint) xu∈RmR +,yu∈ZmZ +,xl∈RnR +,yl∈ZnZ +, where θxu,yu=max xl,ylf(xu,yu,xl,yl):g(yu,xl,yl)≤0,xl∈RnR +,yl∈ZnZ +(2.2) 123
Journal of Global Optimization (2022) 84:607–650 613 is an optimal-value function, cf. Section 1.2 in [14]. The High Point Relaxation (HPR) mentioned earlier is obtained from (BLP) by dropping the (optimal-value-function constraint). Next, we provide some definitions from [60] that are needed to state their general algorithm, including a master problem and two subproblems. By kwe denote the iteration index in the following. Definition 2.1 For any lower-level feasible yl,k,letPyl,kbe defined as Pyl,k=yu,xl:g(yu,xl,yl,k)≤0,yu∈ZmZ +,xl∈RnR +.(2.3) Definition 2.2 For any lower-level feasible yl,k,byProj (yu)Pyl,kwe denote Proj(yu)Pyl,k=yu∈ZmZ +:∃xl∈RnR +with yu,xl∈Pyl,k.(2.4) We consider yl,kto be lower-level feasible if it can be extended to a feasible solution (xl,yl,k)of the follower’s optimization problem by suitable xlfor some yu, and, similarly, yl,kto be HPR-feasible if it can be extended to a HPR-feasible solution (xu,yu,xl,yl,k)by suitable xu,yu,xl. We slightly abuse the notion of lower-level and HPR feasibility in the same way at various places throughout the paper. The HPR of the original bilevel problem together with optimality conditions of the lower level for temporary fixed lower-level feasible yl,kis our master problem, denoted by (MP): max xu,yu,xl,ylF(xu,yu,xl,yl)(MP) s.t.G(xu,yu,xl,yl)≤0 g(yu,xl,yl)≤0 xu∈RmR +,yu∈ZmZ +,xl∈RnR +,yl∈ZnZ + ∀yl,k∈YL: yu∈Proj(yu)Pyl,k projection test for yl,k ⇒ implication of opt. package f(xu,yu,xl,yl)≥θxu,yu,yl,k,optimality package for yl,k where θ¯xu,¯yu,yl,k=max xlf(¯xu,¯yu,xl,yl,k):g(¯yu,xl,yl,k)≤0,xl∈RnR +(2.6) is the optimal objective function value of the lower-level problem where all but continuous lower-level variables xlare fixed, and YLis a set of some lower-level feasible integer configurations, which formation will be shown in Algorithm 1. We deviate from notation purity for the sake of more intuitive understanding and use the same symbol θas for the optimalvalue function defined in (2.2). Particular realizations of projection test,implication and optimality package will be discussed later in this paper. The following subproblem provides the optimal objective function value of the lower level for some fixed upper-level decision (¯xu,¯yu), i.e., the value of θat the point (¯xu,¯yu). We call it follower optimality (FO) problem: 123
614 Journal of Global Optimization (2022) 84:607–650 θ¯xu,¯yu=max xl,ylf(¯xu,¯yu,xl,yl) s.t.g(¯yu,xl,yl)≤0 xl∈RnR +,yl∈ZnZ +. (FO) The last required subproblem checks whether for certain fixed (¯xu,¯yu)there exists an optimal solution of the lower-level problem that together with (¯xu,¯yu)satisfies the upperlevel constraints, i.e., whether (¯xu,¯yu)can be extended to a bilevel feasible solution. In addition to that, if such a lower-level solution exists, the one that produces best results for the upper level will be chosen, thus realizing the optimistic assumption. We call this subproblem bilevel feasibility (BF) problem: max xl,ylF(¯xu,¯yu,xl,yl)(BF) s.t.G(¯xu,¯yu,xl,yl)≤0 g(¯yu,xl,yl)≤0 f(¯xu,¯yu,xl,yl)≥θ¯xu,¯yu xu∈RmR +,yu∈ZmZ +,xl∈RnR +,yl∈ZnZ +. Now we are ready to state a general form of the algorithm as proposed in [60] for feasible bilevel problems: Algorithm 1 General algorithm for feasible bilevel problems with integer variables Set LB ←−∞,UB ←+∞,ξ←0, k←0, YL 0←∅ while UB −LB >ξdo Solve (MP)forYL kto obtain xu,∗ k,yu,∗ k,xl,∗ k,yl,∗ k Set UB to the optimal objective function value of (MP) Solve (FO)forxu,∗ k,yu,∗ kto get ˆxl k,ˆyl kand objective function value θkxu,∗ k,yu,∗ k Solve (BF)forxu,∗ k,yu,∗ kand θkxu,∗ k,yu,∗ k if (BF) is feasible then Denote optimal solution of (BF)as˜xl k,˜yl k LB ←max{LB,optimal objective function value of (BF)} yl,k←˜yl k else yl,k←ˆyl k Add projection test,implication and optimality package for yl,kto (MP) YL k+1←YL k∪{yl,k} k←k+1 Terminate and return the optimal solution All of our assumptions apart from Assumption 4stem directly from this general algorithm form and are also assumed in [60]. They guarantee that we are able to solve the master problem (MP) or determine that it is infeasible (Assumption 3), formulate optimality packages for fixed yl,k(Assumption 2) and, if the bilevel problem is feasible, arrive at a bilevel optimal solution after finitely many iterations (Assumption 1). Assumption 4, that has already been motivated from a theoretical viewpoint, will be shown to be essential in practice too in Sect. 3.1. 123
Journal of Global Optimization (2022) 84:607–650 621 We introduce the following auxiliary optimization problem for projection test: max xl,k,tktk s.t. gR(yu)xl,k+tks≤−gc(yu)−gZ(yu)yl,k xl,k∈RnR +,tk∈R, (PT) where tks=tk,...,tk∈Rsis the vector having tkin every component. It is easy to see that yu∈Proj(yu)Plin yl,kif and only if (PT) has a feasible solution with tk≥0. Furthermore, we have the following: Lemma 3.2 For any fixed yl,kand ¯yuthe problem (PT)has a nonempty feasible region. Moreover, the optimal solution part tk,∗is unique, and the following equivalences hold: Case 1: tk,∗>0⇐⇒ ¯yu∈Proj(yu)Plin yl,k◦=U, Case 2: tk,∗=0⇐⇒ ¯yu∈Proj(yu)Plin yl,k\U, Case 3: tk,∗<0⇐⇒ ¯yu/∈Proj(yu)Plin yl,k. Proof Recall that due to Assumption 1all variables of both levels have finite bounds. Since tkis a free slack variable present in every constraint of (PT), with xl,k=0 it can be chosen such that all constraints are satisfied. Since the objective function of (PT) depends only on one decision variable tk, the optimal solution part tk,∗is unique. For the optimal solution tk,∗at least one of the constraints is satisfied with equality. Thus tk,∗is per construction the maximal slack applicable to all lower-level constraints with lower-level variables fixed to yl,k.Sinceyl,kis a constant, Case 1 is equivalent to the existence of some ¯xl,ksuch that (¯yu,¯xl,k)∈yu,xl:g(yu,xl,yl,k)<0,yu∈RmZ +,xl∈RnR +=Plin yl,k◦ if gdoes not contain any tautological equations for the particular yl,k. Recall that w.l.o.g. we have excluded the possibility of lower-level equations containing no other variables apart from yl, so this translates to ¯yu∈Proj(yu)Plin yl,k◦. Consequently, Case 2 corresponds to ¯yu∈Proj(yu)Plin yl,k\U. This completes the proof. Let us now consider task (a), corresponding to the first case from Lemma 3.2.Forsome sufficiently large number Mμ(details of which we discuss in Sect. 3.1.1), we introduce the following inequality: tk,∗≤ψkMμ.(3.4) It ensures that ¯yu∈Proj(yu)Plin yl,k◦ ⇒ ψk=1due to Case 1 of Lemma 3.2. We can formulate the dual problem to (PT): min μ−gc(yu)+gZ(yu)yl,k μ(PT dual) s.t. gR(yu)μ≥0nR μ1s=1 μ∈Rs +. 123
622 Journal of Global Optimization (2022) 84:607–650 Here, 1s=(1,...,1)is an s-dimensional all-ones vector. We will show that we need only dual feasibility constraints to be able to reformulate (3.4) as −gc(yu)+gZ(yu)yl,k μ≤ψkMμ.(3.4a) Lemma 3.3 Let ψk∈{0,1}and Mμbe some sufficiently large number. Let strong duality hold for (PT)and (PT dual). Adding (PT dual)and (3.4a)to the master problem (MP)implies yu∈Proj(yu)Plin yl,k◦ ⇒ ψk=1 yu/∈Proj(yu)Plin yl,k◦ ⇒ (PTdual)and (3.4a)impose no restrictions on (MP). Proof The weak duality theorem implies −gc(yu)+gZ(yu)yl,k μ≥tk for every feasible solution of (PT)and(PT dual). Lemma 3.2 states that tk,∗>0 if and only if yu∈Proj(yu)Plin yl,k◦and, therefore, −gc(yu)+gZ(yu)yl,k μ≥tk,∗>0 for every μsatisfying (PT dual). Then ψkis set to 1 due to (3.4a). Note that in the master problem (MP)thevariablesμappear only in constraints from (PT dual)andin(3.4a), which do not involve any other variables apart from ψk. Thus ψkis the only variable that links these constraints to the rest of (MP). Consequently, if μcan be chosen such that no restriction is imposed on the value of ψk, i.e., such that the left-hand side of (3.4a) is nonpositive, these constraints exert no influence on (MP). This is indeed possible due to strong duality and Cases 2 and 3 of Lemma 3.2. Remark 3.4 Note that unless strong duality holds between (PT)and(PT dual), the above approach may erroneously classify some upper-level variable values as belonging to a certain projection when in fact they do not. However, the required strong duality is satisfied due to Assumption 2. Thus, adding (PT dual)and(3.4a)to(MP) ensures correct handling for the Cases 1 and 3 from Lemma 3.2 and completes task (a) from p. 14. Next we consider task (b) handling Case 2. We are unable to add the implication yu∈Proj(yu)Plin yl,k\U ⇒ ψk=1(3.5) directly to the formulation for the same reason we could not do so for implication (3.2). Instead, we may add a weaker implication to (MP) that considers only the optimal solution values yu,∗ kof the upper-level discrete variables in the current algorithm iteration: yu=yu,∗ k⇒ ψk=1(3.6) An obvious way to enforce implication (3.6) is to employ a so-called no-good cut [9,27], which cuts off a specific solution. A similar approach was pursued in [52] for a Benders’ decomposition algorithm with a mixed-integer linear subproblem. In it, each assignment of discrete variables corresponds to a nonconvex set, which is the union of the complementary 123
Journal of Global Optimization (2022) 84:607–650 623 set and the boundary of a polyhedron. The no-good cut is used to exclude cases in further iterations that lead to points on faces of the polyhedron. A way to realize a no-good cut for implication (3.6) is to use a quadratic constraint: 1− mZ i=1yu i−yu,∗ k,i2≤ψk.(3.7) In case all upper-level integer variables are binary, instead of (3.7) one may use the linear constraint 1+ yu,∗ k,i=1yu i−1− yu,∗ k,i=0 yu i≤ψk.(3.8) Remark 3.5 Note that (3.5) can be imposed on the master problem gradually by adding suitable no-good constraints realizing the implication (3.6)forsomeyu,k∈ Proj(yu)Plin yl,k\U∩ZmZ +,whereyu,kis the upper-level discrete part of the optimal solution of (MP) in iteration k. The required implication (3.1a) can be imposed on the master problem by adding (PT dual), (3.4a) and a finite number of no-good constraints realizing (3.5), which at the same time imposes no implications on any yu/∈Proj(yu)Pyl,k. The number of required no-good constraints is finite because the number of HPR-feasible yuis finite. Note that Assumption 4 is essential for this to work as it ensures that only discrete upper-level variables influence the set of feasible follower responses. 3.1.1 Projection test with equalities If the description of Plin yl,kcontains equations, Plin yl,k◦is empty, i.e., Case 1 from Lemma 3.2 never occurs. Thus, the primarily desired implication (3.2) would be imposed by (3.6) only, which would lead to adding a lot of no-good cuts and, consequently, a large number of algorithm iterations. In order to avoid this, we propose a special handling for the case of equality constraints being present in the lower-level problem formulation. First, we distinguish between equality and inequality constraint functions, denoted by h and g, respectively. Matrix-valued functions hR,hc,hZand gR,gc,gZare used accordingly. We denote the number of inequality constraints of the lower level by sI≤s. Our aim is to substitute U=Proj(yu)Plin yl,k◦by UI=Proj(yu)PI lin yl,k◦∩Plin yl,k, where PI lin yl,k=yu,xl:g(yu,xl,yl,k)≤0,yu∈RmZ +,xl∈RnR +and g(yu,xl,yl)≤0 are the inequality constraints of the lower level. Hence, UI=yu∈RmZ +|∃xl∈RnR +:g(yu,xl,yl,k)<0,h(yu,xl,yl,k)=0. To achieve this we modify the primal projection test problem (PT) by abstaining from adding slack variables to equality constraints of the lower level: max xl,k,tktk(PTEq) s.t. gR(yu)xl,k+tksI≤−gc(yu)−gZ(yu)yl,k hR(yu)xl,k=−hc(yu)−hZ(yu)yl,k xl,k∈RnR +,tk∈R, 123
624 Journal of Global Optimization (2022) 84:607–650 where tksI=tk,...,tk∈RsIis a vector having tkin every component. Note that in contrast to (PT), (PTEq) is not necessarily feasible. However, we will show that its dual is always feasible. With the dual variables λand μcorresponding to equality and inequality constraints of (PTEq), respectively, we formulate the dual problem to (PTEq): min μ,λ −gc(yu)+gZ(yu)yl,k μ−hc(yu)+hZ(yu)yl,k λ(PTEq dual) s.t. gR(yu)μ+hR(yu)λ≥0nR μ1sI=1 μ∈RsI +. Again, 1sI=(1,...,1)is an sI-dimensional all-ones vector. Lemma 3.6 The optimization problem (PTEq dual)always has a nonempty feasible region. Proof Recall that according to Lemma 3.2,(PT) always has a nonempty feasible region. Thus, although (PTEq) is not necessarily feasible, its infeasibility can arise only from violated equality constraints. Therefore (PTEq) without equality constraints is always feasible with finite optimal value, as consequently is the case for its dual min μ−gc(yu)+gZ(yu)yl,k μ(PTwithoutEq dual) s.t. gR(yu)μ≥0nR μ1sI=1 μ∈RsI +. For any feasible solution ¯μof (PTwithoutEq dual), (¯μ, λ =0)constitutes a feasible solution of (PTEq dual). Corollary 3.7 If (PTEq)is infeasible, (PTEq dual)is unbounded. Proof The dual of an infeasible linear optimization problem can be either infeasible or unbounded according to the LP theory, see Corollary 2.5 from [57]. Lemma 3.6 shows that the first case can not occur with the considered primal-dual pair. Therefore the second case is true and an infeasibility of (PTEq) implies unboundedness of (PTEq dual). Analogously to (3.4a), we introduce the following constraint to complete the projection test (PTEq dual) with equalities: −gc(yu)+gZ(yu)yl,k μ−hc(yu)+hZ(yu)yl,k λ≤ψkMμ.(3.4b) Now we are ready to provide the analogon of Lemma 3.3 for the case of equality constraints being present on the lower level: Lemma 3.8 Let ψk∈{0,1}and Mμbe some sufficiently large number. If strong duality holds for (PTEq)and (PTEq dual)whenever (PTEq)is feasible, adding (PTEq dual)and (3.4b)to 123
Journal of Global Optimization (2022) 84:607–650 625 the master problem (MP)implies: ¯yu∈Proj(yu)PI lin yl,k◦∩Plin yl,k ⇒ ψk=1 ¯yu/∈Proj(yu)PI lin yl,k◦∩Plin yl,k ⇒ no additional restrictions on the master problem. Proof If ¯yu∈UI=Proj(yu)PI lin yl,k◦∩Plin yl,k, all constraints of (PTEq) can be satisfied and the maximal slack tk,∗for inequality constraints is strictly positive, analogously to the first case of Lemma 3.2. Thus the dual (PTEq dual) is also feasible and, due to weak duality, (3.4b) enforces ψk=1: 0<tk,∗≤−gc(yu)+gZ(yu)yl,k μ−hc(yu)+hZ(yu)yl,k λ≤ψkMμ. Thus we obtain the first implication of the lemma and proceed with the second one. If ¯yu/∈UI, then either (PTEq) is infeasible, or has tk,∗≤0. If (PTEq) is infeasible, then the minimization problem (PTEq dual) is unbounded according to Corollary 3.7.For tk,∗≤0, strong duality holds between (PTEq)and(PTEq dual): −gc(yu)+gZ(yu)yl,k μ∗−hc(yu)+hZ(yu)yl,k λ∗=tk,∗≤0. Thus, for ¯yu/∈UI, a feasible solution (μ, λ)of (PTEq dual) can be chosen such that its objective function, which is also the left-hand side of (3.4b), is strictly less than or equal to 0 regardless of the feasibility of (PTEq). Therefore (3.4b) imposes no restrictions on the value of ψkif ¯yu/∈UI, and this completes the proof analogously to the proof of Lemma 3.3. Now we address the issue of computation of Mμ. Note that it is sufficient to choose Mμ big enough such that for every HPR-feasible yuthere is a feasible solution of (PTEq dual) that satisfies (3.4b). Then an optimal solution of (PTEq dual) also satisfies (3.4b)forevery HPR-feasible yu, and, consequently, adding (3.4b) to the master problem (MP) produces the effect desired by Lemma 3.8. In the proof of Lemma 3.6 we established that for any yuthere always is a feasible solution for (PTEq dual) with λ=0. Therefore, a suitable Mμis, e.g., the optimal objective function value of (PTwithoutEq dual) combined with the HPR constraint set and variables of (BLP). The resulting auxiliary optimization problem is always feasible, as (PTwithoutEq dual) is feasible for any HPR-feasible yu, and has a finite objective function value as all variables in there are bounded. Remark 3.9 The above proposed projection test including no-good cuts allows an exact realization of Algorithm 1and also results in some more changes compared to the approximative projection test described in Sect. 2.1: •We need only dual feasibility constraints together with (3.4a)or(3.4b), respectively, instead of all necessary optimality conditions for (PT)or(PTEq), respectively. •Consequently, neither xl,kas ‘copies’ of continuous lower-level variables, nor tkfor each yl,kare needed. •We introduce one implication, i.e., one no-good constraint, more per iteration kof the algorithm. Altogether, we introduce one new binary and scontinuous variables as well as nR+3 constraints for the exact projection test in each iteration. •We may have to enumerate a lot of or, in the worst case, all integer points of some sets Proj(yu)Plin yl,k\UI. 123
626 Journal of Global Optimization (2022) 84:607–650 Example 3.10 We revisit Example 2.9 using the improved algorithm proposed above. For k=0, the steps solving (MP), (FO)and(BF) are identical, so we start from (PT). As the lower level does not contain equations, we employ projection test with U: (PT) ‘Checking what yuallow yl,0=4’ max t0t0 s.t. t0≤ν1−yu t0≤23−yu t0∈R. Let us consider all three possible cases regarding Proj(yu)Plin yl,0: Case 1: t0,∗>0foryu=0⇐⇒ (yu=0)∈Proj(yu)Plin yl,0◦, Case 2: t0,∗=0foryu=1⇐⇒ (yu=1)∈Proj(yu)Plin yl,0\U, Case 3: t0,∗<0foryu≥2⇐⇒ (yu≥2)/∈Proj(yu)Plin yl,0. The dual problem (PT dual) reads: min μ0 1,μ0 2 ν(1−yu)μ0 1+2(3−yu)μ0 2 s.t. μ0 1+μ0 2=1 μ0 1,μ 0 2∈R+. Taking dual feasibility constraints together with the proposed inequality (3.4a) ν(1−yu)μ0 1+2(3−yu)μ0 2≤ψ0Mμ we obtain that ψ0=1 is implied exactly for yu=0 corresponding to Case 1, and ψ0∈{0,1} for larger values of yu. Indeed, consider all three possible cases regarding Proj(yu)Plin yl,0: Case 1: for yu=0wehaveνμ0 1+6μ0 2≤ψ0Mμwhich implies ψ0=1sinceμ0 1+μ0 2=1 and μ0 1,μ 0 2≥0. Case 2: for yu=1wehave4μ0 2≤ψ0Mμ. Hence, ψ0=0 is possible as (μ0 1,μ 0 2)=(1,0) is a feasible solution for (PT dual). Case 3: for yu≥2 the objective coefficient of μ0 1is negative such that the feasible solution (μ0 1,μ 0 2)=(1,0)even gives a negative objective value for (PT dual), again allowing ψ0=0. By adding the no-good cut corresponding to yu,∗ 0, i.e., the implication yu=yu,∗ 0=1 ⇒ ψ0=1, Case 2 is covered as well. Altogether, projection test,implication and optimality package for yl,0to be added to the master problem (MP) comprise 0≤yu≤1→yl≥4. Taken together with the leader constraint yu+4yl≤12, this implies yu≥2, which leaves just one integer feasible point in (MP)fork=1, namely yu,∗ 1,yl,∗ 1=(2,2),UB =0. As the point (2,2)is bilevel-feasible, LB resulting from (FO)and(BF) is also 0, and the algorithm terminates with an optimal solution. 123
Journal of Global Optimization (2022) 84:607–650 627 3.2 Implications and optimality packages Recall that optimality package for yl,kin the master problem (MP) consists of the following constraint: f(xu,yu,xl,yl)=fR(xu,yu)xl+fZ(xu,yu)yl≥θxu,yu,yl,k, where θxu,yu,yl,kis the optimal objective function value of the follower problem with all but continuous lower-level variables xlfixed. Assumption 2ensures that θxu,yu,yl,k can be formulated by using necessary and sufficient optimality conditions of the lower level with fixed yl, such as, e.g., KKT conditions. Note that we are only interested in globally optimal solutions of the original bilevel problem and thus do not require reformulations to be equivalent also in terms of locally optimal solutions. For the latter, the situation is actually more complicated and equivalence may not hold [13]. Let us denote the lower-level dual variables in iteration kby πk. For a linear follower problem we can choose optimality package comprised of primal and dual feasibility constraints for the lower level as well as the strong duality equality with fixed integer variables yl,k: fR(xu,yu)xl+fZ(xu,yu)yl≥fR(xu,yu)xl,k+fZ(xu,yu)yl,k gR(yu)xl,k≤−gc(yu)−gZ(yu)yl,k gR(yu)πk≥fR(xu,yu) fR(xu,yu)xl,k=−gc(yu)−gZ(yu)yl,kπk xl,k∈RnR +,πk∈Rs +. (3.9) For our approach we need to implement logical implications of the following form: ψk=1⇒ optimality package for yl,kis active,i.e., (3.9) is added to (MP), ψk=0⇒ optimality package for yl,kis inactive, i.e., no additional restrictions are imposed on the master problem. (3.10) Implications as (3.10) are often realized by so-called indicator constraints [5,7]. An indicator constraint is a way to express logical relationships among variables by designating a binary variable to control whether a specified constraint is active or not. Some solvers provide facilities for using indicator constraints, e.g., CPLEX, which are utilized in [60]. It is also common to implement indicator constraints by using SOS1 conditions [4], which is the approach taken by Gurobi, for example. So far, solvers do not handle arbitrary nonlinearities together with indicator constraints, and since indicator constraints usually lead to weaker relaxations, we follow a big-M approach. If we use big-M formulations for (3.10), we have to deduce a suitable big-M coefficient for arbitrary lower-level problems. A similar problem arises in a popular solution method for linear bilevel optimization problems where the lower level is reformulated using KKT optimality conditions, which then are linearized using big-M formulations [60]. Finding a suitable big-M coefficient in this case is already challenging as is indicated in [30,44]. One possibility is to derive the correct big-M coefficient based on bound propagation. The dual variables of the lower level, however, do not have finite bounds in general. Nevertheless, in 123
628 Journal of Global Optimization (2022) 84:607–650 the following we show that we do not require bounds for dual variables πkof the lower level in iteration kin order to realize the implication (3.10). Consider the following reformulation of the implication (3.10): fR(xu,yu)xl+fZ(xu,yu)yl≥fR(xu,yu)xl,k+fZ(xu,yu)yl,k−1−ψkMπ gR(yu)xl,k≤−gc(yu)−gZ(yu)yl,k+1−ψkMπ1s gR(yu)πk≥fR(xu,yu)−1−ψkMπ1nR fR(xu,yu)xl,k=−gc(yu)−gZ(yu)yl,kπk xl,k∈RnR +,πk∈Rs + (3.11) with Mπ=max max xu,yu,xl,yl,yl,kfZ(xu,yu)yl,k−fR(xu,yu)xl−fZ(xu,yu)yl, max i,yu,yl,kgc(yu)+gZ(yu)yl,k ei,max i,xu,yufR(xu,yu)ei,0, (3.12) where eiare the corresponding standard basis vectors. Similarly to the calculation of Mμ described in Sect. 3.1.1, the calculation of Mπcan be done by solving three auxiliary optimization problems with the objectives as given in (3.12) and constraints and variables from the HPR of the original bilevel problem. Note that in these auxiliary problems yl,kare variables from a set of all lower-level feasible integer configurations. Terms appearing in the Mπformula (3.12) that do not include any variables can be multiplied by ψkin (3.11). Then these terms can be disregarded in the Mπcalculation. Lemma 3.11 For ψk∈{0,1}the inequality system (3.11)is equivalent to (3.10). Proof The first part of the implication (3.10), i.e., the one for ψk=1, is fulfilled trivially. In case of ψk=0, optimality package corresponding to yl,kis inactive, i.e., constraints (3.11) have to be satisfied for any HPR-feasible xu,yu,xl,yl. This is true with, e.g., xl,k=0andπk=0. As both xl,kand πkappear only in optimality package for yl,kand nowhere else in the master problem, in an inactive optimality package their value can be chosen freely if the first constraint of (3.11) is then valid for all HPR-feasible xu,yu,xl,yl. optimality package formulation (3.11) can be simplified even further: fR(xu,yu)xl+fZ(xu,yu)yl≥−gc(yu)−gZ(yu)yl,kπk+fZ(xu,yu)yl,k −1−ψkMπ gR(yu)πk≥fR(xu,yu)−1−ψkMπ1nR πk∈Rs + (3.13) 123
Journal of Global Optimization (2022) 84:607–650 629 with Mπ=max max xu,yu,xl,yl,yl,kfZ(xu,yu)yl,k−fR(xu,yu)xl−fZ(xu,yu)yl, max i,xu,yufR(xu,yu)ei,0. Lemma 3.12 Assume that strong duality holds for the follower problem in continuous lowerlevel variables. Then, for ψk∈{0,1}the inequality system (3.13)is equivalent to (3.10). Proof The case of ψk=0 can be treated analogously to Lemma 3.11. All inequalities of (3.13) are satisfied for πk=0. As πkappears only in the optimality package corresponding to yl,k, which is inactive for ψk=0, the values of πkcan be chosen freely without influencing the result of the overall optimization problem. Then consider the case ψk=1, where the idea of the proof is similar to Lemma 3.2.Due to weak duality the relation fR(xu,yu)xl,k≤−gc(yu)+gZ(yu)yl,kπk(3.14) is always true and is even satisfied with equality for each optimal solution pair of the primal and dual follower problem. For ψk=1, the first inequality of (3.11)aswellasof(3.13) already ensures lower-level optimality for fixed yl,kby imposing a lower bound on the lowerlevel objective function value. Consequently, in the optimal solution of the master problem, πkmust constitute an optimal solution of the dual lower-level problem with fixed yl,k. Indeed, for ψk=1, the master problem is feasible only if (3.14) is satisfied with equality, which is possible due to strong duality. Thus only the dual feasibility conditions are required to correctly impose the lower bound on the lower-level objective function for fixed yl,k. Remark 3.13 The optimality package formulation (3.13) dispenses with the copies of lower-level continuous variables xl,kand corresponding primal feasibility constraints together with the explicit strong duality constraint. Thus, only scontinuous variables and nR+1 constraints are added to the master problem in each iteration to realize optimality package. Note that complete elimination of xl,kfrom the problem formulations is possible only in combination with the specific form of the projection test described in Sect. 3.1. Absence of the primal lower-level feasibility constraints makes calculation of Mπeasier and the number itself potentially smaller. 3.3 Algorithm form, correctness and finite termination In the following we present Algorithm 2, a modification of Algorithm 1with our exact projection test, that also can decide feasibility of (BLP). In order to handle Case 2 from Lemma 3.2, we need to keep track of all encountered upper-level integer solutions yu,kcorresponding to every generated lower-level integer configuration yl,k, denoted by YUyl,k. For each of these yu,ka no-good constraint of the form (3.7) or, if all leader integer variables are binary, (3.8), is added to the master problem (MP) as part of exact projection test. The rest of projection test is composed of (PTEq dual)and(3.4b), or (PT dual)and(3.4a), depending on whether a special equality constraint treatment is needed or not. Optimality package comprises (3.13). Analogously to Lemma 2.4, we formulate the following statements: 123
630 Journal of Global Optimization (2022) 84:607–650 Algorithm 2 Algorithm for bilevel problems with exact projection test 1: Set LB ←−∞,UB ←+∞,ξ←0, k←0, YL 0←∅ 2: while UB −LB >ξdo 3: Solve master problem (MP)forYL kand YUyl,k,yl,k∈YL k 4: if (MP) is feasible then 5: Denote its optimal solution by xu,∗ k,yu,∗ k,xl,∗ k,yl,∗ k 6: Set UB to the optimal objective function value of (MP) 7: Solve (FO)forxu,∗ k,yu,∗ k,togetˆxl k,ˆyl kand θkxu,∗ k,yu,∗ k 8: Solve bilevel feasibility problem (BF)forxu,∗ k,yu,∗ kand θkxu,∗ k,yu,∗ k 9: if (BF) is feasible then 10: Denote optimal solution of (BF)as˜xl k,˜yl k 11: LB ←max{LB,optimal objective function value of (BF)} 12: yl,k←˜yl k 13: else 14: yl,k←ˆyl k 15: yu,k←yu,∗ k 16: if yl,k/∈YL kthen 17: Create YUyl,k={yu,k} 18: Create projection test and optimality package for yl,k and add them to (MP) 19: YL k+1←YL k∪{yl,k} 20: else 21: YUyl,k←YUyl,k∪{yu,k} 22: For yu,kcreate implication of optimality package for yl,k, i.e., add a no-good constraint (3.7)to(MP) 23: k←k+1 24: else 25: The original bilevel problem (BLP) is infeasible, terminate 26: Terminate and return the optimal solution Lemma 3.14 For any set Y Lof lower-level feasible integer variable configurations and corresponding sets YU(yl,k), the master problem (MP)is a relaxation of the original bilevel problem (BLP). If Y Lcomprises a complete set of lower-level feasible integer variable configurations while for the corresponding sets Y U(yl,k)the inclusion Proj(yu)Plin yl,k\U∩ZmZ +⊆ YU(yl,k)holds, the master problem (MP)is equivalent to the original bilevel problem (BLP). Proof Lemma 2.4 shows the first statement for the master problem which incorporates yu∈Proj(yu)Pyl,k ⇒ f(xu,yu,xl,yl)≥θxu,yu,yl,k for all yl,k∈YL. As Lemma 3.8 and the first part of Remark 3.5 indicate, exact projection test imposes f(xu,yu,xl,yl)≥θxu,yu,yl,kfor a subset of Proj(yu)Pyl,k. Therefore, for any set YLof lower-level feasible integer variable configurations and corresponding sets YU(yl,k), our master problem (MP) with exact projection test is a relaxation of the master problem from Lemma 2.4, and as such a relaxation of (BLP). The second statement of this lemma is inferred from the second part of Lemma 2.4 and the second part of Remark 3.5. Note that not necessarily all ¯yu∈Proj(yu)Plin yl,k\U∩ZmZ + for a complete set of lower-level feasible integer variable configurations yl,khave to be enumerated in order to construct a single-level reformulation of the (BLP). 123
Journal of Global Optimization (2022) 84:607–650 637 cf. [56]. Thus we obtain Lemma 3.3 for an accordingly adapted version of (3.4a). Hence, as no-good cuts handling Case 2 from Lemma 3.2 are independent of the lower-level problem class, Remark 3.5 holds for the nonlinear follower problem when (PT W-dual)andthe corresponding analogon of (3.4a) are employed. Note that using the Wolfe dual for solving bilevel problems with nonlinear lower level is not limited to our particular algorithm framework. The Wolfe dual can be employed to obtain single-level reformulations of bilevel optimization problems if, e.g., all variables have finite bounds on their respective levels, and the lower level is convex and satisfies Slater’s condition. So far the majority of the single-level reformulations of bilevel problems in the literature rely on optimality conditions of the lower level expressed either with strong duality in the linear case or the full KKT system in the nonlinear case. In contrast, it seems that using the Wolfe dual in bilevel optimization has been explored very little. 5.2 Projection test with equalities for nonlinear follower We can implement special handling of equations as discussed in Sect. 3.1.1 also for the more general case. However, the situation is slightly more complicated. Let gand hdenote the functions defining the lower-level inequalities and equations, respectively. Note that by convexity due to Assumption 2, any equations must be linear in the continuous follower variables, so we can write h(yu,xl,yl)as h(yu,xl,yl)= hR(yu,yl)xl+hc(yu,yl)for coefficient functions hRand hc. We again modify the primal problem (PT) by applying slack variables only to the inequality constraints: max xl,k,tktk(PTEq) s.t. g(yu,xl,k,yl,k)+tks≤0 h(yu,xl,k,yl,k)=0 xl,k∈RnR +,tk∈R. The Wolfe dual of this problem is given by min xl,k,μ,λ −μg(yu,xl,k,yl,k)+μ∇xlg(yu,xl,k,yl,k)xl,k−λhc(yu,yl,k) s.t. ∇xlg(yu,xl,k,yl,k)μ+hR(yu,yl,k)λ≥0nR(PTEq W-dual) μ1sI=1 μ∈RsI +. We again face the problem that (PTEq) could—in contrast to (PT)—be infeasible. We have to show that also in this case, (PTEq W-dual) is feasible and admits a solution with objective value ≤0. This would ensure that the strong duality constraint of the form of (3.4b) does not impose any restriction to the master problem if (PTEq) is infeasible. In fact, we will be able to show that (PTEq W-dual) is unbounded in that case, matching Corollary 3.7. Lemma 5.1 If (PTEq)is infeasible, (PTEq W-dual)is unbounded. Proof We can show that (PTEq W-dual) is feasible in a way that is completely analogous to the proof of Lemma 3.6, obtaining a feasible solution of the form ¯xl,k,¯μ, λ =0.However, 123
638 Journal of Global Optimization (2022) 84:607–650 this does not directly imply the statement since the Wolfe dual can in general have a finite optimum even if the primal is infeasible [56]. To complete the proof, we will find an unbounded ray of (PTEq W-dual). Consider a version of the primal problem without the inequalities g(yu,xl,k,yl,k)+tks≤0. It is a linear problem and still infeasible if (PTEq) is. Due to the results in Sect. 3.1.1, its dual min xl,k,λ −λhc(yu,yl) s.t. hR(yu,yl)λ≥0nR (PTwithoutIneq dual) is unbounded. Let ¯ λbe an unbounded ray, i.e., −(¯ λ)hc(yu,yl)<0andhR(yu,yl)¯ λ≥0. Then (xl,k=0,μ =0,¯ λ) is an unbounded ray for (PTEq W-dual). In combination with the feasible solution ¯xl,k,¯μ, 0for (PTEq W-dual), we can construct feasible points (¯xl,k,¯μ, α¯ λ) with arbitrarily small objective value as α→∞. Therefore, we also have the result of Lemma 3.8 for the nonlinear case. Note that we may assume ¯xl,k=0 in the above proof, which will allow us to reuse the primal variable copies xl,kin the optimality package for yl,k. Choosing Mμworks similar to the situation in Sect. 3. For example, we can choose Mμto be equal to the optimal objective function value of the dual of (PTEq) with inequalities only, combined with the HPR constraint set and variables of (BLP). It still holds that this problem always has a finite optimum and admits a feasible solution for (PTEq dual) with λ=0. 5.3 Implications and optimality packages for nonlinear follower Assumption 2ensures that we can still express optimality of the follower’s continuous decisions via strong duality. As before, we denote the lower-level dual variables in iteration kby πk.optimality package consists of primal and dual feasibility constraints for the lower level as well as the strong duality equation for fixed integer variables yl,k: f(xu,yu,xl,yl)≥f(xu,yu,xl,k,yl,k) g(yu,xl,k,yl,k)≤0 ∇xlg(yu,xl,k,yl,k)πk≥∇ xlf(xu,yu,xl,k,yl,k) ∇xlf(xu,yu,xl,k,yl,k)xl,k=−πkg(yu,xl,k,yl)+πk∇xlg(yu,xl,k,yl)xl,k xl,k∈RnR +,πk∈Rs +. (5.1) Note that we consider the gradient ∇xlfto be a row vector. This is for reasons of consistency with the Jacobian matrix ∇xlg, which has gradients as its rows. Recall that our formulation needs to implement the following implications: ψk=1⇒ optimality package for yl,kis active,i.e., (5.1) is added to (MP) ψk=0⇒ optimality package for yl,kis inactive, i.e., no additional restrictions are imposed on the master problem. (5.2) In order to do this we again use a big-M formulation, adding (or, respectively, subtracting) a term (1−ψk)Mπto (from) each inequality in (5.1). 123
Journal of Global Optimization (2022) 84:607–650 639 Just as described in Sect. 3.2, a sufficiently large Mπcan then be found by solving auxiliary problems for the maximal constraint violations under the given bounds for xu,yu,xl,yl, while the package-specific variable copies xl,kand πkare fixed to 0. This way, bounds for the dual variables of the lower level (which in general are not available) are not required for realizing the desired implications. With similar arguments as in Lemma 3.12,theoptimality package can be simplified to f(xu,yu,xl,yl)≥f(xu,yu,xl,k,yl,k)−∇ xlf(xu,yu,xl,k,yl,k) −πkg(yu,xl,k,yl)xl,k+πk∇xlg(yu,xl,k,yl)xl,k −1−ψkMπ ∇xlg(yu,xl,k,yl,k)πk≥∇ xlf(xu,yu,xl,k,yl,k)−1−ψkMπ1nR xl,k∈RnR,πk∈Rs +, (5.3) explicitly enforcing only dual feasibility and exploiting strong duality. Recall that we were able to eliminate all primal variables from (3.11), which, unfortunately, is not possible in general for (5.3). This, however, does not impede the reduction step to (5.3). One should just be aware that xl,kare not necessarily optimal solutions of the primal follower problem with fixed yl=yl,k. Note that we can use the same primal variable copies xl,kas in (PT W-dual). This is because setting xl,kto any optimal follower response given fixed yl,kand yuwill work for both (PT W-dual)and(5.3) at the same time if yu∈Proj(yu)Plin yl,k, i.e., if the optimality package for yl,kis supposed to be active. Otherwise, xl,k=0 is always possible in both problems without imposing any relevant implications. Remark 5.2 Note that the KKT-based tightening that was proposed in [38] and also used in [61] can be incorporated into the algorithm presented in the current paper too. Indeed, any suitable necessary optimality conditions for the lower-level problem can be added to the master problem (MP) in order to obtain a tighter relaxation of the original bilevel problem. 6 Conclusions In this work, we proposed an exact algorithm for solving problems from the challenging class of mixed-integer nonlinear bilevel optimization problems where both leader and follower integer variables are present on both levels. Our method is based on recent work of Yue, Gao, Zeng and You [60], following the same projection-based scheme described in Algorithm 1. We turned it into an exact method under an additional Assumption 4, which bans continuous upper-level variables from lower-level constraints. In conjunction with the other assumptions it therefore guarantees that a bilevel optimum is attained if the problem is feasible in the first place—a fact for which our algorithm also contributes a constructive proof. Assumption 4 is relatively mild compared to other assumptions with the above-mentioned effect that are commonly made in the literature. The key enhancement of our algorithm is to separately realize implication (3.2) for an open subset Uof the relevant projections, chosen to be as large as possible, and the remaining boundary cases—as outlined on p. 14. Furthermore, we extend the algorithm from [60] from a purely linear setting to a more general bilevel problem class allowing nonlinearities. The limiting requirements are given by Assumptions 2–3, which essentially ensure that optimality of the continuous follower decisions can be expressed via strong duality, and that the HPR with these optimality conditions 123
640 Journal of Global Optimization (2022) 84:607–650 can be handled by an off-the-shelf solver. The nonlinear version of our method as described in Sect. 5may be particularly attractive if primal variable copies can be eliminated from the Wolfe dual, though this is not a strict requirement for using it. Proof-of-concept computational results have been presented for the case in which the lower level is linear in the follower variables, but products of lower- and upper-level variables may be present in the objective functions of both levels. Therefore our implementation covers a problem class for which currently no solver exists to the best of the authors’ knowledge. Our method is able to solve many bilevel library instances that have been modified to also include continuous variables and nonlinear terms on both levels (unfortunately, no established library exists for this problem class yet). Still, there are clear limitations in terms of instance size, which is not surprising given the extremely challenging problem class. We think that the experiments are quite encouraging, especially considering the number of optimality packages that still allow the master problem to be solved. It is important to note that our framework relies on established MINLP solvers, so any performance improvements in the underlying MINLP solver will also automatically further benefit our approach. However, the master problem growing due to additional optimality packages is not the only limiting factor. We also observed instances for which optimum solutions of the master problem regularly ended up being boundary cases, i.e., in the relevant projection but not in U. Hence, they required a large number of no-good cuts, showing that our modification for exactness in general comes at a price. Moreover, this observation highlights the importance of avoiding such situations and consequently of our equation-handling modifications from Sects. 3.1.1 and 5.2 for solving problems with equations on the lower level. In future work, further performance gains might be achieved using cutting planes specifically designed for the structure of the master problem as it evolves during the solution process and/or by warmstarting. Perturbation of the follower problem could increase the chance for the master problem solution being in U. However, problem-specific knowledge will be necessary in order not to run into the very same problem that is illustrated in Example 2.9.In preliminary computations, we have observed that having good bounds for the dual variables can help the solver immensely. While such bounds cannot be given in general, dual variables often have a nice interpretation in applications, which might allow for a suitable estimation. Acknowledgements We thank Martin Schmidt for valuable suggestions on software and literature. The first author thanks the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) for their support within GRK 2297 MathCoRe. The research of the second author was performed partially within the Energie Campus Nürnberg and as such was supported by funding of the Bavarian State Government. Last but not least, we thank the anonymous reviewers for their helpful comments. Funding Open Access funding enabled and organized by Projekt DEAL. Data availability The instances used for the computational study in this article were obtained by modifying publicly available library instances from [46]. All modifications are deterministic and have been described in detail in the beginning of Sect. 4. Declarations Conflict of interest The authors declare that they have no conflict of interest. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the 123
Journal of Global Optimization (2022) 84:607–650 641 article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. Appendix Appendix A.1: Example of an unfavorable instance Example A.1 We solve the following bilevel problem employing Algorithm 1, to show that sometimes all HPR-feasible ylassignments are encountered: max yuyu+2yl s.t.yu+yl≤6 yu∈Z+ max yl−yl s.t.yu−yl≤0 yl∈Z+. For a graphical illustration we refer to Fig. 1, while relevant details of each iteration are listed in Table 4. Fig. 1 Graphical representation of Example A.1 123
642 Journal of Global Optimization (2022) 84:607–650 Appendix A.2: Toy example with nonlinearities Example A.2 We illustrate Algorithm 2on a nonlinear toy example, which has bilinear terms in both objective functions and integer variables on both levels: max xu,yu1,yu2 xu·xl s.t.xu=yu1+2yu2 xu∈R+,yu1∈{0,1},yu2∈{0,1} max xl,yl−xu·xl+10yl s.t.−xl+2yl≤3(yu1+2yu2) xl+2yl≤10 2xl−yl≤15(yu1+2yu2) xl∈R+,yl∈Z+. The relation between leader and follower is quite adversarial since the product term xuxl appears with different sign in the two objective functions. The leader controls two binary variables and one continuous variable. The latter is implicitly integer due to the single master constraint and indirectly enters the right-hand side of some follower constraints via this representation. There is one continuous and one integer follower variable. Table 4 Details for each iteration of Algorithm 1while solving Example A.1 k(MP)ksolution UB (FO)ksolution (BF)ksolution LB YL k+1 0(yu,∗ 0,yl,∗ 0)=(0,6)12 ˆyl 0=0,θ 0yu,∗ 0=0˜yl 0=00{0} 1(yu,∗ 1,yl,∗ 1)=(1,5)11 ˆyl 1=1,θ 1yu,∗ 1=−1˜yl 0=13{0,1} 2(yu,∗ 2,yl,∗ 2)=(2,4)10 ˆyl 2=2,θ 2yu,∗ 2=−2˜yl 0=26{0,1,2} 3(yu,∗ 3,yl,∗ 3)=(3,3)9ˆyl 3=3,θ 3yu,∗ 3=−3˜yl 0=39{0,1,2,3} Table 5 Details for each iteration of Algorithm 2while solving Example A.2 k(MP)ksolution UB (FO)ksolution (BF)ksolution LB Y L k+1 0(xu,∗ 0,yu1,∗ 0,yu2,∗ 0,xl,∗ 0,yl,∗ 0)30 (ˆxl 0,ˆyl 0)=(0,4)(˜xl 0,˜yl 0)=(0,4)0{4} =(3,1,1,10,0)θ 0(xu,∗ 0,yu1,∗ 0,yu2,∗ 0)=40 1(xu,∗ 1,yu1,∗ 1,yu2,∗ 1,xl,∗ 1,yl,∗ 1)20 (ˆxl 1,ˆyl 1)=(2,4)(˜xl 1,˜yl 1)=(2,4)4{4} =(2,0,1,10,0)θ 1(xu,∗ 1,yu1,∗ 1,yu2,∗ 1)=36 2(xu,∗ 2,yu1,∗ 2,yu2,∗ 2,xl,∗ 2,yl,∗ 2)8(ˆxl 2,ˆyl 2)=(3,3)(˜xl 2,˜yl 2)=(3,3)4{3,4} =(1,1,0,8,1)θ 2(xu,∗ 2,yu1,∗ 2,yu2,∗ 2)=27 3(xu,∗ 3,yu1,∗ 3,yu2,∗ 3,xl,∗ 3,yl,∗ 3)4(ˆxl 3,ˆyl 3)=(2,4)(˜xl 3,˜yl 3)=(2,4)4{3,4} =(2,0,1,2,4)θ 3(xu,∗ 3,yu1,∗ 3,yu2,∗ 3)=36 123
Journal of Global Optimization (2022) 84:607–650 643 Table 5summarizes the steps of Algorithm 2. As there are only four different possible upper-level solutions, i.e. (xu,yu1,yu2)∈{(0,0,0), (1,1,0), (2,0,1), (3,1,1)}, optimality of the solution found with Algorithm 2can easily be verified. Iteration 0 The first master problem is the High Point Relaxation. It has the unique optimal solution (xu,∗ 0,yu1,∗ 0,yu2,∗ 0,xl,∗ 0,yl,∗ 0)=(3,1,1,10,0)with objective function value 30. However, solving (FO) shows that (xl 0,yl 0)=(10,0)is not an optimal response to (yu1 0,yu2 0,xl 0)=(3,1,1). A rational follower instead plays (xl 0,yl 0)=(0,4), which leads to a lower-level objective value of 40 (instead of −30 according to the HPR solution). Problem (BF) confirms that (xu,∗ 0,yu1 0,yu2 0,xl 0,yl 0)=(3,1,1,0,4)represents a bilevel-feasible solution with objective value 0. We create projection test,implication and optimality package for yl,0=4. This amounts to introducing two sets μ0=(μ0 1,μ 0 2,μ 0 3)and π0=(π0 1,π0 2,π0 3)of continuous dual variables for (PT dual)and(3.13), respectively, to the master problem, together with the binary variable ψ0. In addition we need the constraint (3.4a), and also add the no-good cut (3.6) upfront. Iteration 1 We solve the master problem (MP) with the newly added variables and constraints, obtaining a solution with (xu,∗ 1,yu1,∗ 1,yu2,∗ 1,xl,∗ 1,yl,∗ 1)=(2,0,1,10,0)and ψ0,∗=0, i.e. the optimality package that has just been added is inactive. We solve (FO) and see that the follower replies (xl,yl)=(2,4), which is confirmed as being bilevel-feasible together with (xu,yu1,yu2)=(2,0,1)by (BF). This might be surprising at first since it means (0,1)∈Proj((yu1,yu2))Plin yl,0. However, setting ψ0,∗=0 was still possible in the master problem. We see at closer inspection that (0,1)is not in U, but represents a boundary case. We thus add a corresponding no-good cut ensuring (yu1,yu2)=(0,1)⇒ ψ0=1. Bounds are updated to UB =20 and LB =4. Iteration 2 Solving (MP) yields a solution with (xu,∗ 2,yu1,∗ 2,yu2,∗ 2,xl,∗ 2,yl,∗ 2)=(1,1,0,8,1) and ψ0,∗=0. It has objective value 8, which is the new upper bound. This time, yl=4is indeed impossible for the follower. Instead, (FO) has the optimal solution (xl,yl)=(3,3), again confirmed by (BF). The corresponding bilevel-feasible solution assigns objective values of 3 to the leader and 27 for the follower, respectively. Since the former is worse than the incumbent value of 4 for LB, there is no update on the lower bound. We create projection test,implication and optimality package for yl,0=3, introducing further variables μ1=(μ1 1,μ 1 2,μ 1 3),π1=(π1 1,π1 2,π1 3),andψ1. With Mμ=49 and Mπ=30 being precomputed safe choices for big-M parameters, the full master problem now reads: max xu,yu1,yu2,xl,yl, ψ0,ψ1,μ0,μ1,π0,π1 xu·xl s.t.xu=yu1+2yu2 −xl+2yl≤3(yu1+2yu2) xl+2yl≤10 2xl−yl≤15(yu1+2yu2) −μ0 1+μ0 2+2μ0 3≥0 μ0 1+μ0 2+μ0 3=1 123
644 Journal of Global Optimization (2022) 84:607–650 (3yu1+6yu2−8)μ0 1+2μ0 2 +(15yu1+30yu2+4)μ0 3≤ψ0Mμ −μ1 1+μ1 2+2μ1 3≥0 μ1 1+μ1 2+μ1 3=1 (3yu1+6yu2−6)μ1 1+4μ1 2 +(15yu1+30yu2+3)μ1 3≤ψ1Mμ 1+(yu1−1)+(yu2−1)≤ψ0 1−yu1+(yu2−1)≤ψ0 1+(yu1−1)−yu2≤ψ1 −xuxl+10yl≥(3yu1+6yu2−8)π0 1+2π0 2 +(15yu1+30yu2+4)π0 3 +40 −(1−ψ0)Mπ −π0 1+π0 2+2π0 3≥−xu−(1−ψ0)Mπ −xuxl+10yl≥(3yu1+6yu2−6)π1 1+4π1 2 +(15yu1+30yu2+3)π1 3 +30 −(1−ψ1)Mπ −π1 1+π1 2+2π1 3≥−xu−(1−ψ1)Mπ xu,xl∈R+,yu1,yu2,∈{0,1},yl∈Z+ ψ0,ψ1∈{0,1},μ 0,μ 1,π0,π1∈R3 +. Iteration 3 Solving (MP) now yields a solution with (xu,∗ 3,yu1,∗ 3,yu2,∗ 3,xl,∗ 3,yl,∗ 3)= (2,0,1,2,4)and objective value 4. Feasible values for the remaining variables are ψ0=ψ1=1,(μ 0 1,μ 0 2,μ 0 3)=(0,1,0), (μ1 1,μ 1 2,μ 1 3)=(0,0,1), (π0 1,π0 2,π0 3)= (2,0,0), (π1 1,π1 2,π1 3)=(0,0,0). Note that this is the same solution as obtained in Iteration 1 from (BF) with respect to (xu,yu1,yu2,xl,yl). Therefore, we now have LB =UB. After completing the iteration, the algorithm terminates with the bilevel-optimal solution (xu,∗,yu1,∗,yu2,∗,xl,∗,yl,∗)=(2,0,1,2,4). Appendix A.3: detailed computational results Recall that instance number refers to the number of the original instances miblp _20_15_50_0110_10_1 to miblp_20_15_50_0110_10_10 from [46], while mZ,mR,nZ,nR,rand sdenote the number of upper-level discrete, upper-level continuous, lower-level discrete and lower-level continuous variables as well as upper- and lower-level constraints, respectively. Together, these columns identify each instance uniquely, and precisely define its size. The master problem size in the last iteration can be inferred from the number of completed iterations and added optimality packages. Each iteration adds one no-good constraint irrespective of whether a new optimality package is introduced, and each optimality package (together with the associated projection test) increases the master problem as described in the penultimate paragraph of Sect. 3. 123
Journal of Global Optimization (2022) 84:607–650 645 Table 6 Computational results for MINLP instances (without upper-level constraints) Instance number mZmRnZnRrs Gap in % Runtime in s Completed iterations Optimality packages 155550203.05 6 5 2 5 5 5 5 0 20 119.86 18 7 355550203.84 9 7 4 5 5 5 5 0 20 10.02 12 11 555550201.78 5 3 6 5 5 5 5 0 20 0.09 3426 7 755550201.40 4 1 855550204.95 8 6 955550205.10 6 5 10 5 5 5 5 0 20 1.12 3 2 1510550202.49 6 5 2 5 10 5 5 0 20 122.46 19 7 3510550203.78 9 7 45105502011.81 12 11 5510550201.75 5 2 6 5 10 5 5 0 20 0.04 3417 7 7510550201.46 4 1 8510550203.69 7 6 9510550205.22 6 5 10 5 10 5 5 0 20 1.28 3 2 1520550202.45 6 5 2 5 20 5 5 0 20 125.46 18 7 3520550204.40 9 7 45205502011.51 12 11 55205502010.32 30 3 6 5 20 5 5 0 20 0.02 3428 7 7520550201.36 4 1 8520550203.09 7 6 9520550205.55 6 5 10 5 20 5 5 0 20 1.21 3 2 155820202.09 5 4 2 5 5 8 2 0 20 410.66 19 10 355820204.10 9 7 4 5 5 8 2 0 20 14.41 13 12 555820202.38 6 5 655820204.14 7 6 755820201 .17 4 1 855820207.88 9 8 955820204.45 6 5 10 5 5 8 2 0 20 1.23 3 2 123
646 Journal of Global Optimization (2022) 84:607–650 Table 6 continued Instance number mZmRnZnRrs Gap in % Runtime in s Completed iterations Optimality packages 1510820202.18 5 4 2 5 10 8 2 0 20 433.01 20 10 3510820204.28 9 7 45108202013.80 13 12 5510820202.36 6 5 6510820203.97 7 6 7510820201.36 4 1 8510820209.23 9 8 9510820204.50 6 5 10 5 10 8 2 0 20 1.29 3 2 1520820201.92 5 4 2 5 20 8 2 0 20 410.72 20 10 3520820204.34 9 7 45208202013.22 13 12 5520820202.50 6 5 6520820204.54 7 6 7520820201.25 4 1 8520820208.35 9 8 9520820204.21 6 5 10 5 20 8 2 0 20 1.31 3 2 132550206.27 13 12 232550208.03 8 6 332550205.27 11 10 432550204.85 10 9 5 3 2 5 5 0 20 12.14 38 5 6 3 2 5 5 0 20 0.02 6091 3 732550201.54 4 3 832550202.55 6 5 9 3 2 5 5 0 20 0.35 6278 1 10 3 2 5 5 0 20 1.09 3 2 141550203.91 6 5 2 4 1 5 5 0 20 47.04 16 6 341550205.00 11 6 441550203.27 8 7 541550201.70 5 3 641550201.68 4 3 741550200.71 2 1 841550202.30 6 5 941550203.67 6 5 10 4 1 5 5 0 20 1.10 3 2 123