A Dynamical System Approach for Linearly Constrained Convex Optimization