Resumen: This paper introduces a distributed optimization scheme for achieving formation control in multi-agent systems operating under switching networks and external disturbances. The proposed approach utilizes the zero-gradient sum property and consists of two steps. First, it guides each agent towards the minimizer of its respective local cost function. Subsequently, it achieves a formation around the minimizer of the global cost function. The distributed optimization scheme guarantees convergence before a predefined time, even under simultaneous switching networks and external disturbances, distinguishing it from existing finite and fixed-time schemes. Moreover, the algorithm eliminates the need for agents to exchange local gradients or Hessians of the cost functions or even prior knowledge of the number of agents in the network. Additionally, the proposed scheme copes with external disturbances using integral sliding modes. The scheme’s effectiveness is validated through an application to distributed source localization, for which several numerical results are provided. Idioma: Inglés DOI: 10.1016/j.jfranklin.2024.106988 Año: 2024 Publicado en: JOURNAL OF THE FRANKLIN INSTITUTE-ENGINEERING AND APPLIED MATHEMATICS 361, 13 (2024), 106988 [13 pp.] ISSN: 0016-0032 Factor impacto JCR: 4.2 (2024) Categ. JCR: ENGINEERING, MULTIDISCIPLINARY rank: 28 / 179 = 0.156 (2024) - Q1 - T1 Categ. JCR: MATHEMATICS, INTERDISCIPLINARY APPLICATIONS rank: 12 / 136 = 0.088 (2024) - Q1 - T1 Categ. JCR: AUTOMATION & CONTROL SYSTEMS rank: 25 / 89 = 0.281 (2024) - Q2 - T1 Categ. JCR: ENGINEERING, ELECTRICAL & ELECTRONIC rank: 109 / 368 = 0.296 (2024) - Q2 - T1 Factor impacto CITESCORE: 6.3 - Applied Mathematics (Q1) - Signal Processing (Q1) - Control and Systems Engineering (Q1) - Computer Networks and Communications (Q2)