Manifolds in multidimensional optimization