Shortest Path Problems With Resource Constraints