Shipping oil a thousand miles with leaky relays
Question
A tanker must move oil from port X to port Y, miles away. It starts with gallons at X, can carry at most gallons at a time, and while carrying oil it leaks gallon per mile travelled (it loses nothing when sailing empty). It may set up any number of depots along the route, leaving oil there to collect later. With an optimal plan, how many gallons can reach Y, to the nearest gallon?
Short answer
. While to gallons remain, three loaded legs are needed per mile, costing gallons per mile, so after miles remain. Then two loaded legs cost per mile, so after more miles remain. The last miles are done in one load, arriving with gallons.
Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
- Order Statistics and Sample Quantiles
- Optimisation Problems
- Constrained Optimisation and Lagrange Multipliers
Start with a free lesson: Normal Distribution is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free