betaFeedback

WorksEngineering

A Polynomial-Time Algorithm for the Minimal Input/Output Node Cardinality Disturbance Decoupling Problem over Networks via Output Feedback

Abstract

For networked systems, we propose a polynomial-time algorithm for solving the minimal input/output node cardinality disturbance decoupling problem via output feedback. The algorithm computes an optimal solution, namely, a pair of minimum-cardinality sets of control input and measurement output nodes that achieve disturbance decoupling, by solving a min-cut/max-flow problem on an extended network.

Introduction

In this paper, we investigate the Disturbance Decoupling Problem via Output Feedback (DDPOF) for networked systems, where disturbances act on a subset of nodes and their effects must be isolated from a designated set of target nodes. For linear systems, disturbance decoupling is classically studied within geometric control theory [2, 14, 13]. When the full state is not directly available for feedback, the problem can be addressed by designing an output feedback law of the form u=−Gyu=-Gy, where y=Cxy=Cx is a suitably selected output vector. Necessary and sufficient conditions for the solvability of the DDPOF can be expressed in terms of the existence of a subspace that contains the image of the disturbance matrix and is contained in the kernel of the target matrix, while being both controlled invariant and conditioned invariant [7].

In [10], the DDP is reformulated for networked systems under the assumption that disturbances, targets, control inputs, and output measurements are associated with individual nodes, rather than arbitrary linear combinations of states. Under this node-based setting, graphical sufficient conditions for solvability are established in terms of properties of the network nodes. In particular, if the control input and measurement output nodes contain, respectively, the out-boundary and the in-boundary of a node set W\mathcal{W}, then W\mathcal{W} is both a controlled and a conditioned invariant set of nodes. Consequently, the DDPOF is solvable whenever W\mathcal{W} contains all disturbance nodes and is disjoint from the target nodes. Building on this characterization, [10] formulates the minimal input/output node cardinality DDPOF, which seeks to minimize the number of control input and measurement output nodes required to achieve disturbance decoupling. The optimal solutions are mathematically characterized, and a corresponding output feedback gain, known as a “friend” of W\mathcal{W}, is derived in closed form. The framework is also applied to disturbance decoupling in Power Networks in [11].

Despite these results, while polynomial-time algorithms have been developed for the corresponding minimal node cardinality state-feedback and dynamic-feedback problems [10], an efficient algorithm for solving the minimal input/output node cardinality DDPOF has, to the best of our knowledge, not yet appeared in the literature. This paper fills this algorithmic gap by introducing an extended network that encodes the graphical constraints imposed by the optimality characterization of the minimal input/output node cardinality DDPOF, and then applying a min-cut/max-flow algorithm on the extended network in order to identify an optimal solution. Related applications of flow-based methods to control problems include functional target controllability [3] and the computation of the infinite structure of structured systems [8]. We prove that the proposed algorithm always terminates in polynomial time and returns an optimal solution.

A MATLAB implementation is available in [9], complementing the toolbox accompanying [10].

Background Material

The material in this section is taken from standard textbooks on geometric control; see, e.g., [2, 13, 14] and adapted for systems over networks in [10].

Consider a digraph G=(V,E,A)\mathcal{G}=(\mathcal{V},\mathcal{E},\mathcal{A}), where V={v1,…,vn}\mathcal{V}=\{v_1,\ldots,v_n\} is a set of nn nodes and E\mathcal{E} a set of qq edges over V\mathcal{V}, with the convention that (vi,vj)∈E(v_i,v_j)\in\mathcal{E} means vi→vjv_i\to v_j, i.e., viv_i is the tail and vjv_j is the head of the edge. A∈Rn×n\mathcal{A}\in\mathbb{R}^{n\times n} is the adjacency matrix associated with G\mathcal{G}: AjiA_{ji} is the weight of the edge (vi,vj)∈E(v_i,v_j)\in\mathcal{E}. Denote by A\mathcal{A} the class of adjacency matrices of G\mathcal{G} having “no zeros” in E\mathcal{E}: A={A∈Rn×n s.t. Aji≠0 iff (vi,vj)∈E and Aji=0 iff (vi,vj)∉E}\mathcal{A}=\{A\in\mathbb{R}^{n\times n}\ \text{s.t.}\ A_{ji}\ne0\ \text{iff}\ (v_i,v_j)\in\mathcal{E}\ \text{and}\ A_{ji}=0\ \text{iff}\ (v_i,v_j)\notin\mathcal{E}\}. Given a graph G\mathcal{G}, a subset Z⊆V\mathcal{Z}\subseteq\mathcal{V} is called a terminal subset of nodes if there is no outgoing edge from Z\mathcal{Z}, i.e., for all edges (vi,vj)∈E(v_i,v_j)\in\mathcal{E} if vi∈Zv_i\in\mathcal{Z} then also vj∈Zv_j\in\mathcal{Z}. A directed path P\mathcal{P} from node viv_i to node vjv_j is a sequence of distinct nodes {vi,vi+1,…,vj−1,vj}\{v_i,v_{i+1},\ldots,v_{j-1},v_j\} s.t. (vk,vk+1)∈E ∀k∈{i,i+1,…,j−1}(v_k,v_{k+1})\in\mathcal{E}\ \forall k\in\{i,i+1,\ldots,j-1\}: P={vi,…,vj}\mathcal{P}=\{v_i,\ldots,v_j\} (or Pvjvi\mathcal{P}^{v_i}_{v_j} when we need to specify the extremities of the path). The number of edges in the path is called the length of the path. A cut (S,T)(S,T) of G\mathcal{G} is a partition of the node set V\mathcal{V} into two disjoint subsets SS and TT, with S∪T=VS \cup T = \mathcal{V}. The (directed, omitted hereafter) edge cut (also called (directed) cut-set) induced by (S,T)(S,T) is defined as δ(S,T):={(u,v)∈E:u∈S,v∈T}\delta(S,T) := \{(u,v) \in\mathcal{E}: u \in S, v \in T\}, i.e., the set of edges directed from SS to TT. The value of a cut is the sum of the weights of the edges in δ(S,T)\delta(S,T). If all edges have unit weight, the value of (S,T)(S,T) equals the cardinality of δ(S,T)\delta(S,T). Given two nodes ss (source) and tt (sink), an ss-tt cut is an edge cut (S,T)(S,T) such that s∈Ss \in S and t∈Tt \in T. A minimum ss-tt cut is an ss-tt cut whose value, called the min-cut value, is no greater than that of any other ss-tt cut. A set X⊆VX \subseteq\mathcal{V} is an ss-tt node cut (also called ss-tt vertex cut) if removing the nodes in XX, together with their incident edges, eliminates every directed path from ss to tt. More generally, for disjoint sets S,T⊆VS,T \subseteq\mathcal{V}, a set X⊆VX \subseteq\mathcal{V} is a node cut (equiv., vertex cut) separating SS and TT if removing the nodes in XX, together with their incident edges, eliminates every directed path from any node in SS to any node in TT.

In the following, we explicitly fix a basis of canonical vectors for a vector subspace associated with a set of nodes. Let eie_i be an elementary column vector (i.e., the vector having 1 on the ii-th slot and 0 elsewhere).

Definition 1 (Subspace associated with a set of nodes) Given a set of nodes Z⊆V\mathcal{Z} \subseteq\mathcal{V}, the vector subspace of Rn\mathbb{R}^n associated with Z\mathcal{Z} is span⁡{ei s.t. vi∈Z}\operatorname{span}\{e_i\ \text{s.t.}\ v_i \in\mathcal{Z}\}.

