Gröbner bases and their application to the Cauchy problem on finitely generated affine monoids. (May 2017)