Based on a duality property, we solve the obstacle problem on Sobolev spaces of higher order. We have considered a new type of approximate problem and with the help of the duality we reduce it to a quadratic optimization problem, which can be solved much easier.