  In this paper we study an obstacle problem for Monge-Amp\`ere type
functionals, whose Euler-Lagrange equations are a class of fourth order
equations, including the affine maximal surface equations and Abreu's equation.
