Minimizing nonconvex, simple integrals of product type