Abstract
This paper studies the problem of distributed predefined-time optimization for leaderless consensus of second-order multi-agent systems under a class of weighted digraphs. The proposed framework has two main steps. In the first step, the agents communicate to perform a consensus-based distributed predefined-time optimization and to generate a constant optimal output reference for each agent. In the second step, each agent tracks its corresponding optimal output reference, using a sliding-mode controller to reach the global optimum in a predefined time, even under matched disturbances. The proposed algorithm relies explicitly on user-defined constant parameters. Numerical simulations are performed to validate the efficacy of the algorithm.
1. Introduction
With the development of distributed computing and large-scale networks during the past decade, distributed optimization has become a highly active subject. The mentioned approach is attractive due to its application in areas, such as opinion dynamics [1], resource allocation [2], smart grids [3], sensor networks [4], and machine learning [5], to name a few. In particular, special attention has been paid to consensus-based distributed algorithms in continuous time, which may facilitate the analysis [6].
Most of the vast literature on consensus-based distributed optimization, particularly in the case of Multi-Agent Systems (MAS), presents schemes with asymptotic/exponential convergence, which may impose severe limitations when the optimization time is a crucial factor, and the initial conditions of the agents are inaccurate or even unknown. A solution to these shortcomings was explored early in [7] and extended by Polyakov [8], who introduced the concept of fixed-time stability, where the convergence time is uniformly-bounded for all initial conditions. However, despite the demonstrated applicability of fixed-time stability, there are some issues related to the convergence time estimation. The main drawback is that the relationship between the system parameters and the convergence time is not explicit. Thus, finding the system parameters to enforce a desired bound for the stabilization time constitutes a challenging problem, leading to conservative estimations [9].
To deal with the scenario when the convergence time is an important restriction and the initial conditions are uncertain, a class of systems where an Upper Bound of the Settling Time (UBST) is a tunable parameter was proposed in [9] and further studied in [10,11]. Such systems are called fixed-time stable systems with predefined UBST or simply predefined-time stable systems. This concept has been applied to first-order, second-order, and nonholonomic systems [12] and even consensus problems [13] and discretization schemes [14].
Current works on distributed optimization mostly focus on leaderless first-order dynamics, covering asymptotic, finite, fixed, and predefined-time convergence (see [15,16,17,18,19,20]). On the other hand, the literature on distributed optimization for second-order systems are growing fast in recent years, but works with a predefined-time approach are scarce. For instance, Tang [21] proposed an algorithm that includes an optimal signal generator embedded in the MAS feedback loop. This approach reduces the complex optimization problem into two simpler sub-problems: first-order distributed optimization and constant reference tracking. Adibzadeh et al. [22] used the same embedded control scheme with the addition of inequality constraints. Nonetheless, both algorithms show asymptotic/exponential convergence and can be applied only on undirected graphs. Wang et al. [23] proposed an optimization algorithm for integrator chain systems based on the same idea of an optimal signal generator. The algorithm is a significant improvement compared to [21,22] due to the consideration of matched and unmatched disturbances and finite-time convergence. Although the results are satisfactory, the main drawback is that the settling time depends on the initial condition of the agents. Additionally, only undirected topologies are taken into account. A different approach is suggested by Tran et al. [24]. In this paper, the authors considered the distributed optimization problem for double integrator systems with the presence of external disturbance by using the internal model principle. However, the scheme can be applied only on undirected graphs, requiring the computation of several matrices in order to find the corresponding bounds of the gains, and its convergence is asymptotic. In Li et al. [25], the distributed predefined-time optimization problem for homogeneous and heterogeneous linear systems is studied using a Time-Base Generator (TBG) technique. However, it was applied only to undirected graphs, and no disturbance was considered. Moreover, according to Aldana-López et al. [26], this kind of algorithm with time-varying gains may present inherent performance limitations due to the lack of uniform stability and robustness to measurement noise. Moreover, due to singularities present in these time-varying gains, there is no satisfactory evidence of solutions for these systems at and after the predefined time. Motivated by the previous discussion, this paper introduces a distributed predefined-time optimization algorithm for leaderless consensus of second-order MAS when the communication topology is modeled by a detail-balanced graph, which is a particular case of directed graphs. The proposed algorithm has a first step in which the agents communicate to perform a first-order distributed optimization and to generate a constant optimal output for each agent. In the second step, each agent tracks the corresponding optimal output obtained in the first step using a sliding-mode controller, which presents robustness to matched disturbance. The algorithm relies on explicit system parameters and user-defined parameters without the requirement of time-variable gains. In comparison to the existing results in the literature, the salient features of the proposed algorithm are as follows:
- In contrast to [21,22,23,24], the proposed algorithm performs both the optimization and stabilization processes in a predefined time.
- The algorithm can be applied to undirected graphs and detail-balanced graphs. None of the discussed papers considers this extension.
- The initial optimization step of the algorithm requires fewer adjustable parameters than many other algorithms found in the literature.
- Compared to many existing works, the gradients and Hessians are not shared among agents.
- Contrary to [25], the proposed algorithm is robust in the presence of matched disturbances and does not use a TBG.
The paper is structured as follows. Section 2 introduces the essential mathematical background and important definitions. The problem statement is explained in Section 3. Then, the proposed scheme, including its proof of stability, is developed in Section 4. Section 5 discusses the validity of the proposed scheme through several simulations. Finally, conclusions and future work are presented in Section 6, and some useful lemmas can be found in Appendix A.
2. Preliminaries
2.1. Notation
Let denote the set of real numbers and the m-dimensional Euclidean space. For , denotes its transpose, its Euclidean norm and, for , . is the identity matrix with dimensions , and is the zero column vector of dimension m.
For a twice differentiable function , and represent the gradient and Hessian of the function, respectively. For matrices and , denotes the Kronecker product.
For any real number h, the functions and are defined as for any and for any , respectively. Moreover, if , and .
For , the Gamma Function is defined as .
2.2. Graph Theory
Let denote a graph, where is the set of vertices (agents), and is the set of edges (links). The corresponding weighted adjacency matrix is with if and otherwise. No self-loops are allowed, hence . The neighbor set of agent i is defined as . The Laplacian matrix associated with is defined as for and . A directed graph is detail-balanced with weight vector if . Its Laplacian matrix is defined as , where , with eigenvalues [27].
2.3. Convex Analysis
Let us recall some basic notions on convex analysis (one can refer to Boyd and Vandenberghe [28] and Hiriart-Urruty [29] for more details). A set is convex if, for any and any with , . A function is convex if its domain, denoted as dom f, is a convex set and if for all and any with , . A twice continuously differentiable convex function is -strongly convex with if one of the following conditions holds
If f is a -strongly convex function, then its minimizer is unique.
2.4. Predefined-Time Stability
Consider the autonomous system
where is the system state, with represents the parameters of the system and function is such that the solution of (2), denoted as , exists and is unique. The origin is the unique equilibrium point of (2).
Definition 1
(Stability notions [10]). The origin of system (2) is
- Lyapunov is stable if for any , the solution is defined for all , and for any , there is such that for any , if then for all ;
- It is finite-time stable if it is Lyapunov stable and for any , there exists such that for all . The function is said the settling-time function of system (2);
- It is fixed-time stable if it is finite-time stable, and the settling-time function of system (2), , is bounded on , i.e., there exists such that ;
- It is predefined-time stable if it is fixed-time stable and for any there exists some such that the settling-time function of system (2) satisfies
Proposition 1
Proposition 2
([12]). Consider the second-order system
where is the state vector, is the control input, and is a disturbance with known bound .
The stabilization of system (4) in a predefined time can be performed by using the following sliding-mode controller
where the sliding variable σ is defined as follows
with and the parameters such that .
3. Problem Statement
Consider a leaderless MAS with N agents whose dynamics are given by
where represent the position and the velocity vectors of the i-th agent, respectively. is the control input and is a disturbance vector with for . Additionally, agent i is endowed with a local function only known by itself.
The objective is to design the control input for each agent that achieves leaderless consensus to the global minimizer of an objective function , which is the sum of the local functions of the agents. The optimization process must be achieved in a predefined time using information from the neighbors. In particular, all agents face the following unconstrained optimization problem:
such that
Here .
Assumption 1.
The communication topology is described by a time-invariant detail-balanced graph.
Assumption 2.
For each agent, the local cost function is twice differentiable, -strongly convex with , and is Lipschitz continuous.
Assumption 3.
The global function is μ-strongly convex with , hence, it has a unique minimizer .
Remark 1.
Many kinds of functions satisfy Assumptions 2 and 3, such as quadratic, fractional, trigonometric, exponential, logarithmic, and other bounded differentiable functions. Some practical examples can be found in economic dispatch, optimal rendezvous of multiple mobile robots, and machine learning [17].
4. Main Results
In this section, we divide the Distributed Predefined-Time Optimization problem into two sub-problems. First, a Zero Gradient Sum (ZGS) algorithm is proposed to solve a first-order distributed optimization problem of a virtual system associated with the outputs of original system (7) in a predefined time and to generate optimal signals to be tracked. For , the optimal outputs from the virtual system (9) remain constant and can be used as a reference to be tracked in a predefined time . Constants are used to establish the duration of each step in terms of the total optimization time . Hence, and .
4.1. Distributed Predefined-Time Optimal Signal Generator (DPTOSG)
Consider the virtual system
where is the i-th agent state, is the i-th agent virtual control input, and is the output. The task is to design a distributed controller for the virtual multi-agent system (9), such that its outputs reach the unique minimizer of the global cost function in a predefined time.
The proposed two-stage controller has the form
with , , and to be defined later.
Theorem 1.
If Assumptions 1–3 hold, the optimization problem (9) is solved in a predefined time with parameters
where .
Proof.
Let . Therefore, . For agent , one can define the Lyapunov function candidate . which is positive, radially unbounded, and equal to zero if and only if , i.e., when each agent has reached its local minimum. The time derivative of takes the form
Replacing the definition of into (12) and rearranging yields
due to . This corresponds to a fixed-time stable system with as the UBST and , as shown in Proposition 1.
Consider the following Lyapunov function
with . Applying equations (1a) and (1b), , which is positive, radially unbounded, and equal to zero if and only if , i.e., when consensus is achieved. The derivative of (15) along the closed-loop system (14) becomes
Since the graph is detail-balanced (Assumption 1), one has
Therefore, (16) becomes
By applying Lemma A1 on (18) and multiplying by on top and bottom, one gets
From Lemmas A2 and A3, (19) takes the form
Since
Following the procedure in [20], Lyapunov functions ) and of the network are related by the expression
Finally, according to the definition of , (23) reduces to:
where . This corresponds to a fixed-time stable system with as UBST, according to Proposition 1. □
As can be seen, the DPTOSG problem is solved in a predefined time .
Corollary 1.
If Assumptions 2 and 3 hold and the topology corresponds to an undirected connected graph, the DPTOSG problem is solved in predefined-time under the controller (10) by setting .
Proof.
In this case, and the proof can be carried out in a similar fashion as shown in Theorem 1. Hence, it is not included to avoid redundancy. □
Remark 2.
Note that Algorithm (10) does not depend explicitly on the number of agents, contrary to similar works in the literature, such as Lin et al. [30], Gong et al. [18], and Ma et al. [20].
4.2. Predefined-Time Reference Tracking—PTRT
We define a tracking error vector for agent i as and since is constant , the derivatives . Hence system (7) can be reformulated in terms of the tracking error as
Now, it is possible to stabilize system (25) in a predefined time using the controller established in Proposition 2, as follows
with
where the sliding variable is defined as
and . Finally, the whole distributed predefined-time optimization process (i.e., DPTOSG + PTRT) is completed in a predefined time . A basic graphical representation of the proposed scheme can be found in Figure 1.
Figure 1.
Graphical representation of the proposed scheme.
5. Numerical Example
Consider a two-dimensional MAS with three agents whose dynamics are given by (7) with and . The communication topology is described by the graph depicted in Figure 2. One can easily see that Assumption 1 is fulfilled, with .
Figure 2.
Communication topology.
The local cost function for each agent is defined as
The global minimizer is , with . The algebraic connectivity of the graph is , the maximum upper-bound strong-convexity parameter is , and in order to guarantee predefined-time stability, parameter is fixed to . The total predefined time is . The rest of the parameters for controller (10) are defined as and . The initial position of the agents in the original system is randomly selected between for both coordinates and, without any loss of generality, the initial velocity . The initial condition of the virtual system is . For controller (26), the parameters are kept identical for all agents and fixed as and .
Figure 3 shows the trajectories of the virtual system (9) through time according to the topology in Figure 2. For , the controller leads all agents to their local function’s minimizer regardless of the initial conditions. This is performed to guarantee that , which is an important requirement when designing ZGS algorithms (see [31]). For , the controller forces all agents to achieve consensus and reach the global function’s minimizer before the predefined time .
Figure 3.
Response curves for the outputs of distributed optimal signal generator. (a) (b) .
Figure 4 shows the behavior of the original MAS with respect to time. According to the initial conditions, where velocities were chosen equal to zero, notice that all agents remain in their initial position up to , when the DPTOSG is taking place. For , agents obtain the optimal output signal and proceed to track it in predefined time in spite of the non-vanishing disturbance. Evidently, the complete optimization process is performed before . The trajectories described by the agents in a 2-D plane can be found in Figure 5. The quasi-linear displacement toward the optimum indicates the effectiveness of the disturbance rejection. Finally, the behavior of system (25) is depicted in Figure 6. Note that both tracking errors in position (a) and velocity (b) are zero before regardless of the disturbance.
Figure 4.
Evolution of the position of the agents in the presence of matched disturbances with respect to time. (a) (b) .
Figure 5.
Phase plane where ∘ (Initial state), × (Final state), and • (Global optimum).
Figure 6.
System evolution with respect to time in the presence of matched disturbances. (a) Norm of the tracking error in position. (b) Norm of the tracking error in velocity.
6. Conclusions and Future Work
This paper has introduced a robust predefined-time control framework to solve the problem of leaderless distributed optimization for second-order MAS under detail-balanced graphs. The control framework presents two main steps. Initially, a first-order Distributed Predefined-time Optimal Signal Generator is designed to provide optimal reference outputs for the agents. Agents are not required to share information about their gradients or Hessians during this step, which is an essential difference compared to several algorithms found in the literature. Secondly, the outputs obtained in the first step are tracked in a predefined time using a robust sliding-mode controller. This scheme leads all agents to the global function’s minimizer, even in the presence of matched disturbances. Future work will focus on relaxing the strongly-convex condition and the extension to directed graphs and high-order systems.
Author Contributions
Conceptualization, P.D.V., J.D.S.-T. and M.D.; methodology, P.D.V.; validation, A.J.M.-V., J.D.S.-T. and M.D.; writing—original draft preparation, P.D.V.; writing—review and editing, P.D.V., A.J.M.-V., J.D.S.-T. and M.D.; supervision, G.F.-A. and A.L. All authors have read and agreed to the published version of the manuscript.
Funding
Michael Defoort gratefully acknowledges the financial support from by the Hauts-de-France region and the ANR (French National Research Agency) under project ANR I2RM (Interactive and Intelligent physical assets control system for the Risks Management of hazardous industrial facilities).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| DPTOSG | Distributed Predefined-Time Optimal Signal Generator |
| MAS | Multi-Agent System |
| PTRT | Predefined-Time Reference Tracking |
| TBG | Time-Base Generator |
| UBST | Upper Bound of the Settling Time |
| ZGS | Zero Gradient Sum |
Appendix A. Useful lemmas
Lemma A1
([32]). For a general undirected graph with weighted adjacency matrix and for given vectors , it follows that
Lemma A2.
Let
If and , then is convex for .
Proof.
The second derivative of with respect to x produces:
where . Notice that for . By fixing , the convexity of is guaranteed, since for . □
Lemma A3.
Let be convex with and a set of numbers with . Let, be an arbitrary index set. Then,
Proof.
First, set if and otherwise. Then,
since . Note that is a weighted sum of terms with equal weights . Hence, convexity of implies
by using Jensen’s inequality [28] and . □
References
- Shi, X.; Cao, J.; Wen, G.; Perc, M. Finite-time consensus of opinion dynamics and its applications to distributed optimization over digraph. IEEE Trans. Cybern. 2018, 49, 3767–3779. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dai, H.; Fang, X.; Jia, J. Consensus-based distributed fixed-time optimization for a class of resource allocation problems. J. Frankl. Inst. 2022, 359, 11135–11154. [Google Scholar] [CrossRef] [Scilit]
- Mao, S.; Tang, Y.; Dong, Z.; Meng, K.; Dong, Z.Y.; Qian, F. A privacy preserving distributed optimization algorithm for economic dispatch over time-varying directed networks. IEEE Trans. Ind. Inform. 2020, 17, 1689–1701. [Google Scholar] [CrossRef] [Scilit]
- Dougherty, S.; Guay, M. An extremum-seeking controller for distributed optimization over sensor networks. IEEE Trans. Autom. Control 2016, 62, 928–933. [Google Scholar] [CrossRef] [Scilit]
- Nedic, A. Distributed gradient methods for convex machine learning problems in networks: Distributed optimization. IEEE Signal Process. Mag. 2020, 37, 92–101. [Google Scholar] [CrossRef] [Scilit]
- Yang, T.; Yi, X.; Wu, J.; Yuan, Y.; Wu, D.; Meng, Z.; Hong, Y.; Wang, H.; Lin, Z.; Johansson, K.H. A survey of distributed optimization. Annu. Rev. Control 2019, 47, 278–305. [Google Scholar] [CrossRef] [Scilit]
- Zak, M. Terminal attractors in neural networks. Neural Netw. 1989, 2, 259–274. [Google Scholar] [CrossRef] [Scilit]
- Polyakov, A. Nonlinear Feedback Design for Fixed-Time Stabilization of Linear Control Systems. IEEE Trans. Autom. Control 2012, 57, 2106–2110. [Google Scholar] [CrossRef] [Scilit]
- Sánchez-Torres, J.D.; Gómez-Gutiérrez, D.; López, E.; Loukianov, A.G. A class of predefined-time stable dynamical systems. IMA J. Math. Control. Inf. 2018, 35, i1–i29. [Google Scholar] [CrossRef] [Scilit]
- Jiménez-Rodríguez, E.; Muñoz-Vázquez, A.J.; Sánchez-Torres, J.D.; Defoort, M.; Loukianov, A.G. A Lyapunov-like characterization of predefined-time stability. IEEE Trans. Autom. Control 2020, 65, 4922–4927. [Google Scholar] [CrossRef] [Scilit]
- Aldana-López, R.; Gómez-Gutiérrez, D.; Jiménez-Rodríguez, E.; Sánchez-Torres, J.D.; Defoort, M. Generating new classes of fixed-time stable systems with predefined upper bound for the settling time. Int. J. Control 2022, 95, 2802–2814. [Google Scholar] [CrossRef] [Scilit]
- Sánchez-Torres, J.D.; Defoort, M.; Muñoz-Vázquez, A.J. Predefined-time stabilisation of a class of nonholonomic systems. Int. J. Control 2020, 93, 2941–2948. [Google Scholar] [CrossRef] [Scilit]
- Aldana-López, R.; Gómez-Gutiérrez, D.; Jiménez-Rodríguez, E.; Sánchez-Torres, J.D.; Loukianov, A.G. On predefined-time consensus protocols for dynamic networks. J. Frankl. Inst. 2020, 357, 11880–11899. [Google Scholar] [CrossRef] [Scilit]
- Jiménez-Rodríguez, E.; Aldana-López, R.; Sánchez-Torres, J.D.; Gómez-Gutiérrez, D.; Loukianov, A.G. Consistent Discretization of a Class of Predefined-Time Stable Systems. In Proceedings of the 21st IFAC World Congress 2020—1st Virtual IFAC World Congress (IFAC-V 2020), Berlin, Germany, 11–17 July 2020. [Google Scholar]
- Ning, B.; Han, Q.L.; Zuo, Z. Distributed optimization of multiagent systems with preserved network connectivity. IEEE Trans. Cybern. 2018, 49, 3980–3990. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, G.; Li, Z. A fixed-time convergent algorithm for distributed convex optimization in multi-agent systems. Automatica 2018, 95, 539–543. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Wang, G.; Li, S. A distributed fixed-time optimization algorithm for multi-agent systems. Automatica 2020, 122, 109289. [Google Scholar] [CrossRef] [Scilit]
- Gong, X.; Cui, Y.; Shen, J.; Xiong, J.; Huang, T. Distributed Optimization in Prescribed-Time: Theory and Experiment. IEEE Trans. Netw. Sci. Eng. 2021, 9, 564–576. [Google Scholar] [CrossRef] [Scilit]
- Deng, Z.; Chen, T. Distributed algorithm design for constrained resource allocation problems with high-order multi-agent systems. Automatica 2022, 144, 110492. [Google Scholar] [CrossRef] [Scilit]
- Ma, L.; Hu, C.; Yu, J.; Wang, L.; Jiang, H. Distributed Fixed/Preassigned-Time Optimization Based on Piecewise Power-Law Design. IEEE Trans. Cybern. 2022. [Google Scholar] [CrossRef] [Scilit]
- Tang, Y. Distributed optimization for a class of high-order nonlinear multiagent systems with unknown dynamics. Int. J. Robust Nonlinear Control 2018, 28, 5545–5556. [Google Scholar] [CrossRef] [Scilit]
- Adibzadeh, A.; Suratgar, A.A.; Menhaj, M.B.; Zamani, M. Distributed optimization in heterogeneous dynamical networks. Iran. J. Sci. Technol. Trans. Electr. Eng. 2020, 44, 473–483. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Wang, G.; Li, S. Distributed finite-time optimization for integrator chain multiagent systems with disturbances. IEEE Trans. Autom. Control 2020, 65, 5296–5311. [Google Scholar] [CrossRef] [Scilit]
- Tran, N.T.; Wang, Y.W.; Yang, W. Distributed optimization problem for double-integrator systems with the presence of the exogenous disturbance. Neurocomputing 2018, 272, 386–395. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Nian, X.; Deng, Z.; Chen, Z. Predefined-time distributed optimization of general linear multi-agent systems. Inf. Sci. 2022, 584, 111–125. [Google Scholar] [CrossRef] [Scilit]
- Aldana-López, R.; Seeber, R.; Haimovich, H.; Gómez-Gutiérrez, D. On inherent robustness and performance limitations of a class of prescribed-time algorithms. arXiv 2022, arXiv:2205.02528. [Google Scholar]
- Yu, Z.; Yu, S.; Jiang, H.; Mei, X. Distributed fixed-time optimization for multi-agent systems over a directed network. Nonlinear Dyn. 2021, 103, 775–789. [Google Scholar] [CrossRef] [Scilit]
- Boyd, S.; Boyd, S.P.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Hiriart-Urruty, J.B. Optimisation et Analyse Convexe: Exercices Corrigés; In the Series Enseignement SUP-Maths; EDP Sciences: Les Ulis, France, 2009. [Google Scholar]
- Lin, W.T.; Wang, Y.W.; Li, C.; Yu, X. Predefined-time optimization for distributed resource allocation. J. Frankl. Inst. 2020, 357, 11323–11348. [Google Scholar] [CrossRef] [Scilit]
- Lu, J.; Tang, C.Y. Zero-gradient-sum algorithms for distributed convex optimization: The continuous-time case. IEEE Trans. Autom. Control 2012, 57, 2348–2354. [Google Scholar] [CrossRef] [Scilit]
- Ren, W.; Beard, R.W. Distributed Consensus in Multi-Vehicle Cooperative Control; Springer: London, UK, 2008. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).





