Improved penalty algorithm for Mixed Integer PDE Constrained Optimization Problems
Dominik Garmatter, Margherita Porcelli, Francesco Rinaldi, Martin, Stoll

TL;DR
This paper introduces an improved penalty algorithm combining basin hopping and interior point methods to efficiently solve large-scale mixed-integer PDE-constrained optimization problems, offering an alternative to traditional branch-and-bound methods.
Contribution
A novel penalty algorithm tailored for large-scale mixed-integer PDE-constrained problems, integrating basin hopping and interior point techniques for enhanced performance.
Findings
Effective on standard stationary test problems
Versatile extension to convection-diffusion problems
Demonstrates competitiveness with existing methods
Abstract
Optimal control problems including partial differential equation (PDE) as well as integer constraints merge the combinatorial difficulties of integer programming and the challenges related to large-scale systems resulting from discretized PDEs. So far, the Branch-and-Bound framework has been the most common solution strategy for such problems. In order to provide an alternative solution approach, especially in a large-scale context, this article investigates penalization techniques. Taking inspiration from a well-known family of existing exact penalty algorithms, a novel improved penalty algorithm is derived, whose key ingredients are a basin hopping strategy and an interior point method, both of which are specialized for the problem class. A thorough numerical investigation is carried out for a standard stationary test problem. Extensions to a convection-diffusion as well as a…
| h | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| S | 3 | 10 | 20 | 3 | 10 | 20 | ||||||
| rel_err | time | rel_err | time | rel_err | time | rel_err | time | rel_err | time | rel_err | time | |
| Penalty | 89 | 163 | 188 | 541 | 1101 | 1400 | ||||||
| IPA | 925 | 1035 | 1143 | 6219 | 7550 | 9190 | ||||||
| cplexmiqp 1h | 1527 | TL | TL | TL | TL | TL | ||||||
| cplexmiqp 10h | - | - | TL | TL | TL | TL | TL | |||||
| t_av (s) | min_count | rel_err_av () | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| S | 3 | 6 | 10 | 15 | 20 | 3 | 6 | 10 | 15 | 20 | 3 | 6 | 10 | 15 | 20 |
| Penalty | 88 | 125 | 152 | 184 | 202 | 12 | 5 | 2 | 1 | 1 | 33 | 41 | 52 | 33 | 56 |
| IPA | 918 | 1112 | 1149 | 1343 | 1239 | 20 | 13 | 14 | 16 | 15 | 0 | 6 | 37 | 11 | 12 |
| cplexmiqp | 1885 | 3486 | TL | TL | TL | 20 | 18 | 9 | 5 | 5 | 0 | 13 | 5035 | 4311 | 7582 |
| t_av (s) | min_count | rel_err_av () | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| S | 3 | 6 | 10 | 15 | 20 | 3 | 6 | 10 | 15 | 20 | 3 | 6 | 10 | 15 | 20 |
| Penalty | 103 | 148 | 198 | 231 | 247 | 16 | 7 | 4 | 0 | 0 | 39 | 27 | 44 | 50 | 38 |
| IPA | 943 | 1008 | 1083 | 1223 | 1337 | 19 | 16 | 15 | 15 | 14 | 16 | 19 | 12 | 16 | 12 |
| cplexmiqp | 1937 | TL | TL | TL | TL | 20 | 16 | 7 | 5 | 6 | 0 | 10 | 24 | 52 | 24 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\newsiamremark
remarkRemark \newsiamthmexampleExample
\headersImproved penalty algorithm for MIPDECO ProblemsD. Garmatter, M. Porcelli, F. Rinaldi and M. Stoll
Improved penalty algorithm for Mixed Integer PDE Constrained Optimization Problems
Dominik Garmatter Department of Mathematics, Chemnitz University of Technology, Reichenhainer Str.41, Chemnitz, 01926, Germany (, ) [email protected]
Margherita Porcelli Department of Mathematics, University of Bologna, Piazza di Porta San Donato 5, Bologna, 40126, Italy () [email protected]
Francesco Rinaldi Department of Mathematics ”Tullio Levi-Civita”, University of Padova, via Trieste 63, Padova, 35121, Italy () [email protected]
Martin Stoll11footnotemark: 1
Abstract
Optimal control problems including partial differential equation (PDE) as well as integer constraints merge the combinatorial difficulties of integer programming and the challenges related to large-scale systems resulting from discretized PDEs. So far, the branch-and-bound framework has been the most common solution strategy for such problems. In order to provide an alternative solution approach, especially in a large-scale context, this article investigates penalization techniques. Taking inspiration from a well-known family of existing exact penalty algorithms, a novel improved penalty algorithm is derived, whose key ingredients are a basin hopping strategy and an interior point method, both of which are specialized for the problem class. A thorough numerical investigation is carried out for a standard stationary test problem. Extensions to a convection-diffusion as well as a nonlinear test problem finally demonstrate the versatility of the approach.
keywords:
mixed integer optimization, optimal control, PDE-constrained optimization, exact penalty methods, interior point methods
1 Introduction
Optimal control problems that are governed by a partial differential equation (PDE) as well as integer constraints on the control and possible additional constraints are commonly referred to as mixed integer PDE-constrained optimization (MIPDECO) problems. They pose several challenges as they combine two fields that have been surprisingly distinct from each other in the past: integer programming and PDEs. While integer optimization problems have an inherent combinatorial complexity that has to be dealt with, PDE-constrained optimization problems have to deal with possibly large-scale linear systems resulting from the discretization of the PDE, see, e.g., [1].
In spite of these challenges, MIPDECO problems are gaining increased attention as they naturally arise in many real world applications such as gas networks [2, 3], the placement of tidal and wind turbines [4, 5, 6] or power networks [7]. From the theoretical point of view, there have been recent advances in the field including a Sum-up-Rounding strategy [8, 9], a derivative-free approach [10], and new sophisticated rounding techniques [11].
A classical solution approach for a MIPDECO problem is to first-discretize-then-optimize, where the PDE and the control are discretized such that the continuous MIPDECO problem is then approximated by a finite-dimensional (and possibly large-scale) mixed-integer nonlinear programming problem (MINLP). Standard techniques, see, e.g., [12] for an excellent overview, such as branch-and-bound can then be used to solve the MINLP. Unfortunately, depending on the size of the finite-dimensional approximation, these techniques may struggle. On the one hand, the discretization of the control might result in a large amount of integer variables and thus an immense combinatorial complexity of the MINLP. On the other hand, the discretization of the PDE results in large-scale linear systems occurring whenever an NLP-relaxation of the MINLP has to be solved.
The contribution of this article to the field is to provide an alternative approach for MIPDECO problems via an equivalent penalty formulation of the original problem. While penalty reformulations have been studied in the context of integer programming, see, e.g., [13, 14, 15, 16], and penalty approaches have been developed, see, e.g., [17, 18, 19], there have been (to the knowledge of the authors) no contributions that explicitly deal with MIPDECO problems.
The general idea of penalty reformulations is to relax the integer constraints of the problem and add a suitable penalty term to the objective function, thus penalizing controls that violate the previously present integer constraints. A naive solution strategy is to iteratively solve the resulting penalty formulation while increasing the amount of penalization in each iteration until one ends up with an integer solution. The upside of such penalization strategies is that the combinatorial complexity of the integer constraints is eliminated from the problem formulation and the penalty term then ensures that the resulting solution satisfies the integer constraints. The downside is that penalty terms are usually concave such that one has to deal with non-convex NLPs with a possibly exponential amount of local minimizers.
To still provide qualitative solutions in this context, the main contribution of this article is the development of a novel algorithm that is closely related to a family of existing exact penalty (EXP) algorithms, which have been analyzed both in the context of general constrained optimization [20, 21] and in the context of integer optimization [18]. Roughly speaking, a general EXP algorithmic framework, which is an iterative procedure, provides an automatic tool for when to increase penalization and when to aim for a better minimizer via a suitable global solver for the penalized subproblems. One can then show convergence towards a global minimizer of the original problem, see, e.g., [18, Corollary 1] for the analysis of the integer case.
A practical implementation of an EXP algorithm is carried out in this paper. Although the algorithm is developed taking into account a model problem, it will become clear that it can handle quite general MIPDECO problems. The idea of the resulting improved penalty algorithm (IPA) is to combine the EXP framework with a suitably developed search approach, closely connected to basin hopping or iterated local search methods, see, e.g., [22, 23]. The search combines a local optimization algorithm with a perturbation strategy (both tailored to the specific application) in order to find either the global or a good local minimum of the penalty reformulation.
Our suitably developed local optimization solver is an interior point method that exploits the structure of the penalty formulation related to a MIPDECO problem in the following ways:
- •
it explicitly handles the non-convexity introduced by the penalty term;
- •
it uses a specific preconditioner to efficiently handle the linear algebra.
Via this approach, large-scale problems can be handled and the IPA is numerically compared, both for a standard test problem and a convection-diffusion problem, to a traditional penalty method as well as a branch-and-bound routine from CPLEX [24].
The remainder of this work is organized as follows: the model problem is presented and discretized in Section 2. Section 3 reviews the EXP algorithm, extends its convergence theory to the class of MIPDECO problems considered, and then develops the novel improved penalty algorithm. Section 4 gathers implementation details of the IPA, such as the interior point method, and briefly collects the remaining algorithms for the numerical comparison that is carried out in Section 5. Finally, conclusions are drawn in Section 6 including an outlook on MIPDECO problems with a nonlinear PDE constraint.
2 Problem formulation
We begin with the description of the optimal control model problem in function spaces. Following the first-discretize-then-optimize approach, we then present the discretized model problem as well as its continuous relaxation. Finally, we review existing solution techniques.
2.1 Binary optimal control problem
We begin with the description of the PDE in order to formulate the optimal control problem. Consider a bounded domain with Lipschitz boundary, source functions and based on these the PDE: for a given control vector find the state solving
[TABLE]
where the PDE is to be understood in the weak sense. Existence and uniqueness of a solution of (1) follow from the Lax–Milgram theorem. For now, we choose to model the sources as Gaussian functions with centers in the interior of . Thus, for ,
[TABLE]
with height and width . The optimal control problem in function spaces then reads: given a desired state , find a solution pair of
[TABLE]
where the inequality constraint in (5) is commonly referred to as a knapsack constraint. This problem can be interpreted as fitting a desired heating pattern by activating up to many sources that are distributed around the domain . Since the set of feasible controls is finite and for each control there is a uniquely determined state , problem (5) is essentially a combinatorial problem so that existence of at least one global minimizer is guaranteed. We close this section with some remarks on the presented model problem.
Remark 2.1**.**
- (a)
The Gaussian source functions are motivated by porous-media flow applications to determine the number of boreholes, see, e.g., **[25, 26]**, and problem (5) with this choice is furthermore a model problem mentioned in **[27, Section 19.3]**. We will see throughout the development of our algorithm that it does not rely on this particular modelling of the control. Exemplarily, Section 5.2 will deal with a convection-diffusion equation with piecewise constant source functions (and we mention that piecewise constant source functions were also used in **[28]). 2. (b)
Having a fixed number of source functions results in the number of integer variables being independent of the discretization mesh. While the algorithm presented in this article could in principle handle a general distributed control (as for exmaple proposed in **[11*]) such that the amount of controls would then scale with the physical space discretization, we note that the overall problem would be more challenging. * 3. (c)
It is well-known that problems with general integer constraints can be reduced to problems with binary constraints, see, e.g., **[29]**. Furthermore, **[14*, Section 4]** provides an alternative in the context of penalty approaches by directly penalizing general integer constraints. *
2.2 Discretized model problem and continuous relaxation
We introduce a conforming mesh over with vertices such that, after choosing a suitable finite element space, and denote the mass and stiffness matrices and we note that and are positive definite and is symmetric. We refer to [30] for a discussion on the convergence of the discretized quantities. Furthermore, let the matrix contain the finite element coefficients of the source functions in its columns, i.e., each column contains the evaluation of the respective source function at the vertices of the grid. With these matrices at hand, we formulate the discretized optimal control problem
[TABLE]
In (8) and for the remainder of this article, denotes the vector of the finite element coefficients of the corresponding finite element approximation of (1) rather than the actual PDE-solution. The same holds true for the desired state , which from now on represents a finite element coefficient vector instead of an actual -function. Relaxing the integer constraints in (8) yields the continuous relaxation
[TABLE]
We reformulate both problems (8) and (9) in a more compact way.
Lemma 2.2**.**
Introducing for
[TABLE]
and , problems (8) and (9) are equivalent to
[TABLE]
and
[TABLE]
*respectively. is a compact set and is compact and convex such that (Pcont) is a convex problem. *
Proof 2.3**.**
*The equivalence of the problems in question follows from the definition of the sets and and the map . Furthermore, is obviously compact and as the image of a compact convex set under a linear map is compact and convex. Thus, the convexity of (Pcont) follows from the convexity of and the convexity of where the matrix with being positive definite, is positive semidefinite. *
The authors acknowledge that (P) might be tackled by existing methods, see, e.g., [28, 17, 19], and thus want to comment on the limitations of these approaches in a large-scale context.
In [28], a branch-and-cut algorithm is presented, where the computation of a cutting plane requires one linear PDE solution per dimension of the control space. Therefore, this approach can become excessively time-consuming for large . 2. 2.
In [17], an EXP framework that embeds an iterative genetic algorithm is presented, where the amount of objective function evaluations per iteration of the genetic algorithm in [17] scales quadratically with the problem dimension . But in the PDE-constrained optimization context of (P) an evaluation of the objective function requires a PDE solution, such that the approach can become costly for large and/or . 3. 3.
In [19], a penalty-based approach combined with a smoothing method is considered to solve nonlinear and possibly non-convex optimization problems with binary variables. The main drawback in this case is: there is no theoretical guarantee that one converges towards the global minimum. Hence, the smoothing and penalty parameters need to be carefully initialized and handled during the optimization process in order to avoid getting stuck in bad local minima. 4. 4.
Lastly, a comparison of our method towards strategies such as a Sum-Up Rounding method for PDEs [9] and a sophisticated rounding technique [11] are topics for future work.
Although not strictly considering mixed-integer problems, we mention that the multi-bang approach described in [31] may also be considered to solve MIPDECO problems. In view of (P), it is not clear how the approach from [31] translates from distributed to modeled controls and how the addition of a knapsack constraint can be dealt with.
3 Improved penalty algorithm (IPA)
This section contains the main contribution of this article, the development of our novel improved penalty algorithm (IPA). We will first introduce a well-known equivalent penalty reformulation of (P), followed by an exact penalty algorithm from [18]. Afterwards we will develop the IPA, where the idea is to combine the EXP framework with a local search strategy such that the resulting algorithm only relies on a local solver.
3.1 Penalty formulation and exact penalty (EXP) algorithm
Starting from the continuous relaxation (9), we add the well-known penalty term
[TABLE]
to the objective function. Obviously, this concave penalty term penalizes a non-binary control, where controls the amount of penalization. This yields the following penalty formulation
[TABLE]
Following Lemma 2.2, (11) can be rewritten as
[TABLE]
where is the identity-matrix and .
Proposition 3.1**.**
*There exists an such that for all problems (P) and (Ppen) have the same minimizers. Having the same minimizers here means that both problems (P) and (Ppen) have the same global minima (if there exist multiple). In this sense both problems (P) and (Ppen) are equivalent. *
Proof 3.2**.**
*From Lemma 2.2 it is clear that and that and are compact. Together with the results derived in [14, Section 3] all assumptions of [14, Theorem 2.1] are fulfilled such that the desired statement follows. *
We mention that the equivalence result from Proposition 3.1 also holds for a variety of concave penalty terms, see, e.g., [14, Equations (19)-(23)] or [15, Equation (21)]. We chose the penalty term (10) in this article since it is quadratic and thus the combined objective function remains quadratic.
Before we formulate the exact penalty algorithm, we introduce a rounding strategy that suitably handles the knapsack constraint in and and prove that it is the correct tool required for the algorithm design.
Definition 3.3**.**
For and , with , let denote the largest components of . The smart rounding of is given as follows:
[TABLE]
*with defined as in Lemma 2.2 and obtained by rounding component-wise to the closest integer, while setting the remaining components to [math]. *
We illustrate the smart rounding by considering a simple example working only with control values: it will demonstrate that the smart rounding does, by definition, satisfy the knapsack constraint, while the usual rounding to the closest integer may fail to do so.
Example 3.4**.**
Let and and let denote the usual rounding to the closest integer. Then, for
[TABLE]
*it is such that [u]_{SR}=\left(1,\,1,\,0\right)^{{}^{\scriptstyle\intercal}}{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}=[u]}, whereas such that [v]_{SR}=\left(1,\,0,\,1\right)^{{}^{\scriptstyle\intercal}}\neq{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}[v]=\left(1,\,1,\,1\right)^{{}^{\scriptstyle\intercal}}}. *
With Definition 3.3 at hand, we state in Algorithm 1 the adaptation of the EXP algorithm from [18, Section 3] to our model problem (Ppen). We note that Algorithm 1 is obtained from the original EXP algorithm following the ideas of [18, Section 4], where an adaptation for bound-constrained mixed integer problems was defined.
Algorithm 1 assumes that in Step 1 a so-called -global optimizer, i.e., an iterate fulfilling the condition in Step 1, can be found, for example via a global optimization method, see, e.g., [32] for an overview of existing methods. Step 2 of the algorithm then provides a tool to decide when to increase penalization and when to seek for a better global minimizer. Before we discuss the main convergence property of the algorithm, we want to comment on the second condition in line of Algorithm 1: this condition is based on [18, Equation ], a Hölder-condition for the unpenalized objective function. Since our objective function is quadratic, it is Hölder-continuous with Hölder-exponent equal to . Furthermore, the Hölder-constant that appears in the original formulation of the algorithm in [18, Section 3], can for simplicity be set to since it only influences the convergence speed of the algorithm. Thus, it does not appear in our formulation. We notice that the updating rule in line of Algorithm 1 is tailored for problem (P): the key step in here is choosing a suitable feasible point with respect to which we can build up a neighborhood at minimum distance from . This check is crucial to guarantee convergence of the given algorithmic scheme (see [18, Lemma 1]).
Before we prove a fundamental result in the upcoming Proposition 3.6 that is the nedeed adaptation of [18, Proposition 2], we give a useful definition. Once Proposition 3.6 is proven, one can easily obtain [18, Lemma 1] such that the convergence of Algorithm 1 follows from [18, Theorem 2] and [18, Corollary ].
Definition 3.5**.**
The Chebyshev distance between a point and a closed set is defined as
[TABLE]
Proposition 3.6**.**
Let , and be the linear map and the sets defined in Lemma 2.2. For , where denotes the control part of , let be the set
[TABLE]
Letting and choosing , it follows that for all and
[TABLE]
Furthermore, given a point , then the point minimizes the Chebyshev distance between and the sets with , that is
[TABLE]
Proof 3.7**.**
With the choices of and the first statements are trivial. We furthermore mention that with being the linear map from Lemma 2.2 and the inducing a matrix norm, we have
[TABLE]
*such that a finite can be chosen. *
Now, if there exists a such that , it has to be z{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}=}\bar{z}=[\bar{x}]_{SR}. In this trivial case, we have and the result follows.
For the case that for any , we use a contradictory argument. Therefore, we assume in the following that for all and that there exists a point satisfying
[TABLE]
We can hence find two points and satisfying
[TABLE]
*Equation (14) together with the definition of the Chebyshev distance, the definition in (12), as well as the choice of imply that . Equation (14) and the definition in (12) then furthermore yield *
[TABLE]
We thus obtain
[TABLE]
and equivalently . As a consequence, the set defined in equation (12) together with the definition of the –norm yield
[TABLE]
as well as
[TABLE]
where the equalities stem from the fact that inside (12) defines a unit cube. On the other hand, we obtain from (13) and (14) that such that we conclude from equations (13)-(18) that
[TABLE]
Remembering that , such that \bar{z}_{u}{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}=}\left[\bar{u}\right]_{SR}, and that (follows from the definition of ), we know that for at least one component it holds . Let us now define the set
[TABLE]
If , we have , where denotes the usual rounding to the nearest integer, such that there exists a component satisfying
[TABLE]
thus contradicting (19).
Therefore, we assume that in the following and define the set , with , so that for all and all , i.e., the index set of the largest components of . By the definition of the smart rounding, it is then obvious that for and for .
Now, any can be obtained from by considering any combination of the following operations:
* for one ;* 2. 2.
* for one and for one ;* 3. 3.
* for one and for one .*
Since for all , the first part of any of these operations results in
[TABLE]
In the second operation implies that and and we obtain
[TABLE]
In the third operation implies that but such that
[TABLE]
Taking the whole third operation into account and remembering that as well as the definition of the smart rounding, we can see that
[TABLE]
Forming any from via these operations thus implies that
[TABLE]
and as especially can be obtained from , we have which is a contradiction to (19). Hence, we get that
[TABLE]
*which concludes the proof. *
We end this section with the main convergence property of Algorithm 1 that is reported in the upcoming Proposition 3.8. It shows that Algorithm 1 extends global optimization methods for continuous problems to integer problems.
Proposition 3.8**.**
*Every accumulation point of a sequence of iterates of Algorithm 1 is a global minimizer of (P). *
Proof 3.9**.**
*Using Proposition 3.6, we can easily get [18, Lemma 1] proven. Hence, the statement follows from [18, Theorem 2] and [18, Corollary ]. *
3.2 Development of the improved penalty algorithm (IPA)
We want to stress that the EXP algorithm considered in the previous section needs to calculate a -global optimizer in Step 1 of each iteration. As local minima are introduced around integer points in (Ppen) for sufficiently large values of , finding a -global optimizer requires the use of a global deterministic continuous optimization solver. Thus, the EXP algorithm, albeit providing a theoretical framework for when to increase the amount of penalization and when to search for a better minimizer, might be too costly, especially in a large-scale MIPDECO context.
This is our motivation to drop the requirement for a -global optimizer in Step 1 of Algorithm 1 and compute an iterate that simply reduces the objective function (i.e., ). In order to do so, we employ a probabilistic approach that, in each iteration, aims at improving the current iterate by perturbing it and utilizing this perturbation as initial guess for a tailored local optimization solver (see Section 4.2 for a detailed description of the solver). Do note that this strategy is closely connected to classic basin hopping or iterated local search strategies, see, e.g., [22, 23], for global optimization problems. By combining these two ideas, we end up with Sub-Algorithm 2.a that is then invoked in Step 1 of the novel improved penalty algorithm (IPA), i.e., the combination of the Algorithms 2 & 2.a reported below.
Remark 3.10**.**
*Clearly, there is a trade-off between the two algorithms: while Algorithm 1 guarantees deterministic convergence, it is unable to tackle large-scale problems. This downside is then lifted in Algorithm 2 thanks to the combination of a local solver and a probabilistic global search approach. Here, the probabilistic nature of Algorithm 2 lies in the perturbation operation in line of Algorithm 2.a and we will go into detail in Section 4.1. As a result, no deterministic convergence property is available for the overall IPA. Nevertheless, the framework underlying the EXP algorithm of when to increase the penalization and when to look for a better minimizer still supports the novel Algorithm 2. *
Do note that if the for-loop in Algorithm 2.a reaches the iteration limit (and thus no better iterate was found after p_{\max}{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}\in\mathbb{N}} perturbations), the algorithm terminates with , which was the input iterate. In that case it is x^{n+1}{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}=}x^{n} and the overall Algorithm 2 then terminates. Therefore, the perturbation strategy in Algorithm 2.a together with the choice of give the information at what point no further reduction in the objective function can be found. Algorithm 2.a does not specify a perturbation strategy in line and one can develop a strategy that is beneficial for one’s model problem. We will present our strategy in the upcoming Section 4.1.
While is decreased during Algorithm 2 (and thus the amount of penalization is increased), the concave penalty term (10) grows larger and introduces local minima to the objective function . As is further decreased, the shape of the objective function continues to change such that these local minima then move towards the integer points (follows from the definition of the penalty term). Due to this behavior, the condition in line of Algorithm 2.a is always fulfilled as long as holds in Algorithm 2. Thus, as long as it was in Algorithm 2, the for-loop in Algorithm 2.a terminates after the first iteration and the perturbation loop is not invoked. As a result, we expect Algorithm 2 to have a two-phase behavior: in the first phase, the penalization is increased due to line of Algorithm 2 until a feasible integer iterate is found (due to the nature of the penalty term this has to happen for small enough values of ). Do note that, as long as the current iterate is not too close to an integer, the second condition of line is also fulfilled (due to the shape of the objective function the left hand side is then negative). If an iterate is found (or one is close enough such that the second condition on line is violated), line of Algorithm 2 keeps the amount of penalization such that the shape of the objective function remains the same and a better iterate can only be found via the perturbation strategy inside Algorithm 2.a in Step 1 of Algorithm 2 (after line of Algorithm 2, Algorithm 2.a is called with such that the first iteration of the for loop simply reproduces the local minimum which was the input iterate). Thus, Algorithm 2.a then tries to improve the current iterate by perturbing it and restarting the local solver with this perturbed iterate. This way, one wants to escape bad basins of attraction of and then move towards better local minimizers and eventually the global one.
Finally, we want to mention that a new iterate found by Algorithm 2.a is always feasible so that . Thus, the criterion in line of Algorithm 2 can, in an actual implementation, be replaced by
[TABLE]
with some feasibility tolerance . Thus, it is reasonable to return such that the control of our output iterate is always integer and respects the knapsack constraint.
4 Algorithmic details, local solver, and numerical setup
We begin with a discussion on various details of our implementation of the IPA including the perturbation strategy and the local solver. Afterwards, we shortly introduce two other solution strategies for (P) and discuss the setup for the numerical investigation that will be carried out in Section 5.
4.1 Implementation details of the IPA
We start with the presentation of our perturbation strategy used in Algorithm 2.a. The details are described in Algorithm 2.b and since the algorithm has as an input, this is consequently another input of the overall IPA.
As mentioned in Section 3.2, this perturbation strategy should only be called upon in the later stages of Algorithm 2 where the amount of penalization is significant enough such that the set in Algorithm 2.b is not empty. When Algorithm 2.b is called by Algorithm 2.a inside Algorithm 2, is equal to the current iterate . The algorithm then essentially performs flips to the current control , where a flip is one iteration of the for-loop of Algorithm 2.b, i.e., a large value of is set to a small value and an entry of corresponding to a source that is adjacent to the source corresponding to the large value is set to a large value. By this strategy the resulting perturbation possibly lies outside the current basin of attraction and therefore might be an initial guess for the local solver in Algorithm 2.a resulting in a point with a potentially better function value. It remains to explain what we mean by adjacent in the above context.
Definition 4.1**.**
Given a collection of points and a radius , we define for a point the set of adjacent indices
[TABLE]
Inside Algorithm 2.b, we can thus obtain via Definition 4.1 where we use the centers of our source functions as points. Assuming that they are arranged in a uniform grid, a possible radius might be .
Although the perturbation strategy presented so far depends on the uniform grid of source centers in order to determine the index set , the underlying concept of this flipping does not depend on the chosen modelling. The large component of the control can often be associated to a spatial counterpart denoted, for the purpose of clarity, as here. In our case this is , the center of the Gaussian source function. If the control would for example be modeled via piecewise constant functions (as in [28] or Section 5.2), could be the center of the patch of the subdomain that corresponds to . If the control would be distributed, would be the vertex of the grid that corresponds to . Thus, one would always find a set of points for Definition 4.1 and could then select a proper radius (and of course a suitable norm). With this interpretation, as long as the control can be associated to spatial counterparts of the domain , the presented perturbation strategy can easily be applied to different kinds of controls, models, and domains.
Finally, we found it effective in our experiments to set to a random value in during Algorithm 2.b. Afterwards, we calculate and set to a random value in . This strategy ensures that the perturbed control is still feasible (especially fulfilling the knapsack constraint). Furthermore, this prohibits the perturbed control of having values that are too close to [math] or . By this, is then an initial guess for the local solver in Algorithm 2.a that (possibly) lies outside the current basin of attraction and is at the same time not too close to other local minimizers (at this stage of the IPA there are local minimizers nearby all integer points).
In the remainder of this section, we want to discuss the termination of Algorithm 2.a and thus Algorithm 2. The criterion in Algorithm 2.a (as it is called inside Algorithm 2 with and ) can be numerically challenging in an actual implementation. Although the criterion should be fulfilled when it was in Algorithm 2 as mentioned in Section 3.2, this might not be the case numerically since any local solver used in Algorithm 2.a only computes up to some internal tolerance. Furthermore, if is close to an integer already, we do not want to accidentally fulfill due to numerical effects although [u^{loc}]{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}=}[u^{n}] such that no progress towards a better integer solution would be made. To cover both of these cases in our implementation, we first calculate the two distances
[TABLE]
and replace by the following two criteria and thus return in Algorithm 2.a if one of these is fulfilled.
If and either , , or are fulfilled. 2. 2.
If and , as well as , and additionally are fulfilled.
The first criterion targets the case when numerically (although it was in Algorithm 2) and thus also accepts iterates that are either close to, or presumably in the same basin of attraction as, the previous iterate. We mention that this usually happens during the first phase of the IPA where the amount of penalization is increased (due to ) and is not yet large enough for the local solver to produce near integer solutions fulfilling . As a result it is not necessary to search for better solutions via the perturbation strategy such that this criterion tries to prevent non-productive iterations in Algorithm 2.a. If a feasible iterate was found and the amount of penalization was not increased, the second criterion only accepts better iterates that lie outside the current basin of attraction and thus enforces progress towards a better integer solution and should prevent the algorithm from getting stuck in an unsatisfactory local minimum.
4.2 Implementation of the local solver: an interior point framework for the large-scale setting
We now discuss our implementation of line in Algorithm 2.a, that is the choice of the local solver for finding a solution of (Ppen) for a given . Due to the structure of (Ppen), which was equivalent to (11), we opt for an interior point method (IPM) that is particularly suitable for solving quadratic programming problems and it also allows the use of an efficient preconditioner in the linear algebra phase, see, e.g., [33, 34]. Following [34], we present the derivation of a standard interior point method for the following reformulation of problem (Ppen), that is
[TABLE]
where is a scalar slack variable and the notation has been adapted to distinguish the control and the state . For the sake of generality we include the case when the stiffness matrix is non-symmetric. The main idea of an IPM is the elimination of the inequality constraints on and via the introduction of corresponding logarithmic barrier functions. The Lagrangian associated with the barrier subproblem reads
[TABLE]
where is the Lagrange multiplier (or adjoint variable) associated with the state equation, is the Lagrange multiplier associated with the scalar equation , and is the barrier parameter that controls the relation between the barrier term and the original objective . As the method progresses, is decreased towards zero.
First-order optimality conditions are derived by applying duality theory resulting in a nonlinear system parametrized by as detailed below. Thus, differentiating with respect to the variables , , , , and gives the nonlinear system
[TABLE]
where the Lagrange multipliers , and are defined as
[TABLE]
Furthermore, the bound constraints , , and then enforce the constraints on and .
The crucial step of deriving the IPM is the application of Newton’s method to the above nonlinear system. Letting , , , , , , , and denote the most recent Newton iterates, these are then updated in each iteration by computing the corresponding Newton steps , , , , , , , and through the solution of the following Newton system
[TABLE]
Here, , , and , and are diagonal matrices with the most recent iterates of , , and appearing on their diagonal entries. The matrices and , while being positive definite, are typically very ill-conditioned. Also, due to the term , the block may be indefinite, especially for small values of . Following suggestions in [33, Chapter 19.3] to handle nonconvexities in the objective function by promoting the computation of descent directions, we heuristically keep the diagonal matrix positive definite by setting any negative values to some value . Once the above system is solved, one can compute the steps for the Lagrange multipliers via
[TABLE]
A general IPM implementation only involves one Newton step per iteration. Thus, after choosing suitable step-lengths so that the updated iterates remain feasible, the new iterates can be calculated and the barrier parameter is reduced, thus concluding one iteration of the IPM. Finally, we report the primal and dual feasibilities
[TABLE]
as well as the complementarity gap
[TABLE]
as measuring the change in the norms of , and allows us to monitor the convergence of the entire process.
Clearly, the computational burden of this IPM lies in the solution of the Newton system (22) and our strategy regarding this issue is twofold: on the one hand we employ an inexact Newton-Krylov strategy for the solution of the nonlinear system (20) and on the other hand we design a suitable preconditioner to speed up the convergence of our Krylov method of choice for the Newton system (22). Regarding the inexactness strategy, the idea is to increase the accuracy in the solution of the Newton equation as decreases. This minimizes the occurrence of so-called oversolving in the first interior point steps. Global convergence results to a solution of the first-order optimality conditions for the resulting inexact IPM can be found in [35].
Preconditioning for the interior point method
We will now present our linear algebra strategy for the solution of the Newton system (22), i.e., we choose our Krylov method and design a suitable preconditioner. Investigating the system matrix of the Newton system, we observe that with the choice
[TABLE]
we have to solve a saddle point system As discussed already, the block is kept positive definite throughout the interior point method, so that we can assume that is positive definite.
Such systems are a cornerstone of applied mathematics and appear in many application scenarios, see, e.g., [36, 37]. While the system is symmetric and we could apply minres [38], we here use a nonsymmetric method, namely gmres [39], because we found that a block-triangular preconditioner performs better in our experiments. It would also be possible to use symmetric solvers, which are based on nonstandard inner products, see, e.g., [40, 41]. We here focus on the design of the approximations for the -block and for the Schur-complement
[TABLE]
In our preconditioning approach, we neglect the term and set the preconditioner to as this typically does not result in many additional iterations and we avoid dealing with the ill-conditioning of both and . In our setup here we thus end up with the following approximation
[TABLE]
We close this section with two short remarks.
Remark 4.2**.**
*The purpose of this basic preconditioner is to speed up the solution process of our IPM, but for future research we need to enhance this based on recent progresses in preconditioning for interior point methods, see, e.g., [42, 43, 44]. *
Remark 4.3**.**
*Although this IPM together with the preconditioner are formulated for the penalty formulation (Ppen) that refers to the model problem (1), it is clear that the IPM generalizes to general linear PDE constraints (in fact, Section 5.2 will contain experiments for a convection-diffusion problem resulting in a nonsymmetric stiffness matrix ). Furthermore, the IPM and the preconditioner can be formally adapted to a nonlinear PDE constraint , where is a smooth nonlinear function. One simply has to introduce , the Jacobian of as well as and , the submatrices of the Jacobian such that . We then obtain the IPM for this nonlinear problem by replacing in the Newton system (22) by , by (and thus by ), and by . In the nonlinear case, convergence of the IPM is ensured when embedded in suitable globalization strategies [33]. *
4.3 Simple penalty and branch-and-bound method
We shortly discuss a simple penalty approach and our branch-and-bound solver of choice for the solution of (P) to which we want to compare our IPA in the numerical Section 5.
Starting with the penalty formulation (Ppen), we follow the simple iterative penalization strategy already mentioned in the introduction: in each iteration, use a local solver to determine a solution of (Ppen) which then is the next iterate; decrease the penalty parameter; stop if the control part of the new iterate is integer. This approach leads to the following penalty algorithm, i.e., Algorithm 3.
As already discussed in Section 3.2, we use the criterion instead of to determine whether or not an integer iterate has been found and then return . Algorithm 3 is a simplification of the IPA in several ways: the penalty parameter is reduced in every iteration, a new iterate generated by the local solver is always accepted as such, and the algorithm terminates as soon as an iterate is found. Thus, Algorithm 3 has no theoretical justification, whereas Algorithm 2 utilizes the theoretical framework of the EXP algorithm for the correct selection of the penalty parameter as well as a local iterative search strategy for the computation of the new iterate.
Finally, we choose cplexmiqp the branch-and-bound routine of CPLEX [24] for quadratic mixed integer problems, as our branch-and-bound solver for our numerical comparison in Section 5. We refer the reader to [12] for an elaborate overview of the branch-and-bound framework and simply note that cplexmiqp incorporates many algorithmic features lately developed to improve branch-and-bound performance.
4.4 Numerical setting and parameter choices
We present the setting in which the numerical experiments will be conducted including default parameter choices for the algorithms. If different choices are utilized, it will be mentioned.
We choose as our computational domain. Regarding the Gaussian sources defined in (2), we choose sources with centers being arranged in a uniform grid with step size (resulting in a radius of for Definition 4.1). The height of the sources is and the width is chosen such that every source takes of its center-value at a neighboring center. We mention that this choice of height and width is motivated by [6, Section 4.2]. The PDE (1) is discretized using uniform piecewise linear finite elements with a step size of (unless specified otherwise) resulting in vertices.
Whenever a local solver is required, i.e, in Algorithms 2.a and 3, we use the IPM derived in Section 4.2. The outer interior point iteration is stopped as soon as either or the safeguard is triggered. Furthermore, starting from an initial we decrease by the factor in each outer interior point iteration. The inexactness is implemented by stopping GMRES when the norm of the unpreconditioned relative residual is below . Finally, the diagonal block in the Newton system (22) is kept positive definite by setting any negative values to and the preconditioner proposed at the end of Section 4.2 is applied by performing the Cholesky decomposition of both and once at the beginning of the IPA process.
As initial guess for Algorithms 2 and 3 the solution of (Pcont) obtained by our IPM is used. Do note that this is not necessary since (Ppen) for large enough is usually still a convex problem in the first iteration of these algorithms so that any initial guess would be sufficient. Further default parameters are for both algorithms as well as for Algorithm 3 and for Algorithm 2. The more conservative value of for Algorithm 3 is necessary here, since with being closer to [math] one would risk increasing the amount of penalization too fast and thus possibly ’skipping’ a good local minimum and settling for an unsatisfactory local minimum. Finally, we used the feasibility tolerance .
Regarding cplexmiqp, we use default options except that we set a time limit of hour (unless specified otherwise) and a memory limit of megabytes for the search tree. All experiments were conducted on a PC with 32 GB RAM and a QUAD-Core-Processor INTEL-Core-I7-4770 (4x 3400MHz, 8 MB Cache) utilizing Matlab 2019a via which CPLEX 12.9.0 was accessed.
5 Numerical Experiments
We begin with two different experiments for our Poisson model problem (P) and then shortly discuss a convection-diffusion problem as well as the behaviour of our local solver.
5.1 Poisson model problem
In the first experiment we want to see that the IPA can indeed handle large-scale problems and convince ourselves that cplexmiqp, the branch-and-bound method of CPLEX introduced in Section 4.3, can not handle large-scale problems. In the second experiment we then carry out a detailed comparison of the IPA with the solution strategies presented in Section 4.3. We further mention that two more experiments were conducted that can be found in a previous version of this article111https://arxiv.org/abs/1907.06462v2:
- •
A parameter study for the IPA with respect to and was conducted upon which and have been selected.
- •
The stochastic robustness of the IPA was investigated, i.e., how robust the solution quality and time is with respect to the random choices made. It was found that while different minima may be found by the IPA for the same problem instance, the minima are all of high quality and the difference in solution time is neglectable.
Do note that due to the different implementation languages included in these experiments, the reported computational times only give a qualitative information on the performance of the solvers.
In general, we create an instance of our optimal control problem by generating a desired state that is a solution of (the discretized version of) (1) with active sources in the right-hand side and the centers of these sources are randomly distributed over . The height and width of these sources coincide with the values that were used for the source-grid in Section 4.4. Clearly, the combinatorial complexity of the optimization problem corresponding to such a desired state increases drastically for larger values of . To further illustrate the optimization problem here, Figure 1 exemplarily shows two desired states, one for and one for , where the white stars depict , the centers of the source grid introduced in Section 4.4, and the red stars depict the centers of the active sources in .
First experiment
We want to see that the IPA can handle large-scale problems and cplexmiqp, the branch-and-bound routine of CPLEX, can not. Therefore, we create a problem instance per value of and per step-size of the FEM grid and solve each instance with the IPA, cplexmiqp with a hour time limit, cplexmiqp with a hour time limit, and (for comparison reasons) with the simple penalty approach from Algorithm 3. Regarding the solution quality, the algorithm with the lowest objective function value is indicated with a ’’ in Table 1 (or a ’’ if it was the global minimum) and for each other algorithm the relative error towards this minimum objective function value is then displayed. Furthermore, Table 1 contains the run times in seconds for each algorithm in each instance, where in case of cplexmiqp ’TL’ indicates that the respective time limit was reached.
We observe that for and all algorithms find the global minimum, although we stress that this is only a single problem instance which does not allow for a conclusive comparison with respect to solution quality. A more detailed comparison will be carried out in the next experiment. With an increase in (and thus an increase in the combinatorial complexity of the problem), cplexmiqp, while hitting the prescribed time limit, is still able to provide good solutions, although our IPA is able to at least keep up. Refining the FEM-mesh once and thus moving towards (resulting in instead of ) results in cplexmiqp not being able to handle the problem at all. The time limit is always reached and the algorithm (even given 10 hours time) terminates with a tremendous relative error with respect to the qualitative solutions found by our IPA. The solution found by the IPA is then by construction always better than the solution found by the simple penalty algorithm. One might be tempted to believe that the simple penalty algorithm could also be a viable alternative due to its inherent fast solution time but the next experiment will reveal that the algorithm cannot produce qualitative points in a reliable way.
Second experiment
We carry out a detailed comparison between the IPA, the penalty algorithm in Algorithm 3 and cplexmiqp. In order to do so, we construct a test set of problem instances per value of . We then solve this test set with the algorithms under analysis and compare the results with respect to solution time and quality. For the solution time, we report ’t_av’ the average solution time in seconds and for the solution quality, we choose the following two criteria.
- •
’min_count’: for each desired sate, we check which algorithm achieved the smallest objective function value. This algorithm is then awarded a score. Surely, multiple algorithms can be awarded a score in the same run (when multiple algorithms find the same ’best’ minimum).
- •
’rel_err_av’: for each desired state, we store for each algorithm the relative error between the objective function value achieved by that algorithm and the smallest objective function value in that run (the one that was awarded a ’min_count’-score). Only runs resulting in a non-zero relative error are taken into account when computing this average relative error.
We chose to measure the quality of the algorithms via the described two quantities since, as the centers of the desired states in the test set are randomly distributed over , the global minimum of the optimization problem is not known analytically. Therefore, the ’min_count’-value simply tells us how often an algorithm performed best compared to the other algorithms. The average relative error is an additional measure of quality. The results of this experiment can be found in Table 2.
Starting the discussion with the average time, we observe that cplexmiqp is heavily affected by an increase in while the IPA is only slightly affected and the simple penalty algorithm is by construction the fastest. Moving to the solution quality, we see that cplexmiqp as well as the IPA always find the global minimum for where the simple penalty algorithm only finds the global minimum in cases with an average relative error of in the remaining cases. Increasing (and thus the combinatorial complexity of the problem), we observe that cplexmiqp (especially for ) fails to find the global minimum in the given time. The IPA on the other hand then starts to be the most competitive algorithm in the ’min_count’-sense, i.e., producing the smallest objective function values compared to the other algorithms (do also note the small relative average error of the IPA). Furthermore, we report that for , and there was always one problem instance where cplexmiqp only returned the zero solution (which is feasible but does not make sense from the application point of view). As a result the average relative error is significantly large.
To put the results of this experiment into a better perspective, Figure 2 contains, for each part of the test set, a boxplot related to the objective function of the final solutions attained by each algorithm (i.e. for each value of the test set contains instances, such that for each algorithm a boxplot is created for the objective function values related to the solutions we found). It is important to note that in the top of Figure 2 the outliers of the data sets have been removed for visual clarity whilst in the bottom part of Figure 2 the outliers are contained in the data sets. As a result, the previously described phenomenon becomes clearly visible in the bottom of Figure 2: for , , and the data for cplexmiqp includes an outlier with a significantly larger value such that the remaining box plots are tightly squeezed. Even if those outliers play a role in getting the large average relative errors from Table 2, when taking a look at the boxplots related to the data without outliers, we can easily see that the IPA generally has both a smaller median and a smaller variance for larger .
The results from Figure 2 further strengthen the observation made in Table 2: the objective function values obtained with the points found by the IPA are, on the one hand, clearly better than the ones found by the Penalty algorithm and, on the other hand, either very similar (for and ) or superior (for larger ) to the ones found by cplexmiqp.
Combining the results of this experiment with the results from the first experiment, we can conclude that the IPA can solve large-scale problems, and can, at the same time, compete with cplexmiqp in smaller problem instances. The simple penalty approach is very fast but, as we can see in this experiment, fails to produce solutions of high quality in a reliable fashion.
5.2 Convection-Diffusion model problem
We now consider the original optimal control problem, but governed by the convection-diffusion PDE
[TABLE]
with the wind vector and piecewise constant source functions , that are constant on the subdomains forming a uniform decompostion of into many squares. Here, we use Q1 finite elements, while also employing the Steamline Upwind Petrov-Galerkin (SUPG) [45] upwinding scheme as implemented in the IFISS software package [46] to discretize (23) and build the relevant finite element matrices.
For the resulting discretized optimal control problem, we repeat the second experiment from the previous section, where all settings and parameters are chosen as before. We chose not to include the other experiments to keep the length of this presentation healthy but can report that results similar to the Poisson problem are obtained. The result of the second experiment for this convection-diffusion problem can be seen in Table 3.
Investigating Table 3, we observe that cplexmiqp shows basically the same behaviour as in the Poisson problem: it is always able to solve the problem in the given time for , but then requires much more time and starts to produce unsatisfactory solutions for larger values of . The IPA again succeeds in finding either the global minimum or a reasonable solution in around minutes. The simple penalty approach is again very fast, but also quite unreliable in terms of solution quality.
As in the previous section, Figure 3 contains, for each part of the test set, a boxplot for the objective function related to the final solutions found by each algorithm. While cplexmiqp does not produce any clear outliers for this data set, the results still verify that the IPA is the superior algorithm in this comparison.
We conclude this numerical comparison with a final experiment that shall, on the one hand, highlight the robustness of the optimization results with respect to the FEM mesh and, on the other hand, show the efficiency of our numerical linear algebra. We create one problem instance with active sources and discretize this instance with a decreasing FEM mesh size of . The instance is then solved for each mesh size with the different algorithms from the second experiment and additionally with a version of the IPA that does not embed the preconditioned gmres described in Section 4.2. This is done once for the Poisson model problem and once for the convection-diffusion model problem. Figure 4 shows the final objective function value obtained (top row) and the required computational times (bottom row) for the Poisson problem (left row) and the convection-diffusion problem (right column).
It can be observed that for both model problems, the final objective function values obtained with the various algorithms increasingly agree with each refinement of the FEM mesh. Furthermore, the bottom row of Figure 4 shows the efficiency of our numerical linear algebra since the version of the IPA using only a direct solver requires significantly more time, especially for finer FEM mesh sizes.
5.3 Analysis of the local solver
As already mentioned, one of the main benefits of our IPA is the possibility to exploit the problem features through an efficient implementation of the local solver in line of Algorithm 2.a. We now briefly report on the numerical behaviour of our implementation of the IPM described in Section 4.2. Thus, we create an exemplary problem instance (both for the Poisson and convection-diffusion problem) for , and vary the step size of the FEM grid as . The instance is then solved for each step size with the IPA, where the settings for the IPM and the IPA are as before. Figure 5 shows the number of nonlinear (outer) iterations (NLI) required by the IPM and the average number of preconditioned GMRES iterations (aGMRES) for each value of visited during the IPA. Clearly, multiple values reported for a single value of correspond to active perturbation cycles of Algorithm 2.a.
Firstly, we observe that both values of NLI and aGMRES are higher at the beginning of the IPA process, that is for larger values of . On the other hand, when gets smaller and more perturbation cycles are expected, the number of IPM iterations may get lower and, mostly, the average number of GMRES iterations is reduced. This shows that the IPA together with the IPM efficiently drives the solution of problem (Ppen) to the mixed-integer solution of the original problem. This behaviour is observed in Figure 5 for both problems and the varying mesh sizes.
Secondly, the reported number of average number of GMRES iterations is pretty low and does not depend on the mesh size. This reveals the effectiveness of the proposed preconditioner also in combination with the inexact approach. Remarkably, values of aGMRES are extremely low in the last IPA iterations when is small.
6 Conclusion & Outlook
A standard MIPDECO problem with a linear PDE constraint and a modelled control was presented and discretized. A novel improved penalty algorithm (IPA) was developed, that combines well-known exact penalty approaches with a basin hopping strategy and an updating tool for the penalty parameter. As a result, only a local optimization solver is required and an interior point method (IPM) that is suited for the problem in question was presented. The linear algebra phase of the IPM was handled by a Krylov space method together with an efficient preconditioner. Via this, the IPA was shown to work very well in numerical applications for a Poisson as well as a convection-diffusion problem when compared to a simple penalty approach and cplexmiqp, the branch-and-bound routine of CPLEX. As an outlook, the authors want to mention that the IPA has already been successfully applied to the presented optimal control problem, but governed by the nonlinear PDE
[TABLE]
where again the Gaussian source functions defined in (2) are used and the IPM has been adapted as described in Remark 4.3. As first results, Figure 6 shows the desired state of a random problem instance for , as well as the optimal state found by the IPA and a difference plot. Furthermore, Figure 7 shows the result of the experiment from the previous Section 5.3 conducted for this problem instance.
Overall, these results are already very encouraging and in future work, a comparison of the IPA with state of the art solvers for such nonlinear problems should be carried out (do note that CPLEX cannot deal with nonlinear PDE constraints). Furthermore, future work shall contain the application to MIPDECO problems that are governed by time-dependent PDEs (as these result in a truly large-scale context) as well as the extension from binary to general integer constraints and the development of strategies to efficiently deal with these.
Acknowledgement
D. Garmatter and M. Stoll acknowledge the financial support by the Federal Ministry of Education and Research of Germany (support code 05M18OCB). D. Garmatter, M. Porcelli, and M. Stoll were partially supported by the DAAD-MIUR Joint Mobility Program 2018-2020 (Grant 57396654). The work of M. Porcelli was also partially supported by the National Group of Computing Science (GNCS-INDAM).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Fredi Tröltzsch “Optimal control of partial differential equations: theory, methods, and applications” American Mathematical Soc., 2010
- 2[2] Mirko Hahn, Sven Leyffer and Victor M Zavala “Mixed-Integer PDE-Constrained Optimal Control of Gas Networks” Argonne National Laboratory, MCS Division Preprint ANL/MCS-P 9040-0218, 2017
- 3[3] Marc E Pfetsch et al. “Validation of nominations in gas network optimization: models, methods, and solutions” In Optimization Methods and Software 30.1 Taylor & Francis, 2015, pp. 15–53
- 4[4] S.W. Funke, P.E. Farrell and M.D. Piggott “Tidal turbine array optimisation using the adjoint approach” In Renewable Energy 63 , 2014, pp. 658–673
- 5[5] Peter Y. Zhang, David A. Romero, J. Beck and Cristina H. Amon “Solving wind farm layout optimization with mixed integer programs and constraint programs” In EURO Journal on Computational Optimization 2.3 , 2014, pp. 195–219
- 6[6] Christian Wesselhoeft “Mixed-Integer PDE-Constrained Optimization”, 2017
- 7[7] S. Göttlich, A. Potschka and C. Teuber “A partial outer convexification approach to control transmission lines” In Computational Optimization and Applications 72.2 , 2019, pp. 431–456
- 8[8] Paul Manns and Christian Kirches “Multi-dimensional Sum-Up Rounding for Elliptic Control Systems” In SIAM Journal on Numerical Analysis 58.6 SIAM, 2020, pp. 3427–3447
