Jeep problem
An oil tanker must transport gallons of oil from Port A to Port B, which are miles apart. The tanker loses gallon per mile traveled due to constant spillage, and it can carry at most gallons at any time. It may deposit oil at any number of intermediate storage ports along the route and later retrieve it. Under an optimal travel plan (choosing where to place storage ports and how to carry the oil), what is the maximum number of gallons that can be delivered to Port B? Round to the nearest gallon.
This is a classic "jeep problem" (desert crossing) variant. The tanker starts with gallons at Port A, must travel miles to Port B, loses gallon per mile, and has capacity gallons. The goal is to maximize delivered oil.
Key insight: The optimal strategy uses intermediate depots and shuttles oil forward in stages, each stage moving a certain amount of oil a certain distance while consuming fuel for round trips. The number of trips decreases by one each stage.
Let miles, capacity gallons, initial fuel gallons. Consumption is gallon per mile.
General principle: To move full loads (i.e., gallons) a distance , you make forward trips and return trips, consuming gallons. The amount delivered forward is .
Stage 1: Start with gallons at A, i.e., loads. Move forward distance such that after shuttling we have exactly loads ( gallons) at the next depot. Fuel consumed: . Remaining: miles.
Stage 2: At mile , we have gallons ( loads). Move forward distance to reduce to load ( gallons). Fuel consumed: . Remaining: miles.
Stage 3: At mile , we have gallons ( load). Drive directly to B, which is miles away. Fuel consumed: gallons. Delivered: gallons.
Thus the maximum deliverable is gallons, which rounds to gallons.
Verification: Total fuel consumed = gallons, matching . Total distance traveled = same sum, confirming consumption rate.