In this note I solve the problem formalized by Barbier, Markandya, and Pearce in "Environmental sustainability and cost - benefit analysis". I show that the optimality conditions of that problem imply but are not implied by the conditions presented by Barbier et al.