We study how to reduce the smoothing problem with obstacles to the smoothing problem with weights. A system connecting deviations of the solution from given values and weights is established. An algorithm for solving this equation is proposed and illustrated by examples.