A first-order algorithm for the A-optimal experimental design problem: a mathematical programming approach