Throughout the paper, we identify Z\mathcal{Z} and the associated vector subspace, and sometimes write x∈Zx \in\mathcal{Z}. For any Z⊂V\mathcal{Z} \subset\mathcal{V}, the notation Z⊥\mathcal{Z}^{\perp} is used for both the complement set V∖Z\mathcal{V} \setminus\mathcal{Z} and the subspace orthogonal to (the vector space) Z\mathcal{Z} in Rn\mathbb{R}^n. For each subspace Z\mathcal{Z}, ∃\exists a full column rank matrix ZZ s.t. Im⁡Z=Z\operatorname{Im}Z = \mathcal{Z} and ker⁡Z={0}\ker Z = \{0\}. Such matrix is called a basis matrix of Z\mathcal{Z}. When Z\mathcal{Z} is a set of nodes, we can take ZZ as a collection of elementary column vectors (i.e., one column eie_i for each node vi∈Zv_i \in\mathcal{Z}). As a consequence, the sum of vector subspaces and their union can be identified: Z1+Z2∼Z1∪Z2\mathcal{Z}_1 + \mathcal{Z}_2 \sim\mathcal{Z}_1 \cup\mathcal{Z}_2. On G=(V,E,A)\mathcal{G} = (\mathcal{V},\mathcal{E},A), for any subset of nodes W⊆V\mathcal{W} \subseteq\mathcal{V} we can define the in- and out-boundaries as follows.

Definition 2 The in-boundary of W⊆V\mathcal{W} \subseteq\mathcal{V} in the digraph G=(V,E,A)\mathcal{G} = (\mathcal{V},\mathcal{E},A) is the set of nodes in W\mathcal{W} that have at least one outgoing edge leading to a node in W⊥\mathcal{W}^{\perp}, i.e., ∂−(W,A):={vi∈W s.t. ∃ (vi,vj)∈E,vj∈W⊥}\partial_{-}(\mathcal{W},A) := \{v_i \in\mathcal{W}\ \text{s.t.}\ \exists\ (v_i,v_j) \in\mathcal{E}, v_j \in\mathcal{W}^{\perp}\}. Similarly, the out-boundary of W\mathcal{W} is the set of nodes in W⊥\mathcal{W}^{\perp} that have at least one incoming edge from W\mathcal{W}, i.e., ∂+(W,A):={vj∈W⊥ s.t. ∃ (vi,vj)∈E,vi∈W}\partial_{+}(\mathcal{W},A) := \{v_j \in\mathcal{W}^{\perp}\ \text{s.t.}\ \exists\ (v_i,v_j) \in\mathcal{E}, v_i \in\mathcal{W}\}.

From the preceding definition, it directly follows that ∂±(W,A)=∂∓(W⊥,AT)\partial_{\pm}(\mathcal{W},A) = \partial_{\mp}(\mathcal{W}^{\perp},A^{\mathsf{T}}).

Linear systems over networks

In G\mathcal{G}, we can assume that two subsets of nodes play the role of inputs and outputs, denoted, respectively, B⊆V\mathcal{B} \subseteq\mathcal{V} and C⊆V\mathcal{C} \subseteq\mathcal{V}. Then we can form a linear time-invariant control system having a state update matrix equal to AA, an input matrix B∈Rn×mB \in\mathbb{R}^{n \times m} composed of mm elementary column vectors corresponding to B=Im⁡B\mathcal{B} = \operatorname{Im}B, and an output matrix C∈Rp×nC \in\mathbb{R}^{p \times n} having pp elementary rows corresponding to C=Im⁡CT=(ker⁡C)⊥\mathcal{C} = \operatorname{Im}C^{\mathsf{T}} = (\ker C)^{\perp}:

x˙=Ax+Bu,\dot{x} = Ax + Bu,
y=Cx,(1)y = Cx, \tag*{(1)}

where we have associated one state variable xi∈Rx_i \in\mathbb{R} of the vector x=[x1…xn]Tx = [x_1 \ldots x_n]^{\mathsf{T}} to each node viv_i of the graph.

Invariance, controlled invariance and conditioned invariance for node sets

In this section we formulate the concepts of invariance for sets of nodes, rather than for subspaces, as it is standard in the literature (see, e.g., [2]).

Definition 3 A subset Z⊂V\mathcal{Z} \subset\mathcal{V} is an invariant (or AA-invariant) set of nodes for (1) if AZ⊆ZA\mathcal{Z} \subseteq\mathcal{Z}.

Definition 3, a standard concept also for subspaces, corresponds to Ax∈ZAx \in\mathcal{Z}, ∀x∈Z\forall x \in\mathcal{Z}. For network systems like (1) we can have also an equivalent topological characterization, valid for the entire class A\mathcal{A}.

Proposition 1 ([10 Prop. 1]) Consider the system (1). A subset Z⊂V\mathcal{Z} \subset\mathcal{V} is an AA-invariant set of nodes iff any of the following equivalent conditions is met:

(a) Z\mathcal{Z} is a terminal subset of nodes;

(b) If ZZ is the basis matrix of Z\mathcal{Z} (i.e., Im⁡Z=Z\operatorname{Im}Z = \mathcal{Z} and ZZ is full column rank), ∃\exists a matrix XX s.t. AZ=ZXAZ = ZX.

The concept of controlled invariance is used to expand the notion of invariance (see, e.g., Chapter 4 of [13]).

Definition 4 A subset Z⊂V\mathcal{Z} \subset\mathcal{V} is a controlled invariant (or (A,B)(A,B)-invariant) set of nodes for (1) if AZ⊆Z+BA\mathcal{Z} \subseteq\mathcal{Z} + \mathcal{B}.

The following proposition provides three equivalent characterizations of (A,B)(A,B)-invariance for sets of nodes.

Proposition 2 ([10 Prop. 2]) Z⊂V\mathcal{Z} \subset\mathcal{V} is an (A,B)(A,B)-invariant set of nodes for (1) iff any of the following equivalent conditions is met:

(a) ∀(vi,vj)∈E\forall(v_i,v_j) \in\mathcal{E}, vi∈Z⇒vj∈Z∪Bv_i \in\mathcal{Z} \Rightarrow v_j \in\mathcal{Z} \cup\mathcal{B};

(b) If ZZ is the basis matrix of Z\mathcal{Z}, ∃\exists matrices XX, UU s.t. AZ=ZX+BUAZ = ZX + BU;

(c) ∃\exists a matrix F∈Rm×nF \in\mathbb{R}^{m \times n}, called a “friend” of Z\mathcal{Z}, s.t. Z\mathcal{Z} is (A−BF)(A-BF)-invariant, i.e., (A−BF)Z⊆Z(A-BF)\mathcal{Z} \subseteq\mathcal{Z}.

Definition 5 A subset S⊂V\mathcal{S} \subset\mathcal{V} is a conditioned invariant (or (C,A)(C,A)-invariant) set of nodes for (1) if A(S∖C)⊆SA(\mathcal{S} \setminus\mathcal{C}) \subseteq\mathcal{S} (with C=(ker⁡C)⊥\mathcal{C} = (\ker C)^{\perp} and CC with elementary rows).

Similarly to above, equivalent characterizations of (C,A)(C,A)-invariance can be formulated.

Proposition 3 ([10 Prop. 3]) S\mathcal{S} is a (C,A)(C,A)-invariant set of nodes if and only if any of the following equivalent conditions is met:

(a) ∀(vi,vj)∈E,vi∈S,vi∉C⇒vj∈S\forall(v_i,v_j)\in\mathcal{E}, v_i\in\mathcal{S}, v_i\notin\mathcal{C}\Rightarrow v_j\in\mathcal{S}; (b) ∃\exists a matrix H∈Rn×nH\in\mathbb{R}^{n\times n}, called a “friend” of S\mathcal{S}, s.t. S\mathcal{S} is (A−HC)(A-HC)-invariant, i.e., (A−HC)S⊆S(A-HC)\mathcal{S}\subseteq\mathcal{S}.

