The Problem of Planning with Three Sources of Uncertainty