Algorithm Search⌘K

Definitionadvanced

Recursive feasibility

Also called persistent feasibility.

An MPC scheme is recursively feasible if feasibility of its problem at one time implies feasibility at the next.

Recursive feasibility is the property of a model predictive control scheme that the optimization problem, once feasible, stays feasible at every later sampling instant. MPC solves a constrained problem from the current state at each instant. If the problem has no solution, the controller has no input to apply. Feasibility at the start is not enough: a plan that meets the limits for NN steps can lead the state to a point from which no plan meets them. Recursive feasibility rules this out for the nominal model. The usual way to get it is a control invariant terminal set. It is also the first half of the proof of the MPC stability theorem.

Definition

Consider the MPC problem PN(x)\mathbb{P}_N(x) for the model xk+1=f(xk,uk)x_{k+1} = f(x_k, u_k), with the constraints (xi,ui)∈Z(x_i, u_i) \in \mathbb{Z} for i<Ni < N and the terminal constraint xN∈Xfx_N \in \mathbb{X}_f. Let XN\mathcal{X}_N be its feasible set, the set of states xx for which PN(x)\mathbb{P}_N(x) has a feasible input sequence, and let κN(x)\kappa_N(x) be the MPC law.

The MPC scheme is recursively feasible if

x∈XN  ⟹  f(x,κN(x))∈XN.x \in \mathcal{X}_N \implies f(x, \kappa_N(x)) \in \mathcal{X}_N.

In other words, XN\mathcal{X}_N is a positively invariant set of the closed loop xk+1=f(xk,κN(xk))x_{k+1} = f(x_k, \kappa_N(x_k)). Then a state that is feasible at time 0 stays feasible, and the constraints hold, for all time.

Two variants are common.

  • Strong recursive feasibility. The implication holds for every feasible first input, not only for the optimal one: f(x,u0)∈XNf(x, u_0) \in \mathcal{X}_N for every feasible sequence (u0,…,uN−1)(u_0, \dots, u_{N-1}). Then the property does not depend on the cost or on the accuracy of the solver.
  • Robust recursive feasibility. For xk+1=f(xk,uk,wk)x_{k+1} = f(x_k, u_k, w_k) with wk∈Ww_k \in \mathbb{W}, the implication holds for every disturbance: f(x,κN(x),w)∈XNf(x, \kappa_N(x), w) \in \mathcal{X}_N for all w∈Ww \in \mathbb{W}.

The standard sufficient condition (theorem). Suppose Xf\mathbb{X}_f is control invariant with a local law κf\kappa_f: for each x∈Xfx \in \mathbb{X}_f, (x,κf(x))∈Z(x, \kappa_f(x)) \in \mathbb{Z} and f(x,κf(x))∈Xff(x, \kappa_f(x)) \in \mathbb{X}_f. Then the scheme is strongly recursively feasible. Proof: let (u0,…,uN−1)(u_0, \dots, u_{N-1}) be feasible from xx, with states x0=x,x1,…,xN∈Xfx_0 = x, x_1, \dots, x_N \in \mathbb{X}_f. From x1=f(x,u0)x_1 = f(x, u_0) the shifted sequence (u1,…,uN−1,κf(xN))(u_1, \dots, u_{N-1}, \kappa_f(x_N)) is feasible: the first N−1N - 1 steps are the old ones, the step from xNx_N meets Z\mathbb{Z}, and it ends in Xf\mathbb{X}_f. So x1∈XNx_1 \in \mathcal{X}_N. The same argument shows that XN\mathcal{X}_N is control invariant and that XN⊆XN+1\mathcal{X}_{N} \subseteq \mathcal{X}_{N+1}.

Examples and non-examples

