Statistical Physics Approach to the Optimal Transport Problem.