Title A new efficient dynamic programming procedure 'forward against forward'. Analysis of multidimensional data arrays. Abstract We will talk about a new method for optimization of pairwise separable objective functions. This method gives big advantage for solving some particular data analysis problems such as automatic selection of smoothing degree and edge preserving smoothing. Application of the unified variational approach to analysis images and multidimensional arrays will be depicted. We will briefly consider three particular problems of image analysis and their solutions using this approach.