SSQP for the solution of large-scale dynamic-economic optimization problems