Solve optimisation problems with the Cross Entropy Method.