An efficient method to estimate the suboptimality of affine controllers