Distributed cost-optimal planning. (Planification optimale distribuée)