Bayes and minimax solutions of sequential decision problems