Abstract:In urban warfare scenarios, dense buildings, severe signal blockage, and limited onboard energy pose significant challenges to reliable air-to-ground communications. This paper investigates a joint trajectory and transmit power optimization scheme for multi-UAV relay communication systems in complex urban environments. First, a city-aware air–ground channel model incorporating geometric building blockage and LOS/NLOS propagation conditions is established. Based on this model, a multi-UAV relay communication framework is formulated, jointly considering user scheduling, UAV trajectories, and transmit power control. The system objective is to maximize the minimum average achievable rate among ground users, which leads to a highly coupled and non-convex optimization problem. To address this challenge, a joint optimization framework integrating intelligent initialization, block coordinate descent (BCD), and successive convex approximation (SCA) is proposed, where scheduling, trajectory, and power variables are optimized alternately under practical mobility, safety, and power constraints. Simulation results demonstrate that the proposed method effectively guides UAV trajectories to avoid building blockage, mitigates co-channel interference among UAVs, and improves communication fairness while maintaining trajectory smoothness and feasibility. Compared with benchmark schemes, the proposed approach achieves a notable performance gain in terms of minimum user rate and system robustness, validating its effectiveness for multi-UAV relay communications in urban warfare environments.