Predictable Profitable Path Algorithm