On maximizing the net present value of projects under resource constraints