원시데이터 수집 시스템
선정목록으로

Parametric Optimization Based MPC for Systems of Systems With Affine Coordination Constraints

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Branimir Novoselnik — Faculty of Electrical Engineering and Computing, University of Zagreb, Zagreb, Croatia
  2. Vedrana Spudic — ABB Corporate Research Center, Baden-Dättwil, Switzerland
  3. Mato Baotić — Faculty of Electrical Engineering and Computing, University of Zagreb, Zagreb, Croatia
  4. Branimir Novoselnik
  5. Vedrana Spudic
  6. Mato Baotić
DOI
10.1109/tac.2019.2912486
저널
IEEE Transactions on Automatic Control
발행년도
2019
발행기관
Institute of Electrical and Electronics Engineers
피인용수
2
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/tac.2019.2912486
토픽
Fuel Cells and Related Materials
OpenAlex ID
W2899926485

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

A large-scale complex system comprising many, often spatially distributed,\ndynamical subsystems with partial autonomy and complex interactions are called\nsystem of systems. This paper describes an efficient algorithm for model\npredictive control of a class of system of systems for which the overall\nobjective function is the sum of convex quadratic cost functions of (locally)\nconstrained linear subsystems that are coupled through a set of (global) linear\nconstraints on the subsystems coordination parameters.\n The proposed control algorithm is based on parametrization and splitting of\nthe underlying optimization problem into one global coordination problem and a\nset of local optimization problems pertaining to individual subsystems. The\nlocal optimization problems are solved off-line, via parametric optimization,\nwhile the coordination problem is solved on-line. The properties of the local\nparametric solutions are utilized to solve the coordination problem very\nefficiently. In particular, it is shown that, for a fixed number of coupling\nconstraints, the coordination problem can be solved with a linear-time\nalgorithm in a finite number of iterations if all subsystems have\none-dimensional coordination parameters.\n

본문 101,680자

