Maximizing the net present value of a project with progress payments