The examples use the scalar plant xk+1=2xk+ukx_{k+1} = 2 x_k + u_k with ∣u∣≤1|u| \le 1, ∣x∣≤5|x| \le 5, the stage cost x2+u2x^2 + u^2 and N=1N = 1. Its largest control invariant set is [−1,1][-1, 1] (see control invariant set).

  • Non-example: no terminal constraint. With Xf=[−5,5]\mathbb{X}_f = [-5, 5] and the terminal cost 0, the feasible set is X1={x:∣x∣≤5, ∃∣u∣≤1, ∣2x+u∣≤5}=[−3,3]\mathcal{X}_1 = \{x : |x| \le 5,\ \exists |u| \le 1,\ |2x + u| \le 5\} = [-3, 3]. The optimal input minimizes u2u^2 alone, so it is u=0u = 0 whenever ∣2x∣≤5|2x| \le 5. From x=2x = 2 this gives x1=4∉X1x_1 = 4 \notin \mathcal{X}_1: the problem at the next instant has no solution. No other input would help for long, because 22 lies outside [−1,1][-1, 1]: every admissible sequence from it leaves [−5,5][-5, 5] within 3 steps.
  • Example: a control invariant terminal set. With Xf=[−1,1]\mathbb{X}_f = [-1, 1], the feasible set is X1={x:∃∣u∣≤1, ∣2x+u∣≤1}=[−1,1]\mathcal{X}_1 = \{x : \exists |u| \le 1,\ |2x + u| \le 1\} = [-1, 1], and every feasible input keeps the next state in it. The scheme is strongly recursively feasible, as the theorem says.
  • Example: linear MPC with the maximal positively invariant terminal set. On the linear MPC page the terminal set is the maximal positively invariant set of the LQR closed loop inside the limits. It is control invariant with κf(x)=−Kx\kappa_f(x) = -K x, so the scheme is recursively feasible.
  • Non-example: a disturbance. For xk+1=2xk+uk+wkx_{k+1} = 2 x_k + u_k + w_k with ∣wk∣≤0.5|w_k| \le 0.5, the terminal set [−1,1][-1, 1] no longer works: from x=1x = 1, the best input u=−1u = -1 gives x1=1+wx_1 = 1 + w, which can be 1.51.5. The set [−0.5,0.5][-0.5, 0.5] is robust control invariant: from ∣x∣≤0.5|x| \le 0.5 the input u=−2xu = -2x is admissible and gives x1=wx_1 = w. Robust schemes such as tube MPC and min-max MPC build on such sets.
  • Soft constraints. If the state constraints are replaced by penalties, the problem is feasible for every state. This gives recursive feasibility in a trivial way, at the price of possible constraint violations.
  • Control invariant set and positively invariant set: recursive feasibility says that XN\mathcal{X}_N is positively invariant for the closed loop, and the standard condition makes it control invariant. See control invariant set.
  • Feasible set. XN\mathcal{X}_N is the NN-step controllable set to Xf\mathbb{X}_f inside the constraints. It is the domain of the MPC law.
  • Asymptotic stability of MPC. Recursive feasibility makes the MPC law defined along the whole closed-loop trajectory; with a terminal cost that is a local control Lyapunov function, the optimal cost then decreases and the origin is asymptotically stable. See the MPC stability theorem.
  • Feasibility implies stability. Scokaert, Mayne and Rawlings (1999) showed that an MPC that applies any feasible sequence with enough cost decrease, such as the shifted sequence of the proof above, is still stabilizing. So recursive feasibility also gives a warm start for the solver.
  • Constraint admissibility of a reference. A reference governor keeps an existing loop recursively feasible by changing its setpoint, using a positively invariant set of the closed loop.

References

  1. D. Q. Mayne, J. B. Rawlings, C. V. Rao and P. O. M. Scokaert, Constrained model predictive control, stability and optimality, Automatica 36(6), 789-814, 2000, the terminal set conditions and the feasibility of the shifted control sequence at the next sampling instant
  2. P. O. M. Scokaert, D. Q. Mayne and J. B. Rawlings, Suboptimal model predictive control (feasibility implies stability), IEEE Transactions on Automatic Control 44(3), 648-654, 1999, the use of the shifted feasible sequence as a warm start, and stability without optimality
  3. James B. Rawlings, David Q. Mayne and Moritz M. Diehl, Model Predictive Control, Theory, Computation, and Design, 2nd edition, Nob Hill Publishing, 2017, Chapter 2, regulation, the feasible set of the MPC problem and its invariance under the MPC law
  4. Francesco Borrelli, Alberto Bemporad and Manfred Morari, Predictive Control for Linear and Hybrid Systems, Cambridge University Press, 2017, the chapter on receding horizon control, with the feasibility and stability of constrained linear MPC

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/ATXJ8G/text.yaml