본문 펼치기
## Parametric Optimization Based MPC for Systems of Systems with Affine Coordination Constraints Branimir Novoselnik, Vedrana Spudi´c, and Mato Baoti´c _Abstract_ —A large-scale complex system comprising many, often spatially distributed, dynamical subsystems with partial autonomy and complex interactions are called system of systems. This paper describes an efficient algorithm for model predictive control of a class of system of systems for which the overall objective function is the sum of convex quadratic cost functions of (locally) constrained linear subsystems that are coupled through a set of (global) linear constraints on the subsystems coordination parameters. The proposed control algorithm is based on parametrization and splitting of the underlying optimization problem into one global coordination problem and a set of local optimization problems pertaining to individual subsystems. The local optimization problems are solved off-line, via parametric optimization, while the coordination problem is solved on-line. The properties of the local parametric solutions are utilized to solve the coordination problem very efficiently. In particular, it is shown that, for a fixed number of coupling constraints, the coordination problem can be solved with a linear-time algorithm in a finite number of iterations if all subsystems have one-dimensional coordination parameters. _Index_ _Terms_ —Model predictive control, parametric optimization, system of systems, distributed management, coordinated control. I. INTRODUCTION ANY socio–technical systems consist of a large number of partly autonomous subsystems with local selfman# M agement that are coupled by physical interactions via streams of energy (electricity, steam) or material (water, gas, intermediates), forming so-called System of Systems (SoS) [1], [2], [3]. Examples of such systems are the electrical grid, buildings and building complexes, petrochemical and chemical production plants, water distribution systems, and gas networks. There is inherently a conflict between the local optimization performed by individual subsystems and the goals of the overarching SoS or of society as a whole. For example, in the electrical distribution grid, the local consumers want maximum comfort, guaranteed power supply and a low cost of electricity, the grid operator wants to maintain grid stability and high revenues by cheap generation, low transmission losses and high sales prices, and society wants to minimize the carbon footprint. B. Novoselnik and M. Baoti´c are with University of Zagreb, Faculty of Electrical Engineering and Computing, Unska 3, HR-10000 Zagreb, Croatia, e-mail: _{_ branimir.novoselnik, mato.baotic _}_ @fer.hr. V. Spudi´c is with ABB Corporate Research Center, Segelhofstrasse 1k, CH-5404 Baden-D¨attwil, Switzerland, e-mail: vedrana.spudic@ch.abb.com This research has been supported by the European Commission’s FP7-ICT project DYMASOS (contract no. 611281), by the Croatian Science Foundation (contract no. I-3473-2014), and by the European Regional Development Fund under the grant KK.01.1.1.01.0009 (DATACROSS). Constituent subsystems and their interactions, resources and goals clearly need to be coordinated if common (global) desired outcomes are to be achieved. Moreover, the dynamic interaction of locally managed subsystems gives rise to complex dynamic behavior of the overall SoS. Hence, the lack of proper coordination in SoS can easily lead to large-scale disruptions, e.g. black-outs in the electrical grid. The coordination of SoS can often be formulated as a Model Predictive Control (MPC) problem. The main idea of the discrete-time MPC is to forecast system behavior, as a function of control inputs, by using a dynamic model of the system that starts from a known (measured or estimated) initial state. For a chosen cost function on a (finite) prediction horizon and prescribed state/input constraints, the MPC computes the optimal sequence of control inputs. Only the first element of the optimal sequence is applied to the system and the entire procedure is repeated at the next sampling instant, starting from a new initial state. For more details on the theory of MPC the reader is referred to [4]. For practical applicability of the MPC it is vitally important to be able to solve the underlying optimization problem at every time instant, i.e., within the sampling time. There are basically two approaches to ensure this: i) the (off-line) computation of the optimal control law, or ii) the use of fast/tailored (on-line) constrained optimization algorithms. The first approach - the so-called explicit MPC - employs multi-parametric programming to compute the solution to the underlying optimization problem as an explicit function of the initial state. Such a function is precomputed off-line for all possible values of the initial state. Hence, the on-line computation reduces to a simple function evaluation [5]. The main drawback of explicit MPC is that the complexity of the off-line solution can grow exponentially with the number of constraints in the control problem formulation. In practice, this means that explicit MPC is applicable only for systems with small number of states, control inputs and/or constraints. The second approach consists of solving the underlying MPC optimization problem (in most cases a linear or a quadratic program) on-line at every sampling instant. Unfortunately, the general purpose solvers are of limited use when one has to solve computationally demanding optimization problem, as is the case in optimal coordination of complex SoS. The optimization problems arising in MPC algorithms often have specific structure that can be exploited to tailor the optimization algorithm and obtain the solution efficiently. Several methods are proposed in the literature for efficient interior point methods tailored to convex multistage problems arising in MPC applications, c.f. [6], [7], [8], [9]. However, a well-known drawback of these methods is their limited warm start capability. A tailored active set strategy for the fast solution of quadratic programs (QPs) arising in MPC was proposed in [10], [11]. Although this method fully exploits the knowledge of similarity between the solutions of subsequently solved QPs, it does not benefit from the problem sparsity as much as interior point methods do. A dual Newton strategy that builds on ideas of interior point methods but still features warm start capabilities of active set methods is proposed in [12] for solving strictly convex QPs in the MPC setting. Although the aforementioned, specifically tailored MPC algorithms are very efficient, they all assume that the control problem can be solved in a centralized fashion. Unfortunately, this is not true in general, especially in the case of complex SoS. In many instances the central coordinator does not have full information about the local variables and constraints, e.g. because of privacy issues, different ownerships, conflicting economic goals, or management structures. In such cases fully centralized coordination based on the MPC approach is inapplicable [3]. The state-of-the-art approaches found in literature usually deal with this problem by decentralization of the computation - they decompose the original, large optimal control problem into a number of smaller and more tractable subproblems that can be solved in parallel (i.e., independently). The overview of different approaches for distributed MPC based on various distributed optimization methods can be found in survey papers, e.g. [13], [14], [15]. Different techniques can be found in the literature for distributed optimization but most of these methods heavily exploit the concepts of convexity and duality, i.e., the original problem is often decoupled by introducing some dual variables to relax coupling constraints. The problem is then to find the optimal dual variables by maximizing the dual function. Typically, an iterative (global) aggregation/(local) optimization procedure is employed to find the globally optimal solution. The downside of these distributed optimization approaches is that they usually require a great number of calculation/communication iterations to converge to the solution [14], [16]. This paper describes a different, centralized MPC approach that combines both the on-line and off-line computation for coordinated control of SoS. The two main goals of the proposed method are: i) to mimic favorable properties of classical distributed optimization methods so that it is applicable in an SoS framework (e.g. the protection of data privacy of individual subsystems) and (ii) to have an efficient and scalable on-line computation algorithm that can easily be applied to large SoS. A considerable amount of the computational effort is transferred to the off-line procedure thus allowing for more efficient on-line computation. The overall control problem is decomposed into smaller, decoupled local problems related to individual subsystems and one coordination problem that describes the coupling of the subsystems. The contribution of each local subsystem to the overall cost function and its optimal control actions are determined off-line, as the solution to a multi-parametric Quadratic Program (mp-QP). This is also motivated by real-life examples of SoS, e.g. a power system where the grid coordinator needs to coordinate different generators in order to meet the demand for electrical power in the grid, while the generators declare their local behavior to the coordinator with the cost-of-generation functions. The globally optimal coordination parameters are determined online by solving the coordination problem based on the off-line solutions. There is no need for iterative exchange of information between the central coordinator and local subsystems to ensure the convergence to a globally optimal solution - a limited amount of information (parts of local solution obtained off-line) is sent to the coordinator by each subsystem only once per sampling time. Thus, the central coordinator does not need to know everything about local subsystems in order to find the globally optimal solution. The optimal coordination problem has a specific structure that rests on the theoretic properties of multi-parametric solutions of local problems. The problem structure enables design of a linear-time on-line coordination algorithm that finds the solution in a finite number of iterations and therefore, by utilizing efficient primal decomposition of the optimization problem, allows the application of MPC to an SoS with a large number of subsystems. In [17] a similar idea of solving a distributed MPC with a combined explicit-iterative approach is described. Trnka et al. target a class of strictly convex quadratic optimization problems with linear constraints, where complicating (global) variables are coupled by equality constraints. Parametric solutions of local subproblems are used in each iteration to build the gradient and Hessian of a dual function and the global coordination problem (the search for dual function maximum) is solved by a damped Newton method. Although we focus on a less general formulation of the optimization problem where a dimension of global variable at each subsystem is equal to 1 (whereas in [17] an arbitrary dimension is allowed), in our case the global coordination problem exhibits a special structure that we exploit to develop an efficient linear-time algorithm that scales well with the overall size of the SoS. This paper significantly extends on the previous work [18] in which a special case of a single coupling constraint was considered. An algorithm presented here can handle more coupling constraints. Furthermore, an in-depth description of the on-line coordination algorithm that runs in linear time is made, together with benchmark results from a numerical case study. The main contributions of the paper are: _•_ It is shown that, under the considered problem formulation, the global coordination problem can be reformulated as a (multiply constrained) continuous quadratic knapsack problem. _•_ We describe an efficient linear-time algorithm, denoted as the hyperplane searching (HPS) algorithm, that solves the global coordination problem in a finite number of iterations thus allowing for a superior scalability to large-scale SoS. The algorithm generalizes the breakpoint searching (BPS) algorithm to the case of multiple coupling constraints. _•_ The developed control algorithm is tested on a power systems numerical case study that shows favorable computational properties of the proposed approach. Numerical results not only empirically confirm theoretical properties of the on-line algorithm (i.e. its linear-time complexity) but also highlight its practical usefulness - drastic reductions in on-line computation time are achievable (up to two orders of magnitude smaller) compared to the classical centralized MPC. The rest of this paper is organized as follows. In Section II the control problem - MPC for SoS - is defined, while Section III describes the proposed solution method. In Section IV a linear-time algorithm for the coordination problem is described. The efficiency of the proposed approach is tested on a numerical case study of a microgrid system in Section V, followed by the concluding remarks in Section VI. II. PROBLEM SETUP We consider coordinated MPC of an SoS comprising _M_ coupled, locally controllable subsystems described by linear time-invariant (LTI) dynamics _xi_ ( _t_ + 1) = _Aixi_ ( _t_ ) + _Biui_ ( _t_ ) _,_ (1) where _t_ _∈_ Z denotes discrete time, _i_ _∈{_ 1 _, . . ., M_ _}_ is the subsystem index, _xi_ ( _t_ ) _∈_ R <sup>_n_</sup> <sup>x</sup> <sup>_,i_</sup> and _ui_ ( _t_ ) _∈_ R <sup>_n_</sup> <sup>u</sup> <sup>_,i_</sup> denote state and input of _i_ -th subsystem at time _t_, respectively, while _Ai_ and _Bi_ are constant matrices of appropriate dimensions. It is assumed that the control objective for every LTI subsystem (1), when considered in isolation, can be expressed as a local MPC problem with some finite prediction horizon, quadratic cost and linear constraints on the subsystems’ states and inputs. Since every linear MPC problem can be formulated as a multi-parametric Quadratic Program (mp-QP), see [5] for details, in the rest of the paper it is assumed, without loss of generality, that the local control problem has the form of the following mp-QP Note that the mp-QP (2) has two types of parameters: local parameters Φ _i_ and coordination parameters Θ _i_ . The vector of local parameters Φ _i_ includes all data that will be locally available (obtained from measurements, estimations or predictions from historical data; e.g., initial state of the _i_ th subsystem) at the time instant when MPC problem has to be solved. The coordination parameters Θ _i_ describe the contribution of the _i_ -th subsystem to the coupling constraints. The coupling between constituent subsystems in the SoS is described by _m_ linear (in)equalities of the following form _M_ _i_ =1 _a_ <sup>T</sup> _i,j_ ( _≤_ ) = _bj,_ _j_ = 1 _, . . ., m,_ (4) <sup>T</sup> _i,j_ <sup>Θ</sup> <sup>_i_</sup> where _ai,j_ _∈_ R <sup>_n_</sup> <sup>Θ</sup> <sup>_,i_</sup> and _bj_ _∈_ R are constant parameters. These kinds of constraints typically arise in resource allocation problems [19] and distributed production problems [20]. Note that inequality constraints can be treated exactly the same as equality constraints, e.g. by introduction of slack variables. Therefore, in the rest of the paper, without loss of generality, only equality coupling constraints in (4) are considered. _Coordination_ _problem_ The coordinated SoS aims to minimize the cumulative cost of all subsystems while satisfying their local constraints and global coupling constraints, i.e., one needs to solve the following (centralized) coordination problem min _U_ 1 _,...,UM_ Θ1 _,...,_ Θ _M_ _M_ _i_ =1 _Ji_ (Φ _i,_ Θ _i, Ui_ ) _,_ (5a) _i_ <sup>u</sup> <sup>_Ui_</sup> <sup>_≤_</sup> <sup>_C_</sup> _i_ <sup>c</sup> _i_ s.t. _Ci_ <sup>u</sup> _i_ <sup>c</sup> <sup>+</sup> <sup>_C_</sup> _i_ <sup>p</sup> _i_ �T _,_ _i_ = 1 _, . . ., M,_ (5b) �Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> _Ji_ <sup>_⋆_</sup> <sup>min</sup> _Ui_ <sup>_Ji_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i, Ui_</sup> <sup>)</sup> <sup>_,_</sup> (2a) _i_ <sup>_⋆_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>) = min</sup> _Ui_ _M_ _i_ =1 _a_ <sup>T</sup> _i,j_ <sup>Θ</sup> <sup>_i_</sup> <sup>=</sup> <sup>_bj,_</sup> _j_ = 1 _, . . ., m._ (5c) _i_ _i_ <sup>u</sup> <sup>_Ui_</sup> <sup>_≤_</sup> <sup>_C_</sup> _i_ <sup>c</sup> s.t. _Ci_ <sup>u</sup> _i_ <sup>c</sup> <sup>+</sup> <sup>_C_</sup> _i_ <sup>p</sup> _i_ �T _,_ (2b) �Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> with a convex quadratic cost function - - ) := Φ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> _Q_ pp _,i_ Φ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> �T + _Ui_ T <sup>_Q_</sup> <sup>uu</sup> <sup>_,iUi_</sup> + �Φ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> - _Q_ pu _,iUi,_ _i_ _i_ �Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> _Ji_ (Φ _i,_ Θ _i, Ui_ ) := �Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> - _Q_ pp _,i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> �Φ <sup>T</sup> _i_ _i_ - _Q_ pu _,iUi,_ (2c) Note that Θ _i_ is treated as a parameter in the local control problem (2), while in the coordination problem (5) it is one of the optimization variables. The overall control algorithm - MPC for SoS - runs in a receding horizon fashion. The coordination problem (5) is solved at every time sample _t_ for fixed (measured or estimated) values of parameters Φ1( _t_ ) _, . . .,_ Φ _M_ ( _t_ ). Only the first element _u_ <sup>_⋆_</sup> 0 _,i_ <sup>of</sup> <sup>the</sup> <sup>optimizer</sup> <sup>_U_</sup> _i_ <sup>_⋆_</sup> <sup>is</sup> <sup>applied</sup> <sup>to</sup> <sup>_i_</sup> <sup>-th</sup> <sup>subsystem</sup> <sup>using</sup> the control law _ui_ ( _t_ ) = _u_ <sup>_⋆_</sup> 0 _,i_ <sup>,</sup> <sup>_i_</sup> <sup>=</sup> <sup>1</sup> <sup>_, . . ., M_</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>entire</sup> procedure is repeated at the next sampling instant. Although (5) is a quadratic program - the global cost function (5a) is a sum of convex quadratic local cost functions (2c) - that can be solved by a centralized controller, we aim to solve it more efficiently and in a manner that allows for protection of subsystems data. Remark 1. _Note_ _that_ _local_ _control_ _problems_ (2) _are_ _consid-_ _ered to be heterogeneous in terms of prediction horizon length,_ _number_ _of_ _local_ _constraints,_ _number_ _of_ _subsystem_ _states_ _and_ _control_ _inputs._ _For_ _simplicity,_ _however,_ _it_ _is_ _assumed_ _that_ _all_ _local_ _sub-_ _systems_ _have_ _the_ _same_ _sampling_ _time._ _Note_ _that_ _one_ _could_ _also_ _handle_ _the_ _case_ _with_ _different_ _sampling_ _times_ _–_ _provided_ _they_ _are_ _all_ _integer_ _multiples_ _of_ _coordinator’s_ _sampling_ _time_ _Ts._ _In_ _such_ _case_ _subsystems_ _with_ _sampling_ _times_ _larger_ _than_ where _Ui_ _∈_ R <sup>_n_</sup> <sup>U</sup> <sup>_,i_</sup> is the vector of local optimization variables (e.g. control inputs on the prediction horizon), Φ _i_ _∈_ R <sup>_n_</sup> <sup>Φ</sup> <sup>_,i_</sup> and Θ _i_ _∈_ R <sup>_n_</sup> <sup>Θ</sup> <sup>_,i_</sup> are the parameters, _Q_ pp _,i_ = _Q_ <sup>T</sup> pp _,i_ <sup>_⪰_</sup> <sup>0,</sup> <sup>_Q_</sup> <sup>uu</sup> <sup>_,i_</sup> <sup>=</sup> Θ _i_ _∈_ R <sup>_n_</sup> <sup>Θ</sup> <sup>_,i_</sup> are the parameters, _Q_ pp _,i_ = _Q_ <sup>T</sup> pp _,i_ <sup>_⪰_</sup> <sup>0,</sup> <sup>_Q_</sup> <sup>uu</sup> <sup>_,i_</sup> <sup>=</sup> _Q_ <sup>T</sup> uu _,i_ <sup>_≻_</sup> <sup>0</sup> <sup>and</sup> <sup>_Q_</sup> <sup>pu</sup> <sup>_,i_</sup> <sup>are</sup> <sup>suitably</sup> <sup>sized</sup> <sup>cost</sup> <sup>matrices,</sup> <sup>while</sup> _Ci_ <sup>u,</sup> <sup>_C_</sup> _i_ <sup>c</sup> <sup>and</sup> <sup>_C_</sup> _i_ <sup>p</sup> <sup>are</sup> <sup>suitably</sup> <sup>sized</sup> <sup>constraint</sup> <sup>matrices.</sup> <sup>The</sup> properties of the optimizer _Ui_ <sup>_⋆_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>value</sup> <sup>function</sup> _Ji_ <sup>_⋆_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>)</sup> <sup>are</sup> <sup>summarized</sup> <sup>in</sup> <sup>the</sup> <sup>following</sup> <sup>theorem.</sup> Theorem 1 (see [5]) . _Consider_ _the_ _mp-QP_ (2) _._ _The_ _set_ _of_ _feasible_ _parameters_ _i_ <sup>c</sup> <sup>and</sup> <sup>_C_</sup> _i_ <sup>p</sup> _i_ <sup>u,</sup> <sup>_C_</sup> _i_ <sup>c</sup> _i_ <sup>_⋆_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>)</sup> <sup>are</sup> <sup>summarized</sup> <sup>in</sup> <sup>the</sup> <sup>following</sup> <sup>theorem.</sup> _i_ _i_ <sup>c</sup> <sup>+</sup> <sup>_C_</sup> _i_ <sup>p</sup> _i_ _Pi_ := ��Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> �T _| ∃Ui_ : _Ci_ u <sup>_Ui_</sup> <sup>_≤_</sup> <sup>_C_</sup> _i_ <sup>c</sup> _i_ �T <sup>�</sup> (3) �Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> _is a polyhedral set, the value function Ji_ <sup>_⋆_</sup> _is a polyhedral set, the value function Ji_ <sup>_⋆_</sup> <sup>:</sup> <sup>_Pi_</sup> <sup>_→_</sup> <sup>R</sup> <sup>_is a convex_</sup> _and_ _continuous_ _piecewise_ _quadratic_ _function_ _on_ _polyhedra_ _(PPWQ),_ _and_ _the_ _optimizer_ _Ui_ <sup>_⋆_</sup> <sup>:</sup> <sup>_Pi_</sup> <sup>_→_</sup> <sup>R</sup> <sup>_n_</sup> <sup>U</sup> <sup>_,i_</sup> <sup>_is_</sup> <sup>_a_</sup> <sup>_continuous_</sup> _(PPWQ),_ _and_ _the_ _optimizer_ _Ui_ <sup>_⋆_</sup> <sup>:</sup> <sup>_Pi_</sup> <sup>_→_</sup> <sup>R</sup> <sup>_n_</sup> <sup>U</sup> <sup>_,i_</sup> <sup>_is_</sup> <sup>_a_</sup> <sup>_continuous_</sup> _piecewise_ _affine_ _function_ _on_ _polyhedra_ _(PPWA)._ _Ts_ _would_ _also_ _have_ _to_ _provide_ _a_ _prediction_ _of_ _their_ _behavior_ _between_ _their_ _respective_ _samples._ Remark 2. _The_ _dynamic_ _optimal_ _dispatch_ _problem_ _in_ _electri-_ _cal_ _grid_ _operation_ _and_ _control_ _[20]_ _can_ _be_ _formulated_ _as_ (5) _._ _In that case M_ _subsystems are dispatchable generators, where_ _Ji_ (Φ _i,_ Θ _i, Ui_ ) _is_ _the_ _cost_ _of_ _power_ _generation,_ Φ _i_ _is_ _initial_ _state_ _(_ Φ _i_ ( _t_ ) = _xi_ ( _t_ ) _),_ _Ui_ _is_ _the_ _vector_ _of_ _control_ _inputs_ _on_ _the_ _prediction_ _horizon,_ _and_ Θ _i_ _is_ _the_ _desired_ _generated_ _electrical_ _power in steady state. The goal is to minimize the total cost of_ _generation_ (5a) _, while satisfying local constraints pertaining to_ _individual_ _generators_ (5b) _as_ _well_ _as_ _power_ _balance_ _coupling_ _constraints_ (5c) _induced_ _by_ _the_ _grid_ _itself._ _Dimension_ _of_ _the_ _coordination_ _parameter_ If the coordination parameter Θ _i_ is allowed to have an arbitrary dimension, practically any control problem based on model predictive control of linear(ized) SoS with quadratic cost would be covered by this problem setup. When _n_ Θ _,i_ _>_ 1 an iterative approach outlined in [21] can be used to solve the coordination problem. Naturally, larger coordination parameters render more complex coordination problems and as the parameter size increases, this approach is expected to be less efficient. In this paper, however, we are focused on the case when _n_ Θ _,i_ = 1 because in this case a very efficient on-line algorithm that runs in linear time and retrieves the globally optimal solution of (5) in a finite number of iterations can be constructed. The requirement that the dimension of the coordination parameter is equal to one is somewhat restrictive in terms of applicability to a general class of SoS, e.g. dynamically coupled systems. However, it allows very efficient solution methods. In the example of electrical grid from Remark 2, the subsystems were coupled by flows of only one main product Θ _i_ - electrical power. One could, in principle, introduce multiple secondary products to the coupling constraints (4) if the secondary products were affine functions of the main product, i.e. the coupling constraints (4) could still be expressed in terms of Θ _i_ . One such example is the network of combined heat and power generators that can produce both the electrical power (main product) and heat (secondary product) from some primary energy source (e.g. natural gas). This example is further described in Sec. V. III. SOLUTION METHOD Since (5) is a convex optimization problem it can be restated as follows and apply _ui_ ( _t_ ) = _u_ <sup>_⋆_</sup> 0 and apply _ui_ ( _t_ ) = _u_ <sup>_⋆_</sup> 0 _,i_ <sup>as</sup> <sup>a</sup> <sup>control</sup> <sup>input</sup> <sup>to</sup> <sup>the</sup> <sup>_i_</sup> <sup>-</sup> th subsystem. Note that _u_ <sup>_⋆_</sup> 0 _,i_ <sup>is</sup> <sup>either</sup> <sup>contained</sup> <sup>in</sup> <sup>_U_</sup> _i_ <sup>_⋆_</sup> problem (2) data/variables, but it has no knowledge about other subsystems. _•_ The _central_ _coordinator_, which sits at the top of the controller hierarchy, is a centralized computational unit responsible for solving the coordination problem. It can communicate with all local controllers, but it does not have direct access to any of the subsystems. The central coordinator has full knowledge of the coupling constraints, but the knowledge of the local control problems is limited to the parts which the local controllers are willing to share. With the hierarchical structure in Fig. 1 in mind, the method proposed in this paper for MPC of SoS combines off-line and on-line computation phases. Firstly, in the off-line phase, the local controllers solve their local control problems (2) parametrically, to obtain the optimizer _Ui_ <sup>_⋆_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>)</sup> <sup>and</sup> <sup>the</sup> value function _Ji_ <sup>_⋆_</sup> <sup>(Φ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>) as closed-form functions, which can</sup> be readily done, e.g. by solving the corresponding mp-QP with the MPT toolbox [22]. In the on-line phase, at every time sample _t_, the computation is done in the following steps: 1) _Local_ _evaluation_ : For all _i_ _∈{_ 1 _, . . ., M_ _}_, obtain measurement/estimation of local parameters Φ <sup>ˆ</sup> _i_ and evaluate the local control problem solution for it _U_ - _i_ (Θ _i_ ) := _Ui_ <sup>_⋆_</sup> <sup>(ˆΦ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> _U_ - _i_ : _Ii_ _→_ R <sup>_n_</sup> <sup>U</sup> <sup>_,i_</sup> _,_ (7a) _J_ - _i_ (Θ _i_ ) := _Ji_ <sup>_⋆_</sup> <sup>(ˆΦ</sup> <sup>_i,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> _J_ - _i_ : _Ii_ _→_ R _,_ (7b) where _Ii_ is an interval in R, obtained by slicing _Pi_ with - Φ _i_ = Φ <sup>ˆ</sup> _i_, i.e., _Ii_ = Θ _i_ _|_ [Φ <sup>ˆ</sup> <sup>T</sup> _i_ <sup>_,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>]T</sup> <sup>_∈Pi_</sup> . �Θ _i_ _|_ [Φ <sup>ˆ</sup> <sup>T</sup> _i_ - Φ _i_ = Φ <sup>ˆ</sup> _i_, i.e., _Ii_ = Θ _i_ _|_ [Φ <sup>ˆ</sup> <sup>T</sup> _i_ <sup>_,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>]T</sup> <sup>_∈Pi_</sup> . 2) _Solve the coordination problem_ : Given the evaluated local value functions (7), solve the coordination problem (5) reformulated in the following equivalent form <sup>T</sup> _i_ <sup>_,_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>]T</sup> <sup>_∈Pi_</sup> min Θ1 _,...,_ Θ _M_ _M_ _i_ =1 _J_ - _i_ (Θ _i_ ) _,_ (8a) s.t. Θ _i_ _∈Ii,_ _i_ = 1 _, . . ., M,_ (8b) _M_ _i_ =1 _ai,j_ Θ _i_ = _bj,_ _j_ = 1 _, . . ., m,_ (8c) to obtain the optimal value of coordination parameters Θ <sup>_⋆_</sup> _i_ <sup>,</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_, . . ., M_</sup> <sup>.</sup> 3) _Local_ _evaluation_ : For all _i_ _∈{_ 1 _, . . ., M_ _}_, evaluate the optimal control input _Ui_ <sup>_⋆_</sup> _i_ <sup>_⋆_</sup> <sup>=</sup> <sup>_U_</sup> <sup>�</sup> <sup>_i_</sup> <sup>(Θ</sup> _i_ <sup>_⋆_</sup> _i_ <sup>_⋆_</sup> <sup>)</sup> <sup>_._</sup> (9) �min _Ji_ (Φ _i,_ Θ _i, Ui_ ) _Ui_ min Θ1 _,...,_ Θ _M_ s.t. _M_ _i_ =1 _M_ _i_ =1 _a_ <sup>T</sup> _i,j_ <sup>Θ</sup> <sup>_i_</sup> <sup>=</sup> <sup>_bj,_</sup> _j_ = 1 _, . . ., m._ _i_ s.t. _Ci_ <sup>u</sup> _i_ <sup>u</sup> <sup>_Ui_</sup> <sup>_≤_</sup> <sup>_C_</sup> _i_ <sup>c</sup> _i_ <sup>c</sup> <sup>+</sup> <sup>_C_</sup> _i_ <sup>p</sup> _i_ �T (6) �Φ <sup>T</sup> _i_ <sup>T</sup> _i_ <sup>Θ</sup> _i_ <sup>T</sup> or can be straightforwardly computed from Θ <sup>_⋆_</sup> _i_ <sup>and</sup> <sup>_U_</sup> _i_ <sup>_⋆_</sup> <sup>.</sup> The overview of the on-line steps are illustrated in Fig. 1. The local evaluations are performed in parallel on the local controllers, while the coordination problem is solved by the central coordinator. Notice the flow of information: the local controllers send the description of the value function _J_ - _i_ : _Ii_ _→_ R (up to 3 _n_ r _,i_ +1 numbers, where _n_ r _,i_ is the number of critical regions in the off-line solution of the _i_ -th subsystem) to the central coordinator, while the central coordinator returns the value of the optimal coordination parameter Θ <sup>_⋆_</sup> _i_ <sup>(only</sup> <sup>one</sup> th subsystem. Note that _u_ <sup>_⋆_</sup> 0 _,i_ <sup>is</sup> <sup>either</sup> <sup>contained</sup> <sup>in</sup> <sup>_U_</sup> _i_ <sup>_⋆_</sup> or can be straightforwardly computed from Θ <sup>_⋆_</sup> _i_ <sup>and</sup> <sup>_U_</sup> _i_ <sup>_⋆_</sup> <sup>.</sup> <sup>_⋆_</sup> _i_ <sup>and</sup> <sup>_U_</sup> _i_ <sup>_⋆_</sup> From (6) it is clear that the coordination of SoS, i.e., solution to (5), can be achieved with a hierarchically structured controller, illustrated in Fig. 1, with two levels of control: _•_ A set of _local_ _controllers_ assigned to each subsystem at the bottom layer of the control hierarchy. Each localized computational unit has full knowledge of the local control _J_ - _i_ : _Ii_ _→_ R (up to 3 _n_ r _,i_ +1 numbers, where _n_ r _,i_ is the number of critical regions in the off-line solution of the _i_ -th subsystem) to the central coordinator, while the central coordinator returns the value of the optimal coordination parameter Θ <sup>_⋆_</sup> _i_ <sup>(only</sup> <sup>one</sup> Fig. 1: The hierarchical controller structure for coordination of SoS. Red arrows indicate communication links and blue arrows indicate the coupling between individual subsystems. number per subsystem). We point out that 3 _n_ r _,i_ + 1 is the size of _J_ <sup>�</sup> _i_ in the worst-case scenario. In practice, the number of intervals in _J_ <sup>�</sup> _i_ is expected to be much lower than the total number of regions _n_ r _,i_ in the local parametric solution since _J_ <sup>�</sup> _i_ is just a slice of the entire _Ji_ <sup>_⋆_</sup> <sup>with</sup> <sup>fixed</sup> <sup>local</sup> <sup>parameters</sup> <sup>ˆΦ</sup> <sup>_i_</sup> <sup>.</sup> This exchange of information is performed only once per time sample. Hence, there is no need for iterative communication between the central coordinator and local controllers in order to reach the global optimum, like with most of classical distributed optimization techniques which usually need a large number of such iterations (see e.g. [23]). Please note that our total communication effort (the amount of data transferred) can generally be as good (or bad) as other distributed optimization methods, if the number of intervals in the description of _J_ <sup>�</sup> _i_ is excessively high. However, we point out that this was not the case in our case study where only a small amount of data was transferred in each iteration. Any further analysis of the communication effort is out of scope of this paper. The solution obtained in the on-line steps outlined above is globally optimal and it is exactly the same as the solution that would be obtained by solving (5). Moreover, notice that the local controllers share only limited information with the central coordinator. Potentially confidential data like subsystem matrices, constraints and cost functions are masked behind evaluated functions (7b) which are scalar piecewise quadratic functions defined on intervals _Ii_ . The local computation boils down to evaluation of PPWA and PPWQ functions, a relatively simple task that can be performed efficiently and thus introduces a negligible computational overhead. A real computational burden lies in solving (8) so an efficient algorithm for (8) is needed. IV. EFFICIENT COORDINATION ALGORITHM _A._ _Reformulation_ _of_ _the_ _coordination_ _problem_ Note that _J_ <sup>�</sup> _i_ defined in (7b) is a scalar convex piecewise quadratic function defined on a closed interval _Ii_ _⊂_ R, i.e., _J_ - _i_ (Θ _i_ ) = <sup><u>1</u></sup> 2 <sup>_hi,r_</sup> <sup>Θ</sup> _i_ <sup>2</sup> <sup>+</sup> <sup>_fi,r_</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>+</sup> <sup>_gi,r_</sup> <sup>if</sup> <sup>Θ</sup> <sup>_i_</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_Ii,r−_</sup> <sup>1</sup> <sup>_, Ii,r_</sup> <sup>]</sup> <sup>_,_</sup> (10a) where _Ni_ is the number of subintervals in partition of _Ii_, scalars _hi,r_, _fi,r_ and _gi,r_ are parameters of the quadratic function in _r_ -th subinterval, while _Ii,r_ _∈_ R are the endpoints of those subintervals, _r_ = 1 _, . . ., Ni_, _i_ = 1 _, . . ., M_ . Consequently, the cost function of (8) is a PPWQ function defined on a Cartesian product of intervals, i.e. on hyperrectangles in R <sup>_M_</sup> . The optimization problem (8) is historically known as a monotropic piecewise quadratic program (PQP) (cf. [24], [25], [26]). PQP is found in many practical problems, especially those involving network structures, variable costs, stochastic factors, soft constraints but it can also arise as a subproblem in solving more complex mathematical programs [25]. In [27] an iterative simplex-based algorithm that solves PQP directly has been developed. In our work we pursue a different indirect approach. As is shown in Appendix, the optimization problem (8) can be reformulated as a convex separable quadratic program with box constraints and coupling equality constraints that has the following general form min _x_ min _x_ 1 _,...,xn_ - _n_ _i_ =1 <u>12</u> <sup>_dix_</sup> _i_ <sup>2</sup> <sup>_−_</sup> <sup>_aixi,_</sup> (11a) s.t. _li_ _≤_ _xi_ _≤_ _ui,_ _i_ = 1 _, . . ., n,_ (11b) _Bx_ = _c,_ (11c) where _x_ = [ _x_ 1 _, . . ., xn_ ] <sup>T</sup> _∈_ R <sup>_n_</sup> is the optimization variable, while _d_ = [ _d_ 1 _, . . ., dn_ ] <sup>T</sup> _∈_ R <sup>_n_</sup>, _di_ _≥_ 0, _a_ = [ _a_ 1 _, . . ., an_ ] <sup>T</sup> _∈_ R <sup>_n_</sup>, _l_ = [ _l_ 1 _, . . ., ln_ ] <sup>T</sup> _∈_ R <sup>_n_</sup>, _u_ = [ _u_ 1 _, . . ., un_ ] <sup>T</sup> _∈_ R <sup>_n_</sup>, _li_ _≤_ _ui_, _B_ = [ _B_ 1 _, . . ., Bn_ ] _∈_ R <sup>_m×n_</sup>, and _c_ _∈_ R <sup>_m_</sup> are (known) parameters, with _m_ _∈_ N being the number of coupling constraints in (11c). The total number of variables _n_ in (11) is equal to <sup>�</sup> _i_ <sup>_M_</sup> =1 <sup>_Ni_</sup> <sup>(see</sup> <sup>Appendix</sup> <sup>for</sup> <sup>details).</sup> Remark 3. _In_ _literature_ _problem_ (11) _is_ _called_ _a_ continuous quadratic knapsack problem _(CQKP)_ _when_ _m_ = 1 _(single_ _coupling_ _constraints),_ _and_ _a_ multiply constrained continuous quadratic knapsack problem _(MCQKP)_ _otherwise_ _[28]._ _B._ _Single_ _coupling_ _constraint_ There are two very efficient methods for solving (11) when _m_ = 1 known in literature: the breakpoint searching (BPS) algorithm [29], [30] and the variable fixing (VF) algorithm [31]. The BPS algorithm solves (11) in _O_ (log _n_ ) iterations in time _O_ ( _n_ ), but it heavily depends on an efficient implementation of median searching algorithm. The VF algorithm has simpler implementation since it uses only elementary algebraic operations. On average the VF algorithm requires _O_ ( _n_ ) iterations and the worst-case performance is _O_ ( _n_ <sup>2</sup> ). In practice both algorithms have similar average run times [31]. The focus in the rest of the paper is on the BPS algorithm since it can be nicely generalized to handle the case _m >_ 1. For _m_ = 1 the problem (11) can be written compactly as 21 <sup>_x_</sup> <sup>T</sup> <sup>_Dx −_</sup> <sup>_a_</sup> <sup>T</sup> <sup>_x_</sup> (12a) _Ii_ = _Ni_ _r_ =1 _{_ Θ _i_ _| Ii,r−_ 1 _≤_ Θ _i_ _≤_ _Ii,r}_ = [ _Ii,_ 0 _, Ii,Ni_ ] _,_ (10b) s _._ t _._ _l ≤_ _x ≤_ _u,_ (12b) _b_ <sup>T</sup> _x_ = _c,_ (12c) where _D_ = diag ( _d_ ), _b_ = [ _b_ 1 _, . . ., bn_ ] <sup>T</sup> _∈_ R <sup>_n_</sup>, _c_ _∈_ R. Let _x_ <sup>_∗_</sup> _∈_ R <sup>_n_</sup> denote a minimizer to (12). Next we give a detailed description of the known BPS algorithm [29], [30] for solving (12), with an extension (which, to the best of our knowledge, is not available in the literature) to handle the cases when some _di_ = 0. For simplicity, in the rest of this subsection the following assumption holds. Assumption 1. _Problem_ (12) _is_ _feasible_ _and_ _b >_ 0 _._ Note that Assumption 1 is non-restrictive. If some _bi_ = 0 then _xi_ does not contribute to the coupling constraint (12c) and _x_ <sup>_∗_</sup> _i_ <sup>can</sup> <sup>be</sup> <sup>easily</sup> <sup>computed</sup> <sup>(e.g.,</sup> <sup>_x_</sup> _i_ <sup>_∗_</sup> <sup>=</sup> <sup>median</sup> <sup>_{li, ai/di, ui}_</sup> if _di_ _>_ 0) thus reducing dimension of the problem to _n_ _−_ 1. If some _bi_ _<_ 0, one can use variable substitution _x_ ˜ _i_ = _−xi_ (and solve the new problem for which <sup>˜</sup> _bi_ _>_ 0). Finally, for _b_ _>_ 0, the problem (12) is feasible if and only if _b_ <sup>T</sup> _l ≤_ _c ≤_ _b_ <sup>T</sup> _u_ . The Lagrangian relaxation of (12) is and evaluate _xi_ ( _λ_ ), _∀i_ _∈I_, depending on which of the following conditions is met: i) _L_ <sup>¯</sup> _≤_ _c_ _−_ _s_ _≤_ _U_ <sup>¯</sup> . The optimum has been found, i.e., _λ_ _∈_ Λ <sup>_∗_</sup> . With a straightforward inspection, using (20), one can confirm that the choice _xi_ ( _λ_ ) = _li_ + <sup>_<u>c−</u>_</sup> _U_ <u>¯</u> <sup>_<u>s</u>_</sup> _−_ <sup>_<u>−</u>_</sup> _L_ <u>¯</u> <sup>_<u>L</u>_</sup> <sup>¯</sup> <sup>(</sup> <sup>_u_</sup> _i_ <sup>_−_</sup> <sup>_l_</sup> _i_ <sup>)</sup> <sup>_,_</sup> <sup>_∀i ∈I,_</sup> (21) satisfies the coupling constraint _g_ ( _λ_ ) = _c_ . ii) _U_ <sup>¯</sup> _< c −_ _s_ . The optimum has not been found, _g_ ( _λ_ ) _< c_ . _xi_ ( _λ_ ) = _ui,_ _∀i ∈I._ (22) iii) _L > c_ <sup>¯</sup> _−_ _s_ . The optimum has not been found, _g_ ( _λ_ ) _> c_ . _xi_ ( _λ_ ) = _li,_ _∀i ∈I._ (23) From (17)–(23) it follows that _g_ ( _λ_ ) is a piecewise affine, non-increasing function of _λ_ that is either continuous (if all _di_ _>_ 0) or has a finite number of discontinuities (if some _di_ = 0), see Fig. 2 for illustration. Clearly, _g_ ( _λ_ ) _>_ _c_ if and only if _λ < λ_ <sup>_⋆_</sup> L <sup>and</sup> <sup>_g_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_< c_</sup> <sup>if and only if</sup> <sup>_λ > λ_</sup> U <sup>_⋆_</sup> <sup>. In general,</sup> _g_ ( _λ_ ) has 2 _n_ breakpoints _φ_ ( _λ_ ) := min _x_ 21 <sup>_x_</sup> <sup>T</sup> <sup>_Dx −_</sup> <sup>_a_</sup> <sup>T</sup> <sup>_x_</sup> <sup>+</sup> <sup>_λ_</sup> <sup>(</sup> <sup>_b_</sup> <sup>T</sup> <sup>_x −_</sup> <sup>_c_</sup> <sup>)</sup> (13a) s _._ t _._ _l ≤_ _x ≤_ _u,_ (13b) where _λ ∈_ R is a multiplier for the equality constraint (12c). It is well known that _φ_ ( _λ_ ) is concave and that maximizing _φ_ ( _λ_ ) is equivalent to solving (12) [32]. For any given _λ_ it is easy to evaluate _φ_ ( _λ_ ) because it has a separable structure _φ_ ( _λ_ ) = _φ_ 1( _λ_ ) + _. . ._ + _φn_ ( _λ_ ) _−_ _λc,_ (14) <sup>l</sup> _i_ <sup>:=</sup> <sup>_<u>ai −</u>_</sup> <sup>_<u>lidi</u>_</sup> <sup>u</sup> _i_ <sup>:=</sup> <sup>_<u>ai −</u>_</sup> <sup>_<u>uidi</u>_</sup> _bi_ _λ_ <sup>l</sup> _bi_ _,_ _λ_ <sup>u</sup> _i_ _,_ _i_ = 1 _, . . ., n._ (24) at which it changes slope or makes a jump. Note that _λ_ <sup>u</sup> _i_ _i_ <sup>_≤_</sup> <sup>_λ_</sup> _i_ <sup>l</sup> since _li_ _≤_ _ui_ and _bi_ _>_ 0. If _di_ = 0 then _λ_ <sup>l</sup> _i_ <sup>=</sup> <sup>_λ_</sup> <sup>u</sup> _i_ <sup>=</sup> <sup>_ai/bi_</sup> <sup>.</sup> <sup>l</sup> _i_ <sup>=</sup> <sup>_λ_</sup> <sup>u</sup> _i_ <sup>u</sup> _i_ <sup>_≤_</sup> <sup>_λ_</sup> _i_ <sup>l</sup> <sup>u</sup> _i_ <sup>=</sup> <sup>_ai/bi_</sup> <sup>.</sup> <u>Algorithm</u> <u>1</u> <u>Breakpoint</u> <u>searching</u> <u>algorithm,</u> <u>cf.</u> <u>[30]</u> Input: Parameters _l_, _u_, _d_, _a_, _b_, _c_ of (12) Output: _x_ <sup>_⋆_</sup> = [ _x_ <sup>_⋆_</sup> 1 <sup>_, . . ., x_</sup> _n_ <sup>_⋆_</sup> <sup>]T</sup> _φi_ ( _λ_ ) := min _xi_ - <u>12</u> <sup>_dix_</sup> _i_ <sup>2</sup> <sup>+ (</sup> <sup>_λbi −_</sup> <sup>_ai_</sup> <sup>)</sup> <sup>_xi_</sup> <sup>:</sup> <sup>_li_</sup> <sup>_≤_</sup> <sup>_xi_</sup> <sup>_≤_</sup> <sup>_ui_</sup> - _._ (15) Let _xi_ ( _λ_ ), _i_ = 1 _, . . ., n_, denote a minimizer to (15), then solving (12) amounts to finding a multiplier _λ_ <sup>_∗_</sup> in the optimal dual set, [30], 1: procedure BPS( _l_, _u_, _d_, _a_, _b_, _c_ ) 2: _L_ _←{λ_ <sup>l</sup> 1 <sup>_, λ_</sup> <sup>u</sup> 1 <sup>_, . . ., λ_</sup> _n_ <sup>l</sup> <sup>_, λ_</sup> <sup>u</sup> _n_ <sup>_}_</sup> <sup>,</sup> <sup>l</sup> _i_ <sup>and</sup> <sup>_λ_</sup> <sup>u</sup> _i_ <sup>,</sup> <sup>l</sup> 1 <sup>_, λ_</sup> <sup>u</sup> 1 <sup>_, . . ., λ_</sup> _n_ <sup>l</sup> <sup>_, λ_</sup> <sup>u</sup> _n_ <sup>u</sup> _n_ <sup>_}_</sup> <sup>,</sup> <sup>where</sup> <sup>_λ_</sup> <sup>l</sup> _i_ Λ <sup>_⋆_</sup> := - _λ_ : _b_ <sup>T</sup> _x_ ( _λ_ ) = _c_ - = [ _λ_ <sup>_⋆_</sup> L <sup>_⋆_</sup> L <sup>_, λ_</sup> U <sup>_⋆_</sup> U <sup>_⋆_</sup> <sup>]</sup> <sup>_⊂_</sup> <sup>R</sup> <sup>_._</sup> (16) 2: _L_ _←{λ_ <sup>l</sup> 1 <sup>_, λ_</sup> <sup>u</sup> 1 <sup>_, . . ., λ_</sup> _n_ <sup>l</sup> <sup>_, λ_</sup> <sup>u</sup> _n_ <sup>_}_</sup> <sup>,</sup> <sup>where</sup> <sup>_λ_</sup> <sup>l</sup> _i_ <sup>and</sup> <sup>_λ_</sup> <sup>u</sup> _i_ <sup>,</sup> with _i_ = 1 _, . . ., n_, are computed as in (24) 3: _λ_ L _←_ min _L_, _λ_ U _←_ max _L_ 4: while true do 5: _λ_ ˆ _←_ median _{L}_ 6: if _g_ ( _λ_ <sup>ˆ</sup> ) = _c_ then 7: _λ_ <sup>_⋆_</sup> _←_ _λ_ <sup>ˆ</sup>, break 8: else if _g_ ( _λ_ <sup>ˆ</sup> ) _> c_ then The BPS algorithm does this by updating _λ_ to a new value if _b_ <sup>T</sup> _x_ ( _λ_ ) _̸_ = _c_, while simultaneously improving the (over)estimate of Λ <sup>_∗_</sup> . To help describe the BPS algorithm it is useful to define a scalar function _g_ ( _λ_ ) := _b_ <sup>T</sup> _x_ ( _λ_ ) _,_ (17) which can be readily evaluated for any _λ_ since explicit expressions for _xi_ ( _λ_ ) are available: 9: _λ_ L _←_ _λ_ <sup>ˆ</sup>, _L ←_ - _λ ∈L_ _|_ _λ >_ _λ_ <sup>ˆ</sup> _xi_ ( _λ_ ) =   _li_ if _di_ = 0 _∧_ _λbi_ _> ai,_ _∈_ [ _li, ui_ ] if _di_ = 0 _∧_ _λbi_ = _ai,_ _ui_ if _di_ = 0 _∧_ _λbi_ _< ai,_ median _{li,_ <sup>_<u>ai−</u>_</sup> _di_ <sup>_<u>λbi</u>_</sup> _, ui}_ if _di_ _>_ 0 _._  <sup>_<u>−</u>_</sup> _di_ <sup>_<u>λbi</u>_</sup> _, ui}_ if _di_ _>_ 0 _._ (18) The situation when ( _di_ = 0) _∧_ ( _λbi_ = _ai_ ) needs to be treated carefully since in that case _xi_ ( _λ_ ) is not uniquely defined by (18). To resolve this ambiguity one can find all such indices _I_ := _{i_ : _di_ = 0 _,_ _λbi_ = _ai},_ (19) then compute 10: else if _g_ ( _λ_ <sup>ˆ</sup> ) _< c_ then 11: _λ_ U _←_ _λ_ <sup>ˆ</sup>, _L ←{λ ∈L_ _|_ _λ <_ _λ_ <sup>ˆ</sup> _}_ 12: end if 13: if _L_ = _∅_ then _<u>λ</u>_ <u>U</u> _<u>−λ</u>_ <u>L</u> 14: _λ_ <sup>_⋆_</sup> _←_ _λ_ L _−_ [ _g_ ( _λ_ L) _−_ _c_ ] _g_ ( _λ_ U) _−g_ ( _λ_ L) <sup>,</sup> <sup>break</sup> 15: end if 16: end while 17: return _x_ <sup>_⋆_</sup> _←_ _x_ ( _λ_ <sup>_⋆_</sup> ) <u>18:</u> <u>end</u> <u>procedure</u> A simple implementation of the BPS algorithm is listed in Alg. 1. It generates successive nondecreasing underestimates _λ_ L of _λ_ <sup>_⋆_</sup> L <sup>and</sup> <sup>nonincreasing</sup> <sup>overestimates</sup> <sup>_λ_</sup> <sup>U</sup> <sup>of</sup> <sup>_λ⋆_</sup> U <sup>by</sup> <sup>_⋆_</sup> L <sup>and</sup> <sup>nonincreasing</sup> <sup>overestimates</sup> <sup>_λ_</sup> <sup>U</sup> <sup>of</sup> <sup>_λ⋆_</sup> U _L_ ¯ = <sup>�</sup> _i∈I_ <sup>_bili,_</sup> <sup>_U_</sup> <sup>¯</sup> <sup>= �</sup> _i∈I_ <sup>_biui,_</sup> <sup>_s_</sup> <sup>= �</sup> _i/∈I_ <sup>_bixi_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_,_</sup> (20) _λ_ L of _λ_ <sup>_⋆_</sup> L <sup>and</sup> <sup>nonincreasing</sup> <sup>overestimates</sup> <sup>_λ_</sup> <sup>U</sup> <sup>of</sup> <sup>_λ⋆_</sup> U <sup>by</sup> evaluating _g_ ( _λ_ ) at trial breakpoints in [ _λ_ L _, λ_ U] until _λ_ L and _λ_ U become two consecutive breakpoints; then _g_ ( _λ_ ) is linear on [ _λ_ L _, λ_ U] and _λ_ <sup>_⋆_</sup> is found by simple interpolation. Note that all steps in Alg. 1 can be executed in _O_ ( _|L|_ ) time, if proper care is taken to use previous calculations (a) Illustration of _xi_ ( _λ_ ), _bi_ _>_ 0 and _di_ _>_ 0. (b) Illustration of _xi_ ( _λ_ ), _bi_ _>_ 0 and _di_ = 0. (c) Illustration of _g_ ( _λ_ ) when some _di_ = 0. Fig. 2: Illustration of _xi_ ( _λ_ ) and _g_ ( _λ_ ) = _b_ <sup>T</sup> _x_ ( _λ_ ). (in particular when evaluating _g_ ( _λ_ <sup>ˆ</sup> ), see [30]). Since initially _|L|_ = 2 _n_, and with every pass through the while loop _|L|_ is reduced by half, the following proposition holds. Proposition 1 (see [30] for details) . _The_ _BPS_ _algorithm_ _in_ _Alg._ _1_ _has_ _a_ _linear_ _worst-case_ _time_ _complexity_ _O_ ( _n_ ) _._ Consequently, it has been shown that the coordination problem (8), in the case of one coupling constraint, can be solved with an efficient, linear-time algorithm. _C._ _Multiple_ _coupling_ _constraints_ The Lagrangian relaxation of the general MCQKP (11) is: _φ_ ( _λ_ ) := min _x_ <u>12</u> <sup>_x_</sup> <sup>T</sup> <sup>_Dx −_</sup> <sup>_a_</sup> <sup>T</sup> <sup>_x_</sup> <sup>+</sup> <sup>_λ_</sup> <sup>T(</sup> <sup>_Bx −_</sup> <sup>_c_</sup> <sup>)</sup> <sup>_,_</sup> (25a) s.t. _l ≤_ _x ≤_ _u,_ (25b) where _λ_ _∈_ R <sup>_m_</sup>, _B_ = [ _B_ 1 _, . . ., Bn_ ] _∈_ R <sup>_m×n_</sup>, _c_ _∈_ R <sup>_m_</sup>, with _m ≥_ 2 denoting the number of coupling equality constraints. As before, _φ_ ( _λ_ ) is a separable, concave function _φ_ ( _λ_ ) = _φ_ 0( _λ_ ) + _φ_ 1( _λ_ ) + _. . ._ + _φn_ ( _λ_ ) _,_ (26) where Fig. 3: An example of a function _φ_ ( _λ_ ) for a MCQKP (11) with _n_ = 3 _,_ _m_ = 2. An example of _φ_ ( _λ_ ), for _n_ = 3 and _m_ = 2, is illustrated in Fig. 3, with different colors denoting different regions. A key element in the following computations is the availability of an _oracle_ - an algorithm that takes as inputs parameters _p_ 0 and _p̸_ = 0 of a hyperplane _P_ _⊂_ R <sup>_m_</sup>, _P_ = _{λ ∈_ R <sup>_m_</sup> _|_ _p_ 0 + _p_ <sup>T</sup> _λ_ = 0 _}_ (33) and parameters of function _φ_ : R <sup>_m_</sup> _→_ R in (25), and then returns the _sign_ _of_ _hyperplane_, i.e. information about the relative position of _λ_ <sup>_⋆_</sup> with respect to that hyperplane: sign( _P_ ) := sign( _p_ 0 + _p_ <sup>T</sup> _λ_ <sup>_⋆_</sup> ) _∈{−_ 1 _,_ 0 _,_ 1 _}._ (34) One possible implementation of an oracle is given in Alg. 3. Note that if sign( _Hi_ ) and sign( _Hn_ + _i_ ) are known, for some _i ∈{_ 1 _, . . ., n}_, then the exact expression for _xi_ ( _λ_ ) in (30) is also known because sign( _Hi_ ) _∈{_ 0 _,_ 1 _} ⇒_ sign( _Hn_ + _i_ ) = 1 _,_ _xi_ ( _λ_ ) = _li,_ (35a) sign( _Hn_ + _i_ ) _∈{−_ 1 _,_ 0 _} ⇒_ sign( _Hi_ ) = _−_ 1 _,_ _xi_ ( _λ_ ) = _ui,_ (35b) sign( _Hi_ ) = _−_ 1 _∧_ sign( _Hn_ + _i_ ) = 1 _⇒_ _xi_ ( _λ_ ) = <sup>_<u>ai−</u>_</sup> _d_ <sup>_<u>λ</u>_</sup> _i_ <sup>T</sup> <sup>_<u>Bi</u>_</sup> _,_ (35c) and, consequently, one can obtain an explicit (in general quadratic) form of _φi_ ( _λ_ ) in (27). It is convenient to aggregate all known explicit expressions for _φ_ ( _λ_ ) in _φ_ 0( _λ_ ) _φ_ 0( _λ_ ) := <u>12</u> <sup>_λ_</sup> <sup>T</sup> <sup>_H_</sup> <sup>0</sup> <sup>_λ_</sup> <sup>+</sup> <sup>_F_</sup> <sup>T</sup> 0 <sup>_λ_</sup> <sup>+</sup> <sup>_G_</sup> <sup>0</sup> <sup>=</sup> (36) = _−c_ <sup>T</sup> _λ_ + <sup>�</sup> _i∈E_ <sup>_φi_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_|_</sup> _x_ ( _λ_ ) from (35) <sup>_,_</sup> _φi_ ( _λ_ ) := min _xi∈_ [ _li,ui_ ] 21 <sup>_dix_</sup> _i_ <sup>2</sup> <sup>+ (</sup> <sup>_λ_</sup> <sup>T</sup> <sup>_Bi −_</sup> <sup>_ai_</sup> <sup>)</sup> <sup>_xi,_</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_, . . ., n_</sup> (27) _φ_ 0( _λ_ ) = _−λ_ <sup>T</sup> _c._ (28) Solving (11) is the same as finding _λ_ <sup>_⋆_</sup> _∈_ arg max _φ_ ( _λ_ ) _._ (29) _λ_ For simplicity of exposition, in the rest of this section it is assumed that _di_ _>_ 0, _i_ = 1 _, . . ., n_ . Therefore, the minimizer in (27) takes a simplified form _xi_ ( _λ_ ) = median _{li,_ ( _ai −_ _λ_ <sup>T</sup> _Bi_ ) _/di, ui}._ (30) The optimization problem (25) can be interpreted as an mpQP if _λ_ is treated as a parameter. From Theorem 1, _φ_ ( _λ_ ) is a piecewise quadratic concave function over polyhedral partition of _λ_ space (i.e. R <sup>_m_</sup> ) imposed by 2 _n_ hyperplanes: _Hi_ = _{λ_ _|_ _hi,_ 0 + _h_ <sup>T</sup> _i_ <sup>_λ_</sup> <sup>= 0</sup> <sup>_},_</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_, . . .,_</sup> <sup>2</sup> <sup>_n,_</sup> (31) where _hi,_ 0 _∈_ R and _hi_ _∈_ R <sup>_m_</sup>, _i_ = 1 _, . . ., n_, are defined as: _hi_ = _hi_ + _n_ := _Bi,_ _hi,_ 0 := _dili−ai,_ _hi_ + _n,_ 0 := _diui−ai._ (32) where _E_ is the set of indices of _φi_ ( _λ_ ) with known explicit expressions _E_ := _{i ∈{_ 1 _, . . ., n}_ _|_ ( _i_ _∈U/_ ) _∧_ ( _i_ + _n_ _∈U/_ ) _}._ (37) and _U_ _⊆{_ 1 _, . . .,_ 2 _n}_ is the set of indices of hyperplanes whose signs are not yet determined. Note that (26) now becomes _φ_ ( _λ_ ) = _φ_ 0( _λ_ ) + _j∈{_ 1 _,...,n}\E_ _φj_ ( _λ_ ) _,_ (38) in a depth-first approach, a binary tree down to the (bottom) level 1. When moving towards lower levels, the MDS uses appropriate variable transformations to create 2 sets of hyperplanes (of, roughly, half the size of the parent problem), whose effective dimensions (in the new coordinates) are reduced by one. At the bottom level, with one query to the oracle (passing the description of the hyperplane in the initial, level _m_ coordinates), the MDS algorithm can deduce the signs of roughly half of hyperplanes on that level. Due to the properties of transformations that are used to reduce dimensions of hyperplanes, it is possible to determine the signs of a portion of hyperplanes at level _ℓ_ +1, from the signs of hyperplanes at level _ℓ_ . The intricate details of these transformations and other implementation details of the general MDS algorithm can be found in [33], [34], [35]. As mentioned before, the MDS algorithm computes the signs of a fixed proportion of _|U|_ hyperplanes, while making, at the bottom level of its exploration strategy, a finite number of queries to the oracle (e.g., Alg. 3). A key feature of the MDS algorithm is that the number of those queries depends (exponentially) only on the number of coupling constraints, _m_, and does not depend on _|U|_, cf. [33], [34]. <u>Algorithm</u> <u>3</u> <u>Oracle</u> <u>algorithm</u> <u>–</u> <u>sign</u> <u>of</u> <u>hyperplane</u> _<u>P</u>_ _<u>⊂</u>_ R <sup>_m_</sup> Input: Parameters of _P_ as in (33), index set of hyperplanes with unknown signs, _U_, parameters _l_, _u_, _d_, _a_, _B_ of (11), _φ_ 0( _·_ ) in (36) Output: _σ_ = sign( _P_ ) 1: procedure ORACLE( _p_ 0, _p_, _U_, _l_, _u_, _d_, _a_, _B_, _φ_ 0) 2: [ _m, n_ ] _←_ dim( _B_ ) 3: if _m >_ 1 then 4: Compute parameters <sup>¯</sup> _l_, ¯ _u_, _d_ <sup>¯</sup>, ¯ _a_, _B_ <sup>¯</sup>, and _φ_ <sup>¯</sup> 0( _·_ ), of restriction of _φ_ in (38) on _P_, i.e. _φ_ <sup>¯</sup> : R <sup>_m−_</sup> <sup>1</sup> _→_ R, with the implicit _φj_ ( _λ_ ) defined by (27). The proposed algorithm for finding _λ_ <sup>_⋆_</sup> is called the hyperplane searching (HPS) algorithm, since it is essentially a generalization of the BPS algorithm to multiple coupling constraints - with the notion of breakpoints (24) being replaced with the notion of hyperplanes (31). A pseudo-code of the HPS algorithm is listed in Alg. 2. <u>Algorithm</u> <u>2</u> <u>Hyperplane</u> <u>searching</u> <u>algorithm</u> Input: Index set of hyperplanes with unknown signs, _U_, parameters _l_, _u_, _d_, _a_, _B_ of (11), _φ_ 0( _·_ ) in (36) Output: _x_ <sup>_⋆_</sup> = [ _x_ <sup>_⋆_</sup> 1 <sup>_, . . ., x_</sup> _n_ <sup>_⋆_</sup> <sup>]T</sup> 1: procedure HPS( _U_, _l_, _u_, _d_, _a_, _B_, _φ_ 0) 2: [ _m, n_ ] _←_ dim( _B_ ) 3: Define hyperplanes _HU_ as in (31)–(32) 4: while _U̸_ = _∅_ do 5: [ _I,_ sign( _HI_ )] _←_ MDS( _HU_ _, U, l, u, d, a, B, φ_ 0) 6: for _i ∈I_ do 7: _U_ _←U\i_ 8: if _i > n_ then _i ←_ _i −_ _n_ end if 9: if ( _i_ _∈U/_ ) _∧_ ( _i_ + _n_ _∈U/_ ) then 10: Compute explicit expression for _φi_ ( _·_ ) via (35), and update _φ_ 0( _·_ ) _←_ _φ_ 0( _·_ ) + _φi_ ( _·_ ) 11: end if 12: end for 13: end while 14: _λ_ <sup>_⋆_</sup> _←_ arg max 0 <sup>_−_</sup> <sup>1</sup> <sup>_F_</sup> <sup>0</sup> �� _λ_ ¯ _−_ _p_ <sup>_<u>p</u>_</sup> _m_ <sup><u>0</u></sup> <sup>_−_</sup> <sup>�</sup> _j_ _p_ <sup>_<u>p</u>_</sup> _m_ <sup><u>0</u></sup> <sup>_−_</sup> <sup>�</sup> <sup>_m_</sup> _j_ =1 <sup>_−_</sup> <sup>1</sup> �� _φ_ 0( _λ_ ) = _−H_ 0 <sup>_−_</sup> <sup>1</sup> _λ_ _ppmj_ <sup>_λ_</sup> <sup>¯</sup> <sup>_j_</sup> _φ_ ¯(¯ _λ_ ) _←_ _φ_ _j_ =1 15: return _x_ <sup>_⋆_</sup> _←_ _x_ ( _λ_ <sup>_⋆_</sup> ) <u>16:</u> <u>end</u> <u>procedure</u> In each iteration of the HPS algorithm the sign of a _fixed_ _proportion_ of _|U|_ hyperplanes in R <sup>_m_</sup> (with currently unknown signs) is determined using the multidimensional search (MDS) algorithm, which was first introduced in [33] and later improved in [34], [35]. The MDS algorithm takes as inputs the set _HU_ of hyperplanes in R <sup>_m_</sup>, the index set _U_ of those hyperplanes, parameters of the original problem (11), and _φ_ 0( _λ_ ) - the aggregate of the currently discovered explicit expressions for _φ_ (starting with _φ_ 0( _λ_ ) = _−c_ <sup>T</sup> _λ_, see (36)–(38)). The MDS algorithm returns the index set _I_ of hyperplanes whose signs have been deduced and the values of those signs, sign( _HI_ ). Once the signs of all hyperplanes are known the explicit expression for _φ_ ( _λ_ ) is available and the computation of _λ_ <sup>_⋆_</sup> in (29) becomes simple unconstrained maximization of a concave quadratic function _φ_ 0( _λ_ ). In the end, one calculates the optimizer to (11) as _x_ <sup>_⋆_</sup> = _x_ ( _λ_ <sup>_⋆_</sup> ). The MDS algorithm runs in a recursive manner, starting with the initial problem at the level _m_, and then explores, In Alg. 3, the oracle deduces the value of sign( _P_ ) by using subgradient of _φ_ at _λ_ <sup>_⋆_</sup> _P_ <sup>_∈P_</sup> <sup>=</sup> <sup>_{λ_</sup> <sup>_|_</sup> <sup>_p_</sup> <sup>0</sup> <sup>+</sup> <sup>_p_</sup> <sup>T</sup> <sup>_λ_</sup> <sup>=</sup> <sup>0</sup> <sup>_}_</sup> <sup>.</sup> <sup>The</sup> idea is as follows. Let _HU_ be the set of all hyperplanes with unknown signs, formed as in (31)–(32), with _l_, _u_, _d_, _a_, being the parameters passed to the oracle. Clearly, for arbitrarily 5: Find the optimal solution for the restriction _λ_ ¯ <sup>_⋆_</sup> _←_ HPS( _U,_ <sup>¯</sup> _l,_ ¯ _u,_ _d,_ <sup>¯</sup> ¯ _a,_ _B,_ <sup>¯</sup> _φ_ <sup>¯</sup> 0) _,_ _λ_ <sup>_⋆_</sup> _P_ _←_ - _λ_ ¯ <sup>_⋆_</sup> _−_ _p_ <sup>_<u>p</u>_</sup> _m_ <sup><u>0</u></sup> _p_ <sup>_<u>p</u>_</sup> _m_ <sup><u>0</u></sup> <sup>_−_</sup> <sup>�</sup> <sup>_m_</sup> _j_ =1 <sup>_−_</sup> <sup>1</sup> _<u>pj</u>_ _pm_ <sup>_λ_</sup> <sup>¯</sup> _j_ <sup>_⋆_</sup> _,_ _j_ =1 6: else 7: _λ_ <sup>_⋆_</sup> _P_ <sup>_⋆_</sup> _P_ <sup>_←−_</sup> _p_ <sup>_<u>p</u>_</sup> 1 <sup><u>0</u></sup> _p_ 1 8: end if 9: Compute subgradient of _φ_ at _λ_ <sup>_⋆_</sup> _P_ Compute subgradient of _φ_ at _λ_ <sup>_⋆_</sup> _P_ <sup>_∈P_</sup> <sup>, and deduce</sup> the value of sign( _P_ ) from the values of derivative of _φ_ at _λ_ <sup>_⋆_</sup> _P_ <sup>in</sup> <sup>the</sup> <sup>direction</sup> <sup>_p_</sup> <sup>and</sup> <sup>_−p_</sup> <sup>.</sup> of _φ_ at _λ_ <sup>_⋆_</sup> _P_ <sup>in</sup> <sup>the</sup> <sup>direction</sup> <sup>_p_</sup> <sup>and</sup> <sup>_−p_</sup> <sup>.</sup> 10: return _σ_ _←_ sign( _P_ ) <u>11:</u> <u>end</u> <u>procedure</u> Fig. 4: Illustration of the subgradient method for determining the position of _λ_ <sup>_⋆_</sup> relative to a hyperplane _P_ . A situation where sign( _P_ ) = +1 is shown. small _ϵ >_ 0, one can readily compute the explicit expressions for _φ_ in (38) at _λ_ = _λ_ <sup>_⋆_</sup> _P_ <sup>+</sup> <sup>_ϵp_</sup> <sup>,</sup> _φ_ +( _λ_ ) = 2 <sup><u>1</u></sup> <sup>_λ_</sup> <sup>T</sup> <sup>_H_</sup> <sup>+</sup> <sup>_λ_</sup> <sup>+</sup> <sup>_F_</sup> <sup>T</sup> + <sup>_λ_</sup> <sup>+</sup> <sup>_G_</sup> <sup>+</sup> <sup>_,_</sup> (39) and at _λ_ = _λ_ <sup>_⋆_</sup> _P_ <sup>_−_</sup> <sup>_ϵp_</sup> <sup>,</sup> _φ−_ ( _λ_ ) = 2 <sup><u>1</u></sup> <sup>_λ_</sup> <sup>T</sup> <sup>_H−λ_</sup> <sup>+</sup> <sup>_F_</sup> <sup>T</sup> _−_ <sup>_λ_</sup> <sup>+</sup> <sup>_G−,_</sup> (40) where matrices _H_ +, _H−_, _F_ +, _F−_, _G_ +, and _G−_, are obtained similarly to (35)–(36), by checking on which side of each _Hi_ lies the corresponding _λ_ . Computations can be sped up by noticing that the expressions for _φ_ + and _φ−_ differ only for the set of hyperplanes that intersect _P_ at the point _λ_ <sup>_⋆_</sup> _P_ <sup>.</sup> <sup>After</sup> computation of gradients: _g_ + := _∂λ∂_ <sup>_φ_</sup> <sup>+(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_|λ_</sup> <sup>=</sup> <sup>_λ⋆_</sup> _P_ _g−_ := _∂λ∂_ <sup>_φ−_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_|λ_</sup> <sup>=</sup> <sup>_λ⋆_</sup> _P_ <sup>_⋆_</sup> _P_ <sup>=</sup> <sup>_H_</sup> <sup>+</sup> <sup>_λ_</sup> _P_ <sup>_⋆_</sup> <sup>_⋆_</sup> _P_ <sup>=</sup> <sup>_H−λ_</sup> _P_ <sup>_⋆_</sup> _P_ <sup>_⋆_</sup> <sup>+</sup> <sup>_F_</sup> <sup>+</sup> <sup>_,_</sup> (41a) _P_ <sup>_⋆_</sup> <sup>+</sup> <sup>_F−,_</sup> (41b) one can determine the position of the global optimizer _λ_ <sup>_⋆_</sup> relative to _P_ as follows: _−_ 1 if ( _p_ <sup>T</sup> _g_ + _<_ 0) _∧_ ( _p_ <sup>T</sup> _g−_ _<_ 0) _,_ 0 if ( _p_ <sup>T</sup> _g_ + _≤_ 0) _∧_ ( _p_ <sup>T</sup> _g−_ _≥_ 0) _,_ 1 if ( _p_ <sup>T</sup> _g_ + _>_ 0) _∧_ ( _p_ <sup>T</sup> _g−_ _>_ 0) _._ sign( _P_ ) =    (42) _|U|_ ) each of which is of complexity _O_ ( _|U|_ ), cf. Alg. 3. Since the initial number of hyperplanes is 2 _n_, the total number of iterations of the HPS algorithm is _O_ (log _n_ ). By noting that after iteration _k_ only _α_ <sup>_k_</sup> _|U|_ hyperplanes remain with unknown signs, with 0 _<_ _α_ _<_ 1, it follows that the total complexity of the HPS algorithm is _O_ ( _n_ ). Parameter _α_ depends on the implementation of the MDS algorithm, i.e. the number of queries to the oracle. For a more detailed argumentation the reader is kindly referred to [33], [34], [36]. Note that the linear-time bound for the HPS algorithm is valid only if the number of coupling constraints _m_ is fixed. Indeed, the constant of linearity that is ”hidden” inside _O_ ( _n_ ) grows exponentially with _m_ [34]. Clearly, this limits practical applicability of the HPS algorithm to cases when _m_ is relatively small. The algorithm would still be linear with respect to _n_, but with a larger _m_ it would become slower and slower in practice, as demonstrated in Section V on a practical case study for _m_ = 1 and _m_ = 2. Remark 4. _Note that in case when m_ = 1 _the HPS algorithm_ _boils down to the BPS algorithm. To better see the connection_ _between_ _the_ _two_ _algorithms_ _one_ _has_ _to_ _look_ _at_ _the_ _difference_ _in_ _implementation_ _of_ _the_ _oracle_ _used_ _by_ _Alg._ _1_ _and_ _Alg._ _2._ _In_ _Alg._ _1_ _(m_ = 1 _)_ _the_ _oracle_ _is_ _implemented_ _between_ _lines_ _6–12,_ _i.e. it simplifies to a check of whether the function value of_ (17) _at_ _a_ _breakpoint_ _is_ _equal_ _to_ _the_ _right-hand_ _side_ _of_ _the_ _coupling_ _constraint._ _This_ _simpler_ _implementation_ _of_ _oracle_ _in_ _Alg._ _1_ _is_ _possible_ _because_ _of_ _monotonicity_ _of_ _function_ (17) _._ _However,_ _the_ _oracle_ _for_ _the_ _case_ _m_ = 1 _could_ _also_ _be_ _implemented_ _like_ _in Alg. 3 (which is the implementation of oracle used by Alg. 2_ _for_ _a_ _general_ _case_ _m >_ 1 _),_ _i.e._ _by_ _checking_ _the_ _sub-gradients_ _of_ (14) _at_ _a_ _given_ _breakpoint._ _Both_ _oracle_ _implementations_ _would_ _determine_ _the_ _same_ _thing_ _–_ _the_ _position_ _of_ _the_ _global_ _optimizer λ_ <sup>_⋆_</sup> _relative to the given breakpoint. Hence the claim_ _that_ _the_ _BPS_ _algorithm_ _is_ _just_ _a_ _special_ _case_ _of_ _the_ _HPS_ _algorithm._ V. ILLUSTRATIVE EXAMPLE The efficiency of the proposed control algorithm will be demonstrated on an example from the domain of electrical distribution systems. The interested reader is referred to our previous work [18] where the proposed control algorithm was applied to the optimal control of wind farms, with _m_ = 1. In this paper, however, we consider the optimal coordination of a microgrid system, e.g. as in [37] but with two coupling constraint and with more subsystems. A microgrid is a cluster of locally controllable distributed (renewable) generation sources, storages, and loads operating as a single controllable system [38], [39]. As such, microgrid belongs to a class of systems of systems coupled by flows of energy. Microgrids where local subsystems provide and/or consume both electrical power and heat are considered (see Fig. 5). Microgrid concept is expected to enhance utilization and integration of distributed (and especially renewable) generation sources through the use of energy storage systems that enable the time-shift between production and consumption. Microgrids can be operated and managed independently from the power distribution grid and can economically optimize Note that other cases, e.g., ( _p_ <sup>T</sup> _g_ + _>_ 0) _∧_ ( _p_ <sup>T</sup> _g−_ _<_ 0), cannot happen due to concavity of _φ_ ( _λ_ ). Figure 4 illustrates the situation when sign( _P_ ) = +1. In summary, we have the following proposition. Proposition 2. _For_ _a_ _fixed_ _number_ _of_ _coupling_ _constraints,_ _m,_ _the_ _HPS_ _algorithm_ _(Alg._ _2)_ _solves_ _problem_ (11) _with_ _complexity_ _O_ ( _n_ ) _._ _Proof._ Note that all steps in Alg. 3 can be executed in _O_ ( _|U|_ ) time, if one can solve the HPS algorithm at dimension _m −_ 1 in _O_ ( _|U|_ ). Clearly, for _m_ = 1 the HPS algorithm has the same complexity as the BPS algorithm, _O_ ( _n_ ), since the MDS algorithm in this case involves one median calculation and one call to the oracle that invokes no recursions. The proof then goes by induction on the dimension _m_ . For arbitrary _m_ the computational effort in each iteration of the HPS algorithm is _O_ ( _|U|_ ), where _|U|_ is the number of remaining hyperplanes with unknown signs at the beginning of that iteration, plus the effort of a constant number of queries to the oracle (remember that the number of oracle queries depends on _m_ but not on The local objective of the _i_ -th _µ_ -CHP unit reflects the desire to track the power reference but also penalizes the excessive use of input signal: _k_ <sup>_N_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_Qi_</sup> <sup>(</sup> <sup>_Cixk,i −_</sup> <sup>_p_</sup> <sup>r</sup> <sup>_,i_</sup> <sup>)2 +</sup> <sup>_Riu_</sup> <sup>2</sup> _Ji_ = <sup>�</sup> _k_ <sup>_N_</sup> =0 <sup>_−_</sup> <sup>1</sup> _k,i_ <sup>2</sup> <sup>_,_</sup> _i ∈G,_ Fig. 5: An illustration of a microgrid system comprising different generation, consumption, and storage devices that can provide and/or consume both electrical and heating power. their internal power flows and the power exchange profile with the grid based on varying electricity prices, local energy needs, the states of the storage devices and renewable sources availability [40], [41]. Furthermore, they can also be used to stabilize voltage conditions in the overall power distribution grid, to shorten the energy path to consumers, and to minimize the CO2 footprint of the distributed energy production [42]. We consider a microgrid comprising _M_ controllable subsystems: (i) micro combined heat and power ( _µ_ -CHP) units, and (ii) heating and electricity storage devices. There is also a certain number of uncontrollable heating and electricity consumers (see Fig. 5). All _µ_ -CHP units are grouped in set _G_, all electricity storage units in set _S_ e, and all heating storage units in set _S_ h, such that _|G|_ = _|S_ e _|_ = _|S_ h _|_ and _|G|_ + _|S_ e _|_ + _|S_ h _|_ = _M_ . It is assumed that all subsystems share the same electrical/heating link. A prediction horizon of length _N_ = 10 is used. _A._ _Mathematical_ _models_ _of_ _individual_ _subsystems_ _1)_ _µ-CHP units:_ Micro CHP units are small-scale cogeneration units intended for homes or small commercial buildings. They can produce both electricity and heat from some primary energy source (e.g. natural gas). It is assumed that the _µ_ -CHP unit produces electricity primarily and heat is the by-product. The electrical efficiency of the _µ_ -CHP unit is denoted by _η_ e and its thermal efficiency by _η_ h. For simplicity, no extra losses are considered, i.e. _η_ h = 1 _−_ _η_ e. The produced electrical and heating power are denoted by _p_ e and _p_ h, respectively. It is evident that _p_ h = _p_ e _η_ h _/η_ e. All _µ_ -CHP are modeled as second-order LTI systems with electrical efficiency _η_ e _,i_ chosen randomly from [0 _._ 5 _,_ 0 _._ 7] and system matrices _,_ _Bi_ = - _η_ e _,i_ 0 _,_ _Ai_ = _Ci_ = �0 _._ 6 + 0 _._ 2 _ζi_ _−_ 0 _._ 1 _−_ 0 _._ 1 _ζi_ 1 0 �1 0� _,_ _Di_ = [0] _,_ _i ∈G,_ where _ζi_ is a random number drawn uniformly from [0 _,_ 1]. The output of _µ_ -CHP is _p_ e _,i_, i.e. the electrical power produced by the _i_ -th _µ_ -CHP unit. The produced heat is simply _p_ h _,i_ = <u>1</u> _<u>−η</u>_ <u>e</u> _<u>,i</u>_ _η_ e _,i_ <sup>_p_</sup> <sup>e</sup> <sup>_,i_</sup> <sup>.</sup> <sup>A</sup> <sup>power</sup> <sup>reference,</sup> <sup>which</sup> <sup>is</sup> <sup>to</sup> <sup>be</sup> <sup>tracked</sup> <sup>by</sup> <sup>the</sup> _i_ -th _µ_ -CHP unit, is denoted by _p_ r _,i_ . where _xk,i_ and _uk,i_ are the state and input, respectively, of the _i_ -th _µ_ -CHP unit at time step _k_ . Matrices _Qi_ = 10(1+4 _ζi_ ) and _Ri_ = 0 _._ 1(1 + _ζi_ ) are used. States and inputs are constrained as _<u>x</u>_ _~~i~~_ _≤_ _xi_ _≤_ _<u>xi</u>_ and _<u>u</u>_ _~~i~~_ _≤_ _ui_ _≤_ _<u>ui</u>_, respectively, where: _<u>x</u>_ _~~i~~_ = [0 _,_ 0] <sup>T</sup> _,_ _<u>xi</u>_ = (1 + 4 _ζi_ ) [20 _,_ 20] <sup>T</sup> _,_ _i ∈G,_ _<u>u</u>_ _~~i~~_ = 0 _,_ _<u>ui</u>_ = [ _<u>xi</u>_ ]1 _/η_ e _,i,_ _i ∈G._ _2)_ _Storage_ _devices:_ Both heating and electricity storage devices are modeled as integrators with the following system matrices (for simplicity we neglect losses): _<u>−</u>_ <u>1</u> _Ai_ = 1 _,_ _Bi_ = 20(1 + 4 _ζi_ ) <sup>_,_</sup> <sup>_Ci_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>_i ∈S_</sup> <sup>e</sup> <sup>_∪S_</sup> <sup>h</sup> <sup>_,_</sup> where _ζi_ is a random number drawn uniformly from [0 _,_ 1]. State _xi_ represents the amount of energy available in the storage device. Two reference signals are defined: (i) a locally defined reference for the state of charge _x_ r _,i_, and (ii) a reference for the power production/consumption _p_ r _,i_ that can be set by the microgrid coordinator. The objective of the _i_ -th storage device balances between tracking the locally defined reference for the state of charge and the externally defined reference for the power production/consumption: _Ji_ = <sup>�</sup> _k_ <sup>_N_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_Qi_</sup> <sup>(</sup> <sup>_xk,i −_</sup> <sup>_x_</sup> <sup>r</sup> <sup>_,i_</sup> <sup>)2 +</sup> <sup>_Ri_</sup> <sup>(</sup> <sup>_uk,i −_</sup> <sup>_p_</sup> <sup>r</sup> <sup>_,i_</sup> <sup>)2</sup> <sup>_, i ∈S_</sup> <sup>e</sup> <sup>_∪S_</sup> <sup>h</sup> <sup>_,_</sup> where _Qi_ = (1 + _ζi_ ) _I_ 2 and _Ri_ = 10(1 + _ζi_ ). States and inputs are constrained as follows: _<u>x</u>_ _~~i~~_ = 0 _,_ _<u>xi</u>_ = 1 _,_ _i ∈S_ e _∪S_ h _,_ <u>1</u> _<u>ui</u>_ = 5 _|Bi|_ <sup>_,_</sup> _<u>u</u>_ _~~i~~_ = _~~−~~_ _<u>ui,</u>_ _i ∈S_ e _∪S_ h _._ _3)_ _Consumers:_ Power demand profiles are used to represent the consumers. These power demand profiles can be predicted, e.g. using historical data. The total electrical power demand is denoted by _p_ �e and the total heating power demand is denoted by _p_ �h. Heat and electricity demand profiles during a typical day are shown in Fig. 6. _B._ _The_ _control_ _problem_ In the control problem that is considered, the microgrid coordinator needs to ensure that the total power output of the microgrid tracks the total power demand. This is achieved by distribution of the power references to individual subsystems, i.e. the task of the microgrid coordinator is to optimally coordinate individual subsystems to meet the common requirement while satisfying all constraints. It is assumed that microgrid operates in the grid-connected mode so the main electrical grid and district heating grid ensure the balance of both electrical and heating power (i.e. any excess generated power can be exported to the main grid and vice-versa). The global objective is the sum of locally defined objective functions for each Fig. 6: Typical heat and electricity demand profiles in p.u. during one day. subsystem. Such control problem can easily be formulated as an MPC problem. Furthermore, the considered control problem can be cast to form (5). The local parameter contains the initial state of the subsystem and local references. The coordination parameter is the power output reference given to the individual subsystem. The coordination requirement states that the sum of individual power output references should be equal to the total power demand. In the simulations, two cases are considered: 1) The first case is where only electrical power demand needs to be tracked. In this case there is only one coupling constraint so the global coordination problem (8) can be solved using the BPS algorithm (see Subsection IV-B). 2) The second case is where both the electrical power demand and the heating power demand are to be tracked. In this case we need to use the HPS algorithm (see Subsection IV-C) because there are now two coupling constraints. _C._ _Simulations_ _and_ _results_ In both cases, the computation time required to compute the solution using the proposed approach is compared to that of a classical on-line MPC implementation. The comparison is based on a number of simulations for different microgrid sizes (i.e. different numbers of _µ_ -CHP and storage devices in a microgrid). The simulations are done using Matlab 8.5.0 (R2015a) on a personal computer with Intel(R) Core(TM) i5 CPU at 3 _._ 4GHz, with 8 GB RAM, on Windows 10 operating system. The classical approach (solving a QP (5) at every sampling instant) is tested using CPLEX (version 12.6) - a state of the art commercial QP solver that can exploit sparsity structures in QPs. YALMIP toolbox [43] is used to formulate and solve the overall centralized optimization problem. The proposed approach is implemented in Matlab. Offline solutions are computed using the MPT toolbox [22]. The coordination algorithms, i.e. the BPS and the HPS algorithm, are implemented as Matlab functions, i.e. they are not implemented in C/C++ or a similar compiled programming language. For a median algorithm, however, we do use std::nth_element from the C++ standard library, compiled as a mex-file for Matlab. This implementation of Fig. 7: Histogram of the computation time for the local evaluation. a partial sorting algorithm has a linear complexity on average, cf. [44]. The simulations are done for a range of microgrid sizes of up to a thousand subsystems. Each simulation is done for 168 time steps where one time step equals to 1 hour (which corresponds to 7 days of total simulated time). The simulation results are shown in Fig. 7 and Fig. 8. Figure 7 shows the histogram of computation times per instance of local evaluation in our approach (i.e. for evaluation on one subsystem) of _J_ <sup>�</sup> _i_ and _U_ <sup>�</sup> _i_ . The computation time never exceeded 4.5 milliseconds and the average computation time was around 2.7 milliseconds. Figure 8 depicts the comparison of the total computation times of a classical on-line MPC approach and our approach in both considered cases: the case of one coupling constraint is shown in Fig. 8a and the case of two coupling constraints in Fig. 8b . In both cases our approach clearly outperforms the classical MPC approach. In the case of one coupling constraint our approach is up to 100 times faster than the classical MPC approach. In the case of two coupling constraints the speedup is not that drastic but it is still present for microgrids comprising more than 100 subsystems. We point out, however, that the results would probably be even better if our approach was fully implemented in highly efficient compiled programming language like C/C++ instead of an interpreted programming language like Matlab. The linear increase in computation time is clear for our approach in both Fig. 8a and Fig. 8b. Technically the complexity of the BPS and the HPS algorithms is linear with respect to the total number of variables in the transformed global coordination problem (11). However, recall that the number of variables is equal to the number of intervals in PPQW functions (10) that are shared with the global coordinator by each subsystem. In our case study the average number of these intervals is similar for all subsystems (because our subsystems are similar) and averages to around 5 intervals per subsystem during all simulations. It follows that the total number of variables in (11) was on average 5 _M_ during our simulations and so the linear trend is evident with respect to the number of subsystems as well. VI. CONCLUSION The paper describes an efficient implementation of the MPC algorithm for the coordinated control of a large-scale System (a) The case with one coupling constraint. (b) The case with two coupling constraints. Fig. 8: Comparison of computation times of a classical on-line MPC approach and our approach. Circles and diamonds denote mean computation time, while error bars denote the range of obtained computation times during simulations. of Systems. The proposed method consists in distribution and parametrization of the overall control problem, which enables a significant part of the computational effort to be carried out off-line, by individual subsystems. The on-line computation finding the globally optimal solution - is carried out by the coordinator. To achieve this the coordinator requires only a limited amount of information from subsystems that is sent once per sampling time, i.e. (unlike in classical distributed optimization techniques) there is no need for iterative communication between the coordinator and the subsystems. An algorithm is derived, for the coordinator’s on-line computation, whose complexity grows linearly with the number of variables (for a fixed number of coupling constraints). There is no conservatism in the obtained solution in comparison to the classical centralized approach. Using an example of a microgrid coordination controller design, it is shown that the proposed solution method can lead to drastic reductions in on-line computation times. In case of a single coupling constraint the on-line computation time for the proposed approach is up to two orders of magnitude smaller than the on-line computation time when the classical MPC controller implementation is used. Although the obtained speed-up is less drastic in the case of multiple coupling constraints, it still illustrates that the optimal control of large– scale systems at small sampling times is achievable. APPENDIX The purpose of this Appendix is to show that problem (8) can be reformulated as (11). For this purpose we introduce the following Lemma 1 and Theorem 2 which are then used to demonstrate the reformulation of (8) to (11). Lemma 1. _Let_ _ϕ_ : R _→_ R _be_ _a_ _non-affine,_ _convex_ _function_ _on_ _an_ _interval_ [ _x_ 1 _, x_ 2] _⊂_ R _,_ _with_ _x_ 1 _< x_ 2 _._ _Then_ _Proof._ Note that _x_ 1 _< x_ 1 + _ξ_ _< x_ 2 and _x_ 1 _< x_ 2 _−_ _ξ_ _< x_ 2 for all _ξ_ _∈_ (0 _, x_ 2 _−_ _x_ 1). Since _ϕ_ is a non-affine, convex function on [ _x_ 1 _, x_ 2] the following inequalities hold _ϕ_ ( _x_ 1 + _ξ_ ) _< ϕ_ ( _x_ 1) + <sup>_<u>ϕ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> _x_ <sup><u>2</u></sup> 2 <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> _−_ <sup>_<u>ϕ</u>_</sup> _x_ 1 <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>1)</u></sup> _ξ,_ _ϕ_ ( _x_ 2 _−_ _ξ_ ) _< ϕ_ ( _x_ 1) + <sup>_<u>ϕ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> _x_ <sup><u>2</u></sup> 2 <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> _−_ <sup>_<u>ϕ</u>_</sup> _x_ 1 <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>1)</u></sup> ( _x_ 2 _−_ _ξ −_ _x_ 1) _,_ which can be easily combined to obtain (45). Theorem 2. _Consider_ _the_ _following_ _optimization_ _problem_ _z_ <sup>_∗_</sup> := _Z_ 0 + <sup>�</sup> _r_ <sup>_N_</sup> _r_ <sup>_N_</sup> =1 <sup>[</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> min _γ_ ( _w_ ) + _ϕ_ ( _Z_ 0) + _w,y_ 1 _,...,yN_ _N_ - [ _ϕ_ ( _yr_ ) _−_ _ϕ_ ( _Zr−_ 1)] _r_ =1 s _._ t _._ _Zr−_ 1 _≤_ _yr_ _≤_ _Zr,_ _r_ = 1 _, . . ., N,_ (46) [ _yr −_ _Zr−_ 1] + _Bw_ <sup>¯</sup> _≤_ _C,_ <sup>¯</sup> + _Bw_ <sup>¯</sup> _≤_ _C,_ <sup>¯</sup> _A_ ¯ _Z_ 0 + _N_ _r_ =1 _where_ _γ_ : R <sup>_n_</sup> <sup>w</sup> _→_ R _is_ _a_ _convex_ _piecewise_ _quadratic_ _function,_ _A_ ¯ _∈_ R <sup>_m_</sup> _,_ _B_ ¯ _∈_ R <sup>_m×n_</sup> w _,_ _C_ ¯ _∈_ R <sup>_m_</sup> _,_ _and_ _ϕ_ : R _→_ R _is_ _a_ _convex_ _piecewise_ _quadratic_ _function_ _on_ _an_ _interval_ [ _Z_ 0 _, ZN_ ] _⊂_ R _,_ _ϕ_ ( _z_ ) = <sup><u>1</u></sup> 2 <sup>_hrz_</sup> <sup>2 +</sup> <sup>_frz_</sup> <sup>+</sup> <sup>_gr_</sup> <sup>if</sup> <sup>_z_</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_, Zr_</sup> <sup>]</sup> <sup>_,_</sup> _r_ _∈{_ 1 _, . . ., N_ _},_ (47) _with_ _Z_ 0 _<_ _Z_ 1 _<_ _. . ._ _<_ _ZN_ _,_ _N_ _is_ _the_ _number_ _of_ _subintervals_ _(regions),_ _and_ _it_ _is_ _assumed,_ _without_ _loss_ _of_ _generality_ <sup>1</sup> _,_ _that_ _coefficients_ _hr, fr, gr_ _∈_ R _are_ _such_ _that_ _hr_ _>_ 0 _∨_ [ _fr_ _gr_ ] _̸_ = [ _fr_ +1 _gr_ +1] _,_ _∀r_ _∈{_ 1 _, . . ., N −_ 1 _}._ (48) _Let_ _w_ <sup>_∗_</sup> _,_ _yr_ <sup>_∗,_</sup> <sup>_r_</sup> <sup>= 1</sup> <sup>_, . . ., N_</sup> <sup>_,_</sup> <sup>_be_</sup> <sup>_an_</sup> <sup>_optimizer_</sup> <sup>_of_</sup> <sup>(46)</sup> <sup>_,_</sup> <sup>_then_</sup> _i)_ _∀r_ _∈{_ 2 _, . . ., N_ _},_ if _yr_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> <sup>_> Zr−_</sup> <sup>1</sup> <sup>then</sup> <sup>_y_</sup> _s_ <sup>_∗_</sup> _s_ <sup>_∗_</sup> <sup>=</sup> <sup>_Zs,_</sup> <sup>_s_</sup> <sup>= 1</sup> <sup>_, . . ., r −_</sup> <sup>1</sup> <sup>_,_</sup> (49) _ii)_ _∀r_ _∈{_ 1 _, . . ., N_ _−_ 1 _},_ if _yr_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> <sup>=</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>then</sup> <sup>_y_</sup> _s_ <sup>_∗_</sup> _s_ <sup>_∗_</sup> <sup>=</sup> <sup>_Zs−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_s_</sup> <sup>=</sup> <sup>_r_</sup> <sup>+ 1</sup> <sup>_, . . ., N,_</sup> <sup>(50)</sup> _iii)_ _w_ <sup>_∗_</sup> _and_ _z_ <sup>_∗_</sup> _∈_ R _,_ _with_ _r_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_Zr−_</sup> <sup>1]</sup> <sup>_,_</sup> (51) _ϕ_ ( _x_ 1 + _ξ_ ) + _ϕ_ ( _x_ 2 _−_ _ξ_ ) _< ϕ_ ( _x_ 1) + _ϕ_ ( _x_ 2) _,_ _∀ξ_ _∈_ (0 _, x_ 2 _−_ _x_ 1) _._ (45) 1Otherwise one could simply reduce _N_ by merging two neighboring subintervals for which _ϕ_ has the same affine expression. _is_ _an_ _optimizer_ _of_ _the_ _following_ _problem_ min _γ_ ( _w_ ) + _ϕ_ ( _z_ ) _w,z_ s _._ t _._ _Z_ 0 _≤_ _z_ _≤_ _ZN_ _,_ _Az_ ¯ + _Bw_ ¯ _≤_ _C._ ¯ (52) (8) is replaced by a single convex piecewise quadratic function _γ_ ( _w_ ) in (52) to simplify the notation. Theorem 2 proves that (52) can be solved by solving its relaxation (46). Since Theorem 2 holds for an arbitrary convex piecewise quadratic function _γ_ : R <sup>_n_</sup> <sup>w</sup> _→_ R, its results can be applied (in succession) to _γ_ that is the sum of scalar convex piecewise quadratic functions (which is the case in problem (8)), i.e. the same relaxation that is mapped out in Theorem 2 for a single scalar piecewise quadratic function _ϕ_ ( _z_ ) can be repeated for the remaining functions hidden in _γ_ ( _w_ ). By ignoring constant parts of _J_ <sup>�</sup> _i_, problem (8) transforms to: _Proof._ i) It is enough to prove (49) for _s_ = _r_ _−_ 1, since the other cases ( _s_ _<_ _r_ _−_ 1) follow analogously. Assume the opposite, _∃r_ _∈{_ 2 _, . . ., N_ _}_ such that _yr_ <sup>_∗_</sup> <sup>_>_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>and</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>_<_</sup> <sup>_Zr−_</sup> <sup>1.</sup> <sup>Choose</sup> <sup>any</sup> <sup>_δ_</sup> <sup>_∈_</sup> _r_ <sup>_∗_</sup> <sup>_>_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>and</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> that _yr_ <sup>_∗_</sup> <sup>_>_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>and</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>_<_</sup> <sup>_Zr−_</sup> <sup>1.</sup> <sup>Choose</sup> <sup>any</sup> <sup>_δ_</sup> <sup>_∈_</sup> �0 _,_ min _{yr_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>_}_</sup> �. From Lemma 1 �0 _,_ min _{yr_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>_}_</sup> �. From Lemma 1 (by using _x_ 1 = _yr_ <sup>_∗_</sup> _−_ 1 <sup>,</sup> <sup>_x_</sup> <sup>2</sup> <sup>=</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>,</sup> <sup>_ξ_</sup> <sup>=</sup> <sup>_δ_</sup> <sup>)</sup> <sup>it</sup> <sup>follows</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>_}_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>,</sup> <sup>_x_</sup> <sup>2</sup> <sup>=</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>)</sup> <sup>+</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> (by using _x_ 1 = _yr_ <sup>_∗_</sup> _−_ 1 <sup>,</sup> <sup>_x_</sup> <sup>2</sup> <sup>=</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>,</sup> <sup>_ξ_</sup> <sup>=</sup> <sup>_δ_</sup> <sup>)</sup> <sup>it</sup> <sup>follows</sup> that _ϕ_ ( _yr_ <sup>_∗_</sup> _−_ 1 <sup>+</sup> <sup>_δ_</sup> <sup>)</sup> <sup>+</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_<_</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>)</sup> <sup>+</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>).</sup> Therefore, one can construct a feasible point for (46): _w_ = _w_ <sup>_∗_</sup>, _yr−_ 1 = _yr_ <sup>_∗_</sup> _−_ 1 <sup>+</sup> <sup>_δ_</sup> <sup>,</sup> <sup>_yr_</sup> <sup>=</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>,</sup> <sup>and</sup> <sup>_yi_</sup> <sup>=</sup> <sup>_y_</sup> _i_ <sup>_∗_</sup> <sup>,</sup> _r_ <sup>_∗_</sup> _−_ 1 <sup>+</sup> <sup>_δ_</sup> <sup>)</sup> <sup>+</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_<_</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> min _y_ 1 _,_ 1 _,...,yM,NM_ _M_ _Ni_ - _i_ =1 _r_ =1 <u>12</u> <sup>_hi,ry_</sup> _i,r_ <sup>2</sup> <sup>+</sup> <sup>_fi,ryi,r,_</sup> (57a) _r_ <sup>_∗_</sup> _−_ 1 <sup>+</sup> <sup>_δ_</sup> <sup>,</sup> <sup>_yr_</sup> <sup>=</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>,</sup> <sup>and</sup> <sup>_yi_</sup> <sup>=</sup> <sup>_y_</sup> _i_ <sup>_∗_</sup> <sup>,</sup> _Ii,r−_ 1 _≤_ _yi,r_ _≤_ _Ii,r,_ _r_ = 1 _, . . ., Ni,_ s.t. (57b) _i_ = 1 _, . . ., M,_ _w_ = _w_ <sup>_∗_</sup>, _yr−_ 1 = _yr_ <sup>_∗_</sup> _−_ 1 <sup>+</sup> <sup>_δ_</sup> <sup>,</sup> <sup>_yr_</sup> <sup>=</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>,</sup> <sup>and</sup> <sup>_yi_</sup> <sup>=</sup> <sup>_y_</sup> _i_ <sup>_∗_</sup> <sup>,</sup> _∀i_ _∈{_ 1 _, . . ., r_ _−_ 2 _, r_ + 1 _, . . ., N_ _}_, that gives a smaller value of the objective function in (46) than the optimizer does - a contradiction. Therefore, it is proven _ys_ <sup>_⋆_</sup> <sup>_≥_</sup> <sup>_Zs_</sup> <sup>,</sup> but from bounds on _ys_ it follows _ys_ <sup>_⋆_</sup> <sup>=</sup> <sup>_Zs_</sup> <sup>.</sup> Similarly as in i). Let _yr_ <sup>_∗_</sup> <sup>=</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>and</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> +1 <sup>_> Zr_</sup> <sup>.</sup> <sup>From</sup> Lemma 1, for any _δ_ _∈_ �0 _,_ min _{yr_ <sup>_∗_</sup> +1 <sup>_−_</sup> <sup>_Zr,_</sup> <sup>_Zr_</sup> <sup>_−_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_}_</sup> _Ni_ _r_ =1 [ _yi,r −_ _Ii,r−_ 1] = _bj,_ (57c) = _bj,_ _Ii,_ 0 + but from bounds on _ys_ it follows _ys_ <sup>_⋆_</sup> <sup>=</sup> <sup>_Zs_</sup> <sup>.</sup> ii) Similarly as in i). Let _yr_ <sup>_∗_</sup> <sup>=</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>and</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> +1 _M_ - _ai,j_ _i_ =1 _r_ <sup>_∗_</sup> <sup>=</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>and</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _j_ = 1 _, . . ., m._ Finally, with a substitution of variables _θi,r_ = _yi,r_ _−Ii,r−_ 1 and by ignoring the constant part of the cost again, (57) becomes the following separable quadratic program with box constraints and coupling equality constraints: follows _ϕ_ ( _yr_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> <sup>+</sup> <sup>_δ_</sup> <sup>) +</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> �0 _,_ min _{yr_ <sup>_∗_</sup> +1 <sup>_−_</sup> <sup>_Zr,_</sup> <sup>_Zr_</sup> <sup>_−_</sup> <sup>_Zr−_</sup> <sup>1</sup> <sup>_}_</sup> _r_ <sup>_∗_</sup> +1 <sup>_−_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_<_</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> <sup>) +</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> follows _ϕ_ ( _yr_ <sup>_∗_</sup> <sup>+</sup> <sup>_δ_</sup> <sup>) +</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> +1 <sup>_−_</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_<_</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> <sup>) +</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_y_</sup> _r_ <sup>_∗_</sup> +1 <sup>).</sup> Hence, a feasible point for (46) exists: _w_ = _w_ <sup>_∗_</sup>, _yr_ = _yr_ <sup>_∗_</sup> <sup>+</sup> <sup>_δ_</sup> <sup>,</sup> <sup>_yr_</sup> <sup>+1</sup> = _yr_ <sup>_∗_</sup> +1 <sup>_−_</sup> <sup>_δ_</sup> <sup>,</sup> <sup>and</sup> <sup>_yi_</sup> = _yi_ <sup>_∗_</sup> <sup>,</sup> _∀i ∈{_ 1 _, . . ., r−_ 1 _, r_ +2 _, . . ., N_ _}_, that gives smaller value of the objective function in (46) than the optimizer - a contradiction. Therefore, it is proven _ys_ <sup>_⋆_</sup> <sup>_≤_</sup> <sup>_Zs−_</sup> <sup>1,</sup> <sup>but</sup> from bounds on _ys_ it follows _ys_ <sup>_⋆_</sup> <sup>=</sup> <sup>_Zs−_</sup> <sup>1.</sup> _r_ <sup>_∗_</sup> <sup>+</sup> <sup>_δ_</sup> <sup>,</sup> <sup>_yr_</sup> <sup>+1</sup> = _yr_ <sup>_∗_</sup> _r_ <sup>_∗_</sup> +1 <sup>_−_</sup> <sup>_δ_</sup> <sup>,</sup> <sup>and</sup> <sup>_yi_</sup> = _yi_ <sup>_∗_</sup> <sup>,</sup> 21 <sup>_hi,rθ_</sup> _i,r_ <sup>2</sup> <sup>+ (</sup> <sup>_hi,rIi,r−_</sup> <sup>1 +</sup> <sup>_fi,r_</sup> <sup>)</sup> <sup>_θi,r,_</sup> _M_ _Ni_ - from bounds on _ys_ it follows _ys_ <sup>_⋆_</sup> <sup>=</sup> <sup>_Zs−_</sup> <sup>1.</sup> iii) Note that any _z_ _∈_ [ _Z_ 0 _,_ _ZN_ ] can be written as min _θ_ 1 _,_ 1 _,...,θM,NM_ _i_ =1 _r_ =1 _z_ = _Z_ 0 + <sup>�</sup> _r_ <sup>_N_</sup> =1 <sup>[</sup> <sup>_yr −_</sup> <sup>_Zr−_</sup> <sup>1]</sup> <sup>_,_</sup> (53) s _._ t _._ 0 _≤_ _θi,r_ _≤_ _Ii,r −_ _Ii,r−_ 1 _,_ _r_ = 1 _, . . ., Ni,_ _i_ = 1 _, . . ., M,_ _M_ - _Ni_ - _ai,j_ _Ii,_ 0 + - _θi,r_ = _bj, j_ = 1 _ai,j_ _Ni_ _r_ =1 = _bj, j_ = 1 _, . . ., m._ _Ii,_ 0 + _θi,r_ with appropriate (not necessarily unique) choice of values for new variables _yr_ _∈_ R _,_ _Zr−_ 1 _≤_ _yr_ _≤_ _Zr,_ _r_ = 1 _, . . ., N._ (54) It can be easily verified that the following, particular choice of _yr_ = _yr_ ( _z_ ): _i_ =1 (58) Therefore, from Theorem 2 it follows that the optimizer, Θ <sup>_⋆_</sup> _i_ <sup>,</sup> _i_ = 1 _, . . ., M_, for problem (8) can be calculated as Θ <sup>_⋆_</sup> _i_ <sup>=</sup> <sup>_Ii,_</sup> <sup>0</sup> <sup>+</sup> _Ni_ _r_ =1 _θi,r_ <sup>_⋆_</sup> <sup>_,_</sup> _i_ = 1 _, . . ., M._ (59) _Zr−_ 1 if _z_ _< Zr−_ 1 _,_ _z_ if _Zr−_ 1 _≤_ _z_ _≤_ _Zr,_ _Zr_ if _z_ _> Zr,_ _yr_ =    _r_ = 1 _, . . ., N,_ (55) satisfies (53)-(54) and also guarantees that _ϕ_ ( _z_ ) = _ϕ_ ( _Z_ 0) + <sup>�</sup> _r_ <sup>_N_</sup> =1 <sup>[</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_yr_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_Zr−_</sup> <sup>1)]</sup> <sup>_._</sup> (56) Consequently, the problem (46) is really a relaxation of the problem (52) - with omitted constraints (55). However, from i) and ii) it follows that an optimizer of (46) – variables _yr_ <sup>_∗_</sup> <sup>,</sup> <sup>_r_</sup> <sup>= 1</sup> <sup>_, . . ., N_</sup> <sup>– behaves as if defined</sup> with (55), with _yr_ = _yr_ <sup>_∗_</sup> <sup>and</sup> <sup>_z_</sup> <sup>=</sup> <sup>_z∗_</sup> <sup>,</sup> <sup>where</sup> <sup>_z∗_</sup> <sup>is</sup> <sup>given</sup> by (51). Since this implies that (56) holds (with _yr_ = _yr_ <sup>_∗_</sup> and _z_ = _z_ <sup>_∗_</sup> ), it follows that both problems achieve the same optimal cost. Therefore, _z_ <sup>_∗_</sup> is an optimal solution to (52). REFERENCES [1] S. Engell, R. Paulen, M. A. Reniers, C. Sonntag, and H. Thompson, _Cyber_ _Physical_ _Systems._ _Design,_ _Modeling,_ _and_ _Evaluation:_ _5th_ _Inter-_ _national Workshop, CyPhy 2015, Amsterdam, The Netherlands, October_ _8,_ _2015,_ _Proceedings_ . Cham: Springer International Publishing, 2015, ch. Core Research and Innovation Areas in Cyber-Physical Systems of Systems, pp. 40–55. [2] H. Kopetz, O. Hftberger, B. Frmel, F. Brancati, and A. Bondavalli, “Towards an understanding of emergence in Systems-of-Systems,” in _System_ _of_ _Systems_ _Engineering_ _Conference_ _(SoSE),_ _2015_ _10th_, May 2015, pp. 214–219. [3] “Proposal of a European Research and Innovation Agenda on Cyber physical Systems of Systems - 2016–2025,” Available online: [http://](http://www.cpsos.eu/roadmap/) [www.cpsos.eu/roadmap/.](http://www.cpsos.eu/roadmap/) [4] J. B. Rawlings and D. Q. Mayne, _Model Predictive Control: Theory and_ _Design_ . Nob Hill Publishing, Madison, WI, USA, 2009. [5] A. Bemporad, M. Morari, V. Dua, and E. N. Pistikopoulos, “The explicit linear quadratic regulator for constrained systems,” _Automatica_, vol. 38, no. 1, pp. 3 - 20, 2002. [6] Y. Wang and S. Boyd, “Fast model predictive control using online opti mization,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 18, no. 2, pp. 267–278, March 2010. [7] J. Mattingley, Y. Wang, and S. Boyd, “Code generation for receding horizon control,” in _2010_ _IEEE_ _International_ _Symposium_ _on_ _Computer-_ _Aided_ _Control_ _System_ _Design_, Sept 2010, pp. 985–992. Note that problem (8) can be written as (52). We have simply singled out one scalar convex piecewise quadratic function _ϕ_ ( _z_ ) while the sum of the remaining functions from [8] A. Domahidi, A. U. Zgraggen, M. N. Zeilinger, M. Morari, and C. N. Jones, “Efficient interior point methods for multistage problems arising in receding horizon control,” in _2012_ _IEEE_ _51st_ _IEEE_ _Conference_ _on_ _Decision_ _and_ _Control_ _(CDC)_, Dec 2012, pp. 668–674. [9] A. Domahidi and J. Jerez, “FORCES Professional,” embotech GmbH [(http://embotech.com/FORCES-Pro),](http://embotech.com/FORCES-Pro) Jul. 2014. [10] H. Ferreau, H. Bock, and M. Diehl, “An online active set strategy to overcome the limitations of explicit MPC,” _International_ _Journal_ _of_ _Robust_ _and_ _Nonlinear_ _Control_, vol. 18, no. 8, pp. 816–830, 2008. [11] H. Ferreau, C. Kirches, A. Potschka, H. Bock, and M. Diehl, “qpOASES: A parametric active-set algorithm for quadratic programming,” _Mathe-_ _matical_ _Programming_ _Computation_, vol. 6, no. 4, pp. 327–363, 2014. [12] J. V. Frasch, S. Sager, and M. Diehl, “A parallel quadratic programming method for dynamic optimization problems,” _Mathematical_ _Program-_ _ming_ _Computation_, vol. 7, no. 3, pp. 289–329, 2015. [13] E. Camponogara, D. Jia, B. H. Krogh, and S. Talukdar, “Distributed model predictive control,” _IEEE_ _Control_ _Systems_, vol. 22, no. 1, pp. 44–52, Feb 2002. [14] P. D. Christofides, R. Scattolini, D. M. de la Pea, and J. Liu, “Dis tributed model predictive control: A tutorial review and future research directions,” _Computers_ _&_ _Chemical_ _Engineering_, vol. 51, pp. 21 - 41, 2013, _{_ CPC _}_ _{_ VIII _}_ . [15] R. R. Negenborn and J. M. Maestre, “Distributed model predictive control: An overview and roadmap of future research opportunities,” _IEEE_ _Control_ _Systems_, vol. 34, no. 4, pp. 87–97, Aug 2014. [16] S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein, “Distributed optimization and statistical learning via the alternating direction method of multipliers,” _Found._ _Trends_ _Mach._ _Learn._, vol. 3, no. 1, pp. 1–122, Jan. 2011. [17] P. Trnka, V. Havlena, and J. Pekar, “Distributed MPC with parametric coordination,” in _2016_ _American_ _Control_ _Conference_ _(ACC)_, July 2016, pp. 6253–6258. [18] V. Spudi´c and M. Baoti´c, “Fast coordinated model predictive control of large-scale distributed systems with single coupling constraint,” in _Control_ _Conference_ _(ECC),_ _2013_ _European_, July 2013, pp. 2783–2788. [19] G. Stojanovski, L. Maxeiner, S. Krmer, and S. Engell, “Real-time shared resource allocation by price coordination in an integrated petrochemical site,” in _Control_ _Conference_ _(ECC),_ _2015_ _European_, July 2015, pp. 1498–1503. [20] P. Kundur, N. Balu, and M. Lauby, _Power_ _system_ _stability_ _and_ _control_ . McGraw-Hill, 1994. [21] V. Spudi´c, M. Baoti´c, and N. Peri´c, “Wind farm load reduction via parametric programming based controller design,” _IFAC_ _Proceedings_ _Volumes_, vol. 44, no. 1, pp. 1704 - 1709, 2011, 18th IFAC World Congress. [22] M. Herceg, M. Kvasnica, C. Jones, and M. Morari, “Multi-Parametric Toolbox 3.0,” in _Proc._ _of_ _the_ _European_ _Control_ _Conference_, Z¨urich, Switzerland, July 17–19 2013, pp. 502–510, [http://control.ee.ethz.ch/](http://control.ee.ethz.ch/~mpt) _∼_ [mpt.](http://control.ee.ethz.ch/~mpt) [23] A. Kozma, C. Conte, and M. Diehl, “Benchmarking large-scale dis tributed convex quadratic programming algorithms,” _Optimization Meth-_ _ods_ _and_ _Software_, vol. 30, no. 1, pp. 191–214, 2015. [24] J. Sun, “On monotropic piecewise quadratic programming,” PhD Thesis, University of Washington, 1986. [25] ——, “A study on monotropic piecewise quadratic programming,” In: Recent Developments in Mathematical Programming, pp. 213–235, CRC Press, 1991. [26] ——, “On the structure of convex piecewise quadratic functions,” _Journal_ _of_ _Optimization_ _Theory_ _and_ _Applications_, vol. 72, no. 3, pp. 499–510, Mar 1992. [27] R. T. Rockafellar and J. Sun, “A finite simplex-active-set method for monotropic piecewise quadratic programming,” In: Advances in Optimization and Approximation, pp. 275–292, Springer, Boston, MA, 1994. [28] H. Kellerer, U. Pferschy, and D. Pisinger, _Knapsack Problems_ . Springer Verlag GmbH, Berlin, Germany, 2004. [29] P. Brucker, “An O(n) algorithm for quadratic knapsack problems,” _Operations_ _Research_ _Letters_, vol. 3, no. 3, pp. 163 - 166, 1984. [30] K. C. Kiwiel, “Breakpoint searching algorithms for the continuous quadratic knapsack problem,” _Mathematical_ _Programming_, vol. 112, no. 2, pp. 473–491, 2008. [31] ——, “Variable fixing algorithms for the continuous quadratic knapsack problem,” _Journal_ _of_ _Optimization_ _Theory_ _and_ _Applications_, vol. 136, no. 3, pp. 445–458, 2008. [32] S. Boyd and L. Vandenberghe, _Convex_ _Optimization_ . New York, NY, USA: Cambridge University Press, 2004. [33] N. Megiddo, “Linear Programming in Linear Time When the Dimension Is Fixed,” _J._ _ACM_, vol. 31, no. 1, pp. 114–127, Jan. 1984. [34] M. E. Dyer, “On a Multidimensional Search Technique and Its Applica tion to the Euclidean One Centre Problem,” _SIAM_ _J._ _Comput._, vol. 15, no. 3, pp. 725–738, Aug. 1986. [35] K. L. Clarkson, “Linear programming in _O_ ( _n×_ 3 <sup>_d_</sup> <sup>2</sup> ) time,” _Inf. Process._ _Lett._, vol. 22, no. 1, pp. 21–24, Jan. 1986. [36] N. Megiddo and A. Tamir, “Linear time algorithms for some separable quadratic programming problems,” _Operations Research Letters_, vol. 13, no. 4, pp. 203 - 211, 1993. [37] B. Novoselnik and M. Baoti´c, “Coordinated microgrid control via parametric optimization,” in _Energy_ _Conference_ _(ENERGYCON),_ _2015_ _IEEE_ _International_, April 2015. [38] R. H. Lasseter, “Microgrids,” in _Power_ _Engineering_ _Society_ _Winter_ _Meeting,_ _2002._ _IEEE_, vol. 1, 2002, pp. 305–308 vol.1. [39] N. Hatziargyriou, H. Asano, R. Iravani, and C. Marnay, “Microgrids,” _IEEE_ _Power_ _and_ _Energy_ _Magazine_, vol. 5, no. 4, pp. 78–94, July 2007. [40] A. Parisio, E. Rikos, and L. Glielmo, “A model predictive control approach to microgrid operation optimization,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 22, no. 5, pp. 1813–1827, Sept 2014. [41] M. Gulin, M. Vaˇsak, and M. Baoti´c, “Analysis of microgrid power flow optimization with consideration of residual storages state,” in _Control_ _Conference_ _(ECC),_ _2015_ _European_, July 2015, pp. 3126–3131. [42] R. H. Lasseter, “Smart distribution: Coupled microgrids,” _Proceedings_ _of_ _the_ _IEEE_, vol. 99, no. 6, pp. 1074–1082, June 2011. [43] J. L¨ofberg, “YALMIP: A toolbox for modeling and optimization in matlab,” in _Proc._ _IEEE_ _Conference_ _on_ _Computer_ _Aided_ _Control_ _System_ _Design_ _(CACSD’04)_, Taipei, Taiwan, 2004. [44] ISO/IEC. (2014) ISO International Standard ISO/IEC 14882:2014(E) - Programming Language C++. Geneva, Switzerland: International Organization for Standardization (ISO). [Online]. Available: [https:](https://isocpp.org/std/the-standard) [//isocpp.org/std/the-standard](https://isocpp.org/std/the-standard) Branimir Novoselnik received his M.Sc. and Ph.D. degrees, both in Electrical Engineering, from the University of Zagreb, Faculty of Electrical Engineering and Computing (UNIZG-FER), Croatia, in 2013 and 2018, respectively. Currently he is Research and Teaching Assistant at the Department of Control and Computer Engineering, UNIZG-FER, Croatia. His research interests include optimal control, mathematical programming, and model predictive control. Vedrana Spudi´c received her M.Sc. and Ph.D. degrees in electrical engineering from University of Zagreb, in 2008 and 2012, respectively. Since 2014 she works at ABB Corporate Research Center in Baden-Dttwil, Switzerland, where she is currently leading the Power Conversion Systems research group. Her research interests include mathematical optimization and optimal control applied to fast real time systems. Recently she is focusing on advanced control for power electronics applications. Mato Baoti´c received the B.Sc. and M.Sc. degrees, both in Electrical Engineering, from the University of Zagreb, Faculty of Electrical Engineering and Computing (UNIZG-FER), Croatia, in 1997 and 2000, respectively, and the Ph.D. from the ETH Zurich, Switzerland, in 2005. Currently, he is Professor with the Department of Control and Computer Engineering, UNIZG-FER, Zagreb, Croatia. His research interests include mathematical programming, hybrid systems, optimal control, and model predictive control.

