Finding global solutions of some inverse optimal control problems using penalization and semismooth Newton methods
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Friedemann, Markus; Harder, Felix; Wachsmuth, Gerd Article — Published Version Finding global solutions of some inverse optimal control problems using penalization and semismooth Newton methods Journal of Global Optimization Provided in Cooperation with: Springer Nature Suggested Citation: Friedemann, Markus; Harder, Felix; Wachsmuth, Gerd (2023) : Finding global solutions of some inverse optimal control problems using penalization and semismooth Newton methods, Journal of Global Optimization, ISSN 1573-2916, Springer US, New York, NY, Vol. 86, Iss. 4, pp. 1025-1061, https://doi.org/10.1007/s10898-023-01288-7 This Version is available at: https://hdl.handle.net/10419/308989 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 (2023) 86:1025–1061 https://doi.org/10.1007/s10898-023-01288-7 Finding global solutions of some inverse optimal control problems using penalization and semismooth Newton methods Markus Friedemann1 ·Felix Harder1 ·Gerd Wachsmuth1 Received: 1 March 2022 / Accepted: 20 April 2023 / Published online: 21 June 2023 © The Author(s) 2023 Abstract We present a method to solve a special class of parameter identification problems for an elliptic optimal control problem to global optimality. The bilevel problem is reformulated via the optimal-value function of the lower-level problem. The reformulated problem is nonconvex and standard regularity conditions like Robinson’s CQ are violated. Via a relaxation of the constraints, the problem can be decomposed into a family of convex problems and this is the basis for a solution algorithm. The convergence properties are analyzed. It is shown that a penalty method can be employed to solve this family of problems while maintaining convergence speed. For an example problem, the use of the identity as penalty function allows for the solution by a semismooth Newton method. Numerical results are presented. Difficulties and limitations of our approach to solve a nonconvex problem to global optimality are discussed. Keywords Bilevel optimal control ·Inverse optimal control ·Semismooth Newton ·Global optimization Mathematics Subject Classification 49M20 ·49M15 ·49N45 ·90C26 This research was supported by the German Research Foundation (DFG) under Grant Number WA 3636/4-2 within the priority program “Non-smooth and Complementarity-based Distributed Parameter Systems: Simulation and Hierarchical Optimization” (SPP 1962). BGerd Wachsmuth [email protected] Markus Friedemann [email protected] Felix Harder felix.harder[email protected] 1Institute of Mathematics, Brandenburgische Technische Universität Cottbus-Senftenberg, 03046 Cottbus, Germany 123
1026 Journal of Global Optimization (2023) 86:1025–1061 1 Introduction In this paper we study an inverse problem in which we aim to identify finitely many parameters of an optimal control problem with a linear partial differential equation. This results in an infinite-dimensional bilevel optimal control problem. The concept of bilevel optimization is discussed in [1–4], while [5–8] present a comprehensive introduction to optimal control. Bilevel optimal control problems are also studied in [9–12], for example. To be more precise, we consider the parametric optimization problem min y∈Y,u∈Uf(β, y,u) s.t. Ay −Bu =0, u∈Uad, (LL(β)) where β∈Q⊂Rnis a parameter, and the sets Q,Uad, the linear operators A,B,the spaces U,Y, and the function fare such that Assumption 2.1 is satisfied. Here u∈Uad is the control, y∈Yis the state, and Ay =Bu describes an elliptic PDE. Assumption 2.1 guarantees that the solution of (LL(β)) is unique for each β∈Q, see Lemma 2.2. The problem (LL(β)) is also called the lower-level problem. The upper-level problem under investigation is min β∈RnF(β, y,u) s.t β∈Q, (y,u)=(β), (UL) where (β) describes the unique solution of (LL(β)). Our main motivation for studying (UL) is the purpose of identifying an unknown parameter βfrom some (possibly perturbed) measurements of (β), see also Sect.5. Together, the problems (LL(β))and(UL) constitute the bilevel optimization problem. Necessary optimality conditions of bilevel optimal control problems, i.e. hierarchical optimization problems with two decision layers, where at least one decision maker has to solve an optimal control problem, are derived in [13–18]. Recently solution theory for inverse optimal control problems of partial differential equations was developed in [19,20]. We also note that optimal control problems with variational inequality constraints such as optimal control of the obstacle problem (see [21]) can be viewed as a bilevel optimal control problem. Regarding the numerical solution of the presented problem type, there mainly exist (to the best of our knowledge) methods for inverse optimal control problems with ordinary differential equations, see [10,22–24]. The corresponding algorithms tend to replace the lower-level problem with their optimality conditions. A different approach was introduced in [25], where the authors solved a special class of inverse problems of partial differential equations by exploiting the optimal-value function of the parametric optimal control problem. The optimal-value function ϕ:Q→Rof (LL(β))isdefinedby ϕ(β) := inf f(β, y,u)(y,u)∈Y×Uad,Ay =Bu=f(β, (β)). (1) The idea of using the optimal-value function in bilevel optimization problems can be traced back to [26]. With the help of the optimal-value function, the hierarchical problem (UL) can be transformed into the single-level problem 123
Journal of Global Optimization (2023) 86:1025–1061 1027 min β,y,uF(β, y,u) s.t. β∈Q, f(β, y,u)≤ϕ(β), Ay −Bu =0, u∈Uad. (OVR) We call this optimization problem the optimal-value reformulation of (UL). This resulting nonconvex surrogate problem does not satisfy standard constraint qualifications such as Robinson’s CQ. However, in [25, Theorem 5.12] the authors were able to prove necessary optimality conditions of Clarke-stationary type via a relaxation approach. Furthermore, [25, Algorithm 1] introduces a solution algorithm using a piecewise affine approximation ξof the optimal-value function ϕwith ξ≥ϕ, which leads to the relaxed optimization problem min β,y,uF(β, y,u) s.t. β∈Q, f(β, y,u)≤ξ(β), Ay −Bu =0, u∈Uad. (OVR(ξ)) If fand Fare convex, this problem can be split into finitely many convex subproblems for which a global solution can be obtained. The original problem can then be solved by iteratively improving the approximation ξof the optimal-value function, see [25, Theorem 6.5]. In this paper we start with the same approach to derive a global solution scheme. We slightly deviate in the construction of the piecewise affine approximation by starting with a triangulation of the admissible set for the upper-level control variable and subsequently enforce some regularity on further divisions. In addition to proving convergence of the global solution scheme in Theorem 3.2, this will allow us to link convergence speed to the size of the elements of the partition (see Theorem 3.6). In order to solve (OVR(ξ)), we also consider the penalty problem min β,y,uF(β, y,u)+γP(f(β, y,u)−ξ(β)) s.t. β∈Q, Ay −Bu =0, u∈Uad. (OVRP(ξ)) Here, P:R→Ris a penalty function and γ>0. Interestingly, we will see that it is possible to choose the identity P(x)=xas a penalty function. This has several benefits. On the one hand, we show in Lemma 4.7 that a finite penalty parameter can be chosen such that one obtains the solution of (OVR(ξ)). On the other hand, the choice of the identity results in much simpler derivatives of the objective of (OVRP(ξ)) and this enables us to use a semismooth Newton method to solve the subproblems efficiently, see Sect.5.3. Solving nonconvex problems to global optimality is an intricate issue, and, hence, we expect difficulties. Indeed, our approach has some limitations concerning the obtained convergence speed, see Remark 3.7. Especially in a practical setting convergence speed deteriorates with an increasing dimension of the upper-level variable (curse of dimensionality). Let us describe the structure of this paper. In Sect.2we present the used notation as well as the main governing assumption in addition to some preliminary theory related to optimal 123
1028 Journal of Global Optimization (2023) 86:1025–1061 control problems. We proceed by introducing a global solution algorithm (Algorithm 1)in Sect.3and prove its convergence in Theorem 3.2. Further we present some convergence speed estimates in Theorem 3.6 related to the size and regularity of the elements in the partition. To ensure this property, we derive a simple method for refining the partition in arbitrary finite dimensions while keeping some regularity properties of the elements, see Lemma 3.3. On top of this foundation we introduce our penalty approach (Algorithm 2) in Sect.4.We show that there exists a choice of the penalty parameter (see Lemma 4.7), for which one can expect to find the solution to the subproblems from Algorithm 1. A method for solving the penalty subproblems by means of a semismooth Newton method is presented in Sect.5. We show its superlinear convergence in Theorem 5.8. The corresponding implementation of our algorithm for solving the inverse optimal control problem and a numerical example are coveredinSect.6. 2 Preliminaries 2.1 Notation The norm in a (real) Banach space Xis denoted by ·X.LetBε X(x)denotes the closed ε-ball centered at x∈Xwith respect to ·X. Furthermore, Xis the topological dual of Xand ·,·X:X×X→Rdenotes the corresponding dual pairing. For a set A⊂Xwe denote by conv A, cone A,clA,intAand ∂Athe convex hull, the conical hull, the closure, interior and the boundary of A, respectively. For a Banach space Y, the space of all bounded linear operators from Xto Yis denoted by L[X,Y]and for some operator F∈L[X,Y]the adjoint is called F∈L[Y,X].ForaconvexsetC⊂Xand a point x∈Cwe denote by RC(x):= cone(C−x), NC(x):= {x∈Xx,y−xX≤0,∀y∈C} the radial cone and the normal cone to the set Cat the point x∈C, respectively. For x/∈C, we set NC(x):= ∅. The set Rndenotes the usual n-dimensional real vector space, equipped with the Euclidean norm ·Rn.ThesetsR+,R−represent the nonnegative and nonpositive numbers respectively. For an arbitrary bounded and open set ⊂Rd, the space of equivalence classes of measurable, p-integrable functions is given by Lp(),p∈[1,∞). Similarly, L∞() denotes the space of essentially bounded (equivalence classes of) measurable functions. Furthermore, we use the notations H1 0() and H−1():=H1 0()for the Sobolev space with first order derivatives and homogeneous boundary conditions and its dual space. A mapping J:X→Yis called Fréchet differentiable at x∈Xif there exists an operator J(x)∈L[X,Y]such that lim dX→0J(x+d)−J(x)−J(x)dY dX=0.(2) In this case, J(x)is called the Fréchet derivative of Jat x.IfXx→ J(x)∈L[X,Y]is well defined and continuous in a neighborhood of xthen Jis said to be continuously Fréchet differentiable at x. 123
Journal of Global Optimization (2023) 86:1025–1061 1029 2.2 Assumptions Throughout this work we utilize the following standing assumption. Assumption 2.1 (Standing assumption) (a) The spaces Yand Uare (real) Hilbert spaces. (b) The set Q⊂Rnis a nonempty bounded polyhedron, i.e., a nonempty and bounded intersection of finitely many closed halfspaces. We assume that Qpossesses a nonempty interior. (c) The set Uad ⊂Uis nonempty, closed and convex. (d) The operator A∈L[Y,Y]is an isomorphism and B∈L[U,Y]is a linear bounded operator. We denote by S:= A−1B∈L[U,Y]the control-to-state map. (e) The functionals F:Q×Y×U→Rand f:Q×Y×U→Rare assumed to be bounded from below, convex and continuously Fréchet differentiable. (f) The functional Fand the partial derivatives of fsatisfy some specific Lipschitz-like properties on bounded sets, i.e. for every M≥0 there exists a constant LM≥0, such that |F(β, y1,u1)−F(β, y2,u2)|≤LM(y1−y2Y+u1−u2U) f β(β1,y1,u1)−f β(β2,y2,u2)Rn≤LM(β1−β2Rn+y1−y2Y+u1−u2U) f u(β1,S(u), u)−f u(β2,S(u), u)U≤LMβ1−β2Rn f y(β1,S(u), u)−f y(β2,S(u), u)Y≤LMβ1−β2Rn hold for all β,β1,β 2∈Q,y1,y2∈BM Y(0)and u,u1,u2∈Uad ∩BM U(0). (g) The reduced lower-level objective u→ f(β, S(u), u)is assumed to be strongly convex with respect to the control with constant μ>0 independent of β∈Q, i.e., f(β, S(u2), u2)≥f(β, S(u1), u1)+f y(·), S(u2−u1)+f u(·), u2−u1+μ 2u2−u12 U holds for all β∈Qand u1,u2∈Uad. Here, f y(·)and f u(·)denote the partial derivatives of fw.r.t. yand uat the point (β, S(u1), u1). 2.3 Preliminary results Let the optimization problem min x∈XJ(x) s.t. g(x)∈C (OP) be given, with continuously Fréchet differentiable mappings J:X→R,g:X→Y between Banach spaces X,Yand C⊂Ybeing nonempty, closed and convex. A feasible point x∈Xof (OP) satisfies the Karush-Kuhn-Tucker (KKT) conditions if ∃λ∈NC(g(x)) :J(x)+g(x)λ=0.(3) If xis a local solution of (OP) which satisfies Robinson’s constraint qualification g(x)X−RC(g(x)) =Y,(4) then the KKT conditions hold, see [27]and[28, Theorem 3.9]. Due to Assumption 2.1,the lower-level problem fits into the setting of (OP). The KKT system for the lower level for a parameter ˜ βin a solution (˜y,˜u)then reads 123
1030 Journal of Global Optimization (2023) 86:1025–1061 0=f y(˜ β, ˜y,˜u)+A˜p, 0=f u(˜ β, ˜y,˜u)−B˜p+˜ν, 0=A˜y−B˜u, ˜ν∈NUad (˜u), (5) where ˜p∈Y(we identify Y with Y), ˜ν∈Uare multipliers. Note that Robinson’s CQ is satisfied due to the surjectivity of A. Thus, for a minimizer of the lower-level problem there exist multipliers such that the KKT system (5) is satisfied. We can now prove that the assumption of strong convexity for the lower level implies a quadratic growth condition in the solution. Lemma 2.2 For every β∈Q, the lower-level problem (LL(β))has a unique solution (yβ,uβ). Moreover, the quadratic growth condition f(β, S(u), u)≥f(β, yβ,uβ)+μ 2u−uβ2 U∀u∈Uad (6) is satisfied with the parameter μ>0from Assumption 2.1(g). Proof Existence of a solution follows from the direct method of calculus of variations. Note that the boundedness of the minimizing sequence follows from the strong convexity. Let (yβ,uβ)denote a solution of (LL(β)). Utilizing the strong convexity in the solution (β, yβ,uβ)yields f(β, S(u), u)≥f(β, yβ,uβ)+f u(·), u−uβ+f y(·), S(u−uβ)+μ 2u−uβ2 U for all u∈Uad,where f u(·)and f y(·)denote the partial derivatives of fin (β, yβ,uβ).By using the KKT conditions with multipliers p,νwe obtain f u(·), u−uβ+f y(·), S(u−uβ)=f u(·)+Sf y(·), u−uβ =f u(·)−SAp,u−uβ =f u(·)−Bp,u−uβ =−ν, u−uβ≥0∀u∈Uad. The last inequality holds since ν∈NUad (uβ)and u∈Uad. Hence, one gets the quadratic growth condition (6). This also yields uniqueness of the solution. Next, we introduce the solution operator for (LL(β)). Definition 2.3 We denote by :Q→Y×Uthe solution mapping of the lower-level problem which maps β∈Qto the corresponding unique solution (yβ,uβ)giveninLemma2.2. We further denote by ψy(β) ∈Yand ψu(β) ∈Uthe components of (β). As an abbreviated notation we introduce yβ:=ψy(β) and uβ:=ψu(β). We will now prove that the function is globally Lipschitz continuous. Local Lipschitz continuity follows already by [15, Lemma 3.1.6]. However, by Assumption 2.1(f) we have a stronger assumption on the derivative of f. Thus, we can adopt the arguments from [15, Lemma 3.1.6] to obtain global Lipschitz continuity. Lemma 2.4 Let X,V be Banach spaces, and let C ⊂X,ˆ Q⊂V be nonempty, closed and convex sets. Further, let J :X×V→Rand μ>0be given such that for all p ∈ˆ Q, the function J(·,p)is strongly convex with parameter μon the feasible set C and Fréchet 123
Journal of Global Optimization (2023) 86:1025–1061 1031 differentiable. Then, the solution operator ψ:ˆ Q→X for the parametrized optimization problem min xJ(x,p) s.t. x ∈C exists and we have the estimate ψ(p2)−ψ(p1)X≤μ−1J x(ψ(p2), p1)−J x(ψ(p2), p2)X∀p1,p2∈ˆ Q. Proof The existence of ψfollows by standard arguments for convex optimization problems with strongly convex objectives. We now consider fixed elements p1,p2∈ˆ Qand their corresponding unique minimizers ψ(pi)=xi∈C,i∈{1,2}. The associated optimality conditions are J x(xi,pi), ˆx−xi≥0∀ˆx∈C.(7) If we now add these inequalities with the special choices ˆx=x3−i, we obtain the estimate 0≤J x(x1,p1)−J x(x2,p2), x2−x1 ≤J x(x1,p1)−J x(x2,p1)+J x(x2,p1)−J x(x2,p2), x2−x1 ≤−μx2−x12 X+J x(x2,p1)−J x(x2,p2)Xx2−x1X. In the last step, we have used the strong convexity of J(·,p1). Dividing the last inequality by μx2−x1Xyields the claim. Corollary 2.5 The function from Definition 2.3 is Lipschitz continuous on Q. Moreover, there exists a constant M≥0such that βRn,ψy(β)Y,ψu(β)U≤M∀β∈Q. Proof We start by proving the boundedness. From Lemma 2.2,weget f(β, yβ,uβ)+μ 2ˆu−uβ2 U≤f(β, S(ˆu), ˆu)∀β∈Q for a fixed ˆu∈Uad.Further, f(·,S(ˆu), ˆu):Rn→Ris continuous, thus it is bounded on the compact set Q. Hence, one has f(β, yβ,uβ)+μ 2ˆu−uβ2 U≤C∀β∈Q for some constant C∈R. Together with the assumption that fis bounded from below (see Assumption 2.1(e)) we get an upper bound for ψu(β)U=uβU. This also allows us to bound ψy(β)Y=S(ψu(β))Y≤Sψu(β)U,sinceSis a linear bounded operator by assumption. Since Qis bounded, β∈Qis bounded as well. We choose Mto be the largest of the previously discussed bounds for βRn,ψy(β)Yand ψu(β)U. In order to prove the Lipschitzness of , we want to apply Lemma 2.4 to the state-reduced lower-level problem, i.e., with the setting x=u,C=Uad,p=β, ˆ Q=Q,J(x,p)=J(u,β):= f(β, S(u), u). Assumption 2.1 yields that the assumptions of Lemma 2.4 are satisfied. From the chain rule, we get Jx(u,β)=f u(β, S(u), u)+Sf y(β, S(u), u). 123
1032 Journal of Global Optimization (2023) 86:1025–1061 Now, Lemma 2.4 yields ψu(β1)−ψu(β2)≤μ−1 f uβ1,ψy(β1), ψu(β1)−f uβ2,ψy(β1), ψu(β1) U +S f yβ1,ψy(β1), ψu(β1)−f yβ2,ψy(β1), ψu(β1) Y. Owing to Assumption 2.1(f) with M=M, this yields the desired Lipschitz continuity of ψu. Consequently, the Lipschitz continuity of ψyfollows due to the continuity of S. We can use this property to prove the existence of solutions for (OVR). Theorem 2.6 There exists a solution for (OVR). Proof The lower-level problem admits a unique solution. Therefore the solution operator of the lower-level optimization problem can be used to reduce (UL) to an optimization problem in Rn: min βF(β, ψ y(β), ψu(β)) s.t. β∈Q. By Assumption 2.1(e) Fis continuous. Thus with the Lipschitz continuity of it follows that β→ F(β, ψ y(β), ψu(β)) is continuous. Moreover, Q⊂Rnis compact by Assumption 2.1(b). The existence of a solution follows from the celebrated Weierstraß theorem. We finally mention that more general results on the existence of solutions for bilevel optimal control problems are given in [29]. In particular, our result is covered by the second part of [29, Theorem 16.3.5]. In order to use interpolation error estimates, we prove regularity of the optimal-value function ϕ. Corollary 2.7 The optimal-value function is Fréchet differentiable on the interior of Q and the derivative is Lipschitz continuous. Proof The differentiability of ϕcan be shown as in [15, Theorem 3.2.6]. This also yields the expression ϕ(β) =f β(β, ψ y(β), ψu(β)) for the derivative. By combining this with the Lipschitz continuity of (see Corollary 2.5) and Assumption 2.1(f), we get the Lipschitz continuity of ϕon the interior of Q. 3 Algorithm In this section, we present an algorithm to solve (OVR) under the given Assumption 2.1.The algorithm is similar to [25, Algorithm 1], with the main difference being the choice of the function ξwhich approximates the value function ϕ. In that reference, the functions ξkwere defined via ξk(x):= min m i=1 μiϕ(xi)0≤μ, m i=1 μi=1, m i=1 μixi=x, where Xk={x1,...,xm}⊂Rnis a finite set. The sets Xkare assumed to be increasing w.r.t. kand in order to achieve a uniform Lipschitz bound of ξkon Q, one has to require 123
Journal of Global Optimization (2023) 86:1025–1061 1039 Algorithm 1can still be sped up substantially without additional restrictions. In (S3),we have to evaluate ϕ(βk), and for this purpose we calculate the lower-level solutions (yβk,uβk). Therefore (βk,yβk,uβk)is a feasible point of (OVR) and, thus, F(βk,yβk,uβk)is an upper bound for the minimal objective value of (OVR). On the other hand, the computed values F(βT,yT,uT)for T∈Tare lower bounds for the possible objective value of (OVR) restricted to T. Hence, all elements T∈Twith F(βT,yT,uT)>F(βk,yβk,uβk)cannot contain a solution of (OVR) and can be ignored in later iterations. Furthermore, the simplices can be sorted by F(βT,yT,uT)and multiple simplices may be refined in each iteration. This results in a larger number of auxiliary problems which have to be solved in the next iteration (recall that (OVR(ξ))has to be solved on refined elements only). These problems are independent of each other and can be solved in parallel. Finally, we demonstrate that in most cases, the value-function constraint in (OVR(ξ))will be satisfied with equality. To study the issue we introduce the problem min β,y,uF(β, y,u) s.t. Ay −Bu =0, β∈Q,u∈Uad. (21) This problem is a relaxation of (OVR), since we neglected the optimality of (y,u)for the lower level. We expect that this problem has a smaller optimal value than (OVR). Lemma 3.9 Suppose that the infimal value of (21)is smaller than the infimal value of (OVR). Let (βk,yk,uk)be defined as in Algorithm 1(S2). Then, the constraint f (βk,yk,uk)≤ ξ¯ Tk(βk)is satisfied with equality whenever k is sufficiently large and ξTkis continuous at βk. Proof Let (˜ β, ˜y,˜u)be a global solution for (21). Note that global solutions (¯ β, ¯y,¯u)to (OVR) are not globally optimal for (21). The construction of the sequence (βk,yk,uk)according to Algorithm 1yields a monotonically increasing sequence F(βk,yk,uk). By Theorem 3.2 one gets F(βk,yk,uk)→F(ˆ β, ˆy,ˆu)=F(¯ β, ¯y,¯u).DuetoF(˜ β, ˜y,˜u)<F(¯ β, ¯y,¯u),wehave F(˜ β, ˜y,˜u)<F(βk,yk,uk)for sufficiently large k. We argue by contradiction and assume that f(βk,yk,uk)<ξ ¯ Tk(βk)for some large k for which ξTkis continuous at βk. We consider a convex combination (1−s)(βk,yk,uk)+ s(˜ β, ˜y,˜u),s∈(0,1), and check that it is a feasible point of (OVR(ξTk))for ssmall enough. The constraint Ay =Bu is linear and the admissible sets Qand Uad are convex. Moreover, since fis continuous (see Assumption 2.1) and since ξTkis continuous by assumption, we have f((1−s)(βk,yk,uk)+s(˜ β, ˜y,˜u)) < ξTk((1−s)βk+s˜ β) ∀s∈(0,ε] for some ε>0. Now the convexity of the upper-level objective functional F(see Assumption 2.1(e)) implies F((1−s)(βk,yk,uk)+s(˜ β, ˜y,˜u)) ≤(1−s)F(βk,yk,uk)+sF(˜ β, ˜y,˜u)<F(βk,yk,uk) for all s∈(0,ε]. This contradicts the optimality of (βk,yk,uk)from Algorithm 1(S2). Note that the piecewise linear function ξTkis continuous if the triangulation Tkdoes not possess hanging nodes. Otherwise, it might be discontinuous at all facets containing hanging nodes. 123
1040 Journal of Global Optimization (2023) 86:1025–1061 Algorithm 2 Computation of global solutions to (UL) with penalty approach (S1) Let T1be a subdivision of Qand select a parameter q∈(0,1)and a non-decreasing function P:R→R with P(0)=0. Further, set k:= 1. (S2) For every simplex T∈Tk, choose γk,T>0 and compute a global solution (βk,T,yk,T,uk,T)of the optimization problem min β,y,uF(β, y,u)+γk,TP(f(β, y,u)−ξT(β)) s.t. β∈T, 0=Ay −Bu, u∈Uad. (OVRP(T,γ k,T)) Select ¯ Tk∈arg minT∈TkF(βk,T,yk,T,uk,T)+γk,TPf(βk,T,yk,T,uk,T)−ξT(βk,T) and set (βk,yk,uk)=(βk,¯ Tk,yk,¯ Tk,uk,¯ Tk). (S3) Compute ϕ(βk).If f(βk,yk,uk)=ϕ(βk),then(βk,yk,uk)is a global solution of (OVR) (and, thus, of (UL)) and the algorithm terminates. Otherwise, we construct Tk+1from Tkby a refinement of ¯ Tk such that diam(T)≤q·diam(¯ Tk)for all T∈Tk+1\Tk.Setk:= k+1 and go to (S2). 4 Penalty approach The subproblems (OVR(ξ, T)) presented in Algorithm 1are already subject to convex constraints, however, the nonlinear inequality constraint f(β, y,u)≤ξ(β) still may introduce difficulties when implementing the solution algorithm. In particular, this constraint is of a rather unusual form in an optimal control context, see Sect.5. Using a penalty method for this complicated constraint the treatment of the subproblems (OVR(ξ, T)) can be simplified since this inequality constraint is incorporated into the objective functional. Any additional error that is introduced by the penalty approach has to be compared to the error induced by the relaxation of the problem with the affine interpolation of the optimal-value function. By replacing the subproblems in Algorithm 1with a penalty approach, we arrive at Algorithm 2for which we now provide some further comments. In a classical penalty method the penalty parameter depends only on the iteration counter k. In Algorithm 2, we allow an additional dependence on the simplex T. Indeed, if γk,Tis independent of k, it is sufficient to solve the auxiliary problems (OVRP(T,γ k,T)) only on the new cells T∈Tk+1\Tk. Otherwise, we would need to solve these problems on all cells in each iteration. The stopping criterion in (S3) is justified in the first part of the proof of the upcoming Theorem 4.2. Lemma 4.1 Let the penalty function P :R→Rbe non-constant, non-decreasing and convex. Then, for every simplex T ⊂Q and γk,T>0, the problem (OVRP(T,γ k,T))possesses a solution. Proof From the monotonicity and convexity of P,wegetP(s)→∞for s→∞. For a minimizing sequence (βk,yk,uk), the boundedness of βkfollows from βk∈T. Since Fis bounded from below by Assumption 2.1(e) and since γk,T>0, the expression P(f(βk,yk,uk)−ξT(βk)) is bounded from above. Due to the properties of P,the sequence f(βk,yk,uk)is bounded from above. Thus, the boundedness of (yk,uk)follows from Assumption 2.1(g). Now, the remaining part of the proof is clear since the objective is continuous and convex, hence, weakly sequentially lower semicontinuous. 123
Journal of Global Optimization (2023) 86:1025–1061 1041 4.1 Standard penalization We first prove the convergence of Algorithm 2for a typical penalty function P. Theorem 4.2 Let the penalty function P :R→Rbe monotone and convex, such that P(s)= 0for all s ≤0and P(s)>0for all s >0.Ifγk,¯ Tk→∞, Algorithm 2either stops at a global optimal solution of (OVR)or the computed sequence (βk,yk,uk)is bounded and contains a weakly convergent subsequence in Rn×Y×U to a global optimal solution of (OVR). Every weakly convergent subsequence of (βk,yk,uk)converges strongly. If (OVR)has a unique global solution (¯ β, ¯y,¯u), then the entire sequence (βk,yk,uk)converges strongly to (¯ β, ¯y,¯u). Proof A global solution (¯ β, ¯y,¯u)to (OVR) is feasible for (OVRP(T,γ k,T))if ¯ β∈T.By definition of (βk,yk,uk)and the assumed properties for the penalty function Pone obtains the estimate F(βk,yk,uk)≤F(βk,yk,uk)+γk,¯ TkPf(βk,yk,uk)−ξ¯ Tk(βk) ≤F(βk,T,yk,T,uk,T)+γk,TPf(βk,T,yk,T,uk,T)−ξT(βk,T) ≤F(¯ β, ¯y,¯u). (22) If Algorithm 2terminates in (S3), then the condition f(βk,yk,uk)=ϕ(βk)implies feasibility of (βk,yk,uk)for (OVR) while (22) ensures global optimality. It remains to check the case that Algorithm 2does not terminate. From (22) and Assumption 2.1(e) we get a constant C≥0 such that Pf(βk,yk,uk)−ξ¯ Tk(βk)≤F(¯ β, ¯y,¯u)−F(βk,yk,uk) γk,¯ Tk≤C γk,¯ Tk→0.(23) Using that Pis non-decreasing and that ξ¯ Tk(βk)is bounded from below (since ϕis bounded from below on Q), we get that f(βk,yk,uk)is bounded from above. From Lemma 2.2 we get f(βk,yk,uk)≥f(βk,yβk,uβk)+μ 2uk−uβk2 U. Since fis bounded from below and since uβkis bounded by Corollary 2.5, we obtain the boundedness of ukin U. The boundedness of the solution operator Sthen implies boundedness of the state yk=Sukin Y. Thus, the sequence (βk,yk,uk)is bounded and contains a weakly convergent subsequence (without relabeling), (βk,yk,uk)( ˆ β, ˆy,ˆu). The parameter βkconverges strongly because β∈Q⊂Rnis finite dimensional. It remains to check optimality of the weak limit (ˆ β, ˆy,ˆu)and the strong convergence. From (23) we obtain lim supk→∞ f(βk,yk,uk)−ξ¯ Tk(βk)≤0. Arguing as in Theorem 3.2,wehavediam(¯ Tk)→0 and together with the interpolation error estimate Lemma 3.1 we get 0≤lim inf k→∞ f(βk,yk,uk)−ϕ(βk)≤lim sup k→∞ f(βk,yk,uk)−ϕ(βk) ≤lim sup k→∞ f(βk,yk,uk)−ξ¯ Tk(βk)+Cϕ 2diam(¯ Tk)2=0. In particular, we have f(βk,yk,uk)−ϕ(βk)→0. This implies 0≤f(ˆ β, ˆy,ˆu)−ϕ( ˆ β) ≤lim k→∞f(βk,yk,uk)−ϕ(βk)=0. 123
1042 Journal of Global Optimization (2023) 86:1025–1061 Therefore, (ˆ β, ˆy,ˆu)is feasible for (OVR)and f(βk,yk,uk)→f(ˆ β, ˆy,ˆu)holds. Then we can argue as in (12) and obtain strong convergence for the control u. Since the solution operator Sis continuous, this proves the strong convergence of the subsequence (βk,yk,uk)→(ˆ β, ˆy,ˆu). Finally, due to F(ˆ β, ˆy,ˆu)=lim k→∞ F(βk,yk,uk)≤F(¯ β, ¯y,¯u) we know that (ˆ β, ˆy,ˆu)is a global minimizer of (OVR). Analogous to Theorem 3.2, the usual subsequence-subsequence argument can be used to obtain strong convergence of the entire sequence if the solution to (OVR) is unique. Remark 4.3 We observe from Theorem 4.2 that it is sufficient to have the penalty parameter γk,Tbeing solely dependent on the simplex T. A possibility is the choice γk,T=υ(diam(T)) with a function υsatisfying υ(t)→∞for t→0. A direct benefit is that the solution of the subproblem on a fixed simplex is now independent of the iteration and only needs to be carried out once, as in Algorithm 1. In analogy to Algorithm 1a refinement strategy that ensures the validity of step (S3) in Algorithm 2is given in Lemma 3.3. 4.2 Direct penalization The problem (OVRP(T,γ k,T)) can be simplified by introducing a direct penalization P=Id. For a general optimization problem this could lead to the objective being unbounded from below. Our constraint f(β, y,u)−ξT(β) cannot be arbitrarily negative, as we already have a lower bound for f(β, y,u)by Assumption 2.1(e) and an upper bound for ξT(β) by the largest value of ϕ(β) on the bounded set Q. However, using a direct penalization has implications on the choice of the penalty parameter. The difference between the lower-level objective functional and the interpolation of the optimal-value function f(β, y,u)−ξT(β) can be negative. Thus, arbitrarily increasing the penalty parameter does not work. If the choice of penalty parameter is too large it simply encourages choosing a point, where the approximation quality of ξTis close to worst. The penalty parameter γneeds to be set specifically for each simplex. Corollary 4.4 We consider Algorithm 2with P =Id and we assume that the penalty parameters satisfy γ¯ Tk→∞,γ ¯ Tkdiam(¯ Tk)2→0 as k →∞. Then, (βk,yk,uk)contains a strongly convergent subsequence and all accumulation points are globally optimal for (OVR).If(OVR)admits a unique global minimizer (¯ β, ¯y,¯u)then the entire sequence (βk,yk,uk)converges strongly towards this minimizer. Proof The argumentation follows the lines of the proof of Theorem 4.2. Therefore, we just comment on the differences. The interpolation error estimate Lemma 3.1 allows for a lower bound for the violation of the constraint, i.e. f(βk,yk,uk)−ξ¯ Tk(βk)≥ϕ(βk)−ξ¯ Tk(βk)≥−Cϕ 2diam(¯ Tk)2.(24) When using P=Id, an upper bound follows as in (23) and we have f(βk,yk,uk)−ξ¯ Tk(βk)≤F(¯ β, ¯y,¯u)−F(βk,yk,uk) γ¯ Tk≤CF γ¯ Tk .(25) 123
Journal of Global Optimization (2023) 86:1025–1061 1043 We can now argue as in Theorem 4.2 and obtain (βk,yk,uk)→(ˆ β, ˆy,ˆu)along a subsequence, where (ˆ β, ˆy,ˆu)is a feasible point of (OVR). In order to achieve optimality of (ˆ β, ˆy,ˆu), we combine (24)and(25) and obtain F(βk,yk,uk)≤F(¯ β, ¯y,¯u)+Cϕ 2γ¯ Tkdiam(¯ Tk)2→F(¯ β, ¯y,¯u)+0, which implies F(ˆ β, ˆy,ˆu)=limk→∞ F(βk,yk,uk)≤F(¯ β, ¯y,¯u). The remaining part of the proof follows the proof of Theorem 4.2. The next lemma addresses the continuous dependence of the solution on the penalty parameter. Lemma 4.5 We suppose that F(·,S(u), u)is strongly convex (w.r.t. β) with constant μβ> 0, independent of the control u. Then, (OVRP(T ,γ)) with P =Id has a unique solution (βγ,yγ,uγ)for all γ>0.Further,let0<γ a≤γT<∞and γa≤ˆγ. Then, βγT−βˆγRn+uγT−uˆγU≤Cμβ,γa,γT|γT−ˆγ|. Proof The existence of a solution to (OVRP(T,γ)) follows from Lemma 4.1.Forγa≤γ, the strong convexity of fimplies that the reduced objective of (OVRP(T,γ)) is strongly convex w.r.t. uwith constant γaμon the feasible set. This gives uniqueness of the state yγ=S(uγ)and of the control uγ. With the additional assumption on F, we get the uniqueness of βγ. Next, we want to apply Lemma 2.4 to the state reduced variant of (OVRP(T,γ)), i.e., we apply the setting x=(β, u), C=T×Uad,p=γ, ˆ Q=[γa,∞), J(x,p)=J((β, u), γ ) := F(β, S(u), u)+γ(f(β, S(u), u)−ξT(β)). Assumption 2.1 ensures that the assumptions of Lemma 2.4 are satisfied. Thus, Lemma 2.4 implies βˆγ−βγTRn+uˆγ−uγTU≤Cμβ,γaJ x((βγT,uγT), ˆγ)−J x((βγT,uγT), γT)Rn×U. Now, the derivative J x((β, u), γ ) contains the two components F β(β, S(u), u)+γ(f β(β, S(u), u)−ξ T(β)), F u(β, S(u), u)+SF y(β, S(u), u)+γ(f u(β, S(u), u)+Sf y(β, S(u), u)). Thus, the above estimate implies βˆγ−βγTRn+uˆγ−uγTU≤Cμβ,γa|ˆγ−γT|C1,γT+C2,γT, with C1,γT=f β(βγT,S(uγT), uγT)−ξ T(βγT)Rn, C2,γT=f u(βγT,S(uγT), uγT)+Sf y(βγT,S(uγT), uγT)U. This shows the claim. The problem (OVRP(T,γ T)) is a relaxation of (OVR(ξ, T)) and consequently the objective functional attains a smaller minimal value and represents a lower bound to the minimal objective value of (OVR(ξ, T)). Since this lower bound depends on the chosen penalty parameter γT, we try to adjust this parameter to obtain the largest possible lower bound. We will now 123
1044 Journal of Global Optimization (2023) 86:1025–1061 show that it is reasonable to aim for a choice of the penalty parameter such that the equality f(βγT,yγT,uγT)=ξ(βγT)holds for the solution (βγT,yγT,uγT)of (OVRP(T,γ T)).Inthe expected case where no solution to (21) is feasible for (OVR), this specific penalty parameter results in the largest possible minimal objective value for (OVRP(T,γ T)). Lemma 4.6 Let the state reduced functional F be strongly convex with respect to βwith constant μβindependent of the control u. Let a simplex T be given and, again, P =Id. Further, we assume the existence of β∈T with ϕ(β)<ξ T(β).Forγ≥0, we denote a solution to (OVRP(T ,γ)) by (βγ,yγ,uγ). (a) If f (˜ β, ˜y,˜u)≤ξT(˜ β) for one global solution (˜ β, ˜y,˜u)to (OVRP(T ,0)) then the choice γT=0yields the largest minimal objective value for (OVRP(T ,γ T)). (b) If f (˜ β, ˜y,˜u)>ξ T(˜ β)for all global solutions (˜ β, ˜y,˜u)to (OVRP(T ,0)) then there exists γT>0such that f (βγT,yγT,uγT)=ξT(βγT)and this choice of γTresults in the largest minimal objective value for (OVRP(T ,γ T)). The existence of β∈Twith ϕ(β) < ξT(β) is equivalent to ϕbeing not affine on T. Thus, this assumption is not very restrictive. Proof (a) For any γ≥0wehave F(βγ,yγ,uγ)+γ(f(βγ,yγ,uγ)−ξT(βγ)) ≤F(˜ β, ˜y,˜u)+γ(f(˜ β, ˜y,˜u)−ξT(˜ β)) ≤F(˜ β, ˜y,˜u). Hence, the infimal value of (OVRP(T,γ T)) is maximized for γT=0. (b) We prove the existence of γT>0 with f(βγT,yγT,uγT)−ξT(βγT)=0 by the intermediate value theorem. Therefore, we have to provide penalty parameters γ ¯T,¯γT>0 with f(βγ ¯T,yγ ¯T,uγ ¯T)−ξT(βγ ¯T)≥0and f(β ¯γT,y¯γT,u¯γT)−ξT(β ¯γT)≤0. The required continuous dependence w.r.t. γ>0 follows from Lemma 4.5. We first construct ¯γT. By assumption Fis bounded from below by a constant C∈R and there exists a β∈T, such that ϕ(β) =f(β, yβ,uβ)<ξ T(β). Thus, we can choose ¯γT>0 such that F(β, yβ,uβ)+¯γT(f(β, yβ,uβ)−ξT(β)) ≤C.(26) It follows that f(β ¯γT,y¯γT,u¯γT)−ξT(β ¯γT)≤0. The existence of γ ¯Tis proven by contradiction. Assume that there is no γ>0 with f(βγ,yγ,uγ)−ξT(βγ)≥0. For γ0, the bound f(βγ,yγ,uγ)<ξ T(βγ)and the quadratic growth condition from Lemma 2.2 imply boundedness of the control uγ whereas the continuity of the solution operator yields boundedness of the state yγ= Suγ. The parameter βγ∈Tis bounded as well. Thus, one obtains the existence of a weak accumulation point (¯ β, ¯y,¯u)for γ0. It is clear that (¯ β, ¯y,¯u)is feasible for (OVRP(T,0)) and we show that it is even a solution. By optimality, we get the inequality F(βγ,yγ,uγ)+γ(f(βγ,yγ,uγ)−ξT(βγ)) ≤F(˜ β, ˜y,˜u)+γ(f(˜ β, ˜y,˜u)−ξT(˜ β)) and lim γ0γ(f(βγ,yγ,uγ)−ξT(βγ)) =lim γ0γ(f(˜ β, ˜y,˜u)−ξT(˜ β)) =0 123
Journal of Global Optimization (2023) 86:1025–1061 1045 follows by boundedness of f(βγ,yγ,uγ). Thus, F(¯ β, ¯y,¯u)≤lim inf γ0F(βγ,yγ,uγ)≤F(˜ β, ˜y,˜u), where we take the limes inferior along the weakly convergent subsequence. Thus, (¯ β, ¯y,¯u)is a solution to (OVRP(T,0)). Similarly, passing to the limit inferior in f(βγ,yγ,uγ)−ξT(βγ)<0 yields f(¯ β, ¯y,¯u)−ξT(¯ β) ≤0. This contradicts the assumption and yields the existence of γ ¯T. By the intermediate value theorem, we conclude the existence of γT>0 with f(βγT,yγT,uγT)−ξT(βγT)=0. It remains to prove that this choice of γTresults in the largest infimal objective value for (OVRP(T,γ T)). It is clear that f(βγ,yγ,uγ)−ξT(βγ)is non-increasing w.r.t. γ. Thus, it follows with Lemma 4.5 that γT∈[0,∞)f(βγT,yγT,uγT)−ξT(βγT)=0=[γa,γ b]⊂R+. For γb<γ 1<γ 2,wehave f(βγ1,yγ1,uγ1)−ξT(βγ1)<0 and, thus, the optimality of (βγ2,yγ2,uγ2)for (OVRP(T,γ 2)) implies F(βγ1,yγ1,uγ1)+γ1(f(βγ1,yγ1,uγ1)−ξT(βγ1)) >F(βγ1,yγ1,uγ1)+γ2(f(βγ1,yγ1,uγ1)−ξT(βγ1)) ≥F(βγ2,yγ2,uγ2)+γ2(f(βγ2,yγ2,uγ2)−ξT(βγ2)). It follows that the objective value of (OVRP(T,γ)) is monotonically decreasing for γ>γ band, similarly, one can show that it is monotonically increasing for γ<γ aand constant on [γa,γ b]. Thus, all γT∈[γa,γ b]maximize the minimal objective value of (OVRP(T,γ T)). In general it is not possible to check which case of Lemma 4.6 applies. However, the proof suggests that after solving (OVRP(T,γ)) the value f(βγ,yγ,uγ)−ξT(βγ)can be checked to infer whether the choice of the penalty parameter γwas adequate, too small or too large. Furthermore, when splitting the simplices in Algorithm 2, the approximation ξTof the optimal-value function ϕcannot increase in any point β∈Q. Together with the feasibility of the solution to the refined problems for the problem on the original simplex T, this yields that the minimal objective value may only remain constant or increase if the same penalty parameter γTis used for a subproblem. We therefore suggest starting with γ=0andthen using a heuristic to find a γT. The refined problems can inherit the parameter γTas a starting point instead of zero. This approach covers both cases of Lemma 4.6 without the need to calculate all solutions of (21). Once a γTis found such that f(βγ,yγ,uγ)−ξT(βγT)>0 one can be sure that all subproblems are of case Lemma 4.6(b), because ξis decreasing with further refinement of the simplices. Lemma 4.7 Let the state reduced functional F be strongly convex with respect to βwith constant μβindependent of the control u. Let a simplex T be given and, again, P =Id. Further, we assume the existence of β∈T with ϕ(β)<ξ T(β).Forγ≥0,wedenote asolutionof(OVRP(T ,γ)) by (βγ,yγ,uγ). Let the penalty parameter γTbe chosen as described in Lemma 4.6, i.e., we have one of the following cases: (a) γT=0and f (˜ β, ˜y,˜u)≤ξT(˜ β) for one global solution (˜ β, ˜y,˜u)of (OVRP(T ,0)), (b) γT>0and f (βγT,yγT,uγT)=ξT(βγT). 123
1046 Journal of Global Optimization (2023) 86:1025–1061 Then, the point (˜ β, ˜y,˜u)or (βγT,yγT,uγT), respectively, is a solution of (OVR(ξ, T))and γT is a multiplier corresponding to the constraint f (β, y,u)≤ξT(β) in the optimality system for (OVR(ξ, T)). Proof First, we consider the case γT>0. Note that (βγT,yγT,uγT)is feasible for (OVR(ξ, T)). We denote by (βT,yT,uT)a solution of (OVR(ξ, T)). Then, the optimality of both points, f(βT,yT,uT)≤ξ(βT)and f(βγT,yγT,uγT)=ξ(βγT)yield F(βγT,yγT,uγT)≥F(βT,yT,uT)≥F(βT,yT,uT)+γT(f(βT,yT,uT)−ξ(βT)) ≥F(βγT,yγT,uγT)+γT(f(βγT,yγT,uγT)−ξ(βγT)) =F(βγT,yγT,uγT). This shows f(βT,yT,uT)=ξ(βT)and F(βγT,yγT,uγT)=F(βT,yT,uT). Hence, the triple (βT,yT,uT)solves (OVRP(T,γ T)) and, by the uniqueness of the solution, the solution is (βT,yT,uT)=(βγT,yγT,uγT). Thus, (βγT,yγT,uγT)is globally optimal for (OVR(ξ, T)). The optimality system of (OVRP(T,γ T)) can be interpreted as the KKT system of (OVR(ξ, T)) and the parameter γT in (OVRP(T,γ T)) becomes a Lagrange multiplier in the KKT system of (OVR(ξ, T)). Note that Lagrange multipliers for (OVRP(T,γ T)) exist since the CQ by [27,30] is satisfied. Finally, we consider the case γT=0. Due to f(˜ β, ˜y,˜u)<ξ T(˜ β), the point (˜ β, ˜y,˜u)is feasible for (OVR(ξ, T)). Since (OVRP(T,0)) is a relaxation of (OVR(ξ, T)), this shows that (˜ β, ˜y,˜u)is a solution of (OVR(ξ, T)). The interpretation of γTas a multiplier is analogous to the case γT>0. This lemma shows that the problem (OVR(ξ, T)) is equivalent (in some sense) to (OVRP(T,γ T)) for the “optimal” value of γT, cf. Lemma 4.6. In the application we have in mind, the structure of (OVRP(T,γ T)) is much nicer, since the “complicated” function f appears in the objective and not in the constraints. 5 Parameter identification in an optimal control problem In the previous section we discussed how a global optimal solution for (OVR) can be found using Algorithm 2. However, so far we did not introduce a solution scheme for the subproblems (OVRP(T,γ k,T)). In this section we will show that for a special problem class the advantage of the direct penalization (see Sect.4.2) is that the semismooth Newton method can be used to solve the subproblems. 5.1 Problem formulation and properties We consider the bilevel optimization problem with the lower-level problem min y∈H1 0(), u∈L2() ˆ f(α, y,u):= n i=1 αi 2Ciy−yd,i2 L2() +σl 2u2 L2() s.t. Ay −Bu =0, u∈Uad, (LL(α)) and upper-level problem 123
Journal of Global Optimization (2023) 86:1025–1061 1047 min α∈Rn,y∈H1 0(), u∈L2() ˆ F(α, y,u):=1 2y−ym2 L2() +σu 2u−um2 L2() +σα 2α2 Rn s.t. α∈Qα, (y,u)solves (LL(α)). (UL) As an underlying assumption let σu,σ l,σ α>0, ym,yd,i,um,∈L2(),where⊂Rlis an open and bounded set. Moreover, let Qα:= [a1,b1]×···×[an,bn]constitute a box constraint on α,whereai,bi∈Rsatisfies 0 <ai<bifor all i∈{1,...,n}. We also require that the admissible set Uad has the structure Uad ={v∈L2() |ua≤v≤uba.e. in },where ua,ub∈L2() are functions such that Uad is nonempty. Further, let A:H1 0() →H−1(), B:L2() →H−1(),Ci:H1 0() →L2() be bounded linear operators such that Ais bijective. We also assume that Bcan be extended to an operator B∈L[Lq(), H−1()]for some q∈(1,2). Additionally, we require um,ua,ub∈Lq(),whereq>2 satisfies 1/q+1/q=1. We observe that the lower-level objective functional ˆ fis not convex with respect to all variables. In particular, Assumption 2.1(e) is not satisfied. Additionally, the corresponding optimal-value function is usually not convex either. As Algorithm 1depends on convexity of the optimal-value function one has to first transform the problem in such a way that the new lower-level objective functional is convex. For this purpose, we consider the simple substitution βi=1/αi.Wealsodefineσβ:= σα. For the upper-level objective this substitution results in F(β, y,u):=1 2y−ym2 L2() +σu 2u−um2 L2() +σβ 2 n i=11 βi2 . The constraint α∈Qαhas to be transformed to β∈Q:= [b−1 1,a−1 1]×···×[b−1 n,a−1 n]. Observe that Qis a compact subset of (0,∞)nbecause Qαis a compact subset of (0,∞)n. One can check that Fis convex on Q×H1 0() ×L2() due to β>0forβ∈Q.The transformed lower-level objective is f(β, y,u):= n i=1 1 2βiCiy−yd,i2 L2() +σl 2u2 L2().(27) We check that this fis indeed convex on Q×H1 0() ×L2().Hereweusethatfora Banach space Y, the function g:Y→R,y→ 1 2y2 Yis convex and for λ>0 the so-called perspective of gis given by Y×(0,∞)(y,λ)→ λg(y/λ) =1 2λy2 Y.(28) It is known that the perspective of a convex function is convex (e.g. one can simply generalize the proof of [31, Lemma 2] to Banach spaces). Now convexity is preserved under composition with an affine function y→ Cy −yd. Thus, the function (βi,y)→ 1 2βiCiy−yd,i2 L2() is convex. The convexity of ffollows. With the above setting and observations, one can show that the transformed problem satisfies Assumption 2.1. 123
1048 Journal of Global Optimization (2023) 86:1025–1061 5.2 Stationarity system for the direct penalization Classic choices of the penalty function for (OVRP(T,γ k,T)), e.g., P=max(0,·)2, will result in subproblems that are difficult to handle. In particular, the optimality system cannot be reformulated as a simple projection formula. We will see that the direct penalization P=Id results in an easy to implement solution algorithm for (OVRP(T,γ k,T)). Computing the solution of (OVRP(T,γ k,T)) requires the construction of ξand thereby the evaluation of ϕ(β) at certain points. This equates to solving single-level optimal control problems. In order to state the stationarity conditions, we first reformulate the condition β∈T. Recall that Tis a (non-degenerate) simplex. Thus, Tcan be written as the intersection of n+1 half-spaces, T={β∈RnKTβ≤bT},whereKT∈R(n+1)×nis a suitable matrix. Clearly, at most nof these constraints may simultaneously hold with equality and all those constraints that are satisfied with equality are linearly independent. Thus, (OVRP(T,γ k,T)) with P=Id takes the form min β,y,uF(β, y,u)+γk,Tf(β, y,u)−ξT(β) s.t. KTβ−bT≤0, Ay −Bu =0, u∈Uad. The KKT system for (OVRP(T,γ k,T)) with direct penalization (P=Id) is given by 0=F β(β, y,u)+γk,T(f β(β, y,u)−aTβ) +K Tz,(29a) 0=F y(β, y,u)+γk,Tf y(β, y,u)+Ap,(29b) 0=F u(β, y,u)+γk,Tf u(β, y,u)−Bp+ν, (29c) 0=Ay −Bu,(29d) z≥0∧KTβ−bT≤0∧z(KTβ−bT)=0,(29e) ν∈NUad (u), u∈Uad,(29f) where p∈H1 0(),z∈Rn+1,andν∈L2() are the Lagrange multipliers. The vector aT refers to the derivative of the affine function ξTon the simplex T. Lemma 5.1 The feasible point (β, y,u)is a local/global solution to (OVRP(T,γ k,T))if and only if there exist multipliers p ∈H1 0(),z∈Rn+1, and ν∈L2() such that (29)holds. The solution and the corresponding multipliers are unique. Proof “⇒”: We check that the Robinson regularity condition for the reformulated problem is satisfied. This condition reads A−B0 00KT⎛ ⎝ H1 0() RUad (u) Rn⎞ ⎠−{0} cone(Rn+1 −−(KTβ−bT))=H−1() Rn+1. The two lines of the equation are independent of each other. By assumption, Ais bijective, i.e., A(H1 0()) =H−1(). For the second line we recall that the Robinson regularity condition is equivalent to the Mangasarian–Fromovitz condition for standard nonlinear optimization problems, see [28, p. 71]. Thus, the second line is satisfied since we have assumed that the simplex Tis non-degenerate, i.e., we even have the linear-independence constraint 123
Journal of Global Optimization (2023) 86:1025–1061 1055 such that for all initial values (β0,y0,u0,p0,z0)from this neighborhood, the semismooth Newton method from Algorithm 3either terminates in the i-th step with (βi,yi,ui,zi,pi)= (βk,T,yk,T,uk,T,zk,T,pk,T)or generates a sequence that converges q-superlinearly to (βk,T,yk,T,uk,T,zk,T,pk,T)in Rn×H1 0() ×L2() ×Rn+1×H1 0(). Proof We already established that the function Wis semismooth in the solution to (OVRP(T,γ k,T)) (see Lemma 5.3). We have proven in Lemma 5.7 that the derivative from Lemma 5.3 is invertible and the norm of the inverse is bounded on a neighborhood of a solution. The result is now a direct application of [33, Theorem 3.13]. In particular, we do not need a smoothing step, since the spaces in which Wis Newton differentiable coincide with the spaces in which the Newton derivative is uniformly invertible, see Lemmas 5.3 and 5.6. 6 Numerical experiments In this section we present an example for Algorithm 2to illustrate the convergence behavior towards a global minimizer. To this end, we consider the parameter identification problem min β,y,u 1 2y−ym2 L2() +σu 2u−um2 L2() +σβ 2β−βm2 Rn=:F1(β, y,u) s.t. β∈Q, (y,u)∈(β), (37) where :R2→H1 0() ×L2() denotes the solution mapping of the parameter βto the unique solution of the lower-level problem min y,u 1 2β1y−yd,12 L2() +1 2β2y−yd,22 L2() +σl 2u2 L2()=:f(β, y,u) s.t. 0 =−y−uin , 0=yon ∂, u∈Uad. (38) Let us define the data present in this bilevel optimization problem. We use the sets Q:=[0.1,1]2and =(−1,1)2(discretized with a meshsize of 0.2). and the two possible desired states yd,1:→R,yd,1(x)=sin(πx1)sin(πx2), yd,2:→R,yd,2(x)=(x1+1)(x1−1)(x2+1)(x2−1). The regularization parameter for the lower level is σl=0.03. Additionally, we introduce box constraints for the control via u∈Uad:={u∈L2() |ua≤u≤uba.e. on }, ua(x):=0,ub(x):=3. It turns out that these constraints are active on parts of the domain for the choice of the parameter β=(0.6,0.3). For the upper level we fix the parameters σu=0.05 and σβ= 10−5. We also choose βm:=(0.6,0.3)and (ym,um):=((0.6,0.3)), i.e. the objective value of F1is zero for the solution to the lower-level problem with β=βm. We call this setting “fully reachable target state”. We mention that when this setting is implemented, the 123
1056 Journal of Global Optimization (2023) 86:1025–1061 functions ym,umare not the analytical solutions, but are calculated directly using the finite element solutions for the lower level. For the setting of this section, Assumption 2.1 is valid. Additionally, for the chosen functionals and parameters we can apply the semismooth Newton method from Sect.5.3 to solve the subproblems (OVRP(T,γ k,T)). In order to illustrate some fundamental properties of the proposed solution algorithm, we consider two additional problems that only differ in the choice of the objective functional, i.e. the functions F2(β, y,u):=1 2y−ym2 L2() +σu 2u−um2 L2() +σβ 2β2 Rn, F3(β, y,u):=1 2y−ˆym2 L2() +σu 2u−ˆum2 L2() +σβ 2 2 i=1 1 β2 i are used instead of F1. In the second objective functional F2,theβterm is only introduced as a regularization. This will be called “reachable target state”. The functional F3is set up with desired states ˆymand ˆumthat are given by ˆym:→R,ˆym(x)=(x1−1)(x1+1)sin(πx2), ˆum:→R,ˆum(x)=0. This state and control have the property that they do not arise as a solution of the lower-level problem. This setting is named “unreachable target state”. We expect a noticeable difference in the convergence speed for the introduced settings, see Remark 3.8. The refinement of the subdivision will be implemented by splitting the triangles at the midpoint of the edges. This refinement procedure is the application of Lemma 3.3 to the two-dimensional case. However, in this special case we can even guarantee that the diameter of the simplices is halved in each refinement. We initialize Algorithm 2with the domain Q split into two triangles. We use an implementation with the suggested improvements mentioned at the end of Sect.3. In each iteration we get a lower bound on the optimal objective value from the element with the lowest objective value for the solution to (OVRP(T,γ k,T)). We obtain an upper bound from the vertex with the lowest objective value. Hence every element whose relaxed optimal objective value is above the upper bound can be dismissed, since the relaxed optimal objective value is smaller than or equal to the objective value of the original subproblem. Further, in each iteration we refine the best 15% of the active triangles with respect to the objective value for the solution to (OVRP(T,γ k,T)), but at most 200. This is done to effectively utilize parallelization. Additionally, we refine elements that are a certain amount of generations behind to achieve a “clean up of old triangles”. Otherwise, for some triangles that are quite far from the actual solution but for which (by chance) the objective value comes really close, the algorithm might take a long time to refine this element. This only has a noticable impact if we are in a case where the amount of active elements steadily increases, i.e. the case of F3 and was not used for the other cases. Lastly, the algorithm runs until a set amount of elements (4·105) is reached or the difference between lower and upper bound is sufficiently small. We chose a target bound difference of 10−10.ForthecaseofF3the element limit was reached. We now visualize the convergence of Algorithm 2in Figs.1,2,3and 4. These graphics indicate the convergence βk→¯ βas predicted in Theorem 4.2, see in particular Fig.2.In Fig.1we show the difference of lower and upper bound compared for all mentioned settings. We have a stark difference of convergence speed for the different settings introduced in this section. Additionally there is a noticeable difference between looking at the vertex that provides the upper bound and the furthest active vertex. Note that only for the latter the 123
Journal of Global Optimization (2023) 86:1025–1061 1057 Fig. 1 Upper bound (blue) and lower bound (red) for the setting of F1,F2and F3w.r.t. the number of solved subproblems. (Color figure online) Fig. 2 Distance between the calculated solution ¯ βand the best known vertex (blue) and the furthest active vertex (red) respectively for each iteration. (Color figure online) Fig. 3 Difference of upper and lower bound for the settings of F1,F2and F3w.r.t. the number of solved subproblems. For the setting of F3the results for two different regularization terms are displayed distance to ¯ βis guaranteed to be nonincreasing, while the vertex providing the upper bound might be more interesting from a heuristic point of view if one considers a depth-search. The splitting of the domain can be seen in Fig.4. For the purpose of better visualization in the setting of F1and F2, the algorithm was continued for Fig.4until every element either had 123
1058 Journal of Global Optimization (2023) 86:1025–1061 Fig. 4 From left to right: Progression of the splitting of the domain Qfor (OVRP(ξT)) for the settings of F1, F2and F3. Simplices are differentiate by the color of their outline: Dismissed (blue), relevant (red), split in the last iteration (yellow), difference of lower and upper bound for the element is within 10−9(green). The element with the current best objective value is marked with a pink dot. (Color figure online) a vertex for which the corresponding upper level objective was close (10−10) to the upper bound or was dismissed. We show the difference of lower and upper bound for all the cases discussed in Fig.3. We want to comment on the relation between the number of subproblems and the difference of upper and lower bound. As discussed in Remark 3.7, a growth condition for the upper-level objective functional for a solution w.r.t. βhas positive effects and we can expect at least an 123
Journal of Global Optimization (2023) 86:1025–1061 1059 Table 1 Computational times for the evaluation of the value function and the solution of the relaxed penalty problems to reach a difference of upper and lower bound of at most 10−10 or exceed 4 ·105total subproblems in the next iteration ul. objective #ϕ(β) Time ϕ(β) #OVRP Time OVRP (p) Time OVRP (s) F1;β−βm2 Rm580 7.58 ·100s 4292 2.18 ·101s1.24 ·102s F2;β2 Rm3103 4.00 ·101s12,183 7.38 ·101s3.95 ·102s F3;β2 Rm25,498 3.33 ·102s74,328 6.72 ·102s5.92 ·103s F3;'i1/β2 i25,585 3.34 ·102s75,001 7.06 ·102s6.04 ·103s The Problems (OVRP(T,γ k,T)) were distributed to 10 workers. Their individual times were added to get the “serial” time. Over 99% of the total time was used on solving (OVRP(T,γ k,T))andϕ(β) inverse proportional relation. This is exactly the setting of F1.ForF2we have the second case from Remark 3.8, where the derivative of F2is close to zero in the solution. This is because the term β2 Rnonly comes up as a regularization with a small parameter for the upper-level objective functional. The solution of the parameter estimation problem is still close to (ym,um).InFig.3the cases for F1and F2show a behaviour that is a little bit better then the prediction. For F3, we no longer have a setting where the number of subproblems, which is required to reach a certain accuracy, follows a nice relation. Especially, the number of active subproblems might heavily increase during the runtime of Algorithm 2. This can be seen well in Fig.4. Finally Fig.3indicates, that the important property in the setting of F3is that the solution is no longer close to (ˆym,ˆum), i.e. that the target state is “unreachable” and that the choice of regularization term σβ 2β2 Rnor σβ 2'2 i=1 1 β2 i is of minor importance regarding convergence speed for this case. As a final comment we emphasize, that if Remark 3.7 or Remark 3.8 apply, both are indicative regarding the general behaviour of the algorithm. These remarks allow for a prediction of the relation between the number of subproblems and the difference of the bounds that is at least inversely proportional. Ultimately Remarks 3.7 and 3.8 give some information about the speed of the algorithm. Observe that a significant amount of solved subproblems has to be solved. Hence, the computational times needed to evaluate the value function ϕ(β) (which amounts to the solution of (LL(β))) and to solve the subproblem (OVRP(T,γ k,T)) are critical. Thus, we report on the computational times of the used algorithm1in Table 1. Funding Open Access funding enabled and organized by Projekt DEAL. Data availability The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request. 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 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/. 1Implemented in MATLAB/R2021a on Ubuntu with Intel(R) Core(TM) i9-10900 CPU, 2.80GHz and 32GB RAM. Subproblems solved in parallel with 10 cores. 123
1060 Journal of Global Optimization (2023) 86:1025–1061 References 1. Bard, J.F.: Practical Bilevel Optimization: Algorithms and Applications. Kluwer Academic, Dordrecht (1998) 2. Dempe, S.: Foundations of Bilevel Programming. Kluwer Academic Publishers, Dordrecht (2002) 3. Dempe, S., Kalashnikov, V., Pérez-Valdéz, G., Kalashnykova, N.: Bilevel Programming Problems— Theory, Algorithms and Applications to Energy Networks. Springer, Berlin (2015) 4. Shimizu, K., Ishizuka, Y., Bard, J.F.: Nondifferentiable and Two-Level Mathematical Programming. Kluwer Academic, Dordrecht (1997) 5. Hinze, M., Pinnau, R., Ulbrich, M., Ulbrich, S.: Optimization with PDE Constraints. Springer, Dordrecht (2009). https://doi.org/10.1007/978-1-4020-8839-1 6. Lewis, F.L., Vrabie, D., Syrmos, V.L.: Optimal Control. Wiley, Hoboken (2012) 7. Tröltzsch, F.: Optimal Control of Partial Differential Equations. Graduate Studies in Mathematics, vol. 112. American Mathematical Society, Providence (2010) 8. Troutman, J.L.: Variational Calculus and Optimal Control. Springer, New York (1996) 9. Fisch, F., Lenz, J., Holzapfel, F., Sachs, G.: On the solution of bilevel optimal control problems to increase the fairness in air races. J. Guid. Control. Dyn. 35(4), 1292–1298 (2012). https://doi.org/10.2514/1.54407 10. Hatz, K.: Efficient Numerical Methods for Hierarchical Dynamic Optimization with Application to Cerebral Palsy Gait Modeling. Ph.D. Thesis, University of Heidelberg, Germany (2014) 11. Kalashnikov, V., Benita, F., Mehlitz, P.: The natural gas cash-out problem: a bilevel optimal control approach. Math. Probl. Eng. (2015). https://doi.org/10.1155/2015/286083 12. Knauer, M., Büskens, C.: Hybrid solution methods for bilevel optimal control problems with time dependent coupling. In: Diehl, M., Glineur, F., Jarlebring, E., Michiels, W. (eds.) Recent Advances in Optimization and Its Applications in Engineering: The 14th Belgian-French-German Conference on Optimization, pp. 237–246. Springer, Berlin (2010). https://doi.org/10.1007/978-3-642-12598-0_20 13. Benita, F., Mehlitz, P.: Bilevel optimal control with final-state-dependent finite-dimensional lower level. SIAM J. Optim. 26(1), 718–752 (2016). https://doi.org/10.1137/15M1015984 14. Mehlitz, P.: Contributions to Complementarity and Bilevel Programming in Banach Spaces. Ph.D. Thesis, Technische Universität Bergakademie Freiberg (2017) 15. Harder, F.: On Bilevel Optimization Problems in Infinite-Dimensional Spaces. Ph.D. Thesis, BTU Cottbus- Senftenberg (2021). https://doi.org/10.26127/BTUOPEN-5375 16. Mehlitz, P., Wachsmuth, G.: Weak and strong stationarity in generalized bilevel programming and bilevel optimal control. Optimization 65(5), 907–935 (2016). https://doi.org/10.1080/02331934.2015.1122007 17. Ye, J.J.: Necessary conditions for bilevel dynamic optimization problems. SIAM J. Control. Optim. 33(4), 1208–1223 (1995). https://doi.org/10.1137/S0363012993249717 18. Ye, J.J.: Optimal strategies for bilevel dynamic problems. SIAM J. Control. Optim. 35(2), 512–531 (1997). https://doi.org/10.1137/S0363012993256150 19. Harder, F., Wachsmuth, G.: Optimality conditions for a class of inverse optimal control problems with partial differential equations. Optimization 68(2–3), 615–643 (2018). https://doi.org/10.1080/02331934. 2018.1495205 20. Holler, G., Kunisch, K., Barnard, R.C.: A bilevel approach for parameter learning in inverse problems. Inverse Prob. 34(11), 115012 (2018). https://doi.org/10.1088/1361-6420/aade77 21. Harder, F., Wachsmuth, G.: Comparison of optimality systems for the optimal control of the obstacle problem. GAMM-Mitteilungen 40(4), 312–338 (2018). https://doi.org/10.1002/gamm.201740004 22. Albrecht, S., Ulbrich, M.: Mathematical programs with complementarity constraints in the context of inverse optimal control for locomotion. Optim. Methods Softw. 32(4), 670–698 (2017). https://doi.org/ 10.1080/10556788.2016.1225212 23. Albrecht, S., Leibold, M., Ulbrich, M.: A bilevel optimization approach to obtain optimal cost functions for human arm movements. Numer. Algebra Control Optim. 2(1), 105–127 (2012). https://doi.org/10. 3934/naco.2012.2.105 24. Hatz, K., Schlöder, J.P., Bock, H.G.: Estimating parameters in optimal control problems. SIAM J. Sci. Comput. 34(3), 1707–1728 (2012). https://doi.org/10.1137/110823390 25. Dempe, S., Harder, F., Mehlitz, P., Wachsmuth, G.: Solving inverse optimal control problems via value functions to global optimality. J. Glob. Optim. 74(2), 297–325 (2019). https://doi.org/10.1007/s10898- 019-00758-1 26. Outrata, J.V.: On the numerical solution of a class of Stackelberg problems. Z. Oper. Res. 34(4), 255–277 (1990). https://doi.org/10.1007/bf01416737 27. Zowe, J., Kurcyusz, S.: Regularity and stability for the mathematical programming problem in Banach spaces. Appl. Math. Optim. 5(1), 49–62 (1979). https://doi.org/10.1007/BF01442543 123
Journal of Global Optimization (2023) 86:1025–1061 1061 28. Bonnans, J.F., Shapiro, A.: Perturbation Analysis of Optimization Problems. Springer, Berlin (2000). https://doi.org/10.1007/978-1-4612-1394-9 29. Mehlitz, P., Wachsmuth, G.: Bilevel optimal control: Existence results and stationarity conditions. In: Dempe, S., Zemkoho, A. (eds.) Bilevel Optimization: Advances and Next Challenges, pp. 451–484. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-52119-6_16 30. Robinson, S.M.: Stability theory for systems of inequalities. II. Differentiable nonlinear systems. SIAM J. Numer. Anal. 13(4), 497–513 (1976). https://doi.org/10.1137/0713043 31. Dacorogna, B., Maréchal, P.: The role of perspective functions in convexity, polyconvexity, rank-one convexity and separate convexity. J. Convex Anal. 15(2), 271–284 (2008) 32. Hintermüller, M., Ito, K., Kunisch, K.: The primal–dual active set strategy as a semismooth Newton method. SIAM J. Optim. 13(3), 865–888 (2002). https://doi.org/10.1137/s1052623401383558 33. Ulbrich, M.: Semismooth Newton Methods for Variational Inequalities and Constrained Optimization Problems in Function Spaces. MOS-SIAM Series on Optimization, vol. 11, p. 308. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA; Mathematical Optimization Society, Philadelphia, PA (2011). https://doi.org/10.1137/1.9781611970692 34. Brezzi, F., Fortin, M. (eds.): Springer, New York (1991). https://doi.org/10.1007/978-1-4612-3172-1 Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 123