Non-Ergodic Convergence Algorithms for Distributed Consensus and Coupling-Constrained Optimization