Large-Scale Convex Minimization with a Low-Rank Constraint