Proposition 4 A set of nodes W\mathcal{W} is (A,B)(A,B)-invariant and (C,A)(C,A)-invariant iff it is AA-invariant or each edge exiting W\mathcal{W} is of the type (vi,vj)(v_i,v_j) with vi∈Cv_i\in\mathcal{C} and vj∈Bv_j\in\mathcal{B}.

Proof: One direction is proven directly from the definitions of (A,B)(A,B)-invariant and (C,A)(C,A)-invariant node set. In fact, a terminal set of nodes W\mathcal{W} is AA-invariant, therefore also (A,B)(A,B)-invariant and (C,A)(C,A)-invariant. Assume that a set of nodes W\mathcal{W} is not AA-invariant and define the set of all the edges exiting W\mathcal{W} as C‾×B‾⊆E\overline{\mathcal{C}}\times\overline{\mathcal{B}}\subseteq\mathcal{E}, C‾⊆W\overline{\mathcal{C}}\subseteq\mathcal{W}, B‾⊆W⊥\overline{\mathcal{B}}\subseteq\mathcal{W}^{\perp}. If vi∈Cv_i\in\mathcal{C}, ∀vi∈C‾\forall v_i\in\overline{\mathcal{C}} then W\mathcal{W} is a (C,A)(C,A)-invariant node set, whereas if vj∈Bv_j\in\mathcal{B}, ∀vj∈B‾\forall v_j\in\overline{\mathcal{B}} then W\mathcal{W} is an (A,B)(A,B)-invariant node set. For the other direction, assume by contradiction ∃\exists an edge exiting W\mathcal{W} not of the type (vi,vj)(v_i,v_j) with vi∈Cv_i\in\mathcal{C} and vj∈Bv_j\in\mathcal{B}. Then either condition (a) of Proposition 2, or condition (a) of Proposition 3, or both, are violated.

Standard disturbance decoupling problem via output feedback over networks

For a given network system (1), we can consider two additional sets of nodes D,T⊂V\mathcal{D},\mathcal{T}\subset\mathcal{V}, of cardinality ∣D∣|\mathcal{D}| and ∣T∣|\mathcal{T}|, corresponding, resp., to nodes affected by disturbances and target nodes. Each disturbance wiw_i, i∈{1,…,∣D∣}i\in\{1,\ldots,|\mathcal{D}|\}, is assumed to act independently on a node of D\mathcal{D}. Both D\mathcal{D} and T\mathcal{T} can be identified with elementary matrices D∈Rn×∣D∣D\in\mathbb{R}^{n\times|\mathcal{D}|} and T∈R∣T∣×nT\in\mathbb{R}^{|\mathcal{T}|\times n}, i.e., matrices composed of elementary columns, resp. rows, representing subselections of nodes in V\mathcal{V}. We can then associate to D\mathcal{D} and T\mathcal{T} vector subspaces, resp. Im⁡D=D\operatorname{Im}D=\mathcal{D} and ker⁡T=V∖T\ker T=\mathcal{V}\setminus\mathcal{T}. Denoting w=[w1…w∣D∣]⊤w=[w_1\ldots w_{|\mathcal{D}|}]^{\top}, we obtain the following generalization of (1):

x˙=Ax+Bu+Dw,y=Cx,z=Tx.(2)\begin{aligned} \dot{x}&=Ax+Bu+Dw,\\ y&=Cx,\\ z&=Tx. \tag*{(2)} \end{aligned}

For the system (2), we consider the following problem.

Problem 1 (DDPOF) Given the system (2), find a control law u=−Gyu=-Gy that renders the target nodes in T\mathcal{T} unaffected by the disturbances in D\mathcal{D}.

Minimal Input/Output Cardinality DDPOF

In order to avoid degenerate situations in the problem, we make the following assumption on the sets D\mathcal{D} and T\mathcal{T}.

Assumption 1 D∩T=∅\mathcal{D}\cap\mathcal{T}=\varnothing (equiv. TD=0TD=0).

The solvability of Problem 1 is characterized by the following standard result.

Theorem 1 ([7 Thm. 3.2]) For the system (2) the DDPOF is solvable iff Im⁡D⊆W∗⊆ker⁡T\operatorname{Im}D\subseteq\mathcal{W}^{*}\subseteq\ker T, where W∗\mathcal{W}^{*} is an (A,B)(A,B)- and (C,A)(C,A)-invariant subspace.

In [10], a sufficient condition for the solvability of Problem 1 is stated in terms of the corresponding node set W\mathcal{W}.

Theorem 2 ([10 Thm. 3]) Under Assumption 1, the DDPOF is solvable for the system (2) if any of the following equivalent conditions is met: (a) W\mathcal{W} (A,B)(A,B)-invariant and (C,A)(C,A)-invariant set of nodes s.t. D⊆W⊆V∖T\mathcal{D}\subseteq\mathcal{W}\subseteq\mathcal{V}\setminus\mathcal{T}; (b) Let P1,…,Pℓ\mathcal{P}_1,\ldots,\mathcal{P}_{\ell} be all possible D\mathcal{D}-to-T\mathcal{T} paths. For every path Pj={v1,…,vκj}\mathcal{P}_j=\{v_1,\ldots,v_{\kappa_j}\} of length κj−1≥1\kappa_j-1\geq1, with v1∈Dv_1\in\mathcal{D} and vκj∈Tv_{\kappa_j}\in\mathcal{T}, ∃\exists at least one sub-path of length 11 of the form {vp,vp+1}\{v_p,v_{p+1}\} with vp∈Cv_p\in\mathcal{C} and vp+1∈Bv_{p+1}\in\mathcal{B}, p∈{1,…,κj−1}p\in\{1,\ldots,\kappa_j-1\}, j∈{1,…,ℓ}j\in\{1,\ldots,\ell\}.

Remark 1 The node set W\mathcal{W} is determined by B\mathcal{B} and C\mathcal{C} since it can be constructed as an extension of the minimal (C,A)(C,A)-invariant node set containing D\mathcal{D}, which is uniquely determined by C\mathcal{C}, or as a reduction of the maximal (A,B)(A,B)-invariant node set contained in T⊥\mathcal{T}^{\perp}, which is uniquely determined by B\mathcal{B} (see the proof of [10 Thm. 3]).

As a consequence of Theorem 2 we can formulate the following minimal node-cardinality problem.

Problem 2 (Minimal Input/Output Cardinality DDPOF) Given a network G\mathcal{G} and sets D,T\mathcal{D},\mathcal{T}, find a minimal cardinality set of input nodes B\mathcal{B} and output nodes C\mathcal{C} that solves the DDPOF for the system (2).

In practice, solving Problem 2 corresponds to finding matrices B∈Rn×mB\in\mathbb{R}^{n\times m} and C⊤∈Rn×pC^{\top}\in\mathbb{R}^{n\times p} of elementary columns s.t. Im⁡B=B\operatorname{Im}B=\mathcal{B} and Im⁡C⊤=C\operatorname{Im}C^{\top}=\mathcal{C}.

Solution to the minimal input/output cardinality DDPOF

Exploiting Theorem 2, Problem 2 can be reformulated as an optimization problem:

Problem 2:

min⁡B,C∣B∣+∣C∣subject toD⊆W⊆T⊥,\begin{aligned} &\min_{\mathcal{B},\mathcal{C}} &&|\mathcal{B}|+|\mathcal{C}|\\ &\text{subject to} &&\mathcal{D}\subseteq\mathcal{W}\subseteq\mathcal{T}^{\perp}, \end{aligned}

