Practical solution of periodic filtered approximation as a convex quadratic integer program