섹션 본문

섹션 본문이 없습니다.

참고문헌 38건

  1. Microgrids IEEE Power and Energy Magazine · Institute of Electrical and Electronics Engineers · 2007 10.1109/mpae.2007.376583
  2. MicroGrids 2000 IEEE Power Engineering Society Winter Meeting. Conference Proceedings (Cat. No.00CH37077) · 2003 10.1109/pesw.2002.985003
  3. Linear Programming in Linear Time When the Dimension Is Fixed Journal of the ACM · Association for Computing Machinery · 1984 10.1145/2422.322418
  4. Convex Optimization 2004 10.1017/cbo9780511804441
  5. Variable Fixing Algorithms for the Continuous Quadratic Knapsack Problem Journal of Optimization Theory and Applications · Springer Science+Business Media · 2007 10.1007/s10957-007-9317-7
  6. Breakpoint searching algorithms for the continuous quadratic knapsack problem Mathematical Programming · Springer Science+Business Media · 2006 10.1007/s10107-006-0050-z
  7. Coordinated microgrid control via parametric optimization 2016 10.1109/energycon.2016.7513957
  8. Linear time algorithms for some separable quadratic programming problems Operations Research Letters · Elsevier BV · 1993 10.1016/0167-6377(93)90041-e
  9. Linear programming in O(n × 3d2) time Information Processing Letters · Elsevier BV · 1986 10.1016/0020-0190(86)90037-2
  10. On a Multidimensional Search Technique and Its Application to the Euclidean One-Centre Problem SIAM Journal on Computing · Society for Industrial and Applied Mathematics · 1986 10.1137/0215052
  11. An online active set strategy to overcome the limitations of explicit MPC International Journal of Robust and Nonlinear Control · Wiley · 2007 10.1002/rnc.1251
  12. A Model Predictive Control Approach to Microgrid Operation Optimization IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcst.2013.2295737
  13. qpOASES: a parametric active-set algorithm for quadratic programming Mathematical Programming Computation · Springer Science+Business Media · 2014 10.1007/s12532-014-0071-1
  14. A parallel quadratic programming method for dynamic optimization problems Mathematical Programming Computation · Springer Science+Business Media · 2015 10.1007/s12532-015-0081-7
  15. Distributed model predictive control IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2002 10.1109/37.980246
  16. Distributed model predictive control: A tutorial review and future research directions Computers & Chemical Engineering · Elsevier BV · 2012 10.1016/j.compchemeng.2012.05.011
  17. Distributed Model Predictive Control: An Overview and Roadmap of Future Research Opportunities IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/mcs.2014.2320397
  18. Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers Foundations and Trends® in Machine Learning · Now Publishers · 2010 10.1561/2200000016
  19. Distributed MPC with parametric coordination 2022 American Control Conference (ACC) · 2016 10.1109/acc.2016.7526652
  20. Fast coordinated model predictive control of large-scale distributed systems with single coupling constraint 2022 European Control Conference (ECC) · 2013 10.23919/ecc.2013.6669391
  21. Real-time shared resource allocation by price coordination in an integrated petrochemical site 2022 European Control Conference (ECC) · 2015 10.1109/ecc.2015.7330751
  22. Knapsack Problems Springer eBooks · Springer Nature · 2004 10.1007/978-3-540-24777-7
  23. A Finite Simplex-Active-Set Method for Monotropic Piecewise Quadratic Programming Nonconvex optimization and its applications · Springer Nature · 1994 10.1007/978-1-4613-3629-7_15
  24. Fast Model Predictive Control Using Online Optimization IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2009 10.1109/tcst.2009.2017934
  25. An O(n) algorithm for quadratic knapsack problems Operations Research Letters · Elsevier BV · 1984 10.1016/0167-6377(84)90010-5
  26. The explicit linear quadratic regulator for constrained systems Automatica · Elsevier BV · 2002 10.1016/s0005-1098(01)00174-1
  27. Efficient interior point methods for multistage problems arising in receding horizon control 2012 10.1109/cdc.2012.6426855
  28. Code generation for receding horizon control IEEE International Symposium on Computer Aided Control System Design · 2010 10.1109/cacsd.2010.5612665
  29. Towards an understanding of emergence in systems-of-systems 2015 10.1109/sysose.2015.7151925
  30. Core Research and Innovation Areas in Cyber-Physical Systems of Systems Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-25141-7_4
  31. Multi-Parametric Toolbox 3.0 2022 European Control Conference (ECC) · 2013 10.23919/ecc.2013.6669862
  32. Wind Farm Load Reduction via Parametric Programming Based Controller Design IFAC Proceedings Volumes · Elsevier BV · 2011 10.3182/20110828-6-it-1002.02956
  33. Smart Distribution: Coupled Microgrids Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2011 10.1109/jproc.2011.2114630
  34. Analysis of microgrid power flow optimization with consideration of residual storages state 2022 European Control Conference (ECC) · 2015 10.1109/ecc.2015.7331014
  35. Benchmarking large-scale distributed convex quadratic programming algorithms Optimization methods & software · Taylor & Francis · 2014 10.1080/10556788.2014.911298
  36. On the structure of convex piecewise quadratic functions Journal of Optimization Theory and Applications · Springer Science+Business Media · 1992 10.1007/bf00939839
  37. YALMIP : a toolbox for modeling and optimization in MATLAB 2005 10.1109/cacsd.2004.1393890
  38. Recent Developments in Mathematical Programming 2021