where W\mathcal{W} is an (A,B)(A,B)- and (C,A)(C,A)-invariant set of nodes. In Section IV of [10], we characterize the feasible (i.e., satisfying D⊆W⊆T⊥\mathcal{D}\subseteq\mathcal{W}\subseteq\mathcal{T}^{\perp}) and optimal solutions of Problem 2. The result is reported in the following.

Denote by P=⋃iPi\mathcal{P}=\bigcup_i\mathcal{P}_i the union of all D\mathcal{D}-to-T\mathcal{T} paths.

Theorem 3 ([10 Thm. 7]) Under Assumption 1, (a) If {B,C}\{\mathcal{B},\mathcal{C}\} is a feasible solution of Problem 2 then B⊇∂+(W,A)\mathcal{B}\supseteq\partial_{+}(\mathcal{W},A) and C⊇∂−(W,A)\mathcal{C}\supseteq\partial_{-}(\mathcal{W},A); (b) If {B,C}\{\mathcal{B},\mathcal{C}\} is an optimal solution of Problem 2 then B=∂+(W,A)∩P=∂+(W,A)\mathcal{B}=\partial_{+}(\mathcal{W},A)\cap\mathcal{P}=\partial_{+}(\mathcal{W},A) and C=∂−(W,A)∩P=∂−(W,A)\mathcal{C}=\partial_{-}(\mathcal{W},A)\cap\mathcal{P}=\partial_{-}(\mathcal{W},A); (c) {B,C}\{\mathcal{B},\mathcal{C}\} is an optimal solution of Problem 2 iff B\mathcal{B} and C\mathcal{C} are the minimal cardinality sets of nodes for which B=∂+(W,A)∩P=∂+(W,A)\mathcal{B}=\partial_{+}(\mathcal{W},A)\cap\mathcal{P}=\partial_{+}(\mathcal{W},A) and C=∂−(W,A)∩P=∂−(W,A)\mathcal{C}=\partial_{-}(\mathcal{W},A)\cap\mathcal{P}=\partial_{-}(\mathcal{W},A).

As for the synthesis of the output feedback, we have the following result.

Theorem 4 ([10 Thm. 11]) Under Assumption 1, and given a (A,B)(A,B)- and (C,A)(C,A)-invariant set of nodes W\mathcal{W}, if C\mathcal{C} and B\mathcal{B} are two sets of output and input nodes, respectively, s.t. C=∂−(W,A)\mathcal{C}=\partial_{-}(\mathcal{W},A), and B=∂+(W,A)\mathcal{B}=\partial_{+}(\mathcal{W},A), then the unique friend of W\mathcal{W} solving the DDPOF, i.e., the matrix G∈Rm×pG\in\mathbb{R}^{m\times p} s.t. (A−BGC)W⊆W(A-BGC)\mathcal{W}\subseteq\mathcal{W}, is given by G=BTACTG=B^{\mathsf{T}}AC^{\mathsf{T}}.

Solving the minimal input/output cardinality DDPOF

What is missing in [10] is an efficient algorithm to compute the optimal {B,C}\{\mathcal{B},\mathcal{C}\} that solves Problem 2. This algorithm, which is the main contribution of this paper, is described in this section. Before introducing the proposed algorithm, we first give the following Lemma, direct consequence of Theorems 3 and 2.

Lemma 1 Under Assumption 1, if {B,C}\{\mathcal{B},\mathcal{C}\} is an optimal solution of Problem 2, then B∩C=∅\mathcal{B}\cap\mathcal{C}=\varnothing, thus ∣B∣+∣C∣=∣B∪C∣|\mathcal{B}|+|\mathcal{C}|=|\mathcal{B}\cup\mathcal{C}|.

Proof: By assumption, {B,C}\{\mathcal{B},\mathcal{C}\} is a minimal cardinality solution of Problem 2. By item (c) of Theorem 3, any minimal cardinality solution satisfies B=∂+(W,A)\mathcal{B}=\partial_{+}(\mathcal{W},A) and C=∂−(W,A)\mathcal{C}=\partial_{-}(\mathcal{W},A). By Definition 2, ∂+(W,A)⊆W⊥\partial_{+}(\mathcal{W},A)\subseteq\mathcal{W}^{\perp} and ∂−(W,A)⊆W\partial_{-}(\mathcal{W},A)\subseteq\mathcal{W}. Since W\mathcal{W} and W⊥\mathcal{W}^{\perp} are disjoint node sets, B∩C\mathcal{B}\cap\mathcal{C} must be empty as well.

Min-cut/max-flow algorithm revisited

What Theorems 3 and 2 indicate is that, for each D\mathcal{D}-to-T\mathcal{T} path PjP_j, at least a node of B\mathcal{B} and a node C\mathcal{C} must belong to PjP_j and be pair-wise adjacent in PjP_j, with the node of C\mathcal{C} coming before the node of B\mathcal{B} in PjP_j. The solution pair {B,C}\{\mathcal{B},\mathcal{C}\} thus corresponds to a node cut separating D\mathcal{D} from T\mathcal{T}. What Problem 2 requires is that such node cut must have minimal cardinality. The problem can be seen as a special case of a min-cut/max-flow problem, whose optimal solution can be computed in polynomial time (see Table 1 of [5]). The strategy to achieve this decoupling with the minimal number of input and output nodes is summarized in Algorithms 1–3.

Algorithm 1 DDPOF by min-cut/max-flow
Data: G,D,T\mathcal{G},\mathcal{D},\mathcal{T}
Result: B,C\mathcal{B},\mathcal{C}
[G‾;vD;vT]←[\overline{\mathcal{G}};v^{\mathcal{D}};v^{\mathcal{T}}]\leftarrow Algorithm 2; // Given a network G\mathcal{G} with nn nodes and qq edges and the nodes subsets D\mathcal{D} and T\mathcal{T}, construct an extended network G‾\overline{\mathcal{G}}
[J‾D;J‾T]←maxflow⁡(G‾,vD,vT)[\overline{\mathcal{J}}^{\mathcal{D}};\overline{\mathcal{J}}^{\mathcal{T}}]\leftarrow\operatorname{maxflow}(\overline{\mathcal{G}},v^{\mathcal{D}},v^{\mathcal{T}}); // Using the max-flow/min-cut algorithm on G‾\overline{\mathcal{G}}, partition its nodes into those reachable and not reachable from vDv^{\mathcal{D}} in the residual graph induced by the computed maximum flow, resp. J‾D\overline{\mathcal{J}}^{\mathcal{D}} and J‾T\overline{\mathcal{J}}^{\mathcal{T}}
[B;C]←[\mathcal{B};\mathcal{C}]\leftarrow Algorithm 3. // Given J‾D\overline{\mathcal{J}}^{\mathcal{D}} and J‾T\overline{\mathcal{J}}^{\mathcal{T}}, find the minimal cardinality set of control input nodes and output nodes B,C\mathcal{B},\mathcal{C} that solves the DDPOF

Table 1.

