An algorithm for approximate multiparametric convex programming