Algorithm 2 Construct the extended network G‾\overline{\mathcal{G}}
Data: G,D,T\mathcal{G},\mathcal{D},\mathcal{T}
Result: G‾=(V‾,E‾,A‾),vD,vT\overline{\mathcal{G}}=(\overline{\mathcal{V}},\overline{\mathcal{E}},\overline{A}),v^{\mathcal{D}},v^{\mathcal{T}}
Construct V‾\overline{\mathcal{V}}: V‾=V∪{vn+1,…,v2n}∪{v2n+1,…,v3n}∪{v3n+1,v3n+2}\overline{\mathcal{V}}=\mathcal{V}\cup\{v_{n+1},\ldots,v_{2n}\}\cup\{v_{2n+1},\ldots,v_{3n}\}\cup\{v_{3n+1},v_{3n+2}\};
Construct E‾\overline{\mathcal{E}}:
• If (vi,vj)∈E(v_i,v_j)\in\mathcal{E} then ∃(vi,vj+n),(vi+n,vj)∈E‾\exists(v_i,v_{j+n}),(v_{i+n},v_j)\in\overline{\mathcal{E}};
• (vi+2n,vi),(vi,vi+n)∈E‾(v_{i+2n},v_i),(v_i,v_{i+n})\in\overline{\mathcal{E}}, ∀i∈{1,…,n}\forall i\in\{1,\ldots,n\};
• (v3n+1,vd)∈E‾(v_{3n+1},v_d)\in\overline{\mathcal{E}}, ∀vd∈D\forall v_d\in\mathcal{D};
• (vt,v3n+2)∈E‾(v_t,v_{3n+2})\in\overline{\mathcal{E}}, ∀vt∈T\forall v_t\in\mathcal{T};
Construct A‾\overline{A}:
• If ∃(vi,vj)∈E\exists(v_i,v_j)\in\mathcal{E} then A‾vi,vj+n=A‾vj+2n,vi=+∞\overline{A}_{v_i,v_{j+n}}=\overline{A}_{v_{j+2n},v_i}=+\infty;
• ∀vi∈V\forall v_i\in\mathcal{V}, A‾vi+n,vi=A‾vi,vi+2n=1\overline{A}_{v_{i+n},v_i}=\overline{A}_{v_{i},v_{i+2n}}=1;
• ∀vi∈D\forall v_i\in\mathcal{D}, A‾vi,v3n+1=+∞\overline{A}_{v_i,v_{3n+1}}=+\infty;
• ∀vi∈T\forall v_i\in\mathcal{T}, A‾v3n+2,vi=+∞\overline{A}_{v_{3n+2},v_i}=+\infty;
vD=v3n+1v^{\mathcal{D}}=v_{3n+1}; vT=v3n+2v^{\mathcal{T}}=v_{3n+2}.

Table 2.

Algorithm 3 Minimal input/output solution {B,C}\{\mathcal{B},\mathcal{C}\}
Data: J‾D,J‾T,n\overline{\mathcal{J}}^{\mathcal{D}},\overline{\mathcal{J}}^{\mathcal{T}},n
Result: B,C\mathcal{B},\mathcal{C}
B=∅\mathcal{B}=\varnothing; C=∅\mathcal{C}=\varnothing; // Store into B\mathcal{B} resp. C\mathcal{C} the head resp. the tail nodes of the edges between J‾D\overline{\mathcal{J}}^{\mathcal{D}} and J‾T\overline{\mathcal{J}}^{\mathcal{T}}
for i=1:ni=1:n do
if vi∈J‾Dv_i\in\overline{\mathcal{J}}^{\mathcal{D}} and vi+n∈J‾Tv_{i+n}\in\overline{\mathcal{J}}^{\mathcal{T}} then C=C∪{vi}\mathcal{C}=\mathcal{C}\cup\{v_i\}; // Keep tail of edge (vi,vi+n)(v_i,v_{i+n})
end if
if vi∈J‾Tv_i\in\overline{\mathcal{J}}^{\mathcal{T}} and vi+2n∈J‾Dv_{i+2n}\in\overline{\mathcal{J}}^{\mathcal{D}} then B=B∪{vi}\mathcal{B}=\mathcal{B}\cup\{v_i\}; // Keep head of edge (vi+2n,vi)(v_{i+2n},v_i)
end if
end for.

Table 3.

Under Assumption 1 and given a network G=(V,E,A)\mathcal{G}=(\mathcal{V},\mathcal{E},A) with n=∣V∣n=|\mathcal{V}| nodes and q=∣E∣q=|\mathcal{E}| edges, the extended network G‾\overline{\mathcal{G}} has 3n+23n+2 nodes and 2(n+q)+∣D∣+∣T∣=O(n+q)2(n+q)+|\mathcal{D}|+|\mathcal{T}|=O(n+q) edges, so Algorithm 2 runs in O(n+q)O(n+q) time. The minimum cut value is at most nn, since W=D\mathcal{W}=\mathcal{D} is feasible with C=∂−(D,A)⊆D\mathcal{C}=\partial_{-}(\mathcal{D},A)\subseteq\mathcal{D} and B=∂+(D,A)⊆V∖D\mathcal{B}=\partial_{+}(\mathcal{D},A)\subseteq\mathcal{V}\setminus\mathcal{D} by Lemma 2. Hence the weight +∞+\infty can be replaced by n+1n+1 without changing the minimum cut, and a min-cut/max-flow algorithm based on augmenting paths [4] therefore runs in O(n(n+q))O(n(n+q)) time, and any algorithm in Table 1 of [5] can be used instead. Algorithm 3 scans i=1,…,ni=1,\ldots,n once, with O(1)O(1) membership tests on J‾D\overline{\mathcal{J}}^{\mathcal{D}} (a Boolean vector filled during the residual search), so it runs in O(n)O(n). The overall cost is that of one min-cut/max-flow computation on G‾\overline{\mathcal{G}}.

Here are some more details on some parts of the algorithms.

Algorithm 2: Construct the extended network G‾\overline{\mathcal{G}}. The minimal input/output node cut problem can be transformed into a minimum edge cut problem on an extended network G‾=(V‾,E‾,A‾)\overline{\mathcal{G}}=(\overline{\mathcal{V}},\overline{\mathcal{E}},\overline{A}), where it can be solved via a standard min-cut/max-flow algorithm. To do so, for each node viv_i, two new nodes vi+nv_{i+n} and vi+2nv_{i+2n}, and new edges (vi,vi+n)(v_i,v_{i+n}) and (vi+2n,vi)(v_{i+2n},v_i) are generated, with unit weights. For all preexisting edges in V\mathcal{V} between nodes viv_i and vjv_j, an edge is generated in G‾\overline{\mathcal{G}} between viv_i and vj+2nv_{j+2n}, and an edge is generated in G‾\overline{\mathcal{G}} between vi+nv_{i+n} and vjv_j. For those two edges the weight is put at infinity (practically, at a very high number), see Figure 1. In such a way, an edge cut involving (vi,vi+n)(v_i,v_{i+n}) and (vj+2n,vj)(v_{j+2n},v_j) corresponds to selecting the node vi∈Cv_i \in C and vj∈Bv_j \in B. Two additional nodes must be added, vD=v3n+1v^D=v_{3n+1} and vT=v3n+2v^T=v_{3n+2}, so that ∣V‾∣=3n+2|\overline{V}|=3n+2. Node vDv^D acts as a source node and is connected via ∣D∣|D| edges to all disturbance nodes in DD. All target nodes in TT are connected via ∣T∣|T| edges to the sink node vTv^T. The total number of edges in E‾\overline{E} is 2(n+q)+∣D∣+∣T∣2(n+q)+|D|+|T|. On G‾\overline{\mathcal{G}} all paths from vDv^D to vTv^T have even length, i.e., must contain an odd number of nodes.

Figure 1. Algorithm 2. Representation of an edge (vi,vj)∈E(v_i,v_j)\in\mathcal{E} in the extended network G‾\overline{\mathcal{G}}.

Min-cut/Max-flow. The min-cut/max-flow algorithm is a minimum edge cut algorithm performed on G‾\overline{\mathcal{G}} from the source node vDv^D to the sink node vTv^T. Let (J‾D,J‾T)(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T) be a minimum vDv^D-vTv^T cut of G‾\overline{\mathcal{G}}. Any min-cut/max-flow algorithm returns one such cut: given a maximum flow, J‾D\overline{\mathcal{J}}^D is the set of nodes reachable from vDv^D in the residual graph [4], and J‾T=V‾∖J‾D\overline{\mathcal{J}}^T=\overline{V}\setminus\overline{\mathcal{J}}^D.

Algorithm 3: find the minimal input/output {B,C}\{B,C\}. The meaning of Algorithm 3 is explained in the following proposition.

Proposition 5 Given G\mathcal{G} and its extended network G‾\overline{\mathcal{G}}, an edge cut in G‾\overline{\mathcal{G}} corresponds to a node cut in G\mathcal{G}. The min-cut value on G‾\overline{\mathcal{G}} is equal to ∣B∣+∣C∣|B|+|C|, i.e., to the sum of the cardinalities of the sets of input and output nodes associated to the solution.

Proof. In G‾\overline{\mathcal{G}} all “true” edges of G\mathcal{G} are duplicated and have ∞\infty weight, hence they are never selected by the min-cut algorithm. Therefore all edges on which each edge cut is computed in G‾\overline{\mathcal{G}} must have the form (vi,vi+n)(v_i,v_{i+n}) or (vi+2n,vi)(v_{i+2n},v_i), and these edge weights are all equal to 1. By construction, the value of each cut is equal to the number of edges across the cut and equal also to the number of nodes in the associated node cut in G\mathcal{G}. This implies that the min-cut value is equal to ∣B∣+∣C∣|B|+|C|.

Optimality

We start by proving that a feasible solution {B,C}\{B,C\} of Problem 2 identifies a vDv^D-vTv^T cut with value at most ∣B∣+∣C∣|B|+|C| in G‾\overline{\mathcal{G}}.

Lemma 2 Let {B,C}\{B,C\} be a feasible solution of Problem 2. Then G‾\overline{\mathcal{G}} admits a vDv^D-vTv^T cut with value at most ∣B∣+∣C∣|B|+|C|.

Proof. The edges with unit weights are (vi,vi+n)(v_i,v_{i+n}) and (vi+2n,vi)(v_{i+2n},v_i), i∈{1,…,n}i\in\{1,\ldots,n\}. All remaining edges have infinity weights and belong to one of four families:

(i) (vD,vd)(v^D,v_d), vd∈Dv_d\in D;

(ii) (vt,vT)(v_t,v^T), vt∈Tv_t\in T;

(iii) (vi,vj+2n)(v_i,v_{j+2n}) for (vi,vj)∈E(v_i,v_j)\in\mathcal{E};

(iv) (vi+n,vj)(v_{i+n},v_j) for (vi,vj)∈E(v_i,v_j)\in\mathcal{E}.

Let W\mathcal{W} be the (A,B)(A,B)- and (C,A)(C,A)-invariant node set of Problem 2 s.t. D⊆W⊆V∖TD\subseteq\mathcal{W}\subseteq\mathcal{V}\setminus T. From item (a) of Theorem 3, feasibility implies ∂−(W,A)⊆C\partial_-(\mathcal{W},A)\subseteq C and ∂+(W,A)⊆B\partial_+(\mathcal{W},A)\subseteq B. Let (vi,vj)∈E(v_i,v_j)\in\mathcal{E} with vi∈Wv_i\in\mathcal{W} and vj∉Wv_j\notin\mathcal{W}. By item (a) of Proposition 3, vi∉Cv_i\notin C would imply vj∈Wv_j\in\mathcal{W}; hence vi∈Cv_i\in C. By item (a) Proposition 2, vi∈Wv_i\in\mathcal{W} implies vj∈Wv_j\in\mathcal{W}; hence vj∈Bv_j\in B. Every element of ∂−(W,A)\partial_-(\mathcal{W},A) (resp. ∂+(W,A)\partial_+(\mathcal{W},A)) is the tail (resp. head) of such an edge.

With N+(W):={vj s.t. ∃vi∈W, (vi,vj)∈E}N^+(\mathcal{W}):=\{v_j\text{ s.t. }\exists v_i\in\mathcal{W},\ (v_i,v_j)\in\mathcal{E}\}, define the set J‾D:={vD}∪W∪{vi+n∈V‾ s.t. vi∈W∖∂−(W,A)}∪{vj+2n∈V‾ s.t. vj∈N+(W)∖W}\overline{\mathcal{J}}^D:=\{v^D\}\cup\mathcal{W}\cup\{v_{i+n}\in\overline{\mathcal{V}}\text{ s.t. }v_i\in\mathcal{W}\setminus\partial_-(\mathcal{W},A)\}\cup\{v_{j+2n}\in\overline{\mathcal{V}}\text{ s.t. }v_j\in N^+(\mathcal{W})\setminus\mathcal{W}\}. Then vD∈J‾Dv^D\in\overline{\mathcal{J}}^D and vT∉J‾Dv^T\notin\overline{\mathcal{J}}^D by construction, so (J‾D,J‾T)(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T), with J‾T=V‾∖J‾D\overline{\mathcal{J}}^T=\overline{\mathcal{V}}\setminus\overline{\mathcal{J}}^D, defines a vDv^D-vTv^T cut in G‾\overline{\mathcal{G}}. Let δ(J‾D,J‾T)\delta(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T) be the edge cut of (J‾D,J‾T)(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T), i.e., the set of edges with tail in J‾D\overline{\mathcal{J}}^D and head in V‾∖J‾D\overline{\mathcal{V}}\setminus\overline{\mathcal{J}}^D.

No edge with infinite weight is in δ(J‾D,J‾T)\delta(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T):

(i) vd∈D⊆Wv_d\in D\subseteq\mathcal{W}, so vd∈J‾Dv_d\in\overline{\mathcal{J}}^D.

(ii) The tail vtv_t has vt∈Tv_t\in T, and W⊆T⊥\mathcal{W}\subseteq T^\perp, so vt∉J‾Dv_t\notin\overline{\mathcal{J}}^D.

(iii) If vi∈J‾Dv_i\in\overline{\mathcal{J}}^D then vi∈Wv_i\in\mathcal{W}, hence vj∈N+(W)v_j\in N^+(\mathcal{W}) and vj+2n∈J‾Dv_{j+2n}\in\overline{\mathcal{J}}^D.

(iv) If vi+n∈J‾Dv_{i+n}\in\overline{\mathcal{J}}^D then vi∈W∖∂−(W,A)v_i\in\mathcal{W}\setminus\partial_-(\mathcal{W},A), i.e., viv_i has no out-neighbour in W⊥\mathcal{W}^\perp. Hence vj∈Wv_j\in\mathcal{W}, so vj∈J‾Dv_j\in\overline{\mathcal{J}}^D.

The edges with unit weights in δ(J‾D,J‾T)\delta(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T):

  • (vi,vi+n)(v_i,v_{i+n}) leaves J‾D\overline{\mathcal{J}}^D iff vi∈J‾Dv_i\in\overline{\mathcal{J}}^D and vi+n∉J‾Dv_{i+n}\notin\overline{\mathcal{J}}^D. Now vi∈J‾D⟺vi∈Wv_i\in\overline{\mathcal{J}}^D\Longleftrightarrow v_i\in\mathcal{W}, and for such ii, vi+n∉J‾D⟺vi∈∂−(W,A)v_{i+n}\notin\overline{\mathcal{J}}^D\Longleftrightarrow v_i\in\partial_-(\mathcal{W},A). These edges are in bijection with ∂−(W,A)\partial_-(\mathcal{W},A).

  • (vj+2n,vj)(v_{j+2n},v_j) leaves J‾D\overline{\mathcal{J}}^D iff vj+2n∈J‾Dv_{j+2n}\in\overline{\mathcal{J}}^D and vj∉J‾Dv_j\notin\overline{\mathcal{J}}^D, i.e., vj∈N+(W)∖W=∂+(W,A)v_j\in N^+(\mathcal{W})\setminus\mathcal{W}=\partial_+(\mathcal{W},A). These edges are in bijection with ∂+(W,A)\partial_+(\mathcal{W},A).

It follows that the value of the vDv^D-vTv^T cut (J‾D,J‾T)(\overline{\mathcal{J}}^D,\overline{\mathcal{J}}^T) is ∣∂−(W,A)∣+∣∂+(W,A)∣≤∣C∣+∣B∣|\partial_-(\mathcal{W},A)|+|\partial_+(\mathcal{W},A)|\leq|C|+|B|.

The optimality of the solution is summarized in the following statement.

Theorem 5 Under Assumption 1, the solution {B,C}\{B,C\} computed by means of Algorithms 1–3 is an optimal solution of Problem 2.

Proof. We start by noting that an edge cut in G‾\overline{\mathcal{G}} can only involve edges of the form (vi,vi+n)(v_i,v_{i+n}) or (vi+2n,vi)(v_{i+2n},v_i), i∈{1,…,n}i\in\{1,\ldots,n\}, since all other edges are at +∞+\infty (a finite cut exists from Lemma 2, since W=D\mathcal{W}=D is feasible by Proposition 4). From Proposition 5, an edge cut involving

(vi,vi+n)(v_i,v_{i+n}) in G‾\overline{\mathcal{G}} identifies a node of CC in G\mathcal{G}, while (vi+2n,vi)(v_{i+2n},v_i) in G‾\overline{\mathcal{G}} identifies a node of BB in G\mathcal{G}. Alternatively, saying that {B,C}\{B,C\} identifies a node cut for G‾\overline{\mathcal{G}} means that the set of edges H={(vi,vi+n) s.t. vi∈C}∪{(vj+2n,vj) s.t. vj∈B}\mathcal{H}=\{(v_i,v_{i+n})\text{ s.t. }v_i\in C\}\cup\{(v_{j+2n},v_j)\text{ s.t. }v_j\in B\} is an edge cut for G‾\overline{\mathcal{G}}, i.e., when removed, there are no more directed paths connecting vDv^{D} to vTv^{T}. If we call B^={vi+2n s.t. vi∈B and (vi+2n,vi)∈H}\widehat{B}=\{v_{i+2n}\text{ s.t. }v_i\in B\text{ and }(v_{i+2n},v_i)\in\mathcal{H}\}, and C^={vi+n s.t. vi∈C and (vi,vi+n)∈H}\widehat{C}=\{v_{i+n}\text{ s.t. }v_i\in C\text{ and }(v_i,v_{i+n})\in\mathcal{H}\} then every edge of H\mathcal{H} has its tail in C∪B^C\cup\widehat{B} and its head in B∪C^B\cup\widehat{C}. Let us assume that J‾D⊆V‾\overline{\mathcal{J}}^{D}\subseteq\overline{\mathcal{V}} and J‾T=V‾∖J‾D\overline{\mathcal{J}}^{T}=\overline{\mathcal{V}}\setminus\overline{\mathcal{J}}^{D} is the partition of V‾\overline{\mathcal{V}} inducing the edge cut, i.e., δ(J‾D,J‾T)=H\delta(\overline{\mathcal{J}}^{D},\overline{\mathcal{J}}^{T})=\mathcal{H}. Denote by E‾D\overline{\mathcal{E}}^{D} and E‾T\overline{\mathcal{E}}^{T} the sets of edges within J‾D\overline{\mathcal{J}}^{D}, respectively J‾T\overline{\mathcal{J}}^{T}. The set of edges with tail in J‾D\overline{\mathcal{J}}^{D} and head in J‾T\overline{\mathcal{J}}^{T} is denoted by E‾D→T\overline{\mathcal{E}}^{D\to T}, while the set of edges with tail in J‾T\overline{\mathcal{J}}^{T} and head in J‾D\overline{\mathcal{J}}^{D} is denoted by E‾T→D\overline{\mathcal{E}}^{T\to D}. By construction, it follows E‾D→T=H\overline{\mathcal{E}}^{D\to T}=\mathcal{H}. As a consequence, C,B^⊆J‾DC,\widehat{B}\subseteq\overline{\mathcal{J}}^{D} and B,C^⊆J‾TB,\widehat{C}\subseteq\overline{\mathcal{J}}^{T}. In fact, if by contradiction a node in J‾T\overline{\mathcal{J}}^{T} is reached by an edge with tail in J‾D∖(C∪B^)\overline{\mathcal{J}}^{D}\setminus(C\cup\widehat{B}), then it is also reachable from vDv^{D}, which is a contradiction according to the definition of J‾T\overline{\mathcal{J}}^{T} given above. Similarly, if by contradiction a node in J‾D∖(C^∪B)\overline{\mathcal{J}}^{D}\setminus(\widehat{C}\cup B) is reached by an edge with tail in J‾T\overline{\mathcal{J}}^{T}, then it is also reachable from vDv^{D} which is a contradiction according to the definition of J‾D\overline{\mathcal{J}}^{D} given above. By construction we write the extended network as G‾=(V‾,E‾,A‾)=(J‾D∪J‾T,E‾D∪E‾T∪E‾T→D∪H,A‾)\overline{\mathcal{G}}=(\overline{\mathcal{V}},\overline{\mathcal{E}},\overline{\mathcal{A}})=(\overline{\mathcal{J}}^{D}\cup\overline{\mathcal{J}}^{T},\overline{\mathcal{E}}^{D}\cup\overline{\mathcal{E}}^{T}\cup\overline{\mathcal{E}}^{T\to D}\cup\mathcal{H},\overline{\mathcal{A}}).

To prove that the minimum edge cut in G‾\overline{\mathcal{G}} corresponds to the optimal solution {B,C}\{B,C\} of Problem 2, we first show that this edge cut always corresponds to a feasible solution, and secondly that it identifies one with minimal cardinality. The converse implication is given in Lemma 2. By construction, if ∃(vi,vj)∈E\exists(v_i,v_j)\in\mathcal{E} then ∃(vi,vj+2n),(vi+n,vj)∈E‾\exists(v_i,v_{j+2n}),(v_{i+n},v_j)\in\overline{\mathcal{E}}. We claim that a minimum edge cut from vDv^{D} to vTv^{T} in G‾\overline{\mathcal{G}} must identify nodes in G‾\overline{\mathcal{G}} that satisfy item (b) of Theorem 2, thus proving the existence of a set W\mathcal{W} both controlled and conditioned invariant in V\mathcal{V} that contains D\mathcal{D} and is contained in V∖T\mathcal{V}\setminus\mathcal{T}. Assume by contradiction that there is a DD-to-TT path Pj={v1,…,vκj}P_j=\{v_1,\ldots,v_{\kappa_j}\} of length κj−1≥1\kappa_j-1\geq1, with v1∈Dv_1\in D and vκj∈Tv_{\kappa_j}\in T, such that no sub-path of length 1 of the form {vp,vp+1}\{v_p,v_{p+1}\} has vp∈Cv_p\in C and vp+1∈Bv_{p+1}\in B, p∈{1,…,κj−1}p\in\{1,\ldots,\kappa_j-1\}. For each such pp, G‾\overline{\mathcal{G}} contains two routes from vpv_p to vp+1v_{p+1}, each made of one unit-weight edge and one edge of weight +∞+\infty: vp→vp+n→vp+1v_p\to v_{p+n}\to v_{p+1} (unit edge (vp,vp+n)(v_p,v_{p+n})), vp→vp+1+2n→vp+1v_p\to v_{p+1+2n}\to v_{p+1} (unit edge (vp+1+2n,vp+1)(v_{p+1+2n},v_{p+1})). The first route contains an edge of H\mathcal{H} iff vp∈Cv_p\in C, the second iff vp+1∈Bv_{p+1}\in B. By assumption, it is not true that both vp∈Cv_p\in C and vp+1∈Bv_{p+1}\in B; hence vp∉Cv_p\notin C or vp+1∉Bv_{p+1}\notin B, i.e., at least one of the two routes avoids H\mathcal{H}. Concatenating these routes for p=1,…,κj−1p=1,\ldots,\kappa_j-1 with the edges (vD,v1)(v^{D},v_1) and (vκj,vT)(v_{\kappa_j},v^{T}), both of weight +∞+\infty and hence not in H\mathcal{H}, gives a path from vDv^{D} to vTv^{T} in G‾\overline{\mathcal{G}} that does not use any edge of H\mathcal{H}. Then H\mathcal{H} is not an edge cut, which is a contradiction. Hence every DD-to-TT path satisfies item (b) of Theorem 2, i.e., {B,C}\{B,C\} is feasible. Finally, optimality arises from the minimality of the edge cut's cardinality. By contradiction assume that there exists a feasible {B′,C′}\{B',C'\} with ∣B′∣+∣C′∣<∣B∣+∣C∣=∣H∣|B'|+|C'|<|B|+|C|=|\mathcal{H}|.

By Lemma 2, G‾\overline{\mathcal{G}} admits a vDv^{D}-vTv^{T} cut with value at most ∣B′∣+∣C′∣<∣H∣|B'|+|C'|<|\mathcal{H}|, which contradicts the minimality of H\mathcal{H}. Hence {B,C}\{B,C\} is an optimal solution of Problem 2. ■

Remark 2 It is important to highlight that, in general, the optimal solution {B,C}\{B,C\} of Problem 2 is not unique. In order to obtain all optimal solutions, specialized techniques and extensions of the min-cut/max-flow algorithm (e.g., residual graph analysis, Gomory-Hu trees [6]) can be used to enumerate all equal-cardinality cuts [1, 12]. To discriminate among such optima, a secondary objective function must be introduced.

Remark 3 An optimal solution {B,C}\{B,C\} of Problem 2 does not identify a minimum edge cut in G\mathcal{G}, which can be instead computed via a standard min-cut from D\mathcal{D} to T\mathcal{T} in G\mathcal{G} after setting all the edge weights to 1 (see Example 1). For instance, if the optimal solution {B,C}\{B,C\} of Problem 2 is not unique, it is possible to introduce a secondary objective function minimizing the number of edges to be cut.

Numerical Example

In this numerical section we give an example of application of Algorithms 1–3 for computing the minimal input/output cardinality DDPOF.

Example 1 Let us consider the network G\mathcal{G} of 10 nodes and D={v1,v2,v3}\mathcal{D}=\{v_1,v_2,v_3\} and T={v8,v9,v10}\mathcal{T}=\{v_8,v_9,v_{10}\} as shown in Figure 2 on the left. Using Algorithm 2 the extended network G‾\overline{\mathcal{G}} shown in Figure 2 on the right is constructed.

Figure 2. Example 1. Disturbances are in red and the targets are in yellow.

The minimal cardinality solution of Problem 2 is B={v6,v7}B=\{v_6,v_7\}, C={v4,v5}C=\{v_4,v_5\}, as depicted in Figure 3. In fact, the set of edges H={(v26,v6),(v27,v7),(v4,v14),(v5,v15)}\mathcal{H}=\{(v_{26},v_6),(v_{27},v_7),(v_4,v_{14}),(v_5,v_{15})\} is the minimum edge cut in the extended network G‾\overline{\mathcal{G}}. Note that B^={v26,v27}⊆J‾D\hat{B} = \{v_{26}, v_{27}\} \subseteq\overline{\mathcal{J}}^{D}, and C^={v14,v15}⊆J‾T\hat{C} = \{v_{14}, v_{15}\} \subseteq\overline{\mathcal{J}}^{T}, as in the proof of Theorem 5. Moreover, note that the run of a classical edge min-cut/max-flow from DD to TT in G\mathcal{G} would have provided the feasible solutions B={v4,v5}B = \{v_{4}, v_{5}\}, C=DC = D, or B=TB = T, C={v6,v7}C = \{v_{6}, v_{7}\}, both suboptimal w.r.t. the cost function ∣B∣+∣C∣|B| + |C|.

Figure 3. Figure 3. Example 1. Disturbances are in red, targets in yellow, whereas the control inputs are in blue and the output nodes are in green. Nodes v21v_{21}, v22v_{22}, v23v_{23} are drawn in J‾D\overline{\mathcal{J}}^{D} for readability; they belong to J‾T\overline{\mathcal{J}}^{T} according to the definition, and both choices give the same edge cut.

Conclusions

Protecting strategic nodes from disturbances is a key challenge in cybersecurity and networked control. This paper addressed the DDPOF over networks by developing an algorithm that determines, in polynomial time, the minimal cardinality sets of control input and measurement output nodes required to reject the disturbances. MATLAB functions implementing the results presented in this article are available in the Zenodo repository [9].

References

  1. [1]A. Abboud, J. Li, D. Panigrahi, and T. Saranurak. All-pairs max-flow is no harder than single-pair max-flow: Gomory-hu trees in almost-linear time. In 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 2204–2212. IEEE, 2023.DOI
  2. [2]G. Basile and G. M. P. C. Morro. Controlled and Conditioned Invariants in Linear System Theory. Prentice Hall, 1992.
  3. [3]C. Commault, J. van der Woude, and P. Frasca. Functional target controllability of networks: Structural properties and efficient algorithms. IEEE Transactions on Network Science and Engineering, 7(3):1521–1530, 2020.DOI
  4. [4]L. R. Ford and D. R. Fulkerson. Maximal flow through a network. Canadian Journal of Mathematics, 8:399–404, 1956.
  5. [5]A. V. Goldberg and R. E. Tarjan. A new approach to the maximum-flow problem. Journal of the ACM (JACM), 35(4):921–940, 1988.
  6. [6]R. E. Gomory and T. C. Hu. Multi-terminal network flows. Journal of the Society for Industrial and Applied Mathematics, 9(4):551–570, 1961.DOI
  7. [7]F. Hamano and K. Furuta. Localization of disturbances and output decomposition in decentralized linear multivariable systems. International Journal of Control, 22(4):551–562, 1975.DOI
  8. [8]H. Volelaque, C. Commault, and J. Dion. Analysis of linear structured systems using a primal-dual algorithm. Systems & Control Letters, 27(2):73–85, 1996.
  9. [9]L. C. G. Lebon. node-based-ddp. https://doi.org/10.5281/zenodo.23467672, Oct. 2026. Zenodo repository.
  10. [10]L. C. G. Lebon and C. Altafini. Geometric control theory over networks: Minimal node cardinality disturbance decoupling problems. IEEE Transactions on Automatic Control, 71(11):7245–7260, 2026.DOI
  11. [11]L. C. G. Lebon, J. Lindberg, and C. Altafini. Minimal input cardinality disturbance decoupling of coupled oscillators via output feedback with application to power networks. In 23rd IFAC World Congress, Busan, South Korea, 2026. arXiv:2604.14977.arxiv.org/abs/2604.14977
  12. [12]J.-C. Picard and M. Queyranne. On the structure of all minimum cuts in a network and applications, pages 8–16. Springer Berlin Heidelberg, Berlin, Heidelberg, 1980.
  13. [13]H. L. Trentelman, A. A. Stoorvogel, and M. Hautus. Control theory for linear systems. Springer Science & Business Media, 2012.
  14. [14]W. Wonham. Linear Multivariable Control: A Geometric Approach. Lecture Notes in Economics and Mathematical Systems. Springer Berlin Heidelberg, 2013.

Paper details

vlnc:W_5nss